date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2016/08/18 | 1,073 | 3,893 | <issue_start>username_0: I have an HTC Desire 510 and have received weird text messages like "link HTC \*\*\*\*\*\*\*\*\*\*" and "htcpairerrorreboot 25:%. \" and then a heap of random signals. I also have to keep adjusting the brightness as it keeps going to the lowest setting. Do u have any idea what is going on?<issue_comment>username_1: Use airplane mode to disable the cellular radio. This is simple and does not require an app, use of terminal, or root access.
Upvotes: 0 <issue_comment>username_2: As of now, I've found a way to accomplish what the question asks. This solution has been tested on **CyanogenMod 12.1 and 13**.
---
From the Terminal
-----------------
### Disabling RIL
If the operation is not to be performed frequently, a single line of code will be all that is needed:
```
su -c "setprop persist.radio.noril 1"
```
. This will make the phone ignore the **Radio Interface Layer**, thus ignoring the presence of the antenna. A reboot is required for the change to be in effect, and it will persist across reboots.
Plus, disabling RIL also makes the "**No SIM Card** icon vanish.
### Enabling RIL
Enabling RIL again is just a matter of flags. As can be seen from the below example:
```
su -c "setprop persist.radio.noril 0"
```
, the command is equivalent, save for a `0` instead of a `1`. As before, a reboot is needed.
---
As a custom function
--------------------
I've also devised two functions to be added to the **/system/etc/mkshrc** file. Of course, it's usually needed to remount the **/system** partition as read-write, but the procedure will not be covered in this answer.
This file takes care of various environment variables and aliases to be loaded by the Terminal once it is started, so fiddling with it is often discouraged. We can, though, add our personal functions and customizations just before the line that reads:
```
: place customisations above this line
```
. I would like to remind that `:` is a **special shell builtin**, and thus must be left untouched.
### Disabling RIL
Here, we'll define a custom function `radiooff`, which will next be callable from the Terminal at will. The code is as follows:
```
# This function detaches a device from the cellular network
# Upon execution, a reboot must be performed
function radiooff {
if [ "$(whoami)" != "root" ]; then
echo "Error: must be executed as root."
return 1
fi
if [ "$(getprop persist.radio.noril)" == "1" ]; then
echo "Radio is already disabled."
return 1
fi
setprop persist.radio.noril 1
if [ "$(getprop persist.radio.noril)" == "1" ]; then
echo "Radio is now disabled. Please reboot."
return 0
else
echo "Error: unable to disable radio."
return 1
fi
}
```
. I'd like to remind that it's vital to place this code at the bottom of the file, but above the line mentioned at the start of this section.
### Enable RIL
This function, as the comments explain, is the inverse of the `radiooff` function:
```
# This function connects a device back on the cellular network
# Upon execution, a reboot must be performed
function radioon {
if [ "$(whoami)" != "root" ]; then
echo "Error: must be executed as root."
return 1
fi
if [ "$(getprop persist.radio.noril)" == "0" ]; then
echo "Radio is already enabled."
return 1
fi
setprop persist.radio.noril 0
if [ "$(getprop persist.radio.noril)" == "0" ]; then
echo "Radio is now enabled. Please reboot."
return 0
else
echo "Error: unable to enable radio."
return 1
fi
}
```
. Upon saving the modifications, the functions `radioon` and `radiooff` will become available for use after the CyanogenMod **Terminal** application is started, or restarted. The procedure for using them is simply to enter the name of the needed function and enter.
*It may be obvious, but the second solution will not work if the user uses a Terminal that is not CyanogenMod's.*
Upvotes: 1 |
2016/08/19 | 462 | 1,742 | <issue_start>username_0: I have a Nexus 5 running Android 6.0.1, not rooted.
When I travel from one known WiFi network to another (possibly even am inactive at home), the phone does not automatically connect to WiFi. When I check the settings, WiFi is turned off. When I turn WiFi on, it connects happily. The WiFi signals are strong.
In the settings menu for this phone, I have gone to Settings -> WiFi -> (top right menu) -> Advanced -> "Keep WiFi on during sleep", and turned this on. It has been on for weeks, and still the phone turns WiFi off.
Question: How can I prevent Android turning WiFi off?
Due diligence: I have checked the forums, and nothing seems to solve this exact problem. (The setting above is mentioned as a solution. I wish it worked.) Also, few posts are recent.<issue_comment>username_1: Is there any battery saver/hibernator or such applications installed?
There is a possibility of these apps turning wifi off, while you are not accessing any data(ie, if there are no active foreground apps using the wifi).
The next case i'm not sure about is Android Marshmallow's [Doze](https://www.quora.com/What-is-Doze-mode-in-android-6-0-Marshmallow) feature.
I have seen people complaining about wifi being turned off, while doze kicks in.
As a solution, you can install any device automation tools like [Macrodroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid) as mentioned in the comments above to tweak/bypass your problem.
Upvotes: 1 <issue_comment>username_2: I've coded and uploaded an app specifically for this. It's called WiFi No Doze. It's pretty rough, but it seems to do the job.
<https://play.google.com/store/apps/details?id=com.gingerdroids.apps.wifinodoze>
Upvotes: 0 |
2016/08/19 | 1,507 | 5,307 | <issue_start>username_0: I have seen Pushbullet, but it works over the internet<issue_comment>username_1: Try [AirDroid3](https://play.google.com/store/apps/details?id=com.sand.airdroid&hl=en) ,I know you have specified this via USB but just in case you need to work with wireless setup.
Well with this you don't need USB cable to connect to your pc or mac. Airdroid3 on web as well as desktop client.
***Notification Mirror*** is a feature introduced in AirDroid v2.0.9. It allows you to view all the app and system notifications on your computer. WhatsApp, WeChat, Line, Facebook, Twitter... all user and system app notifications are supported:
**How to enable Notification mirror??**
1. Go to **Settings** in AirDroid App>**Notification Mirror**>**Notification Mirror Service**:
[](https://i.stack.imgur.com/Q8tlA.jpg)
2. Check the box next to **AirDroid Notification mirror service** and tap OK:
[](https://i.stack.imgur.com/58wpc.jpg)
3.Setting is done now. You can go back to **AirDroid Settings** and **create a test notification** to see if it works:
[](https://i.stack.imgur.com/nFjpU.jpg)
A notification will pop up at the bottom right corner (you need to sign in to web.airdroid.com first):
You'll also receive a pop-up on your computer if you've signed in to AirDroid Windows/Mac:
If the service is working perfectly, you will get a notification on your Android as well as on your desktop (if you have AirDroid open in one of your browser windows.) saying "**Awesome. AirDroid notification mirror service is working**". The third option is ***"Allowed Apps"***.You can choose the apps whose notifications you want to receive on your desktop. For example, you might not want to get email notifications on your desktop if you already have an email client running on your computer, or you might not want notifications from gaming applications.
Note: To receive **desktop notifications** when you are not focusing on **web.airdroid.com**, you need to enable **desktop notifications**(and even choose the language in which you wish to be notified) on **web.airdroid.com > Account > General**: [](https://i.stack.imgur.com/0hMm6.png)
Well it not only gives text notification but also you can send and receive notification for phone call and you can reply back with text message if u cannot pick up call when you are busy working or your phone is not around .You can see this in the links provided..
For more information check following links:
[Android3 brings android device mirroring, desktop clients and more...](http://gadgets.ndtv.com/apps/news/airdroid-3-brings-android-device-mirroring-desktop-clients-and-more-630036)
[Airdroid3-how to control android device..](http://www.howtogeek.com/230262/how-to-control-your-android-device-from-your-pc-using-airdroid/)
[Offical Site oF AirDroid](https://www.airdroid.com/)
Other Apps you can give try :
* IF you don't need to go for browser based services You can try **DeskNotifier** with this currently your phone and PC need to be connected to the same WiFi network or via USB cable.
* **AndroidNotifier** works with WiFi and Bluetooth only,
Hope This Helps!!!
Upvotes: 0 <issue_comment>username_2: You can use adb shell and Notify4Scripts
source: <https://forum.xda-developers.com/showpost.php?p=69859668&postcount=18>
date: 30th November 2016, 02:32 PM
Two years ago I was in need of a simple notification tool that could have been run by a command line in a script. So far the best I found was this thread and the tiny app made by corruptor64. That wasn't exactly what I was looking for so I finally decided to try to make the tool by myself. Starting from scratch (I am not an Android developer) in a few days of studying and developing I ended up with a working small app, that I named Notify4Scripts and I made it public only this past June, here on GitHub <https://github.com/username_2/Notify4Scripts>
Note that since the app is basically a service that has to be launched by the Android's shell "am" (activity manager) command, the Android system needs to be rooted first in order to be able to use such am command and have notify4scripts executed.
Upvotes: 1 <issue_comment>username_3: You can use adb + [Termux](https://play.google.com/store/apps/details?id=com.termux) + [Termux:API](https://play.google.com/store/apps/details?id=com.termux.api) like this:
```
adb shell "export PREFIX='/data/data/com.termux/files/usr' ; export HOME='/data/data/com.termux/files/home' ; export LD_LIBRARY_PATH='/data/data/com.termux/files/usr/lib' ; export PATH="/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets" ; SHELL='/data/data/com.termux/files/usr/bin/bash'; cd $HOME ; /data/data/com.termux/files/usr/bin/bash termux-notification --sound --vibrate 500 -c 'test notification'"
```
[source](https://github.com/termux/termux-app/issues/77)
TIP: I've wrapped the part of the command before "/usr/bin/bash" in a script, so i can easily launch [similar Termux:API commands](https://wiki.termux.com/wiki/Termux:API).
Upvotes: 0 |
2016/08/19 | 1,723 | 6,063 | <issue_start>username_0: In *Developer options*, there is a setting called "Always allow Wi-Fi roam scans" with the description:

>
> **Always allow Wi-Fi roam scans**
>
>
> Allow/disallow Wi-Fi roam scans based on the amount of data traffic present at the interface
>
>
>
The description leads me to guess it might be useful when you are on the edge of the WiFi coverage zone, switching to another WiFi may be faster.
Googling threw up results confirming my guess on posts like [this](https://supportforums.cisco.com/discussion/12543176/workaround-android-devices-do-not-roam-wifi) (a few more on similar lines). However, would request more explanation, since this is not encountered commonly as a suggestion to counter WiFi drops.
**Is it of any use for end-users to activate it?**<issue_comment>username_1: Try [AirDroid3](https://play.google.com/store/apps/details?id=com.sand.airdroid&hl=en) ,I know you have specified this via USB but just in case you need to work with wireless setup.
Well with this you don't need USB cable to connect to your pc or mac. Airdroid3 on web as well as desktop client.
***Notification Mirror*** is a feature introduced in AirDroid v2.0.9. It allows you to view all the app and system notifications on your computer. WhatsApp, WeChat, Line, Facebook, Twitter... all user and system app notifications are supported:
**How to enable Notification mirror??**
1. Go to **Settings** in AirDroid App>**Notification Mirror**>**Notification Mirror Service**:
[](https://i.stack.imgur.com/Q8tlA.jpg)
2. Check the box next to **AirDroid Notification mirror service** and tap OK:
[](https://i.stack.imgur.com/58wpc.jpg)
3.Setting is done now. You can go back to **AirDroid Settings** and **create a test notification** to see if it works:
[](https://i.stack.imgur.com/nFjpU.jpg)
A notification will pop up at the bottom right corner (you need to sign in to web.airdroid.com first):
You'll also receive a pop-up on your computer if you've signed in to AirDroid Windows/Mac:
If the service is working perfectly, you will get a notification on your Android as well as on your desktop (if you have AirDroid open in one of your browser windows.) saying "**Awesome. AirDroid notification mirror service is working**". The third option is ***"Allowed Apps"***.You can choose the apps whose notifications you want to receive on your desktop. For example, you might not want to get email notifications on your desktop if you already have an email client running on your computer, or you might not want notifications from gaming applications.
Note: To receive **desktop notifications** when you are not focusing on **web.airdroid.com**, you need to enable **desktop notifications**(and even choose the language in which you wish to be notified) on **web.airdroid.com > Account > General**: [](https://i.stack.imgur.com/0hMm6.png)
Well it not only gives text notification but also you can send and receive notification for phone call and you can reply back with text message if u cannot pick up call when you are busy working or your phone is not around .You can see this in the links provided..
For more information check following links:
[Android3 brings android device mirroring, desktop clients and more...](http://gadgets.ndtv.com/apps/news/airdroid-3-brings-android-device-mirroring-desktop-clients-and-more-630036)
[Airdroid3-how to control android device..](http://www.howtogeek.com/230262/how-to-control-your-android-device-from-your-pc-using-airdroid/)
[Offical Site oF AirDroid](https://www.airdroid.com/)
Other Apps you can give try :
* IF you don't need to go for browser based services You can try **DeskNotifier** with this currently your phone and PC need to be connected to the same WiFi network or via USB cable.
* **AndroidNotifier** works with WiFi and Bluetooth only,
Hope This Helps!!!
Upvotes: 0 <issue_comment>username_2: You can use adb shell and Notify4Scripts
source: <https://forum.xda-developers.com/showpost.php?p=69859668&postcount=18>
date: 30th November 2016, 02:32 PM
Two years ago I was in need of a simple notification tool that could have been run by a command line in a script. So far the best I found was this thread and the tiny app made by corruptor64. That wasn't exactly what I was looking for so I finally decided to try to make the tool by myself. Starting from scratch (I am not an Android developer) in a few days of studying and developing I ended up with a working small app, that I named Notify4Scripts and I made it public only this past June, here on GitHub <https://github.com/username_2/Notify4Scripts>
Note that since the app is basically a service that has to be launched by the Android's shell "am" (activity manager) command, the Android system needs to be rooted first in order to be able to use such am command and have notify4scripts executed.
Upvotes: 1 <issue_comment>username_3: You can use adb + [Termux](https://play.google.com/store/apps/details?id=com.termux) + [Termux:API](https://play.google.com/store/apps/details?id=com.termux.api) like this:
```
adb shell "export PREFIX='/data/data/com.termux/files/usr' ; export HOME='/data/data/com.termux/files/home' ; export LD_LIBRARY_PATH='/data/data/com.termux/files/usr/lib' ; export PATH="/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets" ; SHELL='/data/data/com.termux/files/usr/bin/bash'; cd $HOME ; /data/data/com.termux/files/usr/bin/bash termux-notification --sound --vibrate 500 -c 'test notification'"
```
[source](https://github.com/termux/termux-app/issues/77)
TIP: I've wrapped the part of the command before "/usr/bin/bash" in a script, so i can easily launch [similar Termux:API commands](https://wiki.termux.com/wiki/Termux:API).
Upvotes: 0 |
2016/08/19 | 777 | 2,947 | <issue_start>username_0: I received a message on my phone that says, "Your browser is heavily damaged by (4) virus!" Right above that message it says Google & at the very top is www.cirplana.top. Is this legit? It says that if I do not remove virus now it will cause serious damage to my Samsung SM-S90L.
It says this is from recent adult sites. That is not true. Not once have I ever visited an adult site.
Do I click to repair?
Thank you for your help.
[](https://i.stack.imgur.com/4cYhy.jpg)<issue_comment>username_1: It is phishing site, I've just had the same on my Samsung S7,
All I did was cleared my chrome browser history and closed all opened pages! Doubled check with a free Avast antivirus run a scan and nothing on my phone at all!
Upvotes: 3 <issue_comment>username_2: It's just a phishing website and it is **totally normal** if you are seeing this.These kind of websites generally pops up when you are trying to download something (songs,apks etc) and you can't actually do a lot to get rid of these websites but if your device is rooted you can use apps like adaway to block these websites
Upvotes: 1 <issue_comment>username_3: The Four Viruses is just a scam… Do NOT click OK and/or Repair Now.
Instead, press your Home button and then navigate to:
Apps —> Settings —> Applications —> Application Manager and then scroll down to your browser that has the offending pop-up message… most likely Chrome.
Next, follow these steps (in order):
Click Chrome,
Click Force Stop,
Click Storage,
Click Manage Storage,
Click Clear All Data
Finally, Restart your phone.
When you re-launch the Chrome browser, you will need to either login to your Google account, or click No Thanks to continue.
Upvotes: 1 <issue_comment>username_4: Just say for fun.
>
> Your phone is heavily damaged by 100 viruses.
> =============================================
>
>
>
I'm saying it here. Do you believe it? Definitely no!
For the same reason, there's no point in believing that page. It's just a webpage, with tricky phishing information on it. All you need to do is close that page and (recommended-ly) clear your browser's history and cache.
In case you're still worried, you can optionally get an antivirus software with good reputation and review, though this is hardly ever useful. It's just an assurance to your mind that your phone isn't really infected.
Upvotes: 0 <issue_comment>username_5: This just happened to me so I did some research on it being really scared. I found out it is fake and a scam. If you look you will see that it does not say the site is secure as "Google" pages will, it is not a "Google" Google message.
**DO NOT DOWNLOAD THE WHAT IT TELLS YOU TO.** (Viruses could occur.) If you are still worried try clearing all history, restarting your device, and do some farther research. Just take a deep breath, your device is fine.
Upvotes: 0 |
2016/08/20 | 861 | 3,446 | <issue_start>username_0: this pops up whenever I lock my phone and unlock it. How do i fix this?
[](https://i.stack.imgur.com/Id1y6.jpg) [](https://i.stack.imgur.com/aZO27.jpg)
I'm using a Samsung Galaxy Note 3. When i click on 'remove virus now' it redirects me to a page on google play store which shows a cleaner app.<issue_comment>username_1: Visit a different site (and avoid this one in the future). That's a fake warning wanting to trick you into some download. Definitely do ***NOT*** hit that button labeled "Remove virus now" – if you do that, you'll have your device infected with some malware for sure. Don't get irritated by the Google logo, this is ***not*** a message from Google (they have other ways for "desinfection").
Never trust any such popup if it says your Android device has ***viruses*** – there are no viruses on Android (malware yes, but no viruses – there's a subtle difference). Second proof: a website cannot scan your device for malware, so how will it know?
One more pointer is the "countdown" in the second screenshot, which clearly identifies the message as [Scareware](https://en.wikipedia.org/wiki/Scareware): No sincere and trustworthy software would issue an ultimatum to the user. The only intention here is forcing you to "switch off your brains in panic".
So either that website got infected – or it's even an intentional malicious site. Your device is fine.
Upvotes: 2 <issue_comment>username_2: **STEP 1:** Uninstall the malicious app from your Android phone
Android phone will get infected with viruses from a malicious app that is installed on the smartphones. In this first step, we will try to identify and uninstall any malicious app that might be installed on your Android phone.
To uninstall the malicious app from your Android device, go to the
**Settings menu, then click on Apps or Application manager** (this may differ depending on your device). If you cannot find the malicious app, we advise you to uninstall all the recently installed apps.
Touch the app you’d like to uninstall.This won’t start the app, but will open up the program’s App Info screen, then click on “Uninstall” button:
A confirmation dialog should be displayed for the malicious app, click on “OK” to remove the malicious app from your Android phone.
Reboot your Android phone
**Step 2:** Delete Junk files.
Now it's time to remove all junk files from your Android device (e.g. temporary Internet files, applications cache, etc.). This step is very important to maintain your Android device clean and safe. Some Android users have also reported that after clearing the browsing history and cache content, they managed to disinfect and remove the scam (fraud) Police lock screen message from their Android device.
Clear Internet history and cache on Android
**STEP 3:** Scan and protect your Android phone from viruses with Avast Free Mobile Security or MalwareBytes Anti-Malware
As you have seen cyber criminals have started targeting Android users for malware, and we do expect that in the months to come the number of infections will grow. In this final step, we will scan your Android phone for malware with Avast Free Mobile Security, and provide a real-time protection from future malware attacks.
You can download Avast Free Mobile Security from Google Play Store to scan virus (if any)
Upvotes: 1 |
2016/08/20 | 901 | 3,722 | <issue_start>username_0: I was given a cheap, basic, tablet a few months ago, third hand, via my sister who couldn't get on with it. I tried it a bit then put it to one side to look at another time. When i came back to it (several months later) it asked for a password. I don't remember there being one, and nor does my sister so I'm stuck. I know there normally ways to do factory resets in a state like this I've tried all of them, nothing works. The tablet has no markings so I can't even look up that way. I hate the idea of throwing it away, I'd like to use it as a monitor, or install a linux distro on it, but I've no idea how without the password. if anyone has any suggestion I'd be grateful<issue_comment>username_1: Visit a different site (and avoid this one in the future). That's a fake warning wanting to trick you into some download. Definitely do ***NOT*** hit that button labeled "Remove virus now" – if you do that, you'll have your device infected with some malware for sure. Don't get irritated by the Google logo, this is ***not*** a message from Google (they have other ways for "desinfection").
Never trust any such popup if it says your Android device has ***viruses*** – there are no viruses on Android (malware yes, but no viruses – there's a subtle difference). Second proof: a website cannot scan your device for malware, so how will it know?
One more pointer is the "countdown" in the second screenshot, which clearly identifies the message as [Scareware](https://en.wikipedia.org/wiki/Scareware): No sincere and trustworthy software would issue an ultimatum to the user. The only intention here is forcing you to "switch off your brains in panic".
So either that website got infected – or it's even an intentional malicious site. Your device is fine.
Upvotes: 2 <issue_comment>username_2: **STEP 1:** Uninstall the malicious app from your Android phone
Android phone will get infected with viruses from a malicious app that is installed on the smartphones. In this first step, we will try to identify and uninstall any malicious app that might be installed on your Android phone.
To uninstall the malicious app from your Android device, go to the
**Settings menu, then click on Apps or Application manager** (this may differ depending on your device). If you cannot find the malicious app, we advise you to uninstall all the recently installed apps.
Touch the app you’d like to uninstall.This won’t start the app, but will open up the program’s App Info screen, then click on “Uninstall” button:
A confirmation dialog should be displayed for the malicious app, click on “OK” to remove the malicious app from your Android phone.
Reboot your Android phone
**Step 2:** Delete Junk files.
Now it's time to remove all junk files from your Android device (e.g. temporary Internet files, applications cache, etc.). This step is very important to maintain your Android device clean and safe. Some Android users have also reported that after clearing the browsing history and cache content, they managed to disinfect and remove the scam (fraud) Police lock screen message from their Android device.
Clear Internet history and cache on Android
**STEP 3:** Scan and protect your Android phone from viruses with Avast Free Mobile Security or MalwareBytes Anti-Malware
As you have seen cyber criminals have started targeting Android users for malware, and we do expect that in the months to come the number of infections will grow. In this final step, we will scan your Android phone for malware with Avast Free Mobile Security, and provide a real-time protection from future malware attacks.
You can download Avast Free Mobile Security from Google Play Store to scan virus (if any)
Upvotes: 1 |
2016/08/20 | 864 | 3,089 | <issue_start>username_0: On Chrome for Android, when I do a Google search and some of the results are non-HTML documents, like PDFs. How do I copy a clean URL to the clipboard?
Example search: <https://www.google.com/search?q=sodium+polyacrylate+msds>
[](https://i.stack.imgur.com/Pe20j.png)
Tapping the result just opens the document for viewing, so there is no address bar to copy the URL from:
[](https://i.stack.imgur.com/d58bp.png)
Long-press then copy link gets Google's indirect links instead, like:
```
https://www.google.com/url?sa=t&source=web&rct=j&url=http://www.hmsmedical.com/images/44-oc%2520msds.pdf&ved=0ahUKEwj2msqg3tDOAhXKox4KHdRoAMYQFggeMAA&usg=AFQjCNGEptV-_ZvoTUjoL68GOAAyrYtP0A&sig2=4XRpaDAeBjkQZlxEUXWH9A
```
Manually deleting all that other stuff then hand decoding the URL parameter is a massive pain on a phone.
How do I just copy the link?<issue_comment>username_1: You will need to look for a script or add on that takes care of it.
MakeUseOf has a link for a script to use with desktop firefox and chrome, its possible the script has an Android Chrome variant, or the script is fine for android and that its the engine that you need, to be specific to Android's Chrome browser.
<http://www.makeuseof.com/tag/copy-crapfree-urls-googles-search-results/>
eg: look for scriptish or greasemonkey on android, also note since the script provided at MakeUseOf is outside the store, you will most likely have to do the manual-add they mention.
Good luck!
Upvotes: 2 <issue_comment>username_2: I think you are using slow internet connection because I searched the link you provided on my android google chrome and when I long press the search results I got actual link not google redirect. Actually when we have a slow connection so the google automatically compress the results upto 80% so we not go through original links instead it redirects to googleweblight
[](https://i.stack.imgur.com/ZOn4D.png)
Upvotes: 0 <issue_comment>username_3: I know this is really an old thread but none of the options here worked for me. What did work is to drag the link to an input field. For example, while visiting the page if you first clear out the URL address field in the browser, then tap and hold on the desired link then drag it up to the address field and release there it will paste the PDF's address there, then you can highlight and copy it in the normal way you would for an address (depending on the browser you're using)
Upvotes: 2 <issue_comment>username_4: Instead of using the google search bar, open chrome for google and type what you want to search for in the address field. Now when you click and hold on the link you'll get the menu that lets tou copy the link address
Upvotes: 2 <issue_comment>username_5: As an alternative option that should work on any browser, I wrote a little web page to clean up links copied from Google search results: <https://urlclean.com>
Upvotes: 0 |
2016/08/21 | 1,430 | 4,135 | <issue_start>username_0: I upgraded my **MOTO G 3rd Gen (XT1550)** to **Android M**. After that I tried to **root** My Phone but unable to Root **Android M.** So I decided to Downgrade to **Android L**. But also unable to Downgrade.<issue_comment>username_1: Instead of trying to downgrade, just get your phone rooted.
Phones like Moto G can be rooted as easily as unlocking the bootloader, flashing a custom recovery via fastboot and flashing SuperSU through it. If you're using one-click rooters then just give them up.
Upvotes: 0 <issue_comment>username_2: Seeing the exchange of comments in other answer and the link provided, the problem is with SuperSu:
Version 2.62 ( from memory) is normal SuperSu
Version 2.76 is *system less root*, which provides root without modifying system partition. My device is rooted with this and I had the same problem.
Systemless root requires different treatment.
First thing to do is shut the device by `adb shell reboot -p` . Next is to boot into recovery, enter TWRP terminal and key `''echo SYSTEMLESS=true>>/data/.supersu''` without quotes ( I had read of this in [this XDA post](http://forum.xda-developers.com/moto-x-play/general/root-how-to-root-6-0-easly-t3277202/page15)
After this reboot into recovery for custom recovery to replace stock. Else in some current devices the custom recovery is replaced by stock. See this for more [Booting into twrp unsuccessful](https://android.stackexchange.com/q/150211/131553)
Upvotes: 1 <issue_comment>username_3: I got a solution for Downgrading **MOTO G 3rd Gen (XT1550) Android M to Android L**
---
1) Extract the folder \*.zip
2) Enter in the Extracted folder.
3) If "fastboot" not installed
Then you can download it from here [Download Fastboot](https://redirect.viglink.com/?format=go&jsonp=vglnk_151841922035615&key=f0a7f91912ae2b52e0700f73990eb321&libId=jdjvl5bk01000n4o000DL3c7ci40u&loc=https%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D2588979&v=1&out=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fmcxw0yy3jvydupd%2Fadb-setup-1.4.3.exe%3Fdl%3D0&ref=https%3A%2F%2Fwww.google.co.in%2F&title=%5BOFFICIAL%5D%5BTOOL%5D%5BWINDOWS%5D%20ADB%2C%20Fastboot%20and%20%E2%80%A6%20%7C%20Android%20Development%20and%20Hacking&txt=Dropbox)
4) Test fastboot by typing: fastboot devices
You should see:
```
fastboot
```
5) You are now ready to flash the fastboot files
Fastboot Commands:
```
"Do commands manually, one at a time - checking that each one returns an [OKAY]."
```
***NOTE: system.img\_sparsechunks may differ in number + name - Always check contents of folder you're working with.***
```
fastboot oem fb_mode_set
```
If you want to Downgrade from Android M to Android L the **Don't flash gpt.bin**
>
> **fastboot flash partition gpt.bin <---- Don't Do this Step**
>
>
>
```
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
```
---
**For Rooting MOTO G 3rd Gen (XT1550) Android M**
---
1) Flash(Permanent) or Boot(Temporary) with TWRP
You can download TWRP from Here [Download TWRP](https://www.dropbox.com/s/sf9pvzbtc8j9k9e/recovery.img?dl=0)
* Flashing TWRP
```
fastboot flash recovery {TWRP File's Name with extension}
```
* Booting TWRP
```
fastboot boot {TWRP File's Name with extension}
```
2) Restart the phone in recovery mode **(If flashed)** <---- Those who use booted using TWRP Skip this step
3) Using TWRP flash the SuperSU
You can download SuperSU from Here [Download SuperSU](https://www.dropbox.com/s/uh6st9c1sr6frhm/BETA-SuperSU-v2.62-3-20151211162651.zip?dl=0)
Upvotes: 1 [selected_answer] |
2016/08/21 | 1,529 | 4,580 | <issue_start>username_0: Every time my HTC One M8's battery dies, which is roughly once every two weeks, when I charge it and turn it on, a large portion of random settings or configurations are reset to default on the device. This time it happened, it actually erased all of the contacts on my phone, and previously, it's logged me out of all my apps, reset my theme-ing options, and erased all of my music.
Why is that happening? Can I prevent it from happening in the future? Configuring my phone like it's a new device every time the battery dies is quite painful.
The device is on Stock Android 6, latest version available to me (No S-off or Root), and running Sense 7.<issue_comment>username_1: Instead of trying to downgrade, just get your phone rooted.
Phones like Moto G can be rooted as easily as unlocking the bootloader, flashing a custom recovery via fastboot and flashing SuperSU through it. If you're using one-click rooters then just give them up.
Upvotes: 0 <issue_comment>username_2: Seeing the exchange of comments in other answer and the link provided, the problem is with SuperSu:
Version 2.62 ( from memory) is normal SuperSu
Version 2.76 is *system less root*, which provides root without modifying system partition. My device is rooted with this and I had the same problem.
Systemless root requires different treatment.
First thing to do is shut the device by `adb shell reboot -p` . Next is to boot into recovery, enter TWRP terminal and key `''echo SYSTEMLESS=true>>/data/.supersu''` without quotes ( I had read of this in [this XDA post](http://forum.xda-developers.com/moto-x-play/general/root-how-to-root-6-0-easly-t3277202/page15)
After this reboot into recovery for custom recovery to replace stock. Else in some current devices the custom recovery is replaced by stock. See this for more [Booting into twrp unsuccessful](https://android.stackexchange.com/q/150211/131553)
Upvotes: 1 <issue_comment>username_3: I got a solution for Downgrading **MOTO G 3rd Gen (XT1550) Android M to Android L**
---
1) Extract the folder \*.zip
2) Enter in the Extracted folder.
3) If "fastboot" not installed
Then you can download it from here [Download Fastboot](https://redirect.viglink.com/?format=go&jsonp=vglnk_151841922035615&key=f0a7f91912ae2b52e0700f73990eb321&libId=jdjvl5bk01000n4o000DL3c7ci40u&loc=https%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D2588979&v=1&out=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fmcxw0yy3jvydupd%2Fadb-setup-1.4.3.exe%3Fdl%3D0&ref=https%3A%2F%2Fwww.google.co.in%2F&title=%5BOFFICIAL%5D%5BTOOL%5D%5BWINDOWS%5D%20ADB%2C%20Fastboot%20and%20%E2%80%A6%20%7C%20Android%20Development%20and%20Hacking&txt=Dropbox)
4) Test fastboot by typing: fastboot devices
You should see:
```
fastboot
```
5) You are now ready to flash the fastboot files
Fastboot Commands:
```
"Do commands manually, one at a time - checking that each one returns an [OKAY]."
```
***NOTE: system.img\_sparsechunks may differ in number + name - Always check contents of folder you're working with.***
```
fastboot oem fb_mode_set
```
If you want to Downgrade from Android M to Android L the **Don't flash gpt.bin**
>
> **fastboot flash partition gpt.bin <---- Don't Do this Step**
>
>
>
```
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
```
---
**For Rooting MOTO G 3rd Gen (XT1550) Android M**
---
1) Flash(Permanent) or Boot(Temporary) with TWRP
You can download TWRP from Here [Download TWRP](https://www.dropbox.com/s/sf9pvzbtc8j9k9e/recovery.img?dl=0)
* Flashing TWRP
```
fastboot flash recovery {TWRP File's Name with extension}
```
* Booting TWRP
```
fastboot boot {TWRP File's Name with extension}
```
2) Restart the phone in recovery mode **(If flashed)** <---- Those who use booted using TWRP Skip this step
3) Using TWRP flash the SuperSU
You can download SuperSU from Here [Download SuperSU](https://www.dropbox.com/s/uh6st9c1sr6frhm/BETA-SuperSU-v2.62-3-20151211162651.zip?dl=0)
Upvotes: 1 [selected_answer] |
2016/08/21 | 1,834 | 6,736 | <issue_start>username_0: My friend recently bought a [Wiko “Lenny 3”](http://de.wikomobile.com/m1205-lenny3), which runs Android 6.0.1
After a short while of using it, it seems that this phone is configured by the manufacturer to very aggressively kill background apps, even ones that *should* be left running.
For example:
* Apps that should be running in the background and syncing/polling for messages, such as [K9-Mail (email client)](https://play.google.com/store/apps/details?id=com.fsck.k9) or the [Signal messenger](https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms), apparently aren’t left running.
Often, when opening K9-Mail or Signal, 10 or more emails/messages/texts will suddenly “arrive” all at once, many of which are hours old by then, so those apps clearly weren’t working in the background like they should’ve been and only got the chance to poll when they were manually (re-)opened by the user.
This means that even basic availability and message reception (part of the whole point of a phone, one would think) is not working reliably!
* We put a calendar widget (belonging to [Google Calendar](https://play.google.com/store/apps/details?id=com.google.android.calendar)) and a news app’s widget ([SPIEGEL ONLINE](https://play.google.com/store/apps/details?id=de.spiegel.android.app.spon)) on the home screen, both of which are just blank after the phone is started and are only “resurrected” by fiddling with them manually (still haven’t figured out a reliable procedure).
[](https://i.stack.imgur.com/QKooZ.png)
[](https://i.stack.imgur.com/7CBbg.png)
[](https://i.stack.imgur.com/AeCcb.png)
* If a live wallpaper is set, then after some time of using the phone (filling the RAM with other apps, presumably) or after rebooting, the phone’s wallpaper will be reset to the default, static one (Wiko logo).
This also depends on whether the live wallpaper is set from the home screen (where it already disappears e.g. just from opening the “recent apps” screen) or from the settings (where it lasts longer, but still not permanently).
Curiously, this only seems to affect live wallpapers that aren’t pre-installed (Phase Beam etc.), such as [Galactic Core](https://play.google.com/store/apps/details?id=fishnoodle.spacescapewallpaper_free) or [Pixel Rain](https://play.google.com/store/apps/details?id=gilleland.software.pixelrain).
Videos:
[Live wallpaper cleared by “recent apps”](https://sendvid.com/lyr0ptpl)
[Live wallpaper cleared by opening Firefox](https://sendvid.com/9iqz44rh)
A large part of the marketing/“bonus features” for this phone seems to revolve around battery life and “optimizing” performance.
It includes a pre-installed “Phone Assistant” app (cannot be disabled!) where different levels of battery saving can be set up, background apps can be killed and so on.
This app also puts a “One Clean” icon on the “all apps” screen whose function seems to be killing all currently-running user apps (it plays an animation and announces having freed XXX MB of memory).
Tapping this “One Clean” icon always resets the wallpaper to the static default if a (non-pre-installed) live wallpaper was set, which is why I think all this has to do with an overly aggressive background app policy (even the live wallpaper process gets killed).
[Demonstration of “One Clean” (clearing live wallpaper again)](https://sendvid.com/o4wp8az7)
Unfortunately, even whitelisting everything in the “Phone Assistant” and disabling as many battery saving/“optimizing” features as possible didn’t alleviate the problem.
(I haven’t tested this, but I suspect that the built-in email, calendar etc. apps pushed on you by the manufacturer, most of which can’t even be disabled, are spared this violent treatment, so many people owning the phone might not really notice these issues.
Just an idea.)
Because of these issues with the manufacturer-provided setup, I’m very eager to install a custom ROM on the phone.
However, none of the popular ones (e.g. [Cyanogenmod](https://www.cyanogenmod.org/devices) or [Paranoid Android](http://get.aospa.co/)) seem to support this phone and I certainly don’t want to brick it!
Does anyone have any experience with a phone that behaves like this?
What would be the best course of action?
Is there a (comparatively) risk-free way to try a custom ROM or can I do anything from within the manufacturer-provided installation?
---
1 Apologies for linking the German page; for some reason the page seems to be available in every language *except* English.
If you find an English version, do tell me.
---
*Edit (2016-12-27):* It seems that these issues with Wiko phones are becoming more well-known and affect an entire line of models (Wiko phones on Android 6 (Marshmallow) with only 1 GB of RAM).
Even those low-tier Wiko models which came with Android 4 on release and were only later updated to Android 6 seem to then exhibit the problems I described (non-functional widgets, background/synchronization issues etc.) due to Wiko’s messed-up implementation – even though there were no issues before the update.
See, for example: <http://ludditus.com/2016/08/10/the-verdict-on-wiko-robby-two-weeks-later/><issue_comment>username_1: I bought a Wiko Lenny 3 in France 3 months ago. I immediately loved the device as I was primarily using it as a development device with Android 6.0. I write code for a living. I noticed OneClean and PhoneAssist and their brutal, rude and unasked for ways. My background services would get killed whether I had powersave mode on, or not, battery optimized settings or not... I tweaked and tweaked but got nowhere.
And then...
I just today installed Engineer Mode from the PlayStore (it has a yellow and black wheel as an icon).
After launching the app, I chose the secret code for OneClean, there's only one in the list and it says OneClean. Clicking it gives you a menu, I unticked "Low Ram enable" and ticked "Background Enable" and raise "Background service limit from 6 to 8".
After doing that I rebooted and launched Orbot which would never stay on, IT STAYS ON. I am able to have background services running. So far so good.
Try it....
Upvotes: 1 <issue_comment>username_2: i've just found a working solution for the same issue affecting my Wiko Fever.
Went to "Phone Assistant", "Charge management", "Advanced settings", "App"; then in the gear icon on top right corner, I selected "Background app whitelist" and added the applications that i want to keep alive. Doing this, no more unexpected background tasks kills.
Upvotes: -1 |
2016/08/22 | 543 | 2,010 | <issue_start>username_0: For the same app, I have:
* an **APK** from an app store,
* what is claimed to be the **source code** for the same version. With a pretty usual Gradle build script and structure.
I want to **check whether the APK was really built from that source code** or not.
How to check that?
*Notes:*
* The APK is not obfuscated.
* I have no reason to trust anyone's signature. I only trust the source code.
* I already built the app for myself, but now I want to know whether the APK was OK or not.
* Preferably with Linux command-line tools, but any tool is OK.<issue_comment>username_1: One great thing about java and APKs is you can completely decompile the APK to java source code.
However, the resulting source code isn't guaranteed to be identical.
One good way to try and match up the resulting source code with a known revision is to check what modifications were made directly before and after the known commit in the repository, and see if those modifications are also present in the decompiled source.
To decompile, use [dex2jar](http://downloads.sourceforge.net/project/dex2jar/dex2jar-2.0.zip) and [JD-Gui](https://github.com/java-decompiler/jd-gui/releases/download/v1.4.0/jd-gui-windows-1.4.0.zip).
*edit* I just noticed you wanted linux tools. My only experience is with windows, but I'm sure similar tools exist for linux.
Upvotes: 1 <issue_comment>username_2: You can only do this with
[**reproducible builds:**](https://reproducible-builds.org/docs/definition/)
>
> **"A build is reproducible if given the same source code, build environment and build instructions, any party can recreate bit-by-bit identical copies of all specified artifacts."**
>
>
>
So the app developer or the app store needs to be on board in order for it to work.
Otherwise your only option is to build it yourself.
One example of a developer who currently does this is Open Whisper Systems:
<https://github.com/WhisperSystems/Signal-Android/wiki/Reproducible-Builds>
Upvotes: 2 |
2016/08/22 | 453 | 1,731 | <issue_start>username_0: In PC you can choose more than one separate zip files and extract to "zipname" folder all by selecting at once, how can I do the same in Android.
I've tried ES file explorer, Z Archiver etc but they all seem to work only for multipart zip files and not for multiple separate zips.<issue_comment>username_1: One great thing about java and APKs is you can completely decompile the APK to java source code.
However, the resulting source code isn't guaranteed to be identical.
One good way to try and match up the resulting source code with a known revision is to check what modifications were made directly before and after the known commit in the repository, and see if those modifications are also present in the decompiled source.
To decompile, use [dex2jar](http://downloads.sourceforge.net/project/dex2jar/dex2jar-2.0.zip) and [JD-Gui](https://github.com/java-decompiler/jd-gui/releases/download/v1.4.0/jd-gui-windows-1.4.0.zip).
*edit* I just noticed you wanted linux tools. My only experience is with windows, but I'm sure similar tools exist for linux.
Upvotes: 1 <issue_comment>username_2: You can only do this with
[**reproducible builds:**](https://reproducible-builds.org/docs/definition/)
>
> **"A build is reproducible if given the same source code, build environment and build instructions, any party can recreate bit-by-bit identical copies of all specified artifacts."**
>
>
>
So the app developer or the app store needs to be on board in order for it to work.
Otherwise your only option is to build it yourself.
One example of a developer who currently does this is Open Whisper Systems:
<https://github.com/WhisperSystems/Signal-Android/wiki/Reproducible-Builds>
Upvotes: 2 |
2016/08/22 | 956 | 2,738 | <issue_start>username_0: What does `/mnt/asec` directory contain in Android? Can someone explain in brief?<issue_comment>username_1: Thought Google would have an official definition on Android Developers, but surprisingly not. So with a lil bit of Google I dug up this:
[Android Security Internals: An In-Depth Guide to Android's Security Architecture](https://books.google.com.hk/books?id=y11NBQAAQBAJ&pg=PA379&lpg=PA379&dq=Android%20Secure%20External%20Caches&source=bl&ots=nUZwGUsY_A&sig=9GP7HRvvbDYFPhe6kVZ_nsdDiN0&hl=zh-CN&sa=X&ved=0ahUKEwjk1f3A99TOAhUM62MKHfZzCCQQ6AEIJDAB#v=onepage&q=asec&f=false)
Look around P80 for related content. From what I understand, ASEC (Android Secure External Cache) was implemented in a time when Android devices come with limited storage and has to resort to external storage (i.e. SD card) for apps, and its purpose is to securely store part of the apps so as to prevent corruption and piracy by copying SD card contents.
Wikipedia also has a bit of intro [here](https://en.wikipedia.org/wiki/.asec).
Upvotes: 2 <issue_comment>username_2: It's actually used to achieve "Move to SD card" feature.
Take a sample app called `com.sample.app`.
When an app is installed, a new folder will be created by the app name `/data/com.sample.app` which contains the app's private data. Similarly, the APK itself is contained in `/data/app/com.sample.app1.apk`
When we move the application to external storage,
1. It will not be moved to `/mnt/sdcard/` partition. Android will create a
new folder under `/mnt/asec` partiton called `/mnt/asec/com.sample.app`.
2. It will also copy the APK from `/data/app/com.sample.app1.apk` to
`/mnt/asec/com.sample.app/com.sample.app1.apk`
Upvotes: 2 <issue_comment>username_3: On one hand, when I browse my rooted android through adb shell, I get here:
```
/data/data/com.sample.app
```
Then `ls -al` gives :
```
drwxrwx--x u0_a25 u0_a25 2018-10-28 23:52 cache
drwxrwx--x u0_a25 u0_a25 2018-10-29 00:36 files
lrwxrwxrwx install install 2018-10-29 09:48 lib -> /mnt/asec/com.sample.app-1/lib
drwxrwx--x u0_a25 u0_a25 2018-10-29 07:45 shared_prefs
```
On the other hand, through USB connection, I get two mount points:
```
mtp:/Y330-U01/Phone storage/
mtp:/Y330-U01/SD card/
```
The following directory `mtp:/Y330-U01/Carte SD/.android_secure/` looks empty. Is it actually empty ?
When plugging directly the SD Card on the PC (via USB micro SD adapter) the directory `.android_secure/` appears to contain:
`com.sample.app-1.asec`
So in my opinion `/mnt/asec` is a mount point for `/mnt/asec/com.sample.app-1/` mount points, leading to `.android_secure/*.asec` secure disk image files (or kind of...)
Upvotes: 1 |
2016/08/23 | 962 | 2,762 | <issue_start>username_0: What is Mobile Device Management and How can I use for my enterprise?
What is the benefits of using MDM?<issue_comment>username_1: Thought Google would have an official definition on Android Developers, but surprisingly not. So with a lil bit of Google I dug up this:
[Android Security Internals: An In-Depth Guide to Android's Security Architecture](https://books.google.com.hk/books?id=y11NBQAAQBAJ&pg=PA379&lpg=PA379&dq=Android%20Secure%20External%20Caches&source=bl&ots=nUZwGUsY_A&sig=9GP7HRvvbDYFPhe6kVZ_nsdDiN0&hl=zh-CN&sa=X&ved=0ahUKEwjk1f3A99TOAhUM62MKHfZzCCQQ6AEIJDAB#v=onepage&q=asec&f=false)
Look around P80 for related content. From what I understand, ASEC (Android Secure External Cache) was implemented in a time when Android devices come with limited storage and has to resort to external storage (i.e. SD card) for apps, and its purpose is to securely store part of the apps so as to prevent corruption and piracy by copying SD card contents.
Wikipedia also has a bit of intro [here](https://en.wikipedia.org/wiki/.asec).
Upvotes: 2 <issue_comment>username_2: It's actually used to achieve "Move to SD card" feature.
Take a sample app called `com.sample.app`.
When an app is installed, a new folder will be created by the app name `/data/com.sample.app` which contains the app's private data. Similarly, the APK itself is contained in `/data/app/com.sample.app1.apk`
When we move the application to external storage,
1. It will not be moved to `/mnt/sdcard/` partition. Android will create a
new folder under `/mnt/asec` partiton called `/mnt/asec/com.sample.app`.
2. It will also copy the APK from `/data/app/com.sample.app1.apk` to
`/mnt/asec/com.sample.app/com.sample.app1.apk`
Upvotes: 2 <issue_comment>username_3: On one hand, when I browse my rooted android through adb shell, I get here:
```
/data/data/com.sample.app
```
Then `ls -al` gives :
```
drwxrwx--x u0_a25 u0_a25 2018-10-28 23:52 cache
drwxrwx--x u0_a25 u0_a25 2018-10-29 00:36 files
lrwxrwxrwx install install 2018-10-29 09:48 lib -> /mnt/asec/com.sample.app-1/lib
drwxrwx--x u0_a25 u0_a25 2018-10-29 07:45 shared_prefs
```
On the other hand, through USB connection, I get two mount points:
```
mtp:/Y330-U01/Phone storage/
mtp:/Y330-U01/SD card/
```
The following directory `mtp:/Y330-U01/Carte SD/.android_secure/` looks empty. Is it actually empty ?
When plugging directly the SD Card on the PC (via USB micro SD adapter) the directory `.android_secure/` appears to contain:
`com.sample.app-1.asec`
So in my opinion `/mnt/asec` is a mount point for `/mnt/asec/com.sample.app-1/` mount points, leading to `.android_secure/*.asec` secure disk image files (or kind of...)
Upvotes: 1 |
2016/08/23 | 1,037 | 3,731 | <issue_start>username_0: I am thinking to buy the new [Xiaomi Redmi 3S](https://en.wikipedia.org/wiki/Xiaomi#Redmi_Series) phones that got recently launched in India. This is going to be my first Android phone. Now the phone comes with two variants, Redmi 3S with 2 GB RAM and Redmi 3 S prime with 3 GB RAM, both with Qualcomm® Snapdragon 430
64-bit, octa-core processor and other specifications are identical except the prime version comes with a finger print sensor.
I am a light user, that is, I am not going to play games or watching movies or will use lots of apps. I want the phone for general day-to-day use.
Does it really matter to have 3 GB RAM over 2 GB RAM, giving my using conditions? Will it be OK with 2 GB provided I am a light user? Does it really matter to have more RAM? Is it going to give problems with newer versions of Android?<issue_comment>username_1: Not now, but if you plan to use it for >1 year then you need to give it a bit more consideration.
Historically, Android OS updates does not increase RAM usage by much, as far as my observation goes. As of now free RAM at boot time stands at 1~1.3GB for a 720p device with 2GB RAM, lightweight ROM and no Google Apps.
The problem is with third-party apps. As their functions grow they tend to use much more RAM than at the time of release. For example, WeChat typically takes 100~200MB right now. Even if you use few, they will increase usage over time and eat up what remains little by little.
Rewind to 2013: Moto G was a really decent midranger at that time, and 1GB is just enough back then, but multitasking proves to be a burden for it now, with only <500MB remaining at boot and each app taking their share. With no more than 10 third-party apps the auto-killing mechanism will kick in, eliminating background apps, giving a bad experience.
Add MIUI (notorious RAM hog) to the mix, and you have my opinion.
Upvotes: 3 <issue_comment>username_2: Key aspect here *light user* who
* Doesn't play games
* Doesn't watch movies
* Doesn't use many apps
* Uses only for day to day to use
If the usage pattern continues to be same for next few years. answer is **no, it doesn't make a difference**
While the other answer has pointed out valid instances of certain apps occupying more RAM as as time rolls, IMO it is not very pertinent given that you are not multi tasking , But if you are using RAM hoggers like Facebook which nearly takes up 0.5 GB of RAM, it may result in sluggish performance if another hungry app is opened up
[How much RAM does a phone need?](http://www.trustedreviews.com/opinions/how-much-ram-does-a-phone-need) gives an interesting take on current trend of high RAM phones and also mentions that *Google’s official minimum spec for a 64-bit phone (that’s pretty much every phone these days) is 832 MB RAM*, so, you are left with one GB of RAM for apps, even if Android OS is updated to 64 bit) and you retain your 2 GB RAM device - pretty much future proof !
**Edit:** Your chosen device OS is 32 bit and occupies 512 MB of RAM and if it is 64 bit it would require 832 MB of RAM , ( as per table it is dependent on screen size and pixel density- large in your case and pixel density is less than 300 dpi ). This size is only for the OS , radio (modem) is extra, which is not much anyway. [Source : Page 56 of android Compatibility Definition](http://static.googleusercontent.com/media/source.android.com/en//compatibility/android-cdd.pdf)
Bottom line, for your use, it shouldn't matter, since EMUI 7.0 occupies [0.5 GB](http://en.miui.com/thread-186730-1-1.html) and you are still left with 1.5 GB, which is plenty. Even if EMUI is upgraded, I doubt it would make a substantial difference
Upvotes: 4 [selected_answer] |
2016/08/23 | 425 | 1,659 | <issue_start>username_0: For example I have two networks:
* Two networks - one open hotspot network and one closed private network using WPA.
* User has access to both networks
* User has recently connected to both.
* Both networks have the same signal strength.
Which network is automatically joined? Is it random?<issue_comment>username_1: There's something called Wi-Fi priority, [adjustable for some phones](http://www.howtogeek.com/204531/ask-htg-how-do-i-force-android-to-prioritize-wi-fi-hotspots/) in `Settings - WiFi - Advanced - Wi-Fi priority`, and also via some apps and Xposed modules like GravityBox. Android maintains this list of remembered access points and assign priorities to each of them.
I can't find an official definition of how the priorities are (re)assigned (Android Developers only tells me that [priority exists](https://developer.android.com/reference/android/net/wifi/WifiConfiguration.html#priority)), but apparently when you are receiving 2 remembered APs and connected to one of them, then connect to the other, the latter one will receive a boost in priority.
I don't have an idea how "private" networks affect how it works, though.
Upvotes: 1 <issue_comment>username_2: There is this file /data/misc/wifi/wpa\_supplicant.conf
Each Network you saved is listed there.
When multiple network blocks are listed in this configuration file, the highest priority one is selected for use or, if multiple networks with the same priority are identified, the first one listed in the configuration file is used.
(copy from <http://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf(5)>, I think Android behaves the same)
Upvotes: 2 |
2016/08/23 | 493 | 2,110 | <issue_start>username_0: I have been a fan of Google Voice typing for a long time.
I use it for 2 languages, English and Italian.
On the Android Keyboard I can switch the language of the spell-checker by pressing the "World" icon. Until a few months ago, that would also change the language of Google Voice typing, i.e. when I pressed the microphone icon and start speaking, Google Voice typing would interpret my words in the language I had selected in the keyboard.
Right now instead, Google Voice typing got "smarter" and doesn't care about my keyboard setting, it just automatically detects the language I'm speaking. Of course it gets it wrong most of the time, and that is very frustrating, in particular because when I speak Italian (my mothertongue) it often thinks I am speaking English instead.
So, does anybody know if I can disable this automatic language detection and revert to the old behavior?
Or do you have any suggestion on a workaround?<issue_comment>username_1: Go to Settings app of your phone and choose Google Voice typing option. Inside this you have an option to choose your Default Primary Language, as shown in below screen shot:
[](https://i.stack.imgur.com/3yaVL.png)
You can chose your Default (Italian) by **Press + Hold** the language name. Click **SAVE** and Google voice typing should pick your Updated default Primary Language irrespective of your Keyboard Settings.
Upvotes: 0 <issue_comment>username_2: This is a two-step process:
* Settings > Language & input > Google Keyboard > Languages. Here disable English (disable `Use System language` if enabled) & only enable Italian.
* Also in your Google Voice Typing option, set your Default Primary language as Italian.
Now Voice Typing will not pick up English words even if you wanted it to.
Upvotes: 0 <issue_comment>username_3: Unfortunately at the moment it is impossible to disable automatic language detection and force the speech to text to interpret spoken words with the language set manually in the keyboard.
Upvotes: 2 [selected_answer] |
2016/08/24 | 669 | 2,598 | <issue_start>username_0: Usually, I turn off GPS sensor (or set it to battery saving mode) where I am familiar with, or in the room. However, I noticed that when I flashed a new ROM, say Cyanogenmod or OmniROM, I found that the GPS was automatically set to "Device Only" or "High Accuracy".
I wonder whether it's beneficial to turn off GPS or into battery saving mode (namely, via cellular or WiFi) for newer ROMs, say based on Marshmallow, especially from a view of battery life.
Cf.
[No way to toggle GPS off in quick settings for Marshmallow?](https://www.reddit.com/r/Nexus/comments/3wdusp/no_way_to_toggle_gps_off_in_quick_settings_for/)<issue_comment>username_1: Yes, Any radio being turned on will cause some drain. It really depends what apps you have using that location. If there are more number of apps accessing your location, it will definitely cause your battery to drain.
Keep location services and GPS high accuracy location off unless you need it. Other Apps in foreground/background will unnecessarily constantly ping GPS if available rather than cell towers for location. Cell towers location is good enough for most situations, unless you have to run apps like Uber, Navigation, etc.
Upvotes: 0 <issue_comment>username_2: From a battery saving perspective, these settings will help minimise drain, and need to be changed when you actually require location based services:
* WiFi → Advanced → Keep WiFi On during sleep → Always ( See this for more details on trade-off between battery and being connected always [What does "Keep wifi on during sleep" mean?](https://android.stackexchange.com/q/61261/131553) )
* Location → Scanning → WiFi Scanning - disabled
* Location → Mode → Battery Saving
This in addition to tweaking app permissions as detailed in other [answer by Abhishek](https://android.stackexchange.com/a/155715/131553) should maximise savings
Another aspect is *Doze* feature of Marshmallow. It's implementation, delays Doze if a) Device is physically moved b) If the location feature is enabled and location update happens ( doesn't seem to be documented but reported widely)
If you want to further maximize battery savings, and trigger Doze functionality **immediately or after a configurable delay** , you could try [Greenify](https://play.google.com/store/apps/details?id=com.oasisfeng.greenify) or [Force Doze](https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze). Both these can work on rooted or unrooted devices. Of course, Greenify has other advantage of hibernating appsb while the device is in use
Upvotes: 2 [selected_answer] |
2016/08/24 | 888 | 3,081 | <issue_start>username_0: A quick Google search pointed me to [this thread on reddit](https://www.reddit.com/r/androidapps/comments/4fcm5z/how_to_remove_google_calendar_goals/)
Following a link posted in the comments, and then going to the "android" tab (which I totally missed at first) [I found these instructions](https://support.google.com/calendar/answer/6334090)
1. Open the Google Calendar app.
2. Tap the session.
3. In the top right, tap More.
4. Tap Delete > This session or All following sessions (and stop scheduling).
5. Tap OK.
I'm just wondering where I would find "This session" or "All following sessions", because I don't see it:
[](https://i.stack.imgur.com/QE41v.png)
I'm using Calendar Version 5.5.15-129963483-release and I thought I might be out of date but there doesn't appear to be a newer version on the Play Store.<issue_comment>username_1: Same Calendar Version as yours ( update released on 15/08/2016). Moto X Play 6.0.1
I created goals using goals option of app and am able to choose and delete. Screenshots below
* First one shows goals for today and tomorrow
* On pressing one of them it appears as in second one
* Third one shows the *Delete* option on pressing the overflow (3 button) menu
* Last one shows the options you are looking for
[](https://i.stack.imgur.com/QmQelm.jpg)
[](https://i.stack.imgur.com/pHq54m.jpg)
[](https://i.stack.imgur.com/VNpLkm.jpg)
[](https://i.stack.imgur.com/MEDlUm.jpg)
Upvotes: 3 [selected_answer]<issue_comment>username_2: I found another solution that works if you're just get shown to delete single event. It is essential to get the picture shown of how often you participate.
1. Go in Google Calendar on your desktop
2. Click on old goal dates and press “Did it”
3. Now go to the Google Calendar App
4. Press on the 3 dots on the start screen of the app and actualize your calendar
5. Afterwards click on the actual event/goal and go to the 3 dots
6. Now you can choose to “Delete all further events”
Upvotes: 2 <issue_comment>username_3: [](https://i.stack.imgur.com/M6RK2.png)
The circled one means Access and Settings. After that a new page will open. At the bottom of the page will be a blue button saying "Delete all the calendar". The only solution I found to delete the "forever" events. That button will delete all your appointments or events. but at least it works
Upvotes: 0 <issue_comment>username_4: You might be using the Android calendar App that comes by default (it shows all the other calendars, Google, Samsun, Phone, Outlook, etc), be sure you use the Google Calendar, I had the same problem until I realized it was the wrong app.
Upvotes: 0 |
2016/08/24 | 824 | 3,160 | <issue_start>username_0: Background
==========
I want to prevent myself from viewing pornography on my cellphone. I do occasionally go to addiction support groups, but haven't yet done the Twelve Steps that they recommend. I'm hoping that, if I set up a sufficiently-good filtering setup, I can manage at least somewhat OK without doing these Steps.
I used to use [the app locker formerly known as Smart AppLock](https://play.google.com/store/apps/details?id=com.sp.protector.free&hl=en) in order to try to prevent myself from installing the app which I normally use to view pornography. But the app locker had a bug in it which allowed me to bypass its protection. It's not an obvious bug.
I guess I could have tried emailing the developers of the app locker; but I didn't know whether or not they'd actually care.
I could have installed a different app locker and given the password to a friend. Or I could have used Pluckeye Lockbox or a similar service to store the password. But I'd rather not rely on third-party app lockers at all. I'd rather rely upon security code written by Google. So I'd like to rely upon Android itself and to make myself a restricted profile in the normal way.
I don't want to [install a custom ROM and hope that it can help me](https://android.stackexchange.com/questions/92186/creating-restricted-accounts-on-phone-running-lollipop#95650). I don't want to [play around with XML files](https://android.stackexchange.com/questions/119117/make-an-iap-in-a-restricted-profile#155761) and hope to achieve my goals that way. I don't want to make myself an [almost-restricted profile](https://android.stackexchange.com/questions/92186/creating-restricted-accounts-on-phone-running-lollipop#96141). I just want to create an ordinary restricted profile in the ordinary way.
My question
===========
If I buy a cellphone running the newest version of Android, will I be able to create a restricted profile for myself in the same way that I could do so on a tablet? And, if so, how do you know? :)<issue_comment>username_1: Yes. You can turn your Google account into a "child account", and can get a parent or friend to set parental controls for apps and games with Google's Family Link app. You can then get the parent to adjust the settings to restrict installation of certain apps.
1. You can get Family Link from [here.](https://families.google.com/familylink/)
2. Then help them [set up parental controls on Google Play.](https://support.google.com/googleplay/answer/1075738?hl=en)
Upvotes: 2 [selected_answer]<issue_comment>username_2: Google Family Link is now available to the general public; no invitation is required. You can get it by installing [the app](https://play.google.com/store/apps/details?id=com.google.android.apps.kids.familylink).
Upvotes: 1 <issue_comment>username_3: Strictly speaking, there's no need to use Google Family Link at all. You can restrict your own account using Google Play Store parental controls:
1. Play Store -> Settings -> User Controls.
2. Enable parental controls by having someone type a PIN for you.
3. From the category list, set whichever app restrictions you'd like.
Upvotes: 0 |
2016/08/25 | 481 | 1,743 | <issue_start>username_0: I am trying to mount an `.img` file from my internal storage as **Usb Mass Storage**.
There is an Android App named **[DriveDroid](https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en)** which does exactly what I wanted. I tested with this app and the app successfully mounted an `.img` file as USB Mass Storage.
But I am unable replicate the same manually.
Anybody having any information on how to mount .img as UMS ?
**Phone Details:**
**Model :** Moto G 2013
**Device Name :** falcon
**Rooted :** YES
**OS :** CyanogenMod 13.0
Thanks.<issue_comment>username_1: Yes. You can turn your Google account into a "child account", and can get a parent or friend to set parental controls for apps and games with Google's Family Link app. You can then get the parent to adjust the settings to restrict installation of certain apps.
1. You can get Family Link from [here.](https://families.google.com/familylink/)
2. Then help them [set up parental controls on Google Play.](https://support.google.com/googleplay/answer/1075738?hl=en)
Upvotes: 2 [selected_answer]<issue_comment>username_2: Google Family Link is now available to the general public; no invitation is required. You can get it by installing [the app](https://play.google.com/store/apps/details?id=com.google.android.apps.kids.familylink).
Upvotes: 1 <issue_comment>username_3: Strictly speaking, there's no need to use Google Family Link at all. You can restrict your own account using Google Play Store parental controls:
1. Play Store -> Settings -> User Controls.
2. Enable parental controls by having someone type a PIN for you.
3. From the category list, set whichever app restrictions you'd like.
Upvotes: 0 |
2016/08/25 | 411 | 1,769 | <issue_start>username_0: I have a common contact with an old email address that keeps popping up on autocomplete when I send an email with my Gmail application. The contact for this person does not contain this email address and I have searched the desktop version of the contact as well and it's not there. How do I delete this old outdated email address from autocomplete on my Gmail application for my Android?
Thanks<issue_comment>username_1: Please go to [Google Contacts](https://contacts.google.com/u/0/preview/all) to manage this contact.
Upvotes: -1 <issue_comment>username_2: Gmail autocompletes email addresses based both on previous communication and [Google Contacts](http://contacts.google.com).
You should edit the contact in question to remove the old email address from their contact entry on [Google Contacts](http://contacts.google.com), or in the Contacts app of your device, and if that doesn't work go into Settings - Apps and find Gmail and Clear Data on the app. Be aware that that this will erase all emails and data for Gmail that are stored locally on your device, it will not delete Gmail on the server, and it will be resynced to the device after you open the app again, but if you use Gmail for POP3 email access those emails may not be stored on the server and should be backed up first.
Upvotes: 1 <issue_comment>username_3: In my case, none of the above worked. When I typed a few characters into the TO field some very old email address would suggest itself, with 100% reliability.
Solution: touch and hold on that email address, and the device would ask you to confirm removing this "learned word".
Now I guess this could be a Samsung feature or a gmail app feature or an Android feature, but it's impossible to tell.
Upvotes: 0 |
2016/08/25 | 3,306 | 11,864 | <issue_start>username_0: Background
==========
[Quite a few](http://en.wikipedia.org/wiki/Long-term_support#Software_with_separate_LTS_versions) software developers offer special ["long-term support"](http://en.wikipedia.org/wiki/Long-term_support) (LTS) or "extended-support release" (ESR) editions of their products. You install the product once and get security updates for up to ten years, without having to upgrade to the next major version of the software.
Here are some examples: You can install one version of Firefox ESR and then get security updates for version for about a year. Or you can install one version of Ubuntu LTS and then get security updates for that version for five years.
Unfortunately, Google doesn't offer a special long-term support edition of Android. Security fixes get backported to your device's Android version until Google stops backporting them. These patched Android versions get built into new firmware images for your device until your device manufacturer or third-party ROM builder stops building new images.
(For example, it looks like Android 6.0.1 "Marshmallow" is still getting security fixes. The latest versions of Android 6.0.1 are android-6.0.1\_r56 through android-6.0.1\_r63. Each of these eight Android versions was released on the same day: on Aug. 1, '16. Each of the eight was designed to support [a different set of Nexus devices](https://source.android.com/source/build-numbers.html). Device makers can pick any of the eight and then port it to other Android devices. As of this writing, it looks like Android 5.1.1 "Lollipop" may also still be getting security fixes. The latest version is android-5.1.1\_r38, which was released July 19, '16; it may also be known by the build code LMY49M.)
### iOS
Apple tends to support iOS devices for three to five years after their initial release. [(Source.)](https://www.reddit.com/r/Android/comments/4dwdjo/what_if_companies_made_an_lts_android_phone/d1v6yjp/) They ship both new features (which slow down your device, thereby encouraging you to upgrade) and security updates. But I want a device which is more open and expandable than an Apple device.
My question
===========
If I'm buying an Android cellphone today, and I want to get security updates for it as many years as possible, how should I choose?
(Monthly security updates are nice, but today I'm not asking about monthly security updates. My question is *not* about which Android phones get security updates the most frequently. Instead, it's about which Android phones get security updates for the greatest number of years after purchase — even if I must wait six or twelve months between updates.)
Please don't recommend a specific make and model of mobile phone and leave it at that. Such an answer would be useful to readers today, but not to readers who view this question a few years from now. Instead, please tell me how to compare products myself. How important is it for me to choose a best-selling device? Does it matter whether I buy a midrange phone (US$100-$200 with no contract) or a high-end phone ($600-$800 with no contract)? Must I choose hardware from manufacturers who [get their drivers into the Linux kernel](https://security.stackexchange.com/questions/134608/why-doesnt-google-publish-firmware-images-with-lots-of-drivers-which-will-work#134612), and if so, which manufacturers are these? What other criteria should I use in order to make my choice?
Please assume that I'm willing to download and install custom ROMs in order to get security updates, but that I'm not willing to compile anything myself.
I know that you can't predict the future with perfect accuracy. Please just try your best.<issue_comment>username_1: Your best option would be to buy a Google Nexus phone. Because Google is Android's developer, Nexus phones get updates first.
Example of their updates is the Stagefright patch. The oldest phone that got the security patch was the Nexus 4. The phone was released in 2012 and still got the update. Nexus phones which did not get the update from Google got it from third-party ROM developers — Google's phones seem to attract developers.
At the time of writing, the latest Nexus phone is the [Nexus 6P](https://www.google.com.br/nexus/6p/).
List of end-of-support dates for Google phones:
* Nexus 6P September 2017
* Nexus 5X September 2017
* Nexus 9 October 2016
* Nexus 6 October 2016
* Nexus 5 October 2015
* Nexus 7 (2013) July 2015
* Nexus 4 November 2014
* Nexus 10 November 2014
* Nexus 7 (2012) June 2014
Security patches aren't *guaranteed* to end at these dates, but it's very possible that they will.
([Source](https://support.google.com/nexus/answer/4457705#nexus_devices))
List of patched vulnerabilities pushed out via OTA to Nexus devices (stagefright):
* CVE-2015-3873
* CVE-2015-3872
* CVE-2015-3871
* CVE-2015-3868
* CVE-2015-3867
* CVE-2015-3869
* CVE-2015-3870
* CVE-2015-3823
* CVE-2015-6598
* CVE-2015-6599
* CVE-2015-6600
* CVE-2015-3870
* CVE-2015-6601
* CVE-2015-3876
* CVE-2015-6604
([Source](https://groups.google.com/forum/#!topic/android-security-updates/iv1BF0f0XY4))
Upvotes: 2 <issue_comment>username_2: Modular may offer official long-term support
--------------------------------------------
Not quite ready today are modular phones, like that for [Project Ara](https://atap.google.com/ara/). Be aware that the schedule for modular phones has already slipped by years, so I would still treat the dates as questionable. Due to their modular nature, the expectation is that they will continue to be supported for a long time.
Update: Project Ara was nixed not long after I wrote this answer. [VentureBeat has a story on Project Ara and the difficulties with modular phones](http://venturebeat.com/2017/01/10/inside-project-ara-googles-revolutionary-modular-phone/).
Unofficial support
------------------
Without official support, you are basically trying to predict the future about what phones will have a sufficiently enthusiastic user base to support the phones. There are no simple hardware or price based criteria you can use to do this.
If you want something today, I would recommend a Nexus device. The guaranteed updates aside, these seem to have enough of a following in the community that there are custom ROMs available years after the official support has ended. Don't expect updates to be released in a timely manner, however, because people are basically supplying this out of their volunteer time. I have a Galaxy Nexus (maguro), for example, which was released in 2011. [The latest maguro Cyanogenmod releases](http://get.cm/?device=maguro&type=snapshot) are:
1. cm-13.0-20160820
2. cm-13.0-20160816
3. cm-12.1-20160719
4. cm-11-20150626
I was surprised to see an update to the 12.x line last month because it had been so long since the last update. I ended up reverting to the 20150626 build for development purposes because video on 12.x had problems, so also be aware that the custom ROMs can't work magic with less capable hardware.
Having unusual hardware has not dissuaded motivated volunteers from continuing to support the Galaxy Nexus, which has an unusual Texas Instruments processor. There were rumors that Google dropped support relatively early because of this.
Short of maintaining the device yourself or paying someone to maintain it for you, you have to guess.
Upvotes: 2 <issue_comment>username_3: Regarding stock Android, the manufacturers that are currently most vigilant about updating their latest models' OS in a timely manner are Google in its Nexus collaborations and Motorola in its Moto line.
After the manufacturers end their updates, the community continues to produce custom ROMs for popular models. Perhaps the widest set of custom roms, CyanogenMod (CM) still supports old devices such as the Galaxy S2, albeit with some [limitation](https://wiki.cyanogenmod.org/w/I9100_Info). The ability to support old models depends strongly on the release of the source codes by the manufacturers and (with some exceptions) [it seems](http://www.androidauthority.com/galaxy-s6-s6-edge-kernel-source-code-600528/) that source codes of Snapdragon devices are released more often than source codes for Exynos devices.
A list of devices from major vendors supported by the latest CM version (13) can be found [here](https://wiki.cyanogenmod.org/w/Devices#vendor=%22Google%22,%22HTC%22,%22LG%22,%22Motorola%22,%22Samsung%22,%22Sony%22,%22Xiaomi%22;type=%22phone%22;cmversions=%2213%22;) and it can provide you some perspective on how devices are supported by the community in the long term.
Combining these two perspectives I would say that Nexus devices provide the best short term stock support. However, you can often find flagship phones with better specs that will have the same long term community support. You may want to avoid Exynos devices, though.
Upvotes: 1 <issue_comment>username_4: Go for a flagship device instead of a mid-range or low-range device. Flagships (and some other popular models) generally tend to be supported by the community for a long time. I have a Samsung Galaxy S3 (d2tmo) that came out almost 4.5 years ago and it is still supported by Cyanogenmod. It was released with Icecream Sandwich and now upgraded up to Marshmallow thanks to CM. Ultimately, community support depends on the number of active users.
Upvotes: 1 <issue_comment>username_5: Google has released a statement somewhere that they will only officially provide support for 2years for their Nexus phones and thats the best you can get with stock.
If you are willing to roll with custom roms. I think that getting a phone that has chipset from a manufacturer with a good track record in providing drivers for a recently released Android version is a good bet. Qualcomm is still providing recent kernel drivers for all Snapdragon 6xx-8xx for Android 6.0 for example, which provides the community like XDA username_5 to build upon custom roms for all phones sporting the chipset. Also pick a brand/manufacturer that allows bootloader unlocking, e.g Sony, Motorola. Locked bootloader severely impacts the community in making custom roms as forces them to create exploits or workarounds in the device making it potentially unstable to use.
But my advice is, just pick the best phone which fills most of your checkbox and live with it till it breaks. I think Android is pretty secure as is.
Upvotes: 1 <issue_comment>username_6: The Dutch consumer organization retests their smartphones periodically for updates: <https://www.consumentenbond.nl/acties/updaten/ruim-een-derde-smartphones-heeft-sterk-verouderde-veiligheidsupdate>
The list is basically: the Google Nexus/Pixel phones (~3 years), Nokia / HMD Global, last (& this..) year's flagship Samsung (~1.5 years), this years flagship Sony Xperia.
(These phones had the February 2018 update begin March)
In the mean time iDevices are updated for up to 5 years (4 years + security updates until next iOS). This makes them cheaper year-over-year over the lifetime of the phone. Please see the "Depreciation" and "Sources" worksheets in [this Google Sheets workbook](https://docs.google.com/spreadsheets/d/1Kax5xleqCi2ckWWjTzkHUy7i3aZq52rLh5R_d-DL9DA/edit?usp=sharing).
Upvotes: 4 [selected_answer]<issue_comment>username_7: Other answers mention that aftermarket distributions can provide you with security updates. This is only true to some degree. They usually integrate low level-code (proprietary blobs) from the manufacturer and those parts don't get updates after support from the manufacturer ends.
The same is true for firmware bugs of hardware components. (e.g. Broadpwn)
[postmarketOS](https://postmarketos.org/blog/2017/05/26/intro/) tries to solve those problems with a GNU/Linux distribution for phones and [open source firmware](https://ollieparanoid.github.io/post/security-warning/).
Upvotes: 2 |
2016/08/26 | 279 | 1,071 | <issue_start>username_0: My situation is that I downloaded cyanogenmod and liked it. I then performed a factory reset and wipe data off of my phone. When a restart my phone, I no longer have google play store installed or any of the stock google apps for that matter.
What has gone wrong and how do I restore everything back to the stock version of android?(the way it was when I didn't have cyanogenmod and just the plain old android OS)
My phone was a Sony Xperia Z. It is running on android 5.1.1.<issue_comment>username_1: Instead of trying to head back, why not flash GAPPS (Google Apps suite) if there's nothing wrong with CM itself? Get appropriate GAPPS for your Android version at [opengapps.org](http://opengapps.org).
Upvotes: 1 <issue_comment>username_2: As discussed by @username_1, you can download an appropriate GApps suite and flash it from the link that he has provided. If you still want to revert to stock, grab a stock firmware file from here <https://xperiastockrom.com/sony-xperia-z-c6603> or from XDA and flash it using a flash tool.
Upvotes: 0 |
2016/08/26 | 2,254 | 7,558 | <issue_start>username_0: When the number of tabs reaches 100, the tab counter turns into a smiley face like so :D
I wish to know how many tabs are open, without doing the manual count. Is there a way?
[](https://i.stack.imgur.com/S4rZHm.png)<issue_comment>username_1: This is an [Easter egg](http://www.cnet.com/news/two-easter-eggs-hatch-in-chrome-for-android/) coded 4 years ago
From this [XDA post](http://forum.xda-developers.com/galaxy-s5/general/guide-how-tabs-chrome-past-100-t2934266)- you need a *rooted device* ( you can't access `/data/data/` without root )
>
> 1. Download a root explorer capable app such as ES file explorer
> 2. Navigate to chromes profile directory, mine was at /data/data/com.android.chrome
> 3. Open the app\_tabs folder
> 4. You should now see a single folder labeled "0"
> 5. Select it and open its properties, under file count deduct 1 and that will be how many tabs you have open currently, deduct 1 because 1 file in there is only an overall tab state file
>
>
>
Verified on my device ( Moto X Play, 6.0.1, Chrome `52.0. 2743.91`) when the tabs open are 4 = `Files` (5) minus one
[](https://i.stack.imgur.com/wM7t6m.jpg)
Upvotes: 3 <issue_comment>username_2: With some experimenting, swiping and manual counting, I've found that swiping will move a max of 25 tabs each time (depending on how strong you swipe). I think this is a programmed constant, although I haven't checked if the code is available to confirm the number.
My shortcut for counting tabs has become to swipe from one end to the other, counting the number of swipes, and multiplying by 25, giving a good enough approximation.
Upvotes: 1 <issue_comment>username_3: How to count your open Chrome tabs in Android by looking at your synced Android tabs (done from a computer)
-----------------------------------------------------------------------------------------------------------
This is really dumb that Google won't just show the number in Chrome on the phone instead of showing `:D` past `99` tabs, but this is the best I can come up with. (GOOGLE, PLEASE FIX THIS!)
Note: if someone knows how to use the Google APIs I wonder if they can script this and count this automatically!
1. On a *computer*, NOT on a phone, go to your "other devices" Chrome history, and find your phone device (for me it is "Pixel 2"). Note: for this to work, you must be signed into the same Google account on both your computer's Chrome browser as well as in your phone.
1. In your Chrome browser, press `Ctrl` + `H`, then on the left side, click "Tabs from other devices"
2. OR, in your computer's Chrome browser, just navigate straight to here: `chrome://history/syncedTabs`
2. You'll see something like this: [](https://i.stack.imgur.com/CU6an.png)
3. Find the location to the left of the first icon next to the first link in the list. This location is marked in yellow in the image below. Left click on this location and drag right to highlight a word or two, as shown here: [](https://i.stack.imgur.com/GDcvl.png)
4. Now manually scroll down the page until you find the *last link* in the list for this device (where this device is your phone, or course). Once there, `Shift` + `Click` at the end of the last row to highlight all the way down to the last row, as shown here. I clicked at the location marked in yellow: [](https://i.stack.imgur.com/5J1xA.png).
5. Now, use `Ctrl` + `C` and `Ctrl` + `V` to copy-paste all of this into your favorite text editor/code editor which shows line numbers. I like [Sublime Text 3](https://www.sublimetext.com/). I think it's great!
6. Voilá! The number of lines you have is equal to the number of tabs you have open in Chrome on this device--which is my Google Pixel 2! I have `494` open tabs: [](https://i.stack.imgur.com/y0JIA.png). Indeed, this is way too many. Next question I have: how do I mass-close them?: [How do I close all, or many at once, Chrome tabs on Android on a phone?](https://android.stackexchange.com/questions/232569/how-do-i-close-all-or-many-at-once-chrome-tabs-on-android-on-a-phone)
If someone can script this process, please do! You may even be able to make it a Javascript bookmarklet or something which is runnable in Chrome on a PC or phone? I don't really know Javascript, but here are some of my favorite bookmarklets I use regularly in GitHub code review, for example, if this helps get you started writing bookmarklets to solve this problem: <https://gist.github.com/ElectricRCAircraftGuy/0a788876da1386ca0daecbe78b4feb44>.
Upvotes: 2 <issue_comment>username_4: There is actually a way to see how many tabs you have open without rooting the device or doing any other things people are suggesting
Just simply, enable Talkback mode in accessibility features. Then when you hover (if you have Bluetooth mouse enabled) or tap the tab icon (with your finger) (the :D), it will tell you how many tabs you have open. Like on mine, it said 713 tabs open.
(warning, with grouped tabs (more than 1 tab in group) it counts that as 1 tab it doesn't count them all. so if you have 7 groups of 100 tabs open it will only say 7(show too))
Upvotes: 3 <issue_comment>username_5: Beside the answer of username_4, if you have a stylus (like Samsung Galaxy Note), you can also hover on the tabs [:D] button to see your open tabs count.
[](https://i.stack.imgur.com/ePISO.png)
##### Update 2022-10-01
This now shows "Switch or close tabs", it doesn't show the tab count anymore.
Upvotes: 1 <issue_comment>username_5: A more technical approach is to use `adb` and `chrome_devtools_remote` to get a list of ALL open tabs

Short how-to:
1. Install an Android SDK, we only need the `adb`.
2. Connect your phone to your computer via a cable.
3. In a terminal, run this to get a list of connected devices:
```
./adb devices -l
```
4. Run this:
```
./adb forward tcp:9222 localabstract:chrome_devtools_remote
```
5. Open <http://localhost:9222/json/list> on your computer to get a JSON list of your open Chrome tabs.
6. In short, the count of the `{` characters in the JSON is the number of tabs open in your Android Chrome.
Read how to do this in full at ["When you never close tabs on your mobile Chrome browser" by <NAME>, in Dev.to](https://dev.to/piczmar_0/when-you-never-close-tabs-on-your-mobile-chrome-browser-2boj)
Upvotes: 2 [selected_answer]<issue_comment>username_6: Google Chrome on a Galaxy Z Fold4 (as of April 20th, 2023):
1. Tap the "Switch or close tabs" button (i.e. the ":D" button)
2. At the top right, tap the vertical ellipses button "⋮"
3. Tap the "Select tabs" menu item
4. Tap the "⋮" button again
5. "Select all"
At the top left, look at one of the shocks of your life:
[](https://i.stack.imgur.com/dmjbi.jpg)
Upvotes: 2 |
2016/08/26 | 3,500 | 10,222 | <issue_start>username_0: I have two devices that have Android 5.0.2 and 6.0.1 respectively. I would like to migrate some non-cloud apps from the device with the older Android version to the new one using `adb`. The backing up command is simple:
```
adb backup -apk -f foo.bar.baz.ab foo.bar.baz
```
Now, after connecting the device with the newer Android version, the following command is expected to work:
```
adb restore foo.bar.baz.ab
```
Unfortunately it isn't. As usual, the restoring process fails silently just reporting that the restoring process is ended. Actually nothing really happens. Here are the logs:
```
adb logcat -s BackupManagerService
```
>
> 08-27 01:02:44.100 1300 2300 I BackupManagerService: Beginning full restore...
>
> 08-27 01:02:44.100 1300 2300 D BackupManagerService: Starting restore confirmation UI, token=<PASSWORD>
>
> 08-27 01:02:44.120 1300 2300 D BackupManagerService: Waiting for full restore completion...
>
> 08-27 01:02:45.650 1300 2450 D BackupManagerService: acknowledgeFullBackupOrRestore : token=<PASSWORD> allow=true
>
> 08-27 01:02:45.660 1300 18181 I BackupManagerService: --- Performing full-dataset restore ---
>
> 08-27 01:02:45.680 1300 18181 I BackupManagerService: Package foo.bar.baz not installed; requiring apk in dataset
>
> 08-27 01:02:45.680 1300 18181 D BackupManagerService: APK file; installing
>
> 08-27 01:02:45.680 1300 18181 D BackupManagerService: Installing from backup: foo.bar.baz
>
> 08-27 01:02:45.690 1300 18181 E BackupManagerService: Unable to transcribe restored apk for install
>
> 08-27 01:02:45.690 1300 18181 E BackupManagerService: Parse error in header: Invalid number in header: 'я╛В' for radix 8
>
> 08-27 01:02:45.710 1300 18181 W BackupManagerService: io exception on restore socket read
>
> 08-27 01:02:45.710 1300 18181 W BackupManagerService: java.io.IOException: Invalid number in header: 'я╛В' for radix 8
>
> 08-27 01:02:45.710 1300 18181 W BackupManagerService: at com.android.server.backup.BackupManagerService$PerformAdbRestoreTask.extractRadix(BackupManagerService.java:7380)
>
> 08-27 01:02:45.710 1300 18181 W BackupManagerService: at com.android.server.backup.BackupManagerService$PerformAdbRestoreTask.readTarHeaders(BackupManagerService.java:7179)
>
> 08-27 01:02:45.710 1300 18181 W BackupManagerService: at com.android.server.backup.BackupManagerService$PerformAdbRestoreTask.restoreOneFile(BackupManagerService.java:6396)
>
> 08-27 01:02:45.710 1300 18181 W BackupManagerService: at com.android.server.backup.BackupManagerService$PerformAdbRestoreTask.run(BackupManagerService.java:6254)
>
> 08-27 01:02:45.710 1300 18181 W BackupManagerService: at java.lang.Thread.run(Thread.java:818)
>
> 08-27 01:02:45.710 1300 2300 I BackupManagerService: Full restore processing complete.
>
> 08-27 01:02:45.720 1300 18181 D BackupManagerService: Full restore pass complete.
>
>
>
It looks somewhat strange that the same backup format cannot be restored on a newer device. I've also tried to repack the underlying tarball using `nelenkov/android-backup-extractor` preserving the same file order (`tar cvf ... -T files.lst`) hoping that the broken header gets repaired. No luck.
What does cause such a backup/restore behavior and how do I resolve the issue to migrate the application from the older device to the newer one? Any help is **highly** appreciated and thanks in advance.
* Android Debug Bridge version 1.0.31
* LG Optimus E975, Android 5.0.2, CyanogenMod 12-2015...
* Samsung Galaxy S5, Android 6.0.2, flashed to a newer Sprint stock firmware (initially Android 5.0.x earlier)<issue_comment>username_1: After a whole day of various experiments with another tools like TitaniumBackup (neither worked nice, TB was only able to restore APKs, not data) I've figured out that specifying the `-apk` key was the problem. Simply omitting the flag during a backup operation makes it fully restorable.
So my new backup/restore plan became as follows:
* device 1: backup data only
* device 2: backup APK+data retaining the APK only later (requires [`nelenkov/android-backup-exractor`](https://github.com/nelenkov/android-backup-extractor) by <NAME>; can be easily built using JDK 1.8.x and Gradle 2.7 (couldn't build it using Gradle 2.7+ and Gradle 3.0+) with simple `gradle` command)
* device 2: restore the APK using `adb install`
* device 2: restore the data using `adb restore`
Here are the scripts:
### backup.sh
```
#!/bin/bash
set -e
PACKAGE=$1
if [ -z "$PACKAGE" ]; then
echo no package specified
exit
fi
echo ">>> Backing up $PACKAGE data..."
adb backup -f "$PACKAGE".DATA.ab $PACKAGE
echo ">>> Backing up $PACKAGE APK..."
adb backup -apk -f "$PACKAGE".APK.ab $PACKAGE
echo ">>> Extracting APK..."
java -jar abe-all.jar unpack "$PACKAGE".APK.ab "$PACKAGE".APK.ab.tar
rm "$PACKAGE".APK.ab
APK_FILENAME=$(basename $(tar tf "$PACKAGE".APK.ab.tar | grep '^apps/'"$PACKAGE"'/a/'))
tar xvf "$PACKAGE".APK.ab.tar -C ./ "apps/$PACKAGE/a/$APK_FILENAME" --strip-components=3
mv "$APK_FILENAME" "$PACKAGE".apk
rm "$PACKAGE".APK.ab.tar
echo
echo "*************"
echo "*** Done ***"
echo "*************"
```
This script requires a package name as the input parameter and stores an APK and its data as `foo.bar.apk` and `foo.bar.DATA.ab` respectively. I also implemented it as a twice-backup script (a device asks for making a backup two times) because I didn't want to re-pack underlying tarballs preserving the original file order just making sure that the `DATA.ab` file is in its original state.
### restore.sh
```
#!/bin/bash
set -e
PACKAGE=$1
if [ -z "$PACKAGE" ]; then
echo no package specified
exit
fi
echo ">>> Installing $PACKAGE APK..."
adb install -r $PACKAGE.apk
echo ">>> Restoring $PACKAGE data..."
adb restore $PACKAGE.DATA.ab
echo
echo "*************"
echo "*** Done ***"
echo "*************"
```
This script simply installs an APK on a target device and restores its data. The only input parameter is the application package name.
So the overall backup/restore process is:
* Connect device #1
* Execute `backup.sh` passing an application package name
* Click "Backup..." on the device #1 (one will be asked two times for the data and APK+data backups respectively)
* Repeat the previous two steps for other packages if necessary
* Disconnect the device #1 and connect the device #2
* Execute `restore.sh` passing an application package name
* Click "Restore..." on the device #2 once asked
* Repeat the previous two steps for other packages if necessary
Upvotes: 3 [selected_answer]<issue_comment>username_2: I just want to add to your answer, for people going from KitKat (4.4) to Nougat (7.1). (BTW, I finally came across your question/answer after 2 days of fighting with this, thanks a ton)
There are various bugs in adb from version 1.0.32+ when trying to backup, but version 1.0.31 works great. However, you seem to need 1.0.36 to restore to Nougat.
To Backup: [platform-tools\_r20](https://dl-ssl.google.com/android/repository/platform-tools_r20-linux.zip "platform-tools_r20-linux") (You MUST set a password)
To Restore: [platform-tools\_r25.0.3](https://dl-ssl.google.com/android/repository/platform-tools_r25.0.3-linux.zip "platform-tools_r25.0.3") (No password needed)
As such, I added to your script a bit... (you'll need to add symlinks for adb-1.0.31 and adb-1.0.36)
### backup.sh
```
#!/bin/bash
set -e
DEVICE=$1
PACKAGE=$2
PASSWD=$3
if [ -z "$PACKAGE" ]; then
echo no package specified
exit
fi
echo ">>> Backing up $PACKAGE data..."
adb-1.0.31 -s $DEVICE backup -f "$PACKAGE".DATA.ab $PACKAGE
sleep 5
echo ">>> Backing up $PACKAGE APK..."
adb-1.0.31 -s $DEVICE backup -apk -f "$PACKAGE".APK.ab $PACKAGE
echo ">>> Extracting APK..."
java -jar abe.jar unpack "$PACKAGE".APK.ab "$PACKAGE".APK.ab.tar $PASSWD
rm "$PACKAGE".APK.ab
APK_FILENAME=$(basename $(tar tf "$PACKAGE".APK.ab.tar | grep '^apps/'"$PACKAGE"'/a/'))
tar xvf "$PACKAGE".APK.ab.tar -C ./ "apps/$PACKAGE/a/$APK_FILENAME" --strip-components=3
mv "$APK_FILENAME" "$PACKAGE".apk
rm "$PACKAGE".APK.ab.tar
echo
echo "*************"
echo "*** Done ***"
echo "*************"
```
### restore.sh
```
#!/bin/bash
set -e
DEVICE=$1
PACKAGE=$2
if [ -z "$PACKAGE" ]; then
echo no package specified
exit
fi
echo ">>> Installing $PACKAGE APK..."
adb-1.0.36 -s $DEVICE install -r $PACKAGE.apk
echo ">>> Restoring $PACKAGE data..."
adb-1.0.36 -s $DEVICE restore $PACKAGE.DATA.ab
echo
echo "*************"
echo "*** Done ***"
echo "*************"
```
Upvotes: 2 <issue_comment>username_3: I got the same error when to `.ab` file I packed `.7z` archive instead of `.tar`. I used 7z.exe, so changing command from:
```
7z.exe a -t7z app.package.name.7z app.package.name
```
to:
```
7z.exe a -ttar app.package.name.tar app.package.name
```
helped. Regards.
Upvotes: 1 <issue_comment>username_4: I know it's not a direct answer to your question, but other people may be in the same situation and looking for a similar solution:
This bit me today as well during a Lineage 14.1->15.1 upgrade. ADB 1.0.39 does not really seem to improve the situation.
I did not want to use old adb versions, but wanted it to be simple and open source.
I found oandbackup (<https://f-droid.org/en/packages/dk.jens.backup/>) to do exactly what I want. Just select all user apps, backup apk+data, copy the whole folder to the other phone, restore all apps+apks, and voila, (nearly) everything back as it should be. Account entries (imapnotes, davdroid) have not worked, and backing up the "account" app added an invisible imapnotes account which did not work and could not be re-added. Had to delete app data and re-add the account manually. So I would not recommend backing up account info.
Other than that, I am happy.
I used to use adebar (<https://github.com/IzzySoft/Adebar>) which was perfect, but now that adb backup/restore do not work reliable, it also does not work.
Every adb version creates different error messages:
`DefContainer: Failed to parse package`
or
`Unable to transcribe restored apk for install`
Hopefully some search engine will pick these strings up.
Upvotes: 0 |
2016/08/27 | 955 | 3,331 | <issue_start>username_0: The Gmail on my tablet has a bunch of old "labels" from past email traffic, and I wish to remove/delete those labels.
None of the old labels have any documents in them (they are empty), but they are still shown on the left side of the Gmail screen. They are listed under the headings: "Recent Labels" and "All Labels"
By the way, I did access another screen that has the following listings:
* delete labels
* remove labels
* label:Junk-E-mail-FRIENDS
* cancel labels
* discard labels
* labels
* remove account
* remove account withdrawal
* create labels
I tried all the above commands to eliminate the labels appearing, but with no luck.
The message I get is ...
>
> Whoops! We didn't find anything for "xxxx labels"
>
>
>
How do I remove these old label listings from appearing on my screen?<issue_comment>username_1: From app help, search for *Remove Labels*
On a computer, open Gmail. You can't edit labels from the Gmail app.
* On the left side of the page, hover your cursor over your label's name.
* Click the Down arrow.
* Click Remove label
Upvotes: 2 <issue_comment>username_2: Looks like a mere refresh does not work. You will have to remove the label from desktop Gmail. Any removal of label will only be reflected in your Android Gmail app once you clear the data.
1. Make necessary changes from desktop to your labels.
2. Go to phone settings - Applications - Gmail - Storage - Clear data (+ cache)
This will work!
Upvotes: 0 <issue_comment>username_3: It's true you can't customize your labels from within the Gmail app in Android, but you don't need to physically do it from a notebook or desktop, you can still do it right from your Android phone by using Gmail through your web browser ᎓
* Use the Google search bar on your phone to search for "gmail"
* Tap the first result (" Gmail - Google ")
* If asked whether to open the web version or use the Gmail app, choose
the web version, and you'll be looking at the familiar contents of
your Gmail Inbox, only on the web via your browser ( see *footnote* )
* Tap the '**≡**' symbol, top left
* Scroll to the bottom to where, in very small print, it says **View
Gmail in ᎓** and tap the blue **Desktop** link
Now you're looking at your Gmail Inbox exactly as you would see it on your desktop or notebook computer, so from here you proceed just as you would if that's what you were using. In this case ᎓
* At the bottom of the left column, tap the blue **Edit labels** link
You're shown *only* the labels you're allowed to customize, each one with its own set of **[ Rename ]** / **[ Remove ]** buttons … proceed accordingly ( and carefully ! ).
---
*If at this point you're **not** given the choice of opening the web version and the Gmail app opens automatically, it's because you need to clear the **Set as default** flag for the Gmail app in your phone's settings. The procedure for this will vary a bit depending on phone model, but on the Samsung Galaxy S8+, it's **[ Settings ▸ Apps ▸ Gmail ▸ Set as default ▸ Clear defaults ]**, so 5 taps.*
Upvotes: 0 <issue_comment>username_4: If you open Gmail in a web browser, at the very bottom of the page it says mobile, older version, desktop; choose desktop. Now you can add, edit, or delete labels and folders from your mobile phone.
Upvotes: 1 |
2016/08/27 | 869 | 3,074 | <issue_start>username_0: I'm planning to connect a reverse camera to an android tablet.
I am using the famous EasyCAP device to get the analog RCA signal to USB input.
I have tried this with a [few](https://play.google.com/store/apps/details?id=com.vertile.fpv3d) [apps](https://play.google.com/store/apps/details?id=labsp.android.viewer) and turns out they rely on a kernel mode driver which may or may not be included in a given device.
My Nexus 5X works well, but my Galaxy Tab A 7" (2016) doesn't seem to have it. ([Go FPV](https://play.google.com/store/apps/details?id=com.vertile.fpv3d) app says it can't find the driver)
So my question is, is there a list of device models that I can refer to, to find a device that has the driver? My target is to use a Galaxy Tab S2 or a Galaxy Tab E (due to [another constraint for my project](https://android.stackexchange.com/questions/155811/simultaneous-otg-charging-capability))
How can I find out which of these 2 devices will include the kernel mode driver I need?
Another option is to use the popular [EasyCAP Viewer app](https://play.google.com/store/apps/details?id=com.easycap.viewer) which is paid, since [Arksine's Easycam project here](https://github.com/Arksine/Easycam#faq) suggests that app uses a user-mode driver which doesn't rely on the kernel mode driver to be present. I'm not sure whether it is true.<issue_comment>username_1: ***It's been a while and I haven't seen any answers, so I'm gonna post my approach and findings. If someone has an answer, please post here and I will accept it.***
---
So far, I couldn't find a list of devices that supports the UVC driver.
If you do have a device and wondering it would support UVC, you can download [Go FPV App](https://play.google.com/store/apps/details?id=com.vertile.fpv3d) which will show whether you have a UVC driver or not on a given device upon launch. (You do not need to connect the UVC device to get this.)
If you're using the [EasyCAP Viewer app](https://play.google.com/store/apps/details?id=com.easycap.viewer), you do not need the driver. I can confirm it doesn't rely on the kernel driver.
If you're writing an app that requires input from a UVC adapter, this [GitHub project](https://github.com/saki4510t/UVCCamera) looks promising.
Upvotes: 2 [selected_answer]<issue_comment>username_2: Just to muddy the water a little. nothing about using Ezy cap is so simple. I have an OTG cable between my EzyCap unit and a Samsung Galaxy tab 10. When I plug in the OTG cable to the tablet the power led on the EzyCap lights up. On the tablet, it works fine. If however I use the same OTG cable to two different (cheap) mobile phones, when I plug in the OTG cable the power LED on the Ezy cap does not light up. I tried another OTG cable and also tried splitting an OTG cable to supply external power to the Ezycap. Simply doesnt work on either phone.
Ive tried a lot of different apps including those you list. The only way to know if your phone or tablet is compatible is to try it!
Sorry its not good news, but its the facts.
Upvotes: 0 |
2016/08/27 | 497 | 1,974 | <issue_start>username_0: I'm using Moto G 2nd Gen with Android version 6.0.
I was using external SD Card as Internal storage and I guess it has encrypted the card.
Recently, my phone started to work abnormally. It randomly fails to recognize the storage. After a device reboot, it would work for sometime and fail again.
In the "Storage & USB" settings menu, I clicked "Forget" on the external SD card.
Then I realize I cannot access the data from my computer using SD card reader.
How can I re-plug the SD card back as Internal Storage without formatting again?<issue_comment>username_1: I can't help really, but I sympathize. One commenter said "It's your fault". No it's not! Some stupid moronic programmer decided some idiotic protocol was required and the Moto G 2nd Gen quit reading any Micro SD card regularly, that is, encrypted for Andoid. I had the exact same problem. After upgrading to Marshmallow the damn thing quit reading my 64Gb high speed card. So I dropped down to a 32Gb thinking it was compliant with manufactures specs. Nope the 32 Gig failed just as much. It would read the card for about 2 minutes and then stop. I couldn't make a backup of the card, so you did the right thing. Just start all over, format and get the BS encryption off your storage device. If you ever format it again with Google encryption, well, then it's your fault. :)
Now root your Android roll it back to the previous build and you'll be able to shove a 128Gb Micro and it'll read it just fine. Then you give Google a big FU for wrecking a perfectly functional phone.
Upvotes: 1 <issue_comment>username_2: I got the instability described above.
With patience, retrying really *many* times, I was able to backup the files in the card, by copying them to my notebook using a file manager "FK".
The adopted storage option was not well implemented, letting the user down as soon as the SD had errors. It should be more resilient, as good software is made,
Upvotes: 0 |
2016/08/28 | 1,812 | 5,320 | <issue_start>username_0: When using Chrome on my Nexus 6, I often get taken to a [data URI](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) that causes a modal that reads something like:
>
> **An embedded page at s3.amazonaws.com says:**
> Message!
> Congratulations Grande Communications user, you have been chosen for a chance to get a new iPhone....
> Click OK to continue
>
>
>
There is no Cancel button. **Why does Google allow developers to launch pop-ups with no cancel button?**
This doesn't occur from clicking on a link. Usually it happens while I'm on a tab, and suddenly another tab will spawn with the modal. I don't think it's caused by a visit to a dubious host, because it's happened when I've had only top sites (Amazon, ebay, etc.) open in the other tabs.
I have run [Malwarebytes](https://www.malwarebytes.org/) and a few other security tools and they all say my phone is secure and clean.
What exactly is happening? On the standard Chrome browser, web extensions can rewrite URLs but Chrome for mobile doesn't have web extensions. Could an app intercept network calls from the browser? Could the sites I'm visiting just be serving malicious ads?<issue_comment>username_1: To build to what we know, I just saw this today on a stock Nexus6P (TMo) running the August update, only in 'ChromeBrowser'. Previously, it was happening to a roommate's unrooted Galaxy S4 (AT&T), which now that I think about it, was running an even more current version of 'Chrome' than I was. No wifi, separate mobile networks. I updated in the past 24 hours and saw my first URI within an hour of googling this post and adding. The only websites I've used since the last boot have been Google, Wikipedia, Reddit, Amazon, and IMDB.
Tried clearing the system cache on both phones, uninstalling and reinstalling 'Chrome', running 'Malwarebytes' and 'Avast': still happens. Doesn't seem to be happening in 'Adblock Browser'.
If anyone can decipher the string that prompts mine, it looks like:
data:text/html;base64,PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+<KEY>PC9kaXY+PC9ib2R5PjwvaHRtbD4=
Upvotes: 2 <issue_comment>username_2: Actually nothing is malicious or exploit**able** of what you described.
The popup without a cancel button is just a javascript alert. When you press OK nothing happends because you pressed OK. You get redirected because that's simply the next line in the javascript script.
These misleading ads can be blocked with an ad blocking app such as AdAway, although they require root. You could also simply use the Adblock Browser.
Unless you download or install content from such malicious websites you are malware free. Even if they open already installed apps on your phone (Such as Google Play or Gmail) nothing malicious will happen without your consent.
tl;dr
Watch what you allow/install
Upvotes: 2 [selected_answer]<issue_comment>username_3: I found today that it does it on the same site every time I pass it. It must be an ad from that page launching it. As long as you push the back button and ignore it there doesn't seem to be any problem. I do hope they figure out a way to eliminate those ads, it's irritating and a lot people aren't aware enough to just leave it alone.
Upvotes: 0 <issue_comment>username_4: Same thing happens on any website I go to from amazon to target even over powered my banks website, happens on 2 different phones a note 5 and a galaxy s7 edge. Started on the note first now it's doing it on the s7 edge. I can never recreate when it happens I just know it will... the notes stock att bloat ware running the newest android version, the s7 is the same but has never had any apps installed on it other then what my company put on it when they gave it to me can't even go to certain websites with the phone but this same code pops up at random. It always happens on the stock Samsung Web browser haven't seen it happen on chrome yet
data:text/html;base64,PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCwgdXNlci1zY2FsYWJsZT1mYWxzZSwgaW5pdGlhbC1zY2FsZT0xLjAsIG1heGltdW0tc2NhbGU9MS4wIj48L2hlYWQ+PGJvZHk+PGRpdiBpZD0iaWZybSIgc3R5bGU9InBhZGRpbmc6MDsgbWFyZ2luOjA7Ij48aWZyYW1lIHNyYz0iaHR0cHM6<KEY>
Upvotes: 0 <issue_comment>username_5: Disable the Java-script on that Website, I think it will remove the problem.
It is not some sort problem related to virus,it is no-script function which is triggered by java-script when you click on page.
Upvotes: 0 |
2016/08/28 | 604 | 2,531 | <issue_start>username_0: I have unlocked my HTC device and installed TWRP and SuperSU. Then I accidentally leaked root access to one of Tencent's apps. The log says that the app has leaked root permission to KingRoot SDK:
It uses root permission to execute something like 'kd -d krsdk.cert'.
Then I removed its root access in SuperSU, however the app is still able to use root access.
I then downloaded KingRoot, and it says that the device has already been rooted. I tried to unroot the device from KingRoot, however I could re-root it again with KingRoot. I tried restoring the device using a complete backup from the TWRP recovery (removing SuperSU and everything else just like factory default), but KingRoot still works.
Is that because my device actually has a bug, or because KingRoot has left a persistent backdoor in my device? If so, how to remove it?<issue_comment>username_1: If downloaded from official sources, Kingroot is legit and not a virus.
However, a lot of Antivirus may flag it as false positive because of the way it works. Kingroot is installing a root certificate and works a bit different to supersu. Check for root certificates as well and remove them in order to get back to stock. However, if you are worried about left open holes, flash a stock ROM and you should be all set.
Upvotes: -1 <issue_comment>username_2: After testing, I am sure that KingRoot *does* exploit system bugs and probably does not leave backdoors for rooting. However it *does* leave imprints in `/system` partition.
Proof:
1. KingRoot does not always get root successfully after uninstallation.
2. I tested on another HTC device with the same OS (Sense 7), factory default lock, but KingRoot worked. (That device is bricked after installing SuperSU and I'm seeking maintainance; it is free of charge)
3. After rooting and unrooting I found files with the abbreviation "kr" (KingRoot) and "ku" (KingUser) which did not exist before rooting. Furthermore, any attempt to install SuperSU, either by TWRP or by manual installation, failed. Installing through TWRP works, but causes the device to malfunction (Return button and Home button lost, unable to change device's Settings, however apps still work and connect to the network). Installing manually results in SuperSU prompting to update binaries and failing.
Upvotes: 1 <issue_comment>username_3: Well for me kingroot left ads on my homepage so I would not says it is secure. I had to reset my phone after that... I don't think it leaves any backdoors though.
Upvotes: 1 |
2016/08/28 | 459 | 1,938 | <issue_start>username_0: I would like to move everything from one device to another, including data from contacts, applications etc.
I would like to do this in cloud-free way, i.e. without copying everything to Google or any other third party provider.
Is this possible?<issue_comment>username_1: If downloaded from official sources, Kingroot is legit and not a virus.
However, a lot of Antivirus may flag it as false positive because of the way it works. Kingroot is installing a root certificate and works a bit different to supersu. Check for root certificates as well and remove them in order to get back to stock. However, if you are worried about left open holes, flash a stock ROM and you should be all set.
Upvotes: -1 <issue_comment>username_2: After testing, I am sure that KingRoot *does* exploit system bugs and probably does not leave backdoors for rooting. However it *does* leave imprints in `/system` partition.
Proof:
1. KingRoot does not always get root successfully after uninstallation.
2. I tested on another HTC device with the same OS (Sense 7), factory default lock, but KingRoot worked. (That device is bricked after installing SuperSU and I'm seeking maintainance; it is free of charge)
3. After rooting and unrooting I found files with the abbreviation "kr" (KingRoot) and "ku" (KingUser) which did not exist before rooting. Furthermore, any attempt to install SuperSU, either by TWRP or by manual installation, failed. Installing through TWRP works, but causes the device to malfunction (Return button and Home button lost, unable to change device's Settings, however apps still work and connect to the network). Installing manually results in SuperSU prompting to update binaries and failing.
Upvotes: 1 <issue_comment>username_3: Well for me kingroot left ads on my homepage so I would not says it is secure. I had to reset my phone after that... I don't think it leaves any backdoors though.
Upvotes: 1 |
2016/08/28 | 728 | 3,202 | <issue_start>username_0: Some games ask for Contacts permission for logging in using Google Account.
Is it safe? Why some other games and applications don't ask for Contacts?
For example SoundCloud, it doesn't for, but Asphalt 8 do.
**Will these apps and games modify my contacts list?**<issue_comment>username_1: Yes it is indeed. It needs to access your basic information like your name to get going.
Like Asphalt 8 requires it for your name and email to sign into the google play games.
No these apps wont modify or erase your contact list.
You can deny the permissions for each app into the settings.
Hope this helps !!
Upvotes: 0 <issue_comment>username_2: In order to uniquely identify a user, an app **does not need to access your contacts** (which is why SoundCloud doesn't).
However, if an app decides to ask for this permission, it is your decision to trust it or not. I personally usually decline those requests, since I'm not comfortable with an organization getting too much sensitive information about me if not necessary. I don't want to accuse any company, but rumor has it that this is exactly the kind of information that is sold to advertising companies, if you know what I mean...
Concerning modifications of your contacts: That depends on the exact permission the app requests. [This developer resource](https://developer.android.com/guide/topics/security/permissions.html#perm-groups) lists three possible permission regarding contacts:
1. Read contacts
2. Write contacts
3. Get accounts
**An app will only be able to modify your contacts if it requests the second permission and you accept it.** This is where it gets tricky: Below screenshot (taken on a device running Android 7.0) shows the request to "access" your contacts, originating from stock Android's official contacts app. Obviously, this app is indeed able to modify your contacts, although the popup doesn't explicitly state that. In other words, there is apparently no way to distinguish between read and write permission.
If you don't get to see a popup like on the screenshot, either the app or your device doesn't support [requesting permissions at run time](https://developer.android.com/training/permissions/requesting.html). This feature was added in Android 6, so if your device's android version is lower or if the app wasn't optimized for this feature, you will be presented with a list of permissions before downloading the app in the Play Store. Unfortunately, there is no way to selectively adjust the permissions prior to Android 6 without rooting the device.
### Will these apps and games modify my contacts list?
Assuming that you have to grant the app permission to modify your contacts (because of the reason stated above), you will have to live with the risk of your data being used for personalized advertisement. However, **I highly doubt that an app of a well-known company would secretly modify your contacts**, simply because they don't have a negative intention. That being said, be careful with apps that have lower ratings or don't seem as serious.
[](https://i.stack.imgur.com/cMVdQ.png)
Upvotes: 2 |
2016/08/29 | 739 | 3,233 | <issue_start>username_0: I am using lenovo k3 note with updated version marshmelo 6.0. Sometimes it happens like random touches appearing on my screen and screen jerks many times. I have restarted my phone many a time but it happens several time in a day. I don't know what I should do. I am using this it since 1 year.<issue_comment>username_1: Yes it is indeed. It needs to access your basic information like your name to get going.
Like Asphalt 8 requires it for your name and email to sign into the google play games.
No these apps wont modify or erase your contact list.
You can deny the permissions for each app into the settings.
Hope this helps !!
Upvotes: 0 <issue_comment>username_2: In order to uniquely identify a user, an app **does not need to access your contacts** (which is why SoundCloud doesn't).
However, if an app decides to ask for this permission, it is your decision to trust it or not. I personally usually decline those requests, since I'm not comfortable with an organization getting too much sensitive information about me if not necessary. I don't want to accuse any company, but rumor has it that this is exactly the kind of information that is sold to advertising companies, if you know what I mean...
Concerning modifications of your contacts: That depends on the exact permission the app requests. [This developer resource](https://developer.android.com/guide/topics/security/permissions.html#perm-groups) lists three possible permission regarding contacts:
1. Read contacts
2. Write contacts
3. Get accounts
**An app will only be able to modify your contacts if it requests the second permission and you accept it.** This is where it gets tricky: Below screenshot (taken on a device running Android 7.0) shows the request to "access" your contacts, originating from stock Android's official contacts app. Obviously, this app is indeed able to modify your contacts, although the popup doesn't explicitly state that. In other words, there is apparently no way to distinguish between read and write permission.
If you don't get to see a popup like on the screenshot, either the app or your device doesn't support [requesting permissions at run time](https://developer.android.com/training/permissions/requesting.html). This feature was added in Android 6, so if your device's android version is lower or if the app wasn't optimized for this feature, you will be presented with a list of permissions before downloading the app in the Play Store. Unfortunately, there is no way to selectively adjust the permissions prior to Android 6 without rooting the device.
### Will these apps and games modify my contacts list?
Assuming that you have to grant the app permission to modify your contacts (because of the reason stated above), you will have to live with the risk of your data being used for personalized advertisement. However, **I highly doubt that an app of a well-known company would secretly modify your contacts**, simply because they don't have a negative intention. That being said, be careful with apps that have lower ratings or don't seem as serious.
[](https://i.stack.imgur.com/cMVdQ.png)
Upvotes: 2 |
2016/08/29 | 1,278 | 4,573 | <issue_start>username_0: I need to save the website of some shops etc [Power.fi](https://www.power.fi/) because you cannot use LTE data in their shops (metallic halls) but I need to compare their prices to their website prices and others.
Options of Internet Browsers
1. Firefox because you can install there addons
2. Chrome not because you cannot install addons in Android Chrome
3. ...
Options of the goals
1. It would be nice to save daily catalogs of the websites (whole website).
2. And then when time is in need, just take pages which you need (just a page). (Akhil's answer proposal [here](https://android.stackexchange.com/a/156169/9897))
3. How to Store 777 single pages to one frontend/client/...?
Firefox plugins under test
* [ScrapBook](https://addons.mozilla.org/en-US/firefox/addon/scrapbook/) - does not work in Android Firefox because I cannot even install the app in Android; pressing install just goes infinitely but never installs; restoring the page shows that nothing is installed; I did restart the browser but no difference.
* ...
Chrome (I really would like to find a solution for this as soon as possible Google allows the addons)
* ...
Phone: Oneplus 2
OS: CyanogenMod 13<issue_comment>username_1: 2. To Save One Page
-------------------
You can either use Apps like
* [Pocket](https://play.google.com/store/apps/details?id=com.ideashower.readitlater.pro) - 4.5 stars, 10 million downloads
* [Readability](https://play.google.com/store/apps/details?id=com.readability) - 3.3 stars, 100 thousand downloads
* [Instapaper](https://play.google.com/store/apps/details?id=com.instapaper.android&hl=en) - 4.2 stars, 100 thousand downloads
These will provide offline readability.
Or you can try to save webpage as PDF from chrome browser/firefox.
As described below:
**Chrome**
1. First, open the page you want to save in Chrome, tap the three-dot menu button in the top-right corner of the screen, then tap *Print*.
2. Once Android has finished creating a preview of the page you want to save, tap the *Save to* drop-down menu at the top of the page.
3. Select *Save to Google Drive* to upload a PDF of the page to your Drive account (make sure you pick the right one if you’re signed in to multiple Google accounts), or tap *Save as PDF* to save the file to your handset’s local storage.
**Note**: Sure, you could try tapping Share > Google Drive to save a webpage from Chrome to your Drive account, but all you’d be doing is saving a tiny text file with the page’s URL.
**Firefox**
1. On the Web page you want to save, select Menu > Save as PDF.
2. The Android downloader notification appears and notifies you when it is finished.
To open the PDF, tap Menu > Downloads.
3. Your Downloads screen appears with the PDF listed, tap the PDF to
open it with the PDF reader installed on your Android phone.
Upvotes: 1 <issue_comment>username_2: You can try [HTTrack Website Copier](https://play.google.com/store/apps/details?id=com.httrack.android). Seems to match your needs fully, not tried by me :
>
> HTTrack is a free software (GPL) offline browser utility, allowing you to download (copy) a website from the Internet to a local directory, building recursively all directories, getting html, images, and other files from the server to your device.
>
>
> HTTrack arranges the original site's relative link-structure. Simply open a page of the "mirrored" website in your browser, and you can browse the site from link to link, as if you were viewing it online.
>
>
>
**Edit** Tested it now
* All sites do not permit copying - this site doesn't:). For reasons see [FAQ](http://www.httrack.com/html/faq.html#Q0)
* Can be very time consuming when on WiFi. I tried on Amazon India and aborted after 7 minutes . It copied the first page fully, it looks like, but you can set up rules
* I tried on a smaller banking website and it was able to copy fully with three levels of linking
You have to test and see if it works for your sites
Refer [comment](https://android.stackexchange.com/users/9897/masi). Copied the content of LG TV as shown below. Note the download link location in internal storage and the third one shows internal link opened up. Took one minute
[](https://i.stack.imgur.com/GkIRG.jpg)
[](https://i.stack.imgur.com/dN5eNm.jpg)
[](https://i.stack.imgur.com/FnE9Lm.jpg)
Upvotes: 3 [selected_answer] |
2016/08/29 | 452 | 1,978 | <issue_start>username_0: According to an Android Pay engineer on the XDA forums, Android Pay is not compatible with rooted devices because of security concerns: on unrooted devices apps run in a sandbox and can only obtain limited information.
How is this different on an unrooted device as apps must request permission from SU?
Could an app trick SU into giving it more permissions than possible?
I am interesting in getting Android Pay working on my phone but have concerns about the security of my data as my device is rooted.<issue_comment>username_1: This is a problem with Knox. Google is liable if Google Pay is cracked on a device and maleficence was done i.e. rooted user steals or gets stolen from BY using the application etc. The only way to protect themselves is to eliminate access with modified OS. I don't see a way,other than going into the application and finding out if you could change what the application sees. My thinking is if the application can't get root, or isn't shown the device is rooted then it should work.
Upvotes: -1 <issue_comment>username_2: By default, only the application itself (and, under some circumstances, the applications written by the same company) can access to its (private) data. So Google Pay can store securely banking-related information.
If you root your phone, however, any application with root access can access to *any* folder on your file system. Including applications private data. And Google Pay's banking-related information.
I have no idea what Google Pay stores. But there is at least a way to authenticate as yourself. From there, an application with root access could probably do nasty things. Not nasty for Google, but for you: make payments on your behalf.
If you find a way to hide the root from Google Pay (I don't know if it's achievable, but I wouldn't be surprised if it was), and are entirely trusting the applications you give root access to, sure, go ahead. Personally, I would not.
Upvotes: 0 |
2016/08/29 | 391 | 1,659 | <issue_start>username_0: I'm using Asus Zenfone and I'm not able to unlock it. I've tried ADM but without success. Utility says that password wont be used when there is a lock pattern. How to use this application?<issue_comment>username_1: This is a problem with Knox. Google is liable if Google Pay is cracked on a device and maleficence was done i.e. rooted user steals or gets stolen from BY using the application etc. The only way to protect themselves is to eliminate access with modified OS. I don't see a way,other than going into the application and finding out if you could change what the application sees. My thinking is if the application can't get root, or isn't shown the device is rooted then it should work.
Upvotes: -1 <issue_comment>username_2: By default, only the application itself (and, under some circumstances, the applications written by the same company) can access to its (private) data. So Google Pay can store securely banking-related information.
If you root your phone, however, any application with root access can access to *any* folder on your file system. Including applications private data. And Google Pay's banking-related information.
I have no idea what Google Pay stores. But there is at least a way to authenticate as yourself. From there, an application with root access could probably do nasty things. Not nasty for Google, but for you: make payments on your behalf.
If you find a way to hide the root from Google Pay (I don't know if it's achievable, but I wouldn't be surprised if it was), and are entirely trusting the applications you give root access to, sure, go ahead. Personally, I would not.
Upvotes: 0 |
2016/08/29 | 546 | 2,233 | <issue_start>username_0: I have a daughter that goes to a secondary school and has a S5 phone. I want to be able to locate her without her knowing, as in receiving any pop ups or notifications. Can you help me please?<issue_comment>username_1: When she Gets Home, Go on her Phone and Go to settings, about Phone, More info and write down her Phones *IP ADRESS*
Then when she is out, go to IP Tracker, type her IP address in and lookup where she is on the map..
Hope it helps!
Upvotes: -1 <issue_comment>username_2: I think the best option is to tell her you are going to track her. She will find out, unless you deploy some borderline illegal methods.
Life360 is a few app. It will notify you where she is. No pop ups on her phone.
Don't be a prick and spy on your kid. Just be honest if you want you kid to respect you.
Upvotes: 2 <issue_comment>username_3: The best thing you can do is get her Google password whichever account is active for that device and use Google device manger for the same. But she will be aware because whenever we locate device popup will be shown on her phone, well we can disable notifications for Google Play Services and she won't get the popup. This way you can get her location with existing methods.
Cons using this method :
1. GPS and Internet should remain active
2. Getting her password is hassle
Upvotes: 0 <issue_comment>username_4: While I'm completely agree with the rest of the answers, You CAN use carbonite app which can locate the device without showing any UI.
There are multiple apps on play store which can do the same. Or if you're capable, you can even install your own app.
Having said that, as @Rthomas529 noted, this will ruin any trust your daughter has on you irreversibly. And frankly, she is entitled to her privacy. Most apps on play store for this type of function are designed for theft prevention rather than invading privacy. If this is noted by any authorities, you may be looking at legal prosecution depending on the law where you live and your daughter's age.
You can also simply ask her permission and install Google Device Manager (which does pop a notification when remotely located).
**I VERY STRONGLY suggest you reconsider your options.**
Upvotes: 0 |
2016/08/29 | 337 | 1,168 | <issue_start>username_0: I changed my hosts file using ES Explorater after root to
```
127.0.0.1 youtube.com
```
but it still takes to the real website, I tried on chrome browser and the default browser. I found the same problem on many forums but it didn't help me at all. can any one help me?<issue_comment>username_1: On the most Android systems, `/system/etc/hosts` is used as the hosts file.
You can read how to change the hosts file from a desktop computer [here](https://android.stackexchange.com/a/110483/62445).
Upvotes: -1 <issue_comment>username_2: I had a similar issue.
Check if the content of `hosts` ends with a line feed. The trailing line feed **is** required.
Upvotes: 2 <issue_comment>username_3: Make sure you turn off Data Saver and any proxies.
From the Google Chrome Support Page:
"If you're using Data Saver, keep in mind that:
...
• Changes you made to your /etc/hosts file won't work."
Source: <https://support.google.com/chrome/answer/2392284>
Upvotes: 1 <issue_comment>username_4: I had to clear the data and cache (*this will wipe your bookmarks, addons, etc*) of Firefox for Android for it to pick up the new hosts file.
Upvotes: 0 |
2016/08/30 | 500 | 1,980 | <issue_start>username_0: I have an HTC One m8. It's running android 6.0.
If I attempt to boot up the phone it instantly shuts down when reaching the Google Logo.
If I plug it in to a power source (AC/usb), it lets me boot, but once I unplug the power source it instantly shuts down.
The battery is indicated to be close to 100%.
This really does sound like a hardware issue with the battery, **but I can still enter the bios** (Power + Vol Down) and leave it open for a few hours without it dying (probably longer, didn't test it for longer). It only shuts down when I attempt to either boot or enter recovery.
I've already re-flashed the OS to stock with:
```
fastboot oem rebootRUU
fastboot flash zip rom.zip
fastboot reboot
```
So my question is: **is this a hardware issue or software issue**?
Is it because entering the bios requires such a minimal amount of energy, my device will allow me to enter it even when it's on extremely low battery? Or is it because the software is somehow incorrectly detecting the battery level and shutting down?<issue_comment>username_1: Perhaps hardware issue. Android has a battery checker that shuts down your phone when out of energy. It does not always shut down right when your battery level reaches 0%; sometimes it shuts down when battery level is 5%, sometimes it doesn't even shut down after 1 hour of excessive use when battery level is 1%. So it is checking the battery not by battery level, but by something else, perhaps voltage.
Anyways, you should contact HTC for maintainence.
Upvotes: 0 <issue_comment>username_2: It seems like your battery is broken or something. I suggest bringing it back to HTC and have them fix it for you. Please **don't** do it(replacing battery/open then phone case) by yourself as it will **void your phone warranty**.
*PS*: HTC will have their way to replace the battery for you, but I am not sure whether it will cost you some money or not.
Hope it helps =)
Upvotes: 2 [selected_answer] |
2016/08/30 | 530 | 1,867 | <issue_start>username_0: I know that this question was asked for several times, but I tried almost every solution that was suggested and Android Studio still doesn't see my device.
**My configuiration:**
* Windows 7 Professional 64-bit
* ASUS ZenFone Go ZC451TG. Andrdoid ver. 5.1
**What I have already tried:**
1. check usb3 or usb2. Lollipop doesn't work with usb3
2. check the orginal cabel
3. try reboot Windows, ASUS
4. try drivers from Google, ASUS
5. Install drivers from ASUS, only 2014 works on my device. Last Update from 2015 doesnt' work because of 64-bit system.
6. Turn on developer's mode on device
7. try MTP and PTP modes
8. Try PC Link standard utility form ASUS. It doesn't work properly on my PC
On this screen you can see how Windows detected my phone.
[](https://i.stack.imgur.com/l4UYG.png)
Is it right? I worry that Winodws see my ASUS as memory device not AVD.
Can you suggest any ideas how to fix it?
Thanks in advance.<issue_comment>username_1: Don't have enough reputation to comment but are you certain you've installed the USB driver? If not, start at: <https://developer.android.com/studio/run/win-usb.html>
Then go to this link b/c you may need an OEM driver: <https://developer.android.com/studio/run/oem-usb.html#InstallingDriver>
Your above point 8. Try PC Link... doesn't work properly on my PC may be the place to start. Make sure you can connect, transfer files, etc. before moving on the the Android Studio drivers though. I use Motorola phones & always had to make sure their connection worked first.
Upvotes: 1 <issue_comment>username_2: The problem was solved. After detecting my phone as videoadapter not as a storage **error:code 10** appeared, but then I switch to PTP mode on my ASUS and finally Android Studio saw my device
Upvotes: 0 |
2016/08/30 | 409 | 1,428 | <issue_start>username_0: I wonder how much time will nexus 6 get updates. is it a good purchase? will there be an update for android 7? is it an end-of-life product?
thank you
lowley<issue_comment>username_1: According to the image site for nexus it doesnt have 7.0 id say the N6 is done. but if you bought it and put cyanogenmod on it you'd get 7.0 and probably 8.0 , its still a good phone but after 2 years companys just stop updating
Upvotes: 0 <issue_comment>username_2: Quoted from the [link](https://support.google.com/nexus/answer/4457705?hl=en) in @Firelord 's comment above:
>
> Nexus devices get Android version updates for at least 2 years from when the device became available on the Google Store.
>
>
>
Be it the release date or the Store date, N6 still hasn't reached 2 years yet, so rest assured it will receive N, though not with priority, since Google takes care of their latest devices first.
Also, although Google makes the promise stating 2 years, that usually expands longer. Nexus 4 received 5.1 and Nexus 5 received 6.0 officially, making them ~3 years, and both keep getting security patches up till today. Nexus 7 (2013) got N Developer Preview which also counts to ~3 years.
Finally, there's always custom ROMs to get you covered. Not guaranteed to work 100% perfect as Google's stock, but as time goes and bugs get squashed, they approach 90%~99% if you ask me.
Upvotes: 2 [selected_answer] |
2016/08/30 | 1,658 | 6,370 | <issue_start>username_0: I got a new Samsung Galaxy Note 7 and I proceeded to do some configurations and download some apps on the device *before* putting in my SIM card. Part of the install was setting up my company's Exchange account through ActiveSync - for which I agreed to all the security policies like allowing my company/ActiveSync to wipe the phone remotely and set security restrictions.
Then, ***I put in my SIM card for the first time. The phone immediately rebooted and started to erase itself. Why would this happen? In what situations does this happen?***
What I've done to investigate...
I thought that maybe the this was due to my company's Exchange ActiveSync policies thinking that my phone had been stolen because a new SIM was inserted. So, I tested by
1. Performing some configuration and customization
2. NOT configuring Exchange ActiveSync
3. Swapping out the SIM card with that of a coworker's
4. Result: no reboot and no phone wipe
5. Configuring Exchance ActiveSync again
6. Swapping out the SIM card
7. Result: no reboot and no phone wipe
So I haven't been able to replicate the problem. My coworker's SIM card is on the same carrier and my coworker's phone has definitely already authenticated to my company's Exchange ActiveSync server. So perhaps not an adequate test but I don't have another SIM to test with at the moment.<issue_comment>username_1: I had this same experience just yesterday with my wife's Note 7, but without anything to do with Exchange or ActiveSync. It's some security policy on the Note 7 itself, I think. I am online to investigate why this happened also. I had powered-off the Note 7 before inserting the SIM card. After power-up, as I watched to see if it connected to the Mobile Network as expected, it suddenly rebooted and insta-wiped the whole phone.
The message *after rebooting and deleting everything* was that an unauthorized attempt had been made to wipe the phone, and that I needed to login via Wi-Fi and identify myself online. There was absolutely no warning and I had just finished waiting for almost 2 hours while all of my wife's photos were transferred from the old phone to her new one before moving the SIM card to the new phone. The wipe (during the unexpected, forced reboot) took not much more than 5 or 10 seconds. Luckily I had not wiped the old phone yet, but I still have all of that data to transfer again. The phone is now stuck with a message that it has many Apps yet to install (yet there are none missing) after using the Samsung Smart Switch App for the second time.
Because I was setting the Note 7 up for my wife, I had not yet used any login security, such as fingerprint, iris scanning nor PIN. Perhaps Samsung sees the potential theft of personal info (if an unsecured phone has been stolen) as more critical than the lost time or data from wiping the phone without warning? I am struggling to understand the logic of this security policy.
Upvotes: 2 <issue_comment>username_2: This appears to be an **undocumented** feature of Note 7 as per this XDA thread [Samsung factory restore after inserting SIM for the first time on GN7 by ninja0n3](http://forum.xda-developers.com/note-7/help/samsung-factory-restore-inserting-sim-t3448739)
OP here faced the same problem and reproduced the chat transcript with Samsung help . Extracts:
>
> Veronica (**Samsung**): I would like to inform you that, It will be reset to Factory settings, when you insert sim on the phone.
>
>
> J.B.(**OP**): every time?
>
>
> J.B.: so I go to another country, and change the sim card so I can get cell and it will delete all my data?
>
>
> Veronica: No, it will **delete the data when the sim is inserted for the first time and when you change the carrier on the phone.**
>
>
> J.B.: So if I put a sim card from a different carrier on the phone while I am abroad, will this reset the phone?
>
>
> Veronica: Yes, you need to backup the phone before using another sim on the phone.
>
>
> Veronica: I am sorry for that. As you insert the sim on the phone it will be restored to factory defaults to get the phone locked to that carrier.
>
>
> J.B.: Is the carrier informed of this process?
>
>
> Veronica: No, this has been started with the Note 7 phone. As it comes with Marsh Mallow OS in it.
>
>
>
(Emphasis supplied )
This does not fully explain OP's experience, for instance, reset didn't happen when co- worker's SIM was inserted ( unless *first time* refers to the phone ), so gaps would need to be filled by Samsung / Carrier
All Hail Samsung (sorry, couldn't resist that)
Upvotes: 3 [selected_answer]<issue_comment>username_3: I had the same issue- I thought I would first fully load my Samsung Note 7 with all my info but when I inserted the SIM card- everything got deleted.
I agree, it's about the time and effort it took to load the phone with my info and redoing the same process could have been avoidable if Samsung had warned us maybe?
I would like to warn others- when you get your Samsung Note 7, please insert the SIM card first and then load your info from Smart Switch. Please backup your information at all times on Smart Switch or Samsung Cloud to avoid such mishaps to occur.
Also, if you are going over seas and will be using another SIM card, then back up your information on Samsung Cloud and Smart Switch because your information maybe deleted.
Hope this Helps!!
Upvotes: 0 <issue_comment>username_4: I'm confirming that the same thing happens on the Galaxy S7. Seems like it must be a feature of all new Samsung phones. It would be nice if they at least put a warning somewhere..
EDIT:
From Googling around it seems that this 'feature' was either introduced with the S7 or the Note 7 and is present on all Samsung phones introduced after the either the S7 or Note 7. They really should document this, if it is now a standard 'security feature'. Someone seems to have found a way to insert new SIM cards without erasing the phone [here](https://forums.androidcentral.com/showthread.php?t=715355&s=8ceb255ed968f5be3e9413bfee1f6288&p=5865695&viewfull=1#post5865695) though.
Upvotes: 0 <issue_comment>username_5: I got a black screen on a Samsung Galaxy S5. I took out the SIM and SD card, replaced the screen. I must have turned it on with the SIM out or something, when I put the phone back together, all my data was wiped.
Upvotes: 0 |
2016/08/30 | 392 | 1,674 | <issue_start>username_0: I have a Samsung Galaxy S7 (SM-G930V) through Verizon. Every once in a while an app will request the phone's location. The notification area will then display `Location Found`.
When I long-press on the `Location found` notification, I get the `App notifications` screen for `System UI`. I don't think it would be wise if I disabled notifications for `System UI`. It seems like this would block other useful notifications.
I could uninstall or disable the apps which are using `Location Services` and hence triggering the `Location found` notification. However, I want the apps to run and use `Location Service`
How do I keep the `Location found` notification from appearing even though I am using the `Location Service`?<issue_comment>username_1: Go to your location settings and change it from 'High Accuracy' to 'Battery Saver' to get rid of this "Location Found" notification. You can switch back to "High Accuracy" mode while using an app like Google Maps that needs your exact location.
Upvotes: 0 <issue_comment>username_2: Using an app such as [Automate](https://play.google.com/store/apps/details?id=com.llamalab.automate), one can write a very simple flow which waits for notifications from `com.android.systemui` with the text of `Location found` and then cancel the notification as soon as it exists.
This works okay. The flow doesn't use any CPU time until a notification shows up and then the flow is very quick (3 ms execution time). However, the notification still appears for a brief moment. My point is that this solution is like putting a net at the bottom of a cliff when a fence at the top would work much better.
Upvotes: 2 |
2016/08/31 | 725 | 3,208 | <issue_start>username_0: As written in book of <NAME>'s [Operating System Concepts ,](https://g.co/kgs/dKuytm) there are **two modes of operation** -
>
> 1.user mode
>
> 2.kernel mode
>
>
>
So, my question is when we root our android do we alter the linux kernel to get permissions of kernel mode ?<issue_comment>username_1: Root permissions and kernel mode are not the same thing. Programs with root access can access part of the kernel, but root is not the kernel itself.
The Android (and Linux) user model has a set of users, each part of a set of groups. These groups are used to manage which users are allowed access to what. For example, in Linux you could set up all printer devices to be owned by the printing group, so only users that are part of the printing group can access printers.
In Android every app gets its own user account to prevent apps from accessing each others data.
Amongst all of these users, there's one special user: root. This is the user with the highest set of permissions, also called the "super user". Basically, all permission checks are disabled for this user. Root can do things like change ownership of files, add users to groups, manage system components and more.
Kernel mode is slightly different. When a Linux-based system boots, the kernel is the first thing loaded by the bootloader. The kernel takes care of processing system commands ("write byte x to file y", "list all devices attached to the USB bus"). It's also where many drivers reside, which help the system understand how to communicate to a device.
After initializing the kernel starts a program in user mode. Programs running in this mode are not allowed direct memory access to devices, they can't modify page tables, basically they can't do anything the kernel is supposed to do. The only way to execute a system command is to go though the kernel, and the kernel decides whether or not a program is allowed to do so.
In Android, the kernel starts an initialization program that in turn starts some background processes and the Android system you can interact with.
The kernel decides what user is allowed to execute certain system functions. Many system functions, such as mounting a partition to make it writable, are only accessible to programs running as root. Root can contact and control the kernel, but in the end the kernel decides what root can and can not do.
So: generally kernel mode refers to code running inside the kernel, while root refers to the permissions a program has.
For the sake of clarity I'm ignoring tools like SELinux which is designed to limit the files programs running as root can access. This is a security measure so that even if a system program running as root gets exploited and starts executing code from hackers, it can't compromise the system. This is done using a special module in the kernel.
Upvotes: 5 [selected_answer]<issue_comment>username_2: When you root, your granting full permissions to the device. You already utilize the kernel(drivers, commands) so root is allowing for you to modify the entire system(add users, modify system files).
My answer is extremely simple, other answer explores the same thing.
Upvotes: 0 |
2016/08/31 | 398 | 1,425 | <issue_start>username_0: I want to listen to the podcasts I have on my Android phone while I'm playing games on my computer and therefore, I want to stream the audio from my phone to my Windows 10 computer.
I'm wondering if it's possible to do that through USB?<issue_comment>username_1: While you probably can route audio to USB (I assume if you connect a USB device that identifies it as a USB audio receiver... thingy) your PC is a USB host.
So a better solution would be to get a [USB audio adapter like this](https://rads.stackoverflow.com/amzn/click/B001MSS6CS) (may not be necessary if you have a mic in port), connect your headphone into the mic, and [get something like VLC to play it](https://stackoverflow.com/a/12277592/975887).
Windows also allows to "Listen" to an input device which plays it out of your speakers so you don't *need* VLC or a special player. (See image below). Note that this can be annoying if you do video conferencing as you will have to make sure this is disabled when you're on a call.
[](https://i.stack.imgur.com/ZHPhj.png)
Upvotes: 2 [selected_answer]<issue_comment>username_2: You can use [scrcpy](https://github.com/Genymobile/scrcpy) and your Android audio goes through your PC by default.
>
> This application mirrors Android devices (video and audio) connected via USB or over TCP/IP
>
>
>
Upvotes: 0 |
2016/08/31 | 577 | 2,051 | <issue_start>username_0: I've been trying for a few weeks to root my android device. I'm running a ZTE Whirl 2 (Z667G) and none of the 25 one-click root programs have worked on it. I've given up on that path.
So I started researching rooting with ADB but I've had so many different problems there. Here are all the different methods I've tried, and their error messages:
**psneuter**: 'Failed to set prot mask: inappropriate ioctl for device'
**zergRush**: does nothing at all
**adb root**: 'adbd cannot run as root in production builds'
**adb remount**: 'remount failed: operation not permitted'
**mount -o remount,rw /system**: 'mount: operation not permitted'
All I'm trying to do here is remove the useless system apps from `/system/app`. I'd like to root my phone but the main reason I'm doing so is to get that crap off my device. Thanks in advance to anyone who can help me!<issue_comment>username_1: While you probably can route audio to USB (I assume if you connect a USB device that identifies it as a USB audio receiver... thingy) your PC is a USB host.
So a better solution would be to get a [USB audio adapter like this](https://rads.stackoverflow.com/amzn/click/B001MSS6CS) (may not be necessary if you have a mic in port), connect your headphone into the mic, and [get something like VLC to play it](https://stackoverflow.com/a/12277592/975887).
Windows also allows to "Listen" to an input device which plays it out of your speakers so you don't *need* VLC or a special player. (See image below). Note that this can be annoying if you do video conferencing as you will have to make sure this is disabled when you're on a call.
[](https://i.stack.imgur.com/ZHPhj.png)
Upvotes: 2 [selected_answer]<issue_comment>username_2: You can use [scrcpy](https://github.com/Genymobile/scrcpy) and your Android audio goes through your PC by default.
>
> This application mirrors Android devices (video and audio) connected via USB or over TCP/IP
>
>
>
Upvotes: 0 |
2016/08/31 | 393 | 1,703 | <issue_start>username_0: Is it possible to have an android application such that if the user starts it the phone will not switch off by pressing the side button? It means the only means to switch off it will be remove the battery, and taking all sort of permission from user is not an issue here.<issue_comment>username_1: No, it's not possible. The functionality to turn off the device if the power button is held down is at a very low level of the system, so that even if Android gets into some broken state, the user can still switch the device off to prevent it overheating. This is especially important on devices without a removable battery!
Only replacing the kernel with a custom-built one can disable the power button completely. This may or may not be possible depending on what device you're targeting and whether all the drivers and kernel source for that device are available.
Upvotes: 2 <issue_comment>username_2: It is possible to disable or even change what hardware keys do even without an app.
In my case I just commented out (added a # at beginning of) the lines starting with POWER in the `/system/usr/keylayout/Generic.kl` file
(with root and rw access to /system . To access /system as rw just use this command: `mount -o remount,rw /system`)
and rebooted the device. After this my physical power button doesn't work anymore. I tested this more by making my physical home button type the letter a in the same way.
(You can get an idea what changes can be made by reading that file. MEDIA\_PLAY , CAMERA , CALL , CONTACTS , BRIGTHESS and more are all there. I suppose that in the same way it is possible to change what virtual keys (like virtual keyboard keys) do).
Upvotes: 0 |
2016/08/31 | 279 | 976 | <issue_start>username_0: I have turned off cellular data on my phone (Nexus 5, Android 6.0.1) but the data usage summary on my provider's portal is still (slowly) increasing.
Does Android still use a small amount of data even when told not to, or is it provider shenanigans?
Provider is Public Mobile.<issue_comment>username_1: If you're using LTE, the reason could be, that LTE is causing traffic even if mobile data is turned off.
See here: <https://android.stackexchange.com/a/132642/185648>
Upvotes: 2 <issue_comment>username_2: Two things to look at:
1. Does your mobile provider count standard SMS as data?
2. Does your SMS app have a setting (and is it enabled) to briefly enable mobile data when sending/receiving MMS? Ones I know that do are Handcent, ChompSMS, QKSMS, GoSMS, Textra.
Make sure the setting is off, otherwise it will briefly turn on each time you send and receive one (but note, on most carriers, you won't be able to get MMS over Wifi)
Upvotes: 1 |
2016/09/01 | 261 | 960 | <issue_start>username_0: Im going to buy a [Samsung A310F Galaxy A3](http://www.gsmarena.com/samsung_galaxy_a3_(2016)-7791.php). But I noticed one thing.
**FEATURES
Java No**
This samsung smart phone doesnt have Java in it. So the main my question would be: is it really bad? And why does Android smart phone need Java? Is it a big disadvantage?<issue_comment>username_1: This means that you wont be able to play games from your browser who are written in Java (Java 2 ME platform). Some of the browser games are written on that particular platform, so you will not be able to play them.
Upvotes: 1 <issue_comment>username_2: As @FiN said, that indication doesn't mean that this phone doesn't run Java at all (in fact, many apps and many parts of the Android system are written in Java) but it means that you can't run Java ME applets. This is not a bad thing because Java ME is almost nowhere on smartphones today, so you won't miss anything.
Upvotes: 0 |
2016/09/01 | 241 | 938 | <issue_start>username_0: I am seeing that Google play books consumes 1.4 GB. I use Play Books only to view my PDF books and at most use 50MB of content. But I don't understand how it can consume so much space... Even a graphic game takes only 800MB. So can anyone point me out to why this happens??<issue_comment>username_1: Google Play Books can also store cache and your data (includes your books).
Try clearing the application's cache by going to the application's app info.
Upvotes: 1 <issue_comment>username_2: I can't tell you why it's using this much on **your** phone in particular. I just looked at Google Play Books on my phone, which is using 224 MB, of which only 32 MB is the app itself, and the rest is data (downloaded books).
Some PDFs and e-books can be very big, because they can include large pictures. Some e-books are high-quality scans of every page of a paper book, which can be much larger than 50 MB.
Upvotes: 2 |
2016/09/01 | 303 | 1,157 | <issue_start>username_0: In my **Lenovo A536** phone a malicious app that is alarm controller and calendar service is unknowingly installed and it is creating a problem.
I am not able to uninstall the app as it is automatically stored in in-built app.
So can `Factory Reset` remove it?<issue_comment>username_1: If the app has installed itself as a system app, then no, factory reset will not remove it. It will just wipe it's data, but it will start installing again, after you boot your phone up.
You will need to flash your device with a stock firmware file, which does not have the virus installed.
You can follow this tutorial:
<http://forum.xda-developers.com/android/general/tutorial-how-to-flash-lenovo-a536-stock-t3300818>
Upvotes: 1 <issue_comment>username_2: These **are not** viruses. These are *false positives*.
**AlarmController** is a system app that allows your alarms to play, even when the main alarms app is not running.
**CalenderService** does a number of things. It notifies you of calendar events, ensures the system date is (relatively) accurate, and manages the synchronisation of Calendar data with the cloud.
Upvotes: 0 |
2016/09/01 | 275 | 919 | <issue_start>username_0: I have a Nexus 5X phone running Android 6.0.1 and I am not yet getting Nougat update. Is this normal ? A lot of people I know already installed it.<issue_comment>username_1: Not everyone got it.
If you want, you can sign up for beta <https://www.google.com/android/beta> and you will get the prompt instantly, or you can get the factory image and flash it in fastboot: <https://dl.google.com/dl/android/aosp/bullhead-nrd90m-factory-61495c8b.zip>
Upvotes: 2 [selected_answer]<issue_comment>username_2: [This person explains it best](https://android.stackexchange.com/a/57550/188013), it is for an older version of android but I think they will use the same algorithms.
P.S. I still don't have it either.
Upvotes: 0 <issue_comment>username_3: You can follow this link <https://www.google.com/android/beta> and the steps are explained their so it should be easy to take from thereof
Upvotes: 0 |
2016/09/01 | 1,850 | 6,328 | <issue_start>username_0: One of my friends has a relatively new Samsung smartphone. He has this app that notifies him whenever the charging is up to 80%, and tells him to unplug the charger.
He tells me that it will increase the number of charging cycles for his battery. He says that if he lets it charge all the way up to 100%, it will mean he has to replace the battery of the phone more often.
**Is this true?**
Somehow, I feel this is a thing of the past. I thought the internal architecture of batteries these days was made so that it wouldn't drop too low or too high. (In other words, when the phone is at 100%, it isn't really 100%. It's what the battery can safely be charged to in order not to degenerate too much.)
Here's a [related answer](https://android.stackexchange.com/a/154153/131868) which taught me something about this.<issue_comment>username_1: In the comments to linked answer, it was brought out that batteries are not allowed to stay at 100% charge since it is harmful to the battery and the battery % rapidly drops to around 90% as explained in this [XDA post](http://forum.xda-developers.com/showthread.php?t=871051). This is a precaution implemented by OEMs ( though not sure if all OEM's do that)
Related to this is *battery longevity* on terms of Voltage per cell
**Source:** [How to Prolong Lithium-based Batteries](http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries)
>
> Most Li-ions charge to 4.20V/cell, and every reduction in peak charge voltage of 0.10V/cell is said to **double** the cycle life....
> In terms of longevity, the **optimal charge voltage is 3.92V/cell**. Battery experts believe that this threshold eliminates all voltage-related stresses;
>
>
>
[](https://i.stack.imgur.com/mdVt6m.png)
This voltage as per Table 4 ( above ) corresponds to battery charge level at 58 ℅ . This is clearly impractical and the recommendation of your friend to charge to 80%, more than doubles the discharge cycles .
This was on the *charging* part. Table 2 shows another interesting aspect *discharging* and it's impact on battery life
[](https://i.stack.imgur.com/CqVLsm.png)
IMO , if one badly wanted to maximise battery life, ideally, keeping practical usage in mind - **charge when the battery drops to 50% and stop charging at 80 or 90%**
Thanks to Dmitry in comments who says and subsequently made an interesting point in his [answer](https://android.stackexchange.com/a/204327/131553) for the end user is `number of charge cycles*capacity at full charge`: that's how long a battery will last for a given usage pattern
---
**Edit:** For rooted devices, there is an [app on XDA](http://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002/page21) which disconnects charging at a given percentage. This is now open source. Approach followed appears to be similar to my solution here [Automatically limit (stop) battery charging at a given percentage](https://android.stackexchange.com/q/167260/131553)
**Edit 2:** Discovered this [magisk module](https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427) which does the same and much more - see [Don't charge the battery but use connected power to run the phone](https://android.stackexchange.com/q/223812/131553)
Upvotes: 5 [selected_answer]<issue_comment>username_2: It is true, as long as we're talking Lithium Ion-batteries.
Rules:
1. The smaller charge, the more longevity.
2. The more shallow the discharge, the more longevity
I've read the best for maximum longevity would be to charge to 75% and never let it discharge below 65%. That is impractical, however, as it kills your mobility. What i do is to try to charge to a maximum of 85% and never discharge further than 20%. Feels good to me.
Upvotes: 0 <issue_comment>username_3: A good metric of battery life is the total energy it provides during its lifetime, which is `number of charge cycles`\*`capacity at full charge`. If your phone uses X Joules a year and the battery is able to provide Y Joules over it's lifetime, it will last `Y/X` years.
Taking the data from [Battery University](http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries), I came up with a following table showing the effect of the charge voltage, V on the number of change cycles, N, energy per cycle E (in %) and the total energy N\*E:
[](https://i.stack.imgur.com/UOjmN.png)
Here, E\*N represents the number of equivalent charge cycles of nominal (100%) capacity. As the charge level rises, there's a small increase in capacity, but it's dwarfed by a huge drop in charge cycles. For 62.5% charge (3.9V), the battery can produce an energy equivalent of 2000 100%-discharge cycles, 5 times as much compared to full charge. Here's a plot of the table above, for illustration:
[](https://i.stack.imgur.com/JTyNU.png)
It should be noted that this is not an original research uncovering a conspiracy of phone manufacturers. Cellphones simply are not expected to last more than a few years, and 400 cycles is plenty for that purpose. Batteries which have to last longer (e.g. in [space probes](https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=4161575)) are using cycles with 30-50% depth of discharge.
Whether charging your phone to 60% of its capacity makes sense is debatable. If your phone has a small battery and needs to be charged every day, you simply don't have some 40% of capacity to spare, and having to charge twice a day is not practical. On the other hand, I have one of those Energizer-branded phones with a beefy battery, and charging it twice a week instead of once a week is totally viable.
Of course, there are other causes of battery ageing and failure than charge/discharge cycles, so the net impact on battery life will probably be smaller than this data predicts. Plus, cellphone charge controllers are designed to work with 100% discharge capacity and may work incorrectly if they hardly ever see the battery charged to 100% or discharged to 0%.
Upvotes: 3 |
2016/09/02 | 584 | 1,961 | <issue_start>username_0: I enable developer mode in the phone, usb debugging and smart bootloader.
I do where successfully boot to bootloader such that I see Android mascot with the text *Downloading... target Do not turn off!!* but I cannot get any ID from `fastboot devices`
```
root@masi:/home/masi# fastboot devices
root@masi:/home/masi# adb reboot bootloader
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
root@masi:/home/masi# fastboot devices
root@masi:/home/masi# fastboot devices
```
I have successfully completed the stages before in Windows 10, but Ubuntu 16.04 and Debian 8.x cause problems.
Phone: Samsung Galaxy S4 gt-i9506
OS: CyanogenMod Temasek february/2016
Recovery: TWRP 2.8.x
PC: Asus Zenbook UX303UA
OS: Debian 8.5<issue_comment>username_1: I could not find an answer for this. However, I found a differential solution. Boot to recevory mode (mine TWRP 2.8.x), and flash the new recovery mode (TWRP 3.0.2) in Odin/Heimdall. This way, I could complete my target.
Upvotes: 0 <issue_comment>username_2: The part of the Android bootloader that usually features the **fastboot** server is called **aboot**.
As explained in [this](http://newandroidbook.com/Articles/aboot.html) article, the standard aboot derives from the [Little Kernel (LK)](https://www.codeaurora.org/blogs/little-kernel-based-android-bootloader) project. Almost any phone manufacturer then customized it and created its own bootloader. Follows an excerpt from the abovementioned article:
>
> All Bootloaders I've checked (including Samsung's and Amazon's) seem
> to derive from LK (in fact printing out the "welcome to lk\n\n" from
> its kmain), though Amazon's take steps to disable fastboot, as does
> Samsung, which then uses their own custom App, called Odin.
>
>
>
In short, there's no way to use fastboot with Samsung devices. Only Odin is recognized (by the Loke component).
Upvotes: 3 [selected_answer] |
2016/09/02 | 808 | 2,912 | <issue_start>username_0: This is an SM GT900F.
I tried to install TWRP per [these instructions](http://wiki.cyanogenmod.org/w/Install_CM_for_klte). However, when issuing
`heimdall flash --RECOVERY recovery.img --no-reboot`
I got this (some clutter removed):
```
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Downloading device's PIT file...
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: Failed to send end session packet!
Releasing device interface...
```
The phone was then stuck with a tiny blue dot on the left, which I suppose is the start of the blue progress bar mentioned [here](http://wiki.cyanogenmod.org/w/Install_CM_for_klte#Installing_a_custom_recovery). It wouldn't react to anything anymore.
Fortunately, after removing the batteries, it boots just fine into the stock ROM. *(Phew.)* I have repeated this twice since, but this is consistent.
Does anyone have any idea how I should proceed?<issue_comment>username_1: Try Odin instead of heimdall, and use corresponding .tar format recoveries. No more hassle of Heimdall command line.
Upvotes: 1 <issue_comment>username_2: I know this is coming late, but since my question is still getting votes, I might just as well answer it:
I have done many S3 and S5 in the last few years, and it seems the key to this was to do it with admin rights. I'm using Odin nowadays to do this, so I right-click it and start it as administrator. This might be the same for heimdall (you'd have to start a console with admin rights, of course), but I haven't tried that in a long time.
Upvotes: 1 [selected_answer]<issue_comment>username_3: TLDR: It works with Heimdall 1.4.2 (which at least in my case i had to compile myself from source code).
Unfortunatley i don't have the reputation i need to comment. But in my humble opinion... username_2 you have not answered or solved your own question(at least you didn't solve the specific problem you have been dealing with)... and should unmark your answer as the right answer....
You say it yourself.. It is just an assumption (unless you have testet it).
I had the same problem using ubuntu 16.04 and the heimdall from the ubuntu-repository(i.e. heimdall version 1.4.1).
I had exactly the same output, as you postet in your question...
Searching the web, i found this [this manual](http://www.bernaerts-nicolas.fr/linux/74-ubuntu/357-ubuntu-xenial-bionic-heimdall-compile-samsung),
describing that this error occurs in version 1.4.1 and is fixed in version 1.4.2 of heimdall.
That tutorial shows you how to download the source code of heimdall(version 1.4.2) from <https://gitlab.com/BenjaminDobell/Heimdall> and compile it yourself.
Following that tutorial, it worked for me smoothley.
Upvotes: 2 |
2016/09/02 | 687 | 2,544 | <issue_start>username_0: since some time, while browsing(SFW sites, news, blogs etc.), my phone browser - chrome redirects me sometimes to some strange pages asking me to go further if i am an adult, which I've never did. It was rather annoying, but since it did not happened all the time, I've ignored it. Lately I found out that If I accidentally click a button on this site it sends some costly Sms. Fortunatelly I blocked this kind of possibility with my operator, but I am a little bit amazed how it is possible. Does Android Lollipop (not rooted) allows to send SMS from browser without asking for confirmation? BTW there is no any trace of it on my phone. Only the answer from operator, that he can not complete my request, because I blocked it.<issue_comment>username_1: Try Odin instead of heimdall, and use corresponding .tar format recoveries. No more hassle of Heimdall command line.
Upvotes: 1 <issue_comment>username_2: I know this is coming late, but since my question is still getting votes, I might just as well answer it:
I have done many S3 and S5 in the last few years, and it seems the key to this was to do it with admin rights. I'm using Odin nowadays to do this, so I right-click it and start it as administrator. This might be the same for heimdall (you'd have to start a console with admin rights, of course), but I haven't tried that in a long time.
Upvotes: 1 [selected_answer]<issue_comment>username_3: TLDR: It works with Heimdall 1.4.2 (which at least in my case i had to compile myself from source code).
Unfortunatley i don't have the reputation i need to comment. But in my humble opinion... username_2 you have not answered or solved your own question(at least you didn't solve the specific problem you have been dealing with)... and should unmark your answer as the right answer....
You say it yourself.. It is just an assumption (unless you have testet it).
I had the same problem using ubuntu 16.04 and the heimdall from the ubuntu-repository(i.e. heimdall version 1.4.1).
I had exactly the same output, as you postet in your question...
Searching the web, i found this [this manual](http://www.bernaerts-nicolas.fr/linux/74-ubuntu/357-ubuntu-xenial-bionic-heimdall-compile-samsung),
describing that this error occurs in version 1.4.1 and is fixed in version 1.4.2 of heimdall.
That tutorial shows you how to download the source code of heimdall(version 1.4.2) from <https://gitlab.com/BenjaminDobell/Heimdall> and compile it yourself.
Following that tutorial, it worked for me smoothley.
Upvotes: 2 |
2016/09/02 | 432 | 1,738 | <issue_start>username_0: on build SU4TL-44 the method works but not on this build 49. You can tap build# all day with nothing happening. I can search google and goto rootjunky but cant download. I can goto play store but cant install any apps. Any other suggestions. My bootloader is locked and I cant bypass FRP.<issue_comment>username_1: If it's not responding to the Build being tapped, I'd cruise on over to Settings 》Accessability 》Magnification Gestures. If that is turned on, that could very well be your problem as it interferes with correctly detecting how many taps you've done.
If you're wanting to access D.O. solely for USB Debugging, Magnification Gestures isn't turned on, and tapping Build still isn't working then try:
* Navigate to Settings 》Applications and look for the option called "Development". If you see it, enable it
* Under Development, look for USB Debugging; it may not be enabled
Also check out:
* Settings 》Wireless and Network 》USB Settings
+ Tick the option "Ask on Connection"
* Navigate back to Settings 》Application 》Development and verify that the USB Debugging option is enabled
As far as unlocking your boot loader, simply use the ADB/Fastboot commands in a terminal.
Upvotes: 1 <issue_comment>username_2: Well I got the boot loader unlocked. Used sunshine. Then installed king root. Both a success. Still cant get passed frp to do a factory reset. I dont have an applications setting nor development. Dont have wireless and network setting either. Still cant access developer options by tapping build number. Ive read that this build is a pain in the butt to get passed. Would love to put the stock rom or a CM rom on this phone. But no way to enable usb debugging and that sux.
Upvotes: 0 |
2016/09/03 | 198 | 821 | <issue_start>username_0: I am just wondering. Lets say I move the game "Cooking Mama" to the adopted internal SD storage. The game is says 73.21 mb after the move. Does that include the game saves and downloaded content or just the original app and all my save data are in my phone still.<issue_comment>username_1: Game saves are usually in the `/data` partition and will not be affected by app storage movement.
Downloaded content are usually in `Android/data` or `Android/obb` in your storage and is likely to be moved as well.
Upvotes: 1 <issue_comment>username_2: if you are moving apk files, then yes they are standalone, and only useful when you need to reinstall on another android os, repair or downgrade the app. They are safe to move. Only move apk that you installed and not came with original os.
Upvotes: 0 |
2016/09/03 | 253 | 1,148 | <issue_start>username_0: I have a quick question regarding app icons. My question is are the icons that are displayed in the play store (the icons you see or click to go to the description of the app before you download) different then the app icons that appear on my home screen after I download and install the app? Or can the two icons, Play Store icon and phone (after download and installation) icon be different? So basically what I'm asking is can the developer use two different icon images, one for Play Store and one as the app image that appears on my phone after I have downloaded and installed the app?<issue_comment>username_1: Game saves are usually in the `/data` partition and will not be affected by app storage movement.
Downloaded content are usually in `Android/data` or `Android/obb` in your storage and is likely to be moved as well.
Upvotes: 1 <issue_comment>username_2: if you are moving apk files, then yes they are standalone, and only useful when you need to reinstall on another android os, repair or downgrade the app. They are safe to move. Only move apk that you installed and not came with original os.
Upvotes: 0 |
2016/09/03 | 464 | 1,788 | <issue_start>username_0: I have a Samsung galaxy A5 (SM-A500H) I didn't get a notification for an update from settings so I grabbed android 6.0.1 from [Sammobile](http://www.sammobile.com/firmwares/database/SM-A500H/), I downloaded the South African version since there's no version for my country.
Everything is working and if I go to settings about phone, I see it's 6.0.1 and if I tap I get the marshmallow logo and the game that looks like flappy bird. And everything is working.
But it still feels like Lollipop. The color is still blue rather than black, the marshmallow themes and wallpapers are missing. When the phone boots I don't see the marshmallow animation, the scrolling in the app drawer is horizontal not vertical etc.
Is there a way to verify that what I'm using is really marshmallow? Could it be a knockoff?<issue_comment>username_1: Lower-end phones usually won't get the new manufacturer skin (that's on the new flagship phone) with a new Android version.
As for the launcher, bootanimation and stuff, it's how Samsung chose to make it in their TouchWiz skin - they don't necessarily follow how Google do it on Nexus.
Try installing Google Now Launcher if you want the vertical scrolling experience. Not looking as harmonious on top of all the TouchWiz icons but better than nothing.
Upvotes: 3 [selected_answer]<issue_comment>username_2: in API 23(Marshmallow) Android apps should request permissions at runtime so all you need is open an app that uses your location or reading your sd card
try with google maps or download and install file explorer apps
and when you run the app you can see a dialog pops up for requesting permissions
[](https://i.stack.imgur.com/6FbTj.png)
Upvotes: 0 |
2016/09/03 | 371 | 1,530 | <issue_start>username_0: My phone stopped taking my normal password all of a sudden, so I'm using Android Device Manager to set a new password. Android Device Manager is working fine and allowing me to call my phone and change the message on the lock screen.
However, the screen won't let me input any sort of password to login. If I hit the Android back button, it takes me to the standard unlock screen, but that screen won't accept my password.
How do I get back into my phone after setting a Lock in Android Device Manager?
(I'm on a Samsung Galaxy S7 if it matters)<issue_comment>username_1: Lower-end phones usually won't get the new manufacturer skin (that's on the new flagship phone) with a new Android version.
As for the launcher, bootanimation and stuff, it's how Samsung chose to make it in their TouchWiz skin - they don't necessarily follow how Google do it on Nexus.
Try installing Google Now Launcher if you want the vertical scrolling experience. Not looking as harmonious on top of all the TouchWiz icons but better than nothing.
Upvotes: 3 [selected_answer]<issue_comment>username_2: in API 23(Marshmallow) Android apps should request permissions at runtime so all you need is open an app that uses your location or reading your sd card
try with google maps or download and install file explorer apps
and when you run the app you can see a dialog pops up for requesting permissions
[](https://i.stack.imgur.com/6FbTj.png)
Upvotes: 0 |
2016/09/03 | 305 | 1,207 | <issue_start>username_0: I don't know in which which version of android this has been added but it seems like a really frustrating feature.
Once I delete an icon on my home screen, every other icon gets rearranged automatically towards the left top corner.
This is problematic because some of my apps are placed in a way that is easy to access with right thumb.
This means that every time I remove something from my home screen I need to manually rearrange all the icons back to how they ware, and I can't seem to find a setting that would fix this.
Version of Android - 6.0.1
But the same thing was happening in 5+
The smartphone I'm using is Sony Xperia Z3 compact.
As to the launcher I'm not sure which one Sony uses.
[](https://i.stack.imgur.com/KH9Jx.jpg)<issue_comment>username_1: Apps > the more button (3 dots placed vertically) > settings > turn off "automatically place icons together"
Upvotes: 3 [selected_answer]<issue_comment>username_2: Hold down on a blank space of the home screen until the settings option shows. Select settings, select automatically place icons together
Upvotes: 2 |
2016/09/04 | 661 | 2,397 | <issue_start>username_0: I installed LinuxDeploy and got Debian Jessie up and running. It was all relatively easy.
The issue that I am having is that the user I define in the ui is not able to write to custom mounts (like sd card etc).
I can use the Root user in the chroot environment to read/write but that is not right. I want to be able to be a regular user with read/write permissions.
I am using Lollipop 5.1/LinuxDeploy on Samsung Note
thanks<issue_comment>username_1: **Update:**
Confirmed that permissions of /dev/fuse probably just needs to be updated. It is initially set to 700 by default for some reason which would only allow root to execute. It doesn't matter from where or how you chmod it, just chmod it to 770 or 777 if necessary.
`sudo chmod 777 /dev/fuse`
Also doesn't hurt to do it properly and [setup a fuse group](https://www.cyberciti.biz/faq/howto-linux-add-user-to-group/) if one doesn't already exist and add users to it as needed.
**/Update**
Was having a similar problem, will document what I did exactly. This is assuming you've setup your install as a directory.
1. Download FX File Manager + it's root extension companion app from Play Store.
2. Navigate using the root explorer option to the roots of your Debian install(by default /data/user/linux deploy.package.name.or.similar/0/env
3. Find /dev/fuse of your Debian install with FX. Long press on the folder, swipe over to / tap security.
4. Tap all the squares so /dev/fuse is set to 777 access
5. Stop and start your image, try accessing mounted directories.
Now I suppose you could try simply chmodding /dev/fuse to 777 from within Debian or whatever access you deem necessary, but I didn't try that. Most likely that will work too -intuitively sounds fine, but not what I did.
It was.kind of odd that /dev/fuse was set to 700 in the first place, but whatever.
Oh also, I had to add in a fuse group prior to that, and add users to it. All though my guess is that if you set /dev/fuse to 777 it would make this step unnecessary. Perhaps a 770 would necessitate the fuse group?
Upvotes: 1 <issue_comment>username_2: try this fix: <https://winaero.com/blog/unlock-external-sd-card-writing-for-all-apps-in-android-4-4-kitkat/>
I tried this on Termux and it allow me to write to usb in the termux default user.
It may also work with Linux Deploy. Please reply me with the result
Upvotes: 0 |
2016/09/04 | 205 | 824 | <issue_start>username_0: So all the sudden after having my phone rooted for a month, my phone freaked out and sent me a notification that said kingroot was "hurting" my phone. So I tried to click on it and apparently I hit the uninstall button in the notification and now I can't completely unroot to reroot and fix this. I can't just install another root and I've looked thru all of my files in the preinstalled "my files\* app and there is nothing kingroot related if I understand correctly. Help pleeeaasee! Without root my battery is very bad and every stupid bloatware app autostarts.<issue_comment>username_1: Try installing it again and then removing root, but UNTICK the KEEP BACKUP checkbox.
Upvotes: 0 <issue_comment>username_2: just go to kingo root webiste and root again: <https://www.kingoapp.com/>
Upvotes: 1 |
2016/09/04 | 536 | 1,835 | <issue_start>username_0: Android version of my Canvas A1 (AQ4501) is 4.4.4. And its rooted.
Now I am getting System Update for Android 6.0.
How to stop System Update for my rooted Canvas A1? and
If I update it to Android 6.0, will it affect root access?
Regards
Ugn10<issue_comment>username_1: >
> How to stop System Update for my rooted Canvas A1?
>
>
>
**PROCEDURE to disable the Google Official OTA updates completely:**
\*. You need to be rooted for this.
1. Install this app: [**Disable Services**](https://play.google.com/store/apps/details?id=cn.wq.disableservice&hl=en) and open it.
2. Select the '***System***' tab.
3. Select the "*Google Services Framework*" app and uncheck (**disable**) the following service: ***SystemUpdateService***
4. Again, select the "*Google Play Services*" app and uncheck this service: ***SystemUpdateService***
Tested and working on Android One devices & Google Nexus.
That's it! You'll never get the update notification and neither will you be able to check it manually.
If you feel you want the updates again, you can re-enable these services again to receive updates.
(Source: **[[TIP] How to disable the Google OTA updates completely](http://forum.xda-developers.com/crossdevice-dev/android-one-general/tip-how-to-disable-ota-updates-t3060697)**)
>
> If I update it to Android 6.0, will it affect root access?
>
>
>
Yes, definitely it will affect the root access.
BTW, you won't even be able to install the OTA zip (since you have rooted the stock KitKat, by which system partition is modified).
Upvotes: 1 <issue_comment>username_2: why dont you want to update? i would highly recomend updating as it will not affect root *to my knowledge*. if it does, just root it again? you can use kingo root: <https://www.kingoapp.com/> it works *most* of the times.
Upvotes: 0 |
2016/09/04 | 848 | 2,651 | <issue_start>username_0: I have MIUI 8 installed on my smartphone.
It looks great, however icons for non-stock apps look ugly. Is there any icon pack, so I can keep the stock theme, but have MIUI-style icons for popular third-party apps?<issue_comment>username_1: use something like polycon icon pack:
<https://play.google.com/store/apps/details?id=com.thearclabs.polycon&hl=en>
Upvotes: 0 <issue_comment>username_2: Finally, I've managed to do that:
1. You need to have a Xiaomi Designer Account, because MIUI 8 doen't allow installing custom themes unless you are a 'designer'
You should go to <http://designer.xiaomi.com/>, sign up and enter valid data. After a day or so you will be able to import \*.mtz files from the default MIUI theme manager.
2. Download an icon pack from MultiRom ROM. You can find them here:
<https://multirom.me/read.php?tid=343> (download link is in first post, sorry for russian)
3. After that you should open a theme manager, go to themes and import downloaded file. The final step is to select these icons in 'components' menu in theme manager
Upvotes: 2 [selected_answer]<issue_comment>username_3: **Install theme with extended icons**
There are themes available which contains more icons for MIUI8, search for the theme's name in your theme manager / theme store:
* [eXtended 8](http://zhuti.xiaomi.com/detail/f068e9a8-1bd1-48b0-a062-a35a5eef66e5) (1'000 icons visible for xiaomi.eu and official rom)
* [V8-extended-icons](http://V8-extended-Icons) (visible for chinese stable and beta)
* [MultiROM Icons V8](http://zhuti.xiaomi.com/detail/b35b4fc8-bcfb-4c11-89f5-0cec2643130f) (2'700 icons visible for chinese stable and beta)
**If you have root and a custom recovery, you can flash:**
* [MIUI v8 alpha rom icons](http://en.miui.com/thread-288534-1-1.html) (1'500 icons)
* [Mia Ex](https://xiaomi.eu/community/threads/icons-mia-ex-miui-icon-addon-extended-huge.36439/) (12'200 icons)
* [MIUI 8 icons](http://en.miui.com/thread-303222-1-1.html) (1'500 icons)
**Xposed module to enable MTZ import**
You can install Xposed framework for [MIUI (by solarwarez)](http://forum.xda-developers.com/xposed/unofficial-xposed-miui-t3367634), and then load the module [RootToolsNeo](http://repo.xposed.info/module/com.rarnu.tools.neo). This module allows you to have the "import MTZ" option in your Theme Manager, even without having a Designer account. "Theme Crack"
**Official Designer Account to import any MTZ file**
Another option is to apply with your Xiaomi Account as a Theme Designer. After your application has been granted, you will be able to import MTZ files that you've downloaded from anywhere.
Upvotes: 0 |
2016/09/04 | 835 | 2,622 | <issue_start>username_0: I have bought new Samsung Galaxy S7. And it has available space of 27 GB, though whenever I try to download app it shows insufficient storage error.
Please help me to solve this issue.<issue_comment>username_1: use something like polycon icon pack:
<https://play.google.com/store/apps/details?id=com.thearclabs.polycon&hl=en>
Upvotes: 0 <issue_comment>username_2: Finally, I've managed to do that:
1. You need to have a Xiaomi Designer Account, because MIUI 8 doen't allow installing custom themes unless you are a 'designer'
You should go to <http://designer.xiaomi.com/>, sign up and enter valid data. After a day or so you will be able to import \*.mtz files from the default MIUI theme manager.
2. Download an icon pack from MultiRom ROM. You can find them here:
<https://multirom.me/read.php?tid=343> (download link is in first post, sorry for russian)
3. After that you should open a theme manager, go to themes and import downloaded file. The final step is to select these icons in 'components' menu in theme manager
Upvotes: 2 [selected_answer]<issue_comment>username_3: **Install theme with extended icons**
There are themes available which contains more icons for MIUI8, search for the theme's name in your theme manager / theme store:
* [eXtended 8](http://zhuti.xiaomi.com/detail/f068e9a8-1bd1-48b0-a062-a35a5eef66e5) (1'000 icons visible for xiaomi.eu and official rom)
* [V8-extended-icons](http://V8-extended-Icons) (visible for chinese stable and beta)
* [MultiROM Icons V8](http://zhuti.xiaomi.com/detail/b35b4fc8-bcfb-4c11-89f5-0cec2643130f) (2'700 icons visible for chinese stable and beta)
**If you have root and a custom recovery, you can flash:**
* [MIUI v8 alpha rom icons](http://en.miui.com/thread-288534-1-1.html) (1'500 icons)
* [Mia Ex](https://xiaomi.eu/community/threads/icons-mia-ex-miui-icon-addon-extended-huge.36439/) (12'200 icons)
* [MIUI 8 icons](http://en.miui.com/thread-303222-1-1.html) (1'500 icons)
**Xposed module to enable MTZ import**
You can install Xposed framework for [MIUI (by solarwarez)](http://forum.xda-developers.com/xposed/unofficial-xposed-miui-t3367634), and then load the module [RootToolsNeo](http://repo.xposed.info/module/com.rarnu.tools.neo). This module allows you to have the "import MTZ" option in your Theme Manager, even without having a Designer account. "Theme Crack"
**Official Designer Account to import any MTZ file**
Another option is to apply with your Xiaomi Account as a Theme Designer. After your application has been granted, you will be able to import MTZ files that you've downloaded from anywhere.
Upvotes: 0 |
2016/09/04 | 375 | 1,465 | <issue_start>username_0: I have to recover some data from my phone.I know that huawei's recovery has a function to do a backup of data of android.So I had an idea:can I boot from fastboot through the command "boot" a huawei's recovery in a nexus 5 to recover my data?Is that possible?<issue_comment>username_1: You can't just boot an image from another device.
What exactly is the function you're looking for? Nothing "stock" should be more powerful than a custom recovery (e.g. [TWRP](https://twrp.me/devices/lgnexus5.html)), and backup is a must-have function in them. If by "recovering data" you mean backing them up in recovery and restoring them at a later time then this is the way to go; otherwise please further clarify what you intend to do.
EDIT: I see you [double-posting](https://android.stackexchange.com/questions/156760/fastboots-command-boot) yet again, -1 for that. @acejavelin has given you the definitive answer there - no, nothing can be done if your bootloader is locked. Unlocking is the first thing you should do when getting hands on a Nexus.
Upvotes: 1 <issue_comment>username_2: If i recall correctly, You just need the HTC backup apk installed on another device, you then select the messages, contacts..etc and restore them with the actual apk file... only works from huawei to huawei ...
Maybe you could try a device copy app... they're supposed to be able to clone device data like contacts etc.. using Bluetooth or WiFi
Upvotes: -1 |
2016/09/05 | 582 | 2,316 | <issue_start>username_0: I just bought a new phone. when installed whatsapp my last back up was over a month ago so my chats are old. I moved my files to the new phone but the file are encrypted and can't open. Do I need to delete and reinstall whatsapp for it to detect that I have whatsapp back up files now on the phone. or do I need to go back to my old phone, upload those files to google drive and then go back to my new phone reinstall whatsapp and have it detect the new back up from google drive. frankly I am not sure where the files are on my new phone but I received a verification that they were there when i transferred from my old phone and was able to view them temporarily. I don't know where Edge S7 stores files. There's no files icon that I can see only gallery. But the files are there.
---
I reinstalled whatsapp but it didn't detect the whatsapp files transferred to my phone. I found the files sitting under my samsung tab under files.
I am trying to back the files now to google drive from my old phone but it seems to be stuck in "preparing backup" mode for whatsup for over an hour now. any tips?
thanks,<issue_comment>username_1: You can't just boot an image from another device.
What exactly is the function you're looking for? Nothing "stock" should be more powerful than a custom recovery (e.g. [TWRP](https://twrp.me/devices/lgnexus5.html)), and backup is a must-have function in them. If by "recovering data" you mean backing them up in recovery and restoring them at a later time then this is the way to go; otherwise please further clarify what you intend to do.
EDIT: I see you [double-posting](https://android.stackexchange.com/questions/156760/fastboots-command-boot) yet again, -1 for that. @acejavelin has given you the definitive answer there - no, nothing can be done if your bootloader is locked. Unlocking is the first thing you should do when getting hands on a Nexus.
Upvotes: 1 <issue_comment>username_2: If i recall correctly, You just need the HTC backup apk installed on another device, you then select the messages, contacts..etc and restore them with the actual apk file... only works from huawei to huawei ...
Maybe you could try a device copy app... they're supposed to be able to clone device data like contacts etc.. using Bluetooth or WiFi
Upvotes: -1 |
2016/09/05 | 437 | 1,730 | <issue_start>username_0: Is there any way to kill a app completely **JUST** like Windows 7 where i can exit any application completely or prevent autostart by going into "msconfig".
How to kill/close an app so it does not bother my battery/cpu till i open it again **JUST** like windows.
I have root access. SUGGEST software to do such thing keeping in mind that what i am trying to achieve here something like install the app it will never bother you unless you open it just like windows 7/xp...
I used **greenify** in non root **didnt** helped.<issue_comment>username_1: You can't just boot an image from another device.
What exactly is the function you're looking for? Nothing "stock" should be more powerful than a custom recovery (e.g. [TWRP](https://twrp.me/devices/lgnexus5.html)), and backup is a must-have function in them. If by "recovering data" you mean backing them up in recovery and restoring them at a later time then this is the way to go; otherwise please further clarify what you intend to do.
EDIT: I see you [double-posting](https://android.stackexchange.com/questions/156760/fastboots-command-boot) yet again, -1 for that. @acejavelin has given you the definitive answer there - no, nothing can be done if your bootloader is locked. Unlocking is the first thing you should do when getting hands on a Nexus.
Upvotes: 1 <issue_comment>username_2: If i recall correctly, You just need the HTC backup apk installed on another device, you then select the messages, contacts..etc and restore them with the actual apk file... only works from huawei to huawei ...
Maybe you could try a device copy app... they're supposed to be able to clone device data like contacts etc.. using Bluetooth or WiFi
Upvotes: -1 |
2016/09/05 | 332 | 1,335 | <issue_start>username_0: I recently got my Moto G4 Plus and it has got a turbo charger too. On charging it using a specific plug/socket, the phone just starts tapping randomly. When charging through another point, it works fine. Why? Is it the current issue?<issue_comment>username_1: Moto, as with some other manufacturers do this. It sucks as I've experienced it in the past but the phone is just sucking in power, and while you try to touch it it gets intercepted or there are just random touches. You can't really do anything about it other than let it charge and use it while its not charging.
Upvotes: 2 [selected_answer]<issue_comment>username_2: While there is an accepted answer, it is worth pointing out that this behaviour is only observed by OP in *one particular* charging point and is fine otherwise
This is probably because that point has grounding or other electrical issues, which is leading to this behaviour also called *ghost touches*. Googling for that would lead you to similar conclusions. I have often experienced this traveling in Indian trains, where the charging points are apparently not well regulated. Andrew (thanks) has located a proper electrical reasoning for this in [comments](https://android.stackexchange.com/questions/156847/phone-behaves-weirdly-while-charging#comment201110_156847)
Upvotes: 2 |
2016/09/05 | 789 | 2,930 | <issue_start>username_0: ...Due to the developer / maintainer of [Terminal-IDE](http://Terminal-IDE.com) moving on, I'm trying to find equivalent capability and after hours of research found ["Terminal Emulator for Android"](https://github.com/jackpal/Android-Terminal-Emulator/wiki) (which is the same app as "Android Terminal Emulator"). But of course, it doesn't have all the tools necessary. I looked for some hours - not an exhaustive search but how many hours are you going to look?! - and found nothing that appears to have the tools already built in (other than Terminal-IDE).
Rather than develop them myself, I found [K-Box](http://kevinboone.net/android_nonroot.html) which provides "standard Linux utilities in a stock, non-rooted Android device" and which has its main example using the Android Terminal Emulator as a starting point. Sounds perfect!
I was following the basic directions there, however, I can't hardly get started because I can't seem to find the path to the "Downloads" directory?! Frustrating.
In doing my research, I found [this interesting and thoughtful writeup,](https://www.reddit.com/r/Android/comments/496sn3/lets_clear_up_the_confusion_reg%0Aarding_storage_in/) but didn't get to a successful answer.
To be clear, to get this installation going, I have to transfer a file from ANY LOCATION into the Terminal Emulator environment, and that brings the tools that then make the terminal emulator more of a real Linux environment on the Android. The location does not have to be "Download", but that directory was easily enough mapped by my desktop computer's file system browser upon plugging in the USB connector... In fact, that's how I installed the Terminal Emulator - by putting the apk file (and for several other "side load" apps) into Download and then telling Android to install them. So the real trouble is, I can't seem to find that location from within the Terminal Emulator!
Locations I can find but for which I have no permissions include:
```
/storage/emulated
/data/media/0/Download
/data/media/0/Downloads
```
In each case, it returns:
```
"Permission denied"
```
Ideas?<issue_comment>username_1: Try mounts folder at mnt
```
mnt/sdcard0/folder
```
or
```
mnt/sdcard1/folder
```
for external !
Some devices are different, for example it could be
```
mnt/ecysf- encoded name -34243/folder
```
Also on android 5.1.1 it's
```
mnt/media_rw/sdcad1/folder
```
or
```
mnt/sdcard/folder
```
for internal storage
Upvotes: 0 <issue_comment>username_2: For me on Pixel 3 XL using [Termux](https://termux.com/), the absolute filepath was
```
/storage/emulated/0/Download
```
If I remember correctly I got a permission error when trying to `ls` (or pressing `Tab` after typing) in `/storage/emulated/`, but if you type out the full path, it should work.
Upvotes: 1 <issue_comment>username_3: A short one would be:
/sdcard/Download
Upvotes: 0 |
2016/09/06 | 506 | 2,068 | <issue_start>username_0: I am using ASUS Z010D Android Smartphone. Recently it shows a white blank screen after unlocking. I need to touch the back button to return the home screen. Anybody knows how to remove the white screen please telling the instructions.
======= UPDATED =======
My mobile has been infected malware, ads so that the white blank screen is always shown at the time of sliding to unlock the phone. I have tried to reset it several times but it could not be recovered. Actually, we need to go through several steps to setup our phone if we choose to refactor it. But the ads still exists even if I do not finish the setup process. I guess the root has been infected malware/ads as well.
=======================
Thanks for taking your time to read the message.<issue_comment>username_1: I have had your same problem these days, my mom's phone (your same model) was full with pop ups ad. This kind of problem are caused by spyware/malware apps. I did a hard reset, but nothing.
I looked in the preinstalled apps (*Settings* -> *Apps* -> *ALL*) for something strange. I found two *Download Manager* apps. I disinstalled the one without the icon. This resolved all my issues. Hope can help you because for me was really annoying.
Upvotes: 1 <issue_comment>username_2: i had this issue, and just solved it, i think. I'm on Galaxy S7 Edge. First I went to settings and went to applications, then noticed a strange app with a blank icon, i couldn't unninstall it nor force stop it. Then went to some forums like this one and foind that it may be a malware. Went to play store and downloaded Malwarebytes, ran the scan, and found 1 malware, that one with the blank icon, then i realized that i didn't need the Malwarebytes, just search for administr... on setting, to find 'Device administrators', i noticed that the blank app was a admin, that's why i couldn't unninstall it. Thats it!
Upvotes: 0 <issue_comment>username_3: Just go to settings - apps - and see the first app without any name and a blank icon .. uninstall it ..problem solved
Upvotes: 0 |
2016/09/07 | 531 | 2,143 | <issue_start>username_0: I found an old phone of mine while cleaning, and would like to donate it. I've googled how to do a factory reset on a gingerbread device, and all of them say the same thing: go to Settings -> Privacy, and then click the Factory Data Reset button under Personal Data. The problem is, I don't have that option. My Privacy settings only have Lock Screen (display message text), and Backup and Restore (Back up my settings and Automatic Restore.) I don't have a Personal Data section.
The phone does not have a SIM card installed, but does have a google account attached, plus a lot of apps with on-board data. I know I can disconnect the google account, but how can I wipe all the apps and reset the phone to "new"?
It's a rooted HTC Sensation, if it matters, and I think is running CyanogenMod. (Like I said, it's an old phone...)<issue_comment>username_1: I have had your same problem these days, my mom's phone (your same model) was full with pop ups ad. This kind of problem are caused by spyware/malware apps. I did a hard reset, but nothing.
I looked in the preinstalled apps (*Settings* -> *Apps* -> *ALL*) for something strange. I found two *Download Manager* apps. I disinstalled the one without the icon. This resolved all my issues. Hope can help you because for me was really annoying.
Upvotes: 1 <issue_comment>username_2: i had this issue, and just solved it, i think. I'm on Galaxy S7 Edge. First I went to settings and went to applications, then noticed a strange app with a blank icon, i couldn't unninstall it nor force stop it. Then went to some forums like this one and foind that it may be a malware. Went to play store and downloaded Malwarebytes, ran the scan, and found 1 malware, that one with the blank icon, then i realized that i didn't need the Malwarebytes, just search for administr... on setting, to find 'Device administrators', i noticed that the blank app was a admin, that's why i couldn't unninstall it. Thats it!
Upvotes: 0 <issue_comment>username_3: Just go to settings - apps - and see the first app without any name and a blank icon .. uninstall it ..problem solved
Upvotes: 0 |
2016/09/08 | 437 | 1,409 | <issue_start>username_0: Next week I'm going to us and I will buy a new phone. I was thinking of buying a Moto Z Force. But I heard it is only available for Verizon. I'm from Brazil and would like to know if even if the version from the Motorola site is locked for Verizon and if I would have any problems in using this phone here in Brazil.<issue_comment>username_1: Yes , **US VZ** Telephony has a different **4G** protocol . You will not be able to use **4G** in Brazil.
Upvotes: -1 <issue_comment>username_2: [Verizon uses LTE bands 2, 4, and 13.](http://www.phonearena.com/news/Cheat-sheet-which-4G-LTE-bands-do-AT-T-Verizon-T-Mobile-and-Sprint-use-in-the-USA_id77933)
Brazilian carriers appear to use [3, 7, 28, and 38](https://en.wikipedia.org/wiki/List_of_LTE_networks#Americas). As such, you should by default expect US Verizon phones not to work with LTE in Brazil since there are no overlapping bands.
**However**, the Verizon Z Force [supports bands 2-5, 7, and 13](http://www.motorola.com/us/products/moto-z-force-droid-edition). So it's quite possible that it would work on some Brazilian carriers using bands 3 and 7.
(The same basic process of finding overlap applies for 3G bands, GSM voice, etc. if you don't care about LTE specifically.)
You should contact Motorola directly to find out whether the version they sell is locked, and (if so) whether it can be easily unlocked.
Upvotes: 1 |
2016/09/09 | 566 | 2,002 | <issue_start>username_0: So my phone (Marshmallow) was locked. I said Ok Google, to search something. It searched directly from the lockscreen and when I tapped home, it actually unlocked the phone.
Is it a security hole or something?
My phone is Moto G4 Plus<issue_comment>username_1: It is a feature as you can see in [Lenovo forums](https://forums.lenovo.com/t5/Moto-G4-Moto-G4-Plus-Moto-G4/Moto-g4-plus-quot-ok-google-quot-unlocks-phone-directly-without/td-p/3357346)
>
> Long press on home screen and then press on settings.
>
>
> Go to voice -> ok google detection and then turn off trusted voice.
>
>
>
Another post there says
>
> Its not a bug. It just recognizes your voice but its not safe. As the feature is not accurate it may unlock even with others voice. Better turn off trusted voice. The voice command works even from lock screen works if your turn on option to Ok google from any app.
>
>
>
Upvotes: 2 <issue_comment>username_2: **Trusted voice ("OK Google")**
* Trusted voice
When you say "Ok Google" from a secure lock screen and we're able to recognize your voice, you can ask Google to do things for you, or visit sites, without manually unlocking your device.
"OK Google" settings options (How to turn on/off OK Google and its settings (Trusted voice, etc)): [Google Support](https://support.google.com/websearch/answer/6031948)
Source: [Google](https://support.google.com/nexus/answer/6093922?hl=en)
Upvotes: 6 [selected_answer]<issue_comment>username_3: It's part of smart lock as trusted voice. I'm using trusted location as my smart lock. Whenever I'm at home and office phone get unlocked automatically when pick it up. My home and office co ordinates are as trusted locations.
You can also use trusted devices, such as your fitbit, Bluetooth devices. Whenever you make phone contact with these devices phone get unlocked.
I liked this feature a lot, more convenient to unlock phone. But with caution. Keep backup security as pin or pattern.
Upvotes: 1 |
2016/09/09 | 671 | 2,442 | <issue_start>username_0: I'm having a really odd problem with my Nexus 5X. I had the problem when I got it (marshmellow) and it still persists when upgraded to nougat.
When I send out an email on my desktop computer, and someone replies to it, i'll see the notification pop up on my phone. However, the notification shows the text of my original email, not the text of the reply. I have to tap the notification to open the gmail app and see the actual reply. This is very frustrating because i cannot "at a glance" see what the email is, and instead have to open it, marking it read, which will mess with my flow on the desktop client.
Has anyone else run into this problem? Anybody have a solution?<issue_comment>username_1: It is a feature as you can see in [Lenovo forums](https://forums.lenovo.com/t5/Moto-G4-Moto-G4-Plus-Moto-G4/Moto-g4-plus-quot-ok-google-quot-unlocks-phone-directly-without/td-p/3357346)
>
> Long press on home screen and then press on settings.
>
>
> Go to voice -> ok google detection and then turn off trusted voice.
>
>
>
Another post there says
>
> Its not a bug. It just recognizes your voice but its not safe. As the feature is not accurate it may unlock even with others voice. Better turn off trusted voice. The voice command works even from lock screen works if your turn on option to Ok google from any app.
>
>
>
Upvotes: 2 <issue_comment>username_2: **Trusted voice ("OK Google")**
* Trusted voice
When you say "Ok Google" from a secure lock screen and we're able to recognize your voice, you can ask Google to do things for you, or visit sites, without manually unlocking your device.
"OK Google" settings options (How to turn on/off OK Google and its settings (Trusted voice, etc)): [Google Support](https://support.google.com/websearch/answer/6031948)
Source: [Google](https://support.google.com/nexus/answer/6093922?hl=en)
Upvotes: 6 [selected_answer]<issue_comment>username_3: It's part of smart lock as trusted voice. I'm using trusted location as my smart lock. Whenever I'm at home and office phone get unlocked automatically when pick it up. My home and office co ordinates are as trusted locations.
You can also use trusted devices, such as your fitbit, Bluetooth devices. Whenever you make phone contact with these devices phone get unlocked.
I liked this feature a lot, more convenient to unlock phone. But with caution. Keep backup security as pin or pattern.
Upvotes: 1 |
2016/09/09 | 623 | 2,257 | <issue_start>username_0: When I went to see Google's `My Activity`, I noticed it actually recorded several elements from my usage of applications on my phone (Nexus 5X, with Android 7). For instance, it showed me that it knew I opened a game yesterday, as well as several other applications.
I don't remember seeing this when I was using Android 6, though I haven't used `My Activity` extensively so I don't know.
Is it possible to prevent Google from collecting this ~~stalking~~ personal data at all? If yes, how?<issue_comment>username_1: It is a feature as you can see in [Lenovo forums](https://forums.lenovo.com/t5/Moto-G4-Moto-G4-Plus-Moto-G4/Moto-g4-plus-quot-ok-google-quot-unlocks-phone-directly-without/td-p/3357346)
>
> Long press on home screen and then press on settings.
>
>
> Go to voice -> ok google detection and then turn off trusted voice.
>
>
>
Another post there says
>
> Its not a bug. It just recognizes your voice but its not safe. As the feature is not accurate it may unlock even with others voice. Better turn off trusted voice. The voice command works even from lock screen works if your turn on option to Ok google from any app.
>
>
>
Upvotes: 2 <issue_comment>username_2: **Trusted voice ("OK Google")**
* Trusted voice
When you say "Ok Google" from a secure lock screen and we're able to recognize your voice, you can ask Google to do things for you, or visit sites, without manually unlocking your device.
"OK Google" settings options (How to turn on/off OK Google and its settings (Trusted voice, etc)): [Google Support](https://support.google.com/websearch/answer/6031948)
Source: [Google](https://support.google.com/nexus/answer/6093922?hl=en)
Upvotes: 6 [selected_answer]<issue_comment>username_3: It's part of smart lock as trusted voice. I'm using trusted location as my smart lock. Whenever I'm at home and office phone get unlocked automatically when pick it up. My home and office co ordinates are as trusted locations.
You can also use trusted devices, such as your fitbit, Bluetooth devices. Whenever you make phone contact with these devices phone get unlocked.
I liked this feature a lot, more convenient to unlock phone. But with caution. Keep backup security as pin or pattern.
Upvotes: 1 |
2016/09/10 | 620 | 2,431 | <issue_start>username_0: I have a new phone as my old one was stolen, but I still have the SIM card with the phone number connected to my WhatsApp account.
I inserted that SIM card into the new phone, but none of my contacts, WhatsApp groups or pending messages can be seen.
Is it because I have not checked my WhatsApp messages for 60 days? How can I get all of my account back? I thought since I have the SIM card connected with the account, I could retrieve my WhatsApp account.<issue_comment>username_1: Whatsapp only stores group chats on your account in the cloud. All individual chats are saved in the internal storage of your old phone. The SIM card doesn't contain any data other than your cellular details.
Upvotes: 0 <issue_comment>username_2: Your WhatsApp account is not lost as long as you have the SIM(old/new) using the same mobile number. What you have lost is just the messages that you received on your old phone.
This can be avoided in future by enabling Chat backup to Google Drive via WhatsApp settings. This will allow you to restore your conversations when you install WhatsApp on a new device.
Upvotes: 0 <issue_comment>username_3: Key Point is Whatsapp doesn't delete an inactive account.
Also see:
• [What happens if my WhatsApp has been inactive for months?](https://webapps.stackexchange.com/questions/88785/what-happens-if-my-whatsapp-has-been-inactive-for-months)
• [Does WhatsApp delete inactive accounts?](https://www.quora.com/Does-WhatsApp-delete-inactive-accounts)
You can get your contacts back if you had synced them in any of the cloud service e.g. Google Account(Contacts). [Sign in](https://accounts.google.com/) with your Google Account to see.
Whatsapp doesn't save your contacts name on its server.
After switching or restoring your Whatsapp account from one device to another. One can see his all groups(created or joined) but personal chats will be erased and can't be seen until you have backed up it to Google Drive and restored them at the time of account creation.
See: [Restoring your chat history](https://faq.whatsapp.com/en/android/20887921/)
After restoring your chats successfully, you will be seeing all your chats by numbers instead of names but you can now easily guess the names of acquaintances.
Or if you get your contacts saved by [Google Contacts](https://accounts.google.com/) you will start to see names of the recovered chats automatically.
Upvotes: 2 |
2016/09/11 | 597 | 2,372 | <issue_start>username_0: I want to display my phone screen on my computer so that it can be projected on a screen.
I am not allowed to install any software on the computer or alter any setting of the browser. I have tried various tools such as Airdroid, but they require software installation or Chrome additions (again, something which I can't use).
I don't really want to go down the road of dedicated cables for a particular phone because I will have to change my phone at some time.
I just thought: although I can't install any software, self-executing .jar files do seem to work on our current network.
Edit: I don't want to ROOT my phone if possible: it is too expensive to take the risk.<issue_comment>username_1: I'm not sure if how this works but have you tried this? <http://www.guidingtech.com/36734/mirror-android-display-pc-tv/>
Upvotes: 1 <issue_comment>username_2: How about streaming your phone screen to YouTube (with something like [Gusher](https://play.google.com/store/apps/details?id=com.smamolot.gusher)), then watch it on your PC?
Upvotes: 0 <issue_comment>username_3: Have you tried something like VNC for Android? I have had great luck using VNC over the years. One example of a server app is <https://play.google.com/store/apps/details?id=org.onaips.vnc>.
You can view, and indeed completely control, the computer running the VNC server by running the VNC viewer on your computer. This can either be an installed viewer (not possible in your case), as an uninstalled program like TightVNC or by running the Java applet that the server will serve up to your browser, if you have Java installed ov the viewing computer.
Upvotes: 1 <issue_comment>username_4: I have found an answer that works: [Screen Mirror](https://play.google.com/store/apps/details?id=com.ajungg.screenmirror&hl=en_GB). When you run the app it generates a URL. You type that address (a little fiddly because it is all numbers) into a web browser and the page appears. You can alter the resolution and run it full screen in landscape mode to fill your computer screen. I didn't notice any lag (looking from the phone to the screen) and so any gap is too small to be any worry.
I was running the phone wirelessly and the computer through a wired network -- they are the same network, but both aren't wireless, something required by many products.
Upvotes: 1 [selected_answer] |
2016/09/11 | 1,036 | 3,263 | <issue_start>username_0: My device is [a LeMaker Guitar Kit](http://www.lenovator.com/product/96.html). I do not have root access on the device. I followed the guide from [XSLAB - How to Change DNS Settings on Android](http://xslab.com/2013/08/how-to-change-dns-settings-on-android/) to change the DNS. I am accessing my WiFi at home. When I set my DNS on my Android device and go to [DNS leak test](https://www.dnsleaktest.com/results.html), it's not the DNS that I set in the DNS settings. It's the DNS set by my ISP.
**How can I get it to use the DNS that I want?**
---
Maybe I need to have root and/or use an app like the one mentioned on [How to change mobile connections's DNS on Android KitKat?](https://android.stackexchange.com/questions/62081/how-to-change-mobile-connectionss-dns-on-android-kitkat) - Override DNS. Also need to work out what version of Android it is, but think it is the most recent version.
Related question on [Change DNS but stay on DHCP](https://android.stackexchange.com/questions/125954/change-dns-but-stay-on-dhcp) leaving the IP as dynamic (currently giving it static IP from the router) and using apps to change the DNS.
Related question on [where are DNS settings under 4.4.2?](https://android.stackexchange.com/questions/148354/where-are-dns-settings-under-4-4-2), but he can't save the new DNS settings.
A possible option from [Can't change DNS on S3 mini](https://android.stackexchange.com/questions/109269/cant-change-dns-on-s3-mini), in one of the answers is use debugging mode and adb to change the DNS settings, but my problem is not changing the DNS, it is getting the DNS I change it to work.<issue_comment>username_1: You can change the DNS but you will need to set a static IP as well. If you long press on the WiFi name you can change the options from there.
Upvotes: 1 <issue_comment>username_2: First you must have [**dnscrypt**](https://dnscrypt.org/#dnscrypt-android) installed.
These scripts require root access:
```
#!/bin/sh
#root is required
#daemonize dnscrypt
dnscrypt-proxy --daemonize --resolver-address=208.67.220.220:443 --provider-name=2.dnscrypt-cert.opendns.com --provider-key=<KEY>E2B:D822:D7FD:691E:fd00:a516:7c1b:17cd:6d81:2137:bd2a:2c5b
#this will redirect dns query traffics to localhost
iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1
```
If you want to restore DNS to default, run this:
```
#!/bin/sh
iptables -t nat -D OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1
```
Upvotes: 2 <issue_comment>username_3: On Android, in addition to using settings. You can still use a third-party application to change DNS. Such as:
1. DNS Changer | Mobile Data & WiFi | IPv4 & IPv6
2. Net Optimizer | Optimize Your Internet Speed
3. DNS Smart Changer - Web content blocker and filter
4. 1.1.1.1: Faster & Safer Internet
5. Turbo VPN- Free VPN Proxy Server & Secure Service
Upvotes: 0 <issue_comment>username_4: This question (2016) is 6 years old and I had the same problem recently. Because I used my own DNS server (BIND 9), I finally found that there was a problem with the BIND settings. According to the prompts in `/var/log/named/named.log`, I corrected my own DNS server settings and the problem was solved.
Upvotes: 0 |
2016/09/12 | 833 | 2,543 | <issue_start>username_0: I am trying to root SAMSUNG Galaxy XCover 3 (SM-G389F) with Android 6.0.1. I successfully flash the latest TWRP (twrp-3.0.2-0-xcover3ltexx.img.tar official site) with Odin 3.12.
[](https://i.stack.imgur.com/MeTA4.jpg)
In Odin I intentionally disabled Auto Reboot, so that I try to boot into TWRP recovery in the first phone boot by holding down (Home + Volume UP + Power key). Instead of booting into recovery the phone gets stuck on SAMSUNG Galaxy screen as shown in [video link](https://youtu.be/ROsHVoga4KM). After normal reboot my phone boots up as normal but this action puts back stock recovery.
To solve the problem I tried all available TWRP's, tried to factory reseat and clear phone cash several times before flashing recovery image, tried to use various Odin versions (3.07, 3.10, 3.12).
What else can I try?
Thanks for suggestions.<issue_comment>username_1: You can change the DNS but you will need to set a static IP as well. If you long press on the WiFi name you can change the options from there.
Upvotes: 1 <issue_comment>username_2: First you must have [**dnscrypt**](https://dnscrypt.org/#dnscrypt-android) installed.
These scripts require root access:
```
#!/bin/sh
#root is required
#daemonize dnscrypt
dnscrypt-proxy --daemonize --resolver-address=208.67.220.220:443 --provider-name=2.dnscrypt-cert.opendns.com --provider-key=<KEY>822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79
#this will redirect dns query traffics to localhost
iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1
```
If you want to restore DNS to default, run this:
```
#!/bin/sh
iptables -t nat -D OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1
```
Upvotes: 2 <issue_comment>username_3: On Android, in addition to using settings. You can still use a third-party application to change DNS. Such as:
1. DNS Changer | Mobile Data & WiFi | IPv4 & IPv6
2. Net Optimizer | Optimize Your Internet Speed
3. DNS Smart Changer - Web content blocker and filter
4. 1.1.1.1: Faster & Safer Internet
5. Turbo VPN- Free VPN Proxy Server & Secure Service
Upvotes: 0 <issue_comment>username_4: This question (2016) is 6 years old and I had the same problem recently. Because I used my own DNS server (BIND 9), I finally found that there was a problem with the BIND settings. According to the prompts in `/var/log/named/named.log`, I corrected my own DNS server settings and the problem was solved.
Upvotes: 0 |
2016/09/13 | 749 | 2,358 | <issue_start>username_0: Until the past few weeks, I could leave my device plugged in and it'd go to 100% in the morning but recently it seems that once it reaches 100%, it just stops. Not even tricke charge. I've watched it, when it reaches 100%, it acts like it is unplugged and keeps running. I've had to turn off my device to ensure it does reach 100% for the morning.
I am using original Samsung charger and I've tried different charger (my car is Energizer brand, the battery pack is PNY brand) and I've tried different cable. No matter what I did, once it hits 100% it stops trickling and starts discharging like I unplugged the cable.
Is there a setting in Android that I may have accidentally changed? Or is there something else?<issue_comment>username_1: You can change the DNS but you will need to set a static IP as well. If you long press on the WiFi name you can change the options from there.
Upvotes: 1 <issue_comment>username_2: First you must have [**dnscrypt**](https://dnscrypt.org/#dnscrypt-android) installed.
These scripts require root access:
```
#!/bin/sh
#root is required
#daemonize dnscrypt
dnscrypt-proxy --daemonize --resolver-address=208.67.220.220:443 --provider-name=2.dnscrypt-cert.opendns.com --provider-key=<KEY>225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79
#this will redirect dns query traffics to localhost
iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1
```
If you want to restore DNS to default, run this:
```
#!/bin/sh
iptables -t nat -D OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1
```
Upvotes: 2 <issue_comment>username_3: On Android, in addition to using settings. You can still use a third-party application to change DNS. Such as:
1. DNS Changer | Mobile Data & WiFi | IPv4 & IPv6
2. Net Optimizer | Optimize Your Internet Speed
3. DNS Smart Changer - Web content blocker and filter
4. 1.1.1.1: Faster & Safer Internet
5. Turbo VPN- Free VPN Proxy Server & Secure Service
Upvotes: 0 <issue_comment>username_4: This question (2016) is 6 years old and I had the same problem recently. Because I used my own DNS server (BIND 9), I finally found that there was a problem with the BIND settings. According to the prompts in `/var/log/named/named.log`, I corrected my own DNS server settings and the problem was solved.
Upvotes: 0 |
2016/09/13 | 659 | 2,095 | <issue_start>username_0: I had recently went to Europe so i captured all of my photos from my mom mobile through which i had sent to myself. My mom mobile got lost and i mistakenly deleted all photos by going to to miscellaneous files and deleting all of them. I also forget to save my photos on somewhere or backup my whatsapp account. Those photos were very precious for me. I had tried many things but cannot get those photos. Pls help me to get my photos if theres any way.<issue_comment>username_1: You can change the DNS but you will need to set a static IP as well. If you long press on the WiFi name you can change the options from there.
Upvotes: 1 <issue_comment>username_2: First you must have [**dnscrypt**](https://dnscrypt.org/#dnscrypt-android) installed.
These scripts require root access:
```
#!/bin/sh
#root is required
#daemonize dnscrypt
dnscrypt-proxy --daemonize --resolver-address=208.67.220.220:443 --provider-name=2.dnscrypt-cert.opendns.com --provider-key=<KEY>:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79
#this will redirect dns query traffics to localhost
iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1
```
If you want to restore DNS to default, run this:
```
#!/bin/sh
iptables -t nat -D OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1
```
Upvotes: 2 <issue_comment>username_3: On Android, in addition to using settings. You can still use a third-party application to change DNS. Such as:
1. DNS Changer | Mobile Data & WiFi | IPv4 & IPv6
2. Net Optimizer | Optimize Your Internet Speed
3. DNS Smart Changer - Web content blocker and filter
4. 1.1.1.1: Faster & Safer Internet
5. Turbo VPN- Free VPN Proxy Server & Secure Service
Upvotes: 0 <issue_comment>username_4: This question (2016) is 6 years old and I had the same problem recently. Because I used my own DNS server (BIND 9), I finally found that there was a problem with the BIND settings. According to the prompts in `/var/log/named/named.log`, I corrected my own DNS server settings and the problem was solved.
Upvotes: 0 |
2016/09/13 | 257 | 1,102 | <issue_start>username_0: I am using Xiaomi Redmi 3s prime. I have an issue came up recently. After clicking 2-3 photos an camera error occurs and it says that "can't connect the camera". Then I need to shut down the camera and then have to try after sometime. How to resolve this issue? Is it a problem of software or hardware? please help. Thanks.<issue_comment>username_1: This is usually caused when another program is using the camera. Have you tried doing a hard restart, killing all apps that have camera permission or look like they may use the camera, Have you checked for spyware of sorts? Do all of these and if you still have problem update your question stating what you've done.
Upvotes: 0 <issue_comment>username_2: There could be two solutions for it:
1. Other Programmes might have been using the camera. Uninstall or force stop that app and try restarting your phone. It should work.
2. Check whether You have given all permissions to camera in security option in settings or in the home screen. Since i had a miui ROM so i know permissions in miui is very hard to handle.
Upvotes: 1 |
2016/09/14 | 284 | 1,234 | <issue_start>username_0: I can download and install apps from Google Play but I can't download any zip file, 7z file, Google Drive website file, mp3, torrent, etc on my phone. I haven't changed any settings as far as i know and I can't download anything from any trusted site. Even the bittorrent app's downloads turn red and stay at 0 despite being known good files. This happens when I try to download files on 4g and also wifi. How can I fix this without doing a factory reset?<issue_comment>username_1: This is usually caused when another program is using the camera. Have you tried doing a hard restart, killing all apps that have camera permission or look like they may use the camera, Have you checked for spyware of sorts? Do all of these and if you still have problem update your question stating what you've done.
Upvotes: 0 <issue_comment>username_2: There could be two solutions for it:
1. Other Programmes might have been using the camera. Uninstall or force stop that app and try restarting your phone. It should work.
2. Check whether You have given all permissions to camera in security option in settings or in the home screen. Since i had a miui ROM so i know permissions in miui is very hard to handle.
Upvotes: 1 |
2016/09/14 | 1,217 | 4,874 | <issue_start>username_0: This problem happens when we are in text writing mode and then when switched to main page (home) **random touches** stopped.
I suggest that wet screen maked it but when I go back to home page everything is OK.
I suggest that my xperia Sony after broke and changing the screen glass when under sun light occur problem again but in Game Mode everything is OK. (when a game is running everything is OK.)
After all the stories I concluded that the Android operating system may be a variable for sensitivity in sms mode.(or keyboard Mode)
Accordingly if I can change the value **android sensibility** variable for touch in writing sms MODE we hope to fix it. Is there any solution for change android variables like this by programming or by rooting my phone?
**EDIT:**
SONY XPERIA Z1<issue_comment>username_1: I notice English must not be your first language so excuse me if I misunderstand what you are asking here...
What do you mean by random touches? I am taking this to mean when a certain screen is open random touch events happen on screen as if you are tapping it yet you are not.
I am not sure where Game Mode comes in and what exactly you mean.
Replacing the screen may not have fully fixed your issue. Keep in mind there is both your screen and the digitizer (the sensor that activates when you actually touch the screen) and you also have highlight lamps. Anyways replacing these with after market stuff is always a crap shoot. You could have gotten a lower grade screen (LCD get rated A B C D by how many dead pixels or other small issues are allowed to be present in a screen before sale). You may have even gotten a screen not truly made for your device. These can all cause different issues in different ways. I have seen heat be a factor (where if your CPU temp is high the screen is warm and this changes how/when touches get detected). I mean you could have even accidentally left a tiny piece of glass in there and it is randomly pushing on the screen, or the data cable when you connected it if it is not seated all the way or if the contacts were shorted out from getting wet this again could cause odd random issues.
As far as adjusting touch sensitivity that is a device setting any user can get to:
"Introduction
ANdroid has a feature that lets you control the sensitivity of your screen. While it's not an accessibility feature per say, it could be useful for people with dexterity issues. If you want to be very sure you are touching the right thing, set the screen sensitivity lower and you will have to work harder to activate things. If you need a softer touch because you just can't muscle your screen around, set the sensitivity higher. When I started seeing lollypop devices, I noticed that they really took some serious muscle to get them going and now I have begun doing this to all of the devices I see so that they work better with talkback.
To change this setting:
tap settings.
Tap Language and Input.
Scroll to the very bottom of these settings and tap pointer speed.
I have seen sevreal default speeds, none over %50. Increase the slider to make the touch screen more sensitive and easier to tab. Decrease the slider to make your touch screen less sensitive and more difficult to tap.
Tap OK and then experiment with the results.
Works on:
HTC! m9,
Samsung Galaxy Note3 Lollypop,
Motorola moto G lollypop,
Motorola Moto X Lollypop,"
Reference: <https://www.inclusiveandroid.com/content/how-control-sensitivity-your-screen>
The place where you find this setting also depends on which version of Android you are currently using so if you do not see it you can google Adjust touch sensitivity Sony Xperia
I did find this specifically for the Xperia, but if you have the Z2 or if you have a different OS version than what this users used you may again have to do some more searching.
"You have simply follow some of the steps after that your problem will be solved:::::::::::::::>>>>>>>>>>>
* First of all go to the main menu
* Then go to the setting icon
* Then go to the display option
* Then tap on the touch option
* Then increase the level of touch
* Then save the setting
* After that restart your device
All the best
Thank you"
Reference: <http://androidqueries.com/how-increase-touch-sensitivity-sony-xperia-u-mobile-13238.html>
Upvotes: 2 [selected_answer]<issue_comment>username_2: Ok dude....if you have **root** there would be a solution for that problem.
Mount system as r/w and go to system/usr/idc.
It that folder you will find 3 files.
Open, with a text editor, the file called "clearpad.idc" .
In that file search for " touch.filter.level = 2 "
By default the value would be "2".
Change that value the as you want between 1 and 7. (I would recommend "4" or "5")
Reboot your device.
[source is here](http://forum.xda-developers.com/showthread.php?t=2748096)
Upvotes: 0 |
2016/09/14 | 1,127 | 4,459 | <issue_start>username_0: Now with Pokemon GO pushing the new update and not allowing rooted devices in the game, I want to reverse that.
So how do I unroot my device
**Bonus**: How do I manipulate the app into thinking I do not have root access
**Edit**: I used SuperUser's Full unroot option but it does not remove root access. Either SuperUser has a problem or my phone's jacked up<issue_comment>username_1: First How to Just Unroot the Device
-----------------------------------
You can unroot the phone by opening SuperSU app and choosing full unroot (or just removing /system/bin/su is sufficient usually, and can be done with a file manager like ES File Manager (left hand tray has tools header and under that is the root access toggle and Mount R/W tap that and select /system to be rw) you can then delete the su binary in /system/bin (sometimes /system/xbin though this is more rare)).
More Detail and possible solutions [First Guest Account]
--------------------------------------------------------
I do not know of any direct ways of hiding SU from apps, but you could try a guest user and if you leave the multi user option in SuperSU unchecked then the guest user account may be able to run the app and the app may not see the root.
More Detail and possible solutions [Second Unroot then use Custom Recovery to Apply Root when Done]
---------------------------------------------------------------------------------------------------
You can lose root and be OK if you maintain the custom recovery. Then what you could do is do full unroot from inside SuperSU app and restart device. Now install and/or run Pokemon GO!. When done restart to recovery and flash SuperSU.zip and restart again. Now you will have root access back until next time you wish to play Pokemon GO!.
Editorial [some Concern for Users from the Author]
--------------------------------------------------
Now you do realize Pokemon GO! was done by an NSA contracted company and is used by the government as a general spy tool (think about it a bunch of people running anround with phone cameras and mics running is a wet dream for those guys), so you may want to re-think what games you play and what permissions you are allowing apps running on your devices to use (same guy that designed Google Earth Originally for the CIA/NSA before Google Bought it and same guy who wrote the Game Ingress that was originally done by a company under direct CIA contract before Google bought them).
Reference [I'm not just a conspiracy theory nut without backup proof ;-)]:
<https://www.corbettreport.com/the-cias-pokemon-go-app-is-doing-what-the-patriot-act-cant/>
<http://www.networkworld.com/article/3099092/mobile-wireless/the-cia-nsa-and-pokmon-go.html>
Upvotes: -1 <issue_comment>username_2: **How to Unroot**
1. Open SuperSU and go to the settings tab.
2. Scroll down and press "Full unroot".
3. You'll be asked to confirm you want to fully unroot, press continue.
4. SuperSU will close when finished, now restart your device.
5. Now uninstall SuperSU and you should be unrooted.
**Make Pokemon GO think you're unrooted**
An application called Magisk can do this. I have not tried it, but you're meant to be able to "turn off" root when playing Pokemon GO, and back on again when you're not. This will also work for Android Pay because it also uses the same method to detect root.
I would probably try this one:
[Magisk! – How to Play Pokemon Go on Rooted Android!](http://highonandroid.com/android-apps/magisk-how-to-play-pokemon-go-on-rooted-android/)
Or you can search online for other tutorials on how to do this.
Upvotes: 0 <issue_comment>username_3: You don't need to unroot. You can use Magisk to hide your root status. Head over to XDA to learn how to do it.
Upvotes: 0 <issue_comment>username_4: If you want to unroot only to play Pokemon Go, you don't need to do so.
Just root with Magisk:
* Download the magisk installer from [the official post on XDA-Developers](https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445)
* Flash it with the custom recovery.
* Install the Magisk app (also in that post on XDA)
Now, to hide root from Pokemon GO:
* Go to Magisk Hide and enable Pokemon GO
* Go to Settings, and press on Hide Magisk Manager
It will take a while, just let it work.
When it finishes, reboot your device and open Pokemon Go.
If it still detects root, clear the data of Pokemon Go.
Upvotes: 1 |
2016/09/14 | 1,100 | 4,278 | <issue_start>username_0: I just noticed that my phone is not automatically uploading screenshots into Google Photos.
Phone: Oneplus 2
OS: OxygenOS 3.1 (Android 6.x)
Phone: Oneplus 3T
OS: Oreo 8.0<issue_comment>username_1: First How to Just Unroot the Device
-----------------------------------
You can unroot the phone by opening SuperSU app and choosing full unroot (or just removing /system/bin/su is sufficient usually, and can be done with a file manager like ES File Manager (left hand tray has tools header and under that is the root access toggle and Mount R/W tap that and select /system to be rw) you can then delete the su binary in /system/bin (sometimes /system/xbin though this is more rare)).
More Detail and possible solutions [First Guest Account]
--------------------------------------------------------
I do not know of any direct ways of hiding SU from apps, but you could try a guest user and if you leave the multi user option in SuperSU unchecked then the guest user account may be able to run the app and the app may not see the root.
More Detail and possible solutions [Second Unroot then use Custom Recovery to Apply Root when Done]
---------------------------------------------------------------------------------------------------
You can lose root and be OK if you maintain the custom recovery. Then what you could do is do full unroot from inside SuperSU app and restart device. Now install and/or run Pokemon GO!. When done restart to recovery and flash SuperSU.zip and restart again. Now you will have root access back until next time you wish to play Pokemon GO!.
Editorial [some Concern for Users from the Author]
--------------------------------------------------
Now you do realize Pokemon GO! was done by an NSA contracted company and is used by the government as a general spy tool (think about it a bunch of people running anround with phone cameras and mics running is a wet dream for those guys), so you may want to re-think what games you play and what permissions you are allowing apps running on your devices to use (same guy that designed Google Earth Originally for the CIA/NSA before Google Bought it and same guy who wrote the Game Ingress that was originally done by a company under direct CIA contract before Google bought them).
Reference [I'm not just a conspiracy theory nut without backup proof ;-)]:
<https://www.corbettreport.com/the-cias-pokemon-go-app-is-doing-what-the-patriot-act-cant/>
<http://www.networkworld.com/article/3099092/mobile-wireless/the-cia-nsa-and-pokmon-go.html>
Upvotes: -1 <issue_comment>username_2: **How to Unroot**
1. Open SuperSU and go to the settings tab.
2. Scroll down and press "Full unroot".
3. You'll be asked to confirm you want to fully unroot, press continue.
4. SuperSU will close when finished, now restart your device.
5. Now uninstall SuperSU and you should be unrooted.
**Make Pokemon GO think you're unrooted**
An application called Magisk can do this. I have not tried it, but you're meant to be able to "turn off" root when playing Pokemon GO, and back on again when you're not. This will also work for Android Pay because it also uses the same method to detect root.
I would probably try this one:
[Magisk! – How to Play Pokemon Go on Rooted Android!](http://highonandroid.com/android-apps/magisk-how-to-play-pokemon-go-on-rooted-android/)
Or you can search online for other tutorials on how to do this.
Upvotes: 0 <issue_comment>username_3: You don't need to unroot. You can use Magisk to hide your root status. Head over to XDA to learn how to do it.
Upvotes: 0 <issue_comment>username_4: If you want to unroot only to play Pokemon Go, you don't need to do so.
Just root with Magisk:
* Download the magisk installer from [the official post on XDA-Developers](https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445)
* Flash it with the custom recovery.
* Install the Magisk app (also in that post on XDA)
Now, to hide root from Pokemon GO:
* Go to Magisk Hide and enable Pokemon GO
* Go to Settings, and press on Hide Magisk Manager
It will take a while, just let it work.
When it finishes, reboot your device and open Pokemon Go.
If it still detects root, clear the data of Pokemon Go.
Upvotes: 1 |
2016/09/14 | 758 | 3,093 | <issue_start>username_0: I just received a new Google Nexus 6P, and the included power adapter is something I have never seen. It has diagonal pins, so I am unable to plug into any outlets (I am in the US). Is this some kind of international adapter? Or am I missing something obvious?
[](https://i.stack.imgur.com/75ubS.jpg)
Thank you.<issue_comment>username_1: Adapters vary across the globe, and there is a World Standard body to differentiate them. You were shipped the incorrect one.
This is a Type "I" adapter, mainly used in SE Asia, comes in styles with 2 (yours) or 3 pins.
This style is used in Australia, New Zealand, China & Argentina.
See [here](http://www.worldstandards.eu/electricity/plugs-and-sockets/) for the different types of adapters.
Upvotes: 2 [selected_answer]<issue_comment>username_2: Direct Answer
-------------
You got an ac adapter meant for a different part of the globe as username_1 stated, but if you still have the adapter from the Nexus or well any device just about you should be able to use it with no problems. You may be able to look in the packaging and many ac adapters sent these days can be converted (usually the plug face slides away and you can grab another plug face (meant for that charger not another) and slide the US plug face on to it if they shipped it with your device and it just has a different plug adapter connected to it.
Possible Immediate Solution
---------------------------
I use my Nexus 7 tablet ac adapters to charge my Battery backup pack, my phone, my ps4 controller and a good number of other USB devices. If you look at the label of an adapter you have as long as it says it does an Output of no more than 2 amps than the vast majority of devices will be OK with using it (some newer devices have fast charge and their chargers may read up to 5v while devices and the charger should be able to handle that if you want to be safer I do not use USB AC Adapters on devices that do not fast charge (when plugged in the lock screen will read charging, charging rapidly, or charging slowly (rare)) that have outputs above 2A.
Easiest solution (though slower charge)
---------------------------------------
If totally unsure you can always connect the USB cable to a computer USB port and that will almost never cause any issues (though it will only slowly charge most devices).
Tech Notes
----------
* I can plug my fast charging phone in to a 2amp charger and it will still read charging quickly this does not mean the charger is unsafe for use with other devices just that the device is still capable of fast charging when connected to it.
**How to be absolutely sure a charger is safe for a bettery**
* You can also be detailed and look at your physical battery (or documentation if it is sealed and you can not see the actual battery) and there will be a label mentioning input Volts if the charger label OUTPUT voltage is equal to or less than the stated INPUT voltage on the battery label you are definitely SAFE to use that charger with that device
Upvotes: 2 |
2016/09/14 | 10,637 | 25,609 | <issue_start>username_0: **What Happened:**
A few days back I left my phone (MediaTek chipset) to charge overnight. What I did not notice was that the charger was loose and the charge was at around 2%. The next morning, I woke up to find my phone's battery drained completely.
When I tried to start it (after charging), it was taking a bit too much time, and the phone was heating up. However, the boot didn't complete nor did the phone reboot (like a bootloop).
**What I Did:**
I went to the recovery, took backups, cleared the `/data` partition, and got the phone to start. However, I require the application data (more than the phone) and just formatting the partition didn't seem to take me closer to my goal and hence I restored the backups.
I then cleared the data of several programs which might have caused the problem:
```
rm -rf com.android.captiveportallogin com.android.carrierconfig com.android.cellbroadcastreceiver com.android.certinstaller com.android.defcontainer com.android.development com.android.documentsui com.android.externalstorage com.android.frameworks.telresources com.android.keychain com.android.managedprovisioning com.android.mms.service com.android.noisefield com.android.pacprocessor com.android.printspooler com.android.proxyhandler com.android.server.telecom com.android.statementservice com.android.stk com.android.vpndialogs com.android.webview com.gametion.ludo com.google.android.configupdater com.grarak.kerneladiutor com.jrummy.app.managerfree com.lexa.fakegps com.makeinfo.androididchanger com.one24.deviceid com.ores.hash com.phoneinfo.changer com.resurrection.otacom.sanctuaire.netswisstool com.unique.mobilefaker com.zimperium.zanti cyanogenmod.platform de.robv.android.xposed.installer it.evilsocket.dsploit net.fidanov.landroid org.cyanogenmod.livelockscreen.service org.cyanogenmod.providers.datausage
rm -rf org.cyanogenmod.snap org.cyanogenmod.theme.chooser org.cyanogenmod.themes.provider org.cyanogenmod.wallpapers.photophase org.cyanogenmod.weather.provider org.omnirom.omniswitch tursky.jan.settings
rm -rf com.android.settings com.android.systemui
```
*Didn't help...*
So I accessed `logcat` and extracted some of the possibly juicy bits (in random order):
```
page record for 0xb6e4301c was not found
AndroidRuntime: at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1873)
ServiceManager: service 'batterystats' died
01-01 07:33:29.583 8300 8300 D AndroidRuntime: Shutting down VM
01-01 07:33:29.584 8300 8300 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
01-01 07:37:16.064 15437 15437 E AndroidRuntime: Error reporting crash
01-01 07:37:16.064 15437 15437 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void android.app.IActivityManager.handleApplicationCrash(android.os.IBinder, android.app.ApplicationErrorReport$CrashInfo)' on a null object reference
01-01 07:37:16.064 15437 15437 I Process : Sending signal. PID: 15437 SIG: 9
01-01 07:37:16.088 189 189 I ServiceManager: service 'batterystats' died
01-01 07:37:16.088 189 189 I ServiceManager: service 'appops' died
01-01 07:37:16.088 189 189 I ServiceManager: service 'power' died
01-01 07:37:16.088 189 189 I ServiceManager: service 'display' died
01-01 07:37:16.093 217 217 E installd: eof
01-01 07:37:16.093 217 217 E installd: failed to read size
01-01 07:37:16.093 217 217 I installd: closing connection
01-01 07:37:16.404 12127 12127 I Zygote : Process 12239 exited cleanly (13)
01-01 07:37:16.405 12127 12127 E Zygote : Exit zygote because system server (15437) has terminated
01-01 07:37:16.446 189 189 I ServiceManager: service 'user.xposed.app' died
01-01 07:37:16.453 189 189 I ServiceManager: service 'media.audio_flinger' died
01-01 07:37:16.453 189 189 I ServiceManager: service 'media.player' died
01-01 07:37:16.453 189 189 I ServiceManager: service 'media.resource_manager' died
01-01 07:37:35.780 17500 17500 E cutils-trace: Error opening trace file: No such file or directory (2)
01-01 07:32:20.048 3896 3896 E AndroidRuntime: Error reporting WTF
01-01 07:32:20.048 3896 3896 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.app.IActivityManager.handleApplicationWtf(android.os.IBinder, java.lang.String, boolean, android.app.ApplicationErrorReport$CrashInfo)' on a null object reference
01-01 07:32:20.048 3896 3896 E AndroidRuntime: at com.android.internal.os.RuntimeInit.wtf(RuntimeInit.java:353)
01-01 07:32:20.048 3896 3896 E AndroidRuntime: at android.util.Log$1.onTerribleFailure(Log.java:104)
01-01 07:32:20.048 3896 3896 E AndroidRuntime: at android.util.Log.wtf(Log.java:297)
01-01 07:32:20.048 3896 3896 E AndroidRuntime: at android.util.Slog.wtf(Slog.java:82)
01-01 07:32:41.126 5786 5786 E AndroidRuntime: android.util.Log$TerribleFailure: No start tag found in package manager settings
01-01 07:32:41.161 5786 5786 W PackageManager: Library not found: /system/framework/org.apache.http.legacy.jar
01-01 07:32:41.247 5786 5786 E System : ******************************************
01-01 07:32:41.249 5786 5786 E System : ************ Failure starting system services
01-01 07:32:41.249 5786 5786 E System : java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.server.pm.Settings$VersionInfo.fingerprint' on a null object reference
```
Then I got an idea and did `rm -rf /data/data` and `mkdir /data/data`. Didn't help but showed that the problem was not due to app data but something else in the data partition.
Soon, I noticed a repeating pattern in `logcat`, indicating my phone was stuck in a loop (not bootloop) and not a blocking call to a process or thread.
The looping `logcat`:
```
01-01 07:32:53.191 6368 6368 E System : ******************************************
01-01 07:32:53.191 6368 6368 E System : ************ Failure starting system services
01-01 07:32:53.191 6368 6368 E System : java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.server.pm.Settings$VersionInfo.fingerprint' on a null object reference
01-01 07:32:53.191 6368 6368 E System : at com.android.server.pm.PackageManagerService.(PackageManagerService.java:2170)
01-01 07:32:53.191 6368 6368 E System : at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1873)
01-01 07:32:53.191 6368 6368 E System : at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:387)
01-01 07:32:53.191 6368 6368 E System : at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
01-01 07:32:53.191 6368 6368 E System : at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
01-01 07:32:53.191 6368 6368 E System : at com.android.server.SystemServer.startBootstrapServices()
01-01 07:32:53.191 6368 6368 E System : at com.android.server.SystemServer.run(SystemServer.java:289)
01-01 07:32:53.191 6368 6368 E System : at com.android.server.SystemServer.main(SystemServer.java:176)
01-01 07:32:53.191 6368 6368 E System : at java.lang.reflect.Method.invoke(Native Method)
01-01 07:32:53.191 6368 6368 E System : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-01 07:32:53.191 6368 6368 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-01 07:32:53.191 6368 6368 E System : at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: \*\*\* FATAL EXCEPTION IN SYSTEM PROCESS: main
01-01 07:32:53.192 6368 6368 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.server.pm.Settings$VersionInfo.fingerprint' on a null object reference
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at com.android.server.pm.PackageManagerService.(PackageManagerService.java:2170)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1873)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:387)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at com.android.server.SystemServer.startBootstrapServices()
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:289)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:176)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-01 07:32:53.192 6368 6368 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
01-01 07:32:53.193 6368 6368 E AndroidRuntime: Error reporting crash
01-01 07:32:53.193 6368 6368 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void android.app.IActivityManager.handleApplicationCrash(android.os.IBinder, android.app.ApplicationErrorReport$CrashInfo)' on a null object reference
01-01 07:32:53.193 6368 6368 E AndroidRuntime: at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:95)
01-01 07:32:53.193 6368 6368 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
01-01 07:32:53.193 6368 6368 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
01-01 07:32:53.411 6438 6438 F libc : page record for 0xb6d8301c was not found (block\_size=16)
01-01 07:32:57.925 6682 6682 F libc : page record for 0xb6e5b01c was not found (block\_size=16)
01-01 07:33:03.304 6930 6930 F libc : page record for 0xb6de901c was not found (block\_size=16)
01-01 07:33:05.758 7050 7050 I InstallerConnection: connecting...
01-01 07:33:05.772 7050 7050 I InstallerConnection: disconnecting...
01-01 07:33:05.790 7050 7050 I SystemServer: Entered the Android system server!
01-01 07:33:05.896 7050 7050 I SystemServiceManager: Starting com.android.server.pm.Installer
01-01 07:33:05.897 7050 7050 I Installer: Waiting for installd to be ready.
01-01 07:33:05.897 7050 7050 I InstallerConnection: connecting...
01-01 07:33:05.897 7050 7050 I SystemServiceManager: Starting com.android.server.am.ActivityManagerService$Lifecycle
01-01 07:33:05.908 7050 7050 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:05.908 7050 7050 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:05.908 7050 7050 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:05.908 7050 7050 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:05.908 7050 7050 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:05.908 7050 7050 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:06.027 7050 7050 I ActivityManager: Memory class: 96
01-01 07:33:06.101 7050 7050 D BatteryStatsImpl: Reading daily items from /data/system/batterystats-daily.xml
01-01 07:33:06.254 7050 7050 W ProcessCpuTracker: Skipping unknown process pid 7075
01-01 07:33:06.265 7050 7050 I IntentFirewall: Read new rules (A:0 B:0 S:0)
01-01 07:33:06.279 7050 7050 D AppOps : AppOpsService published
01-01 07:33:06.279 7050 7050 I SystemServiceManager: Starting com.android.server.power.PowerManagerService
01-01 07:33:06.287 7050 7050 I SystemServiceManager: Starting com.android.server.lights.LightsService
01-01 07:33:06.290 7050 7050 I SystemServiceManager: Starting com.android.server.display.DisplayManagerService
01-01 07:33:06.293 7050 7050 I SystemServiceManager: Starting phase 100
01-01 07:33:06.301 7050 7094 I DisplayManagerService: Display device added: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:0", 720 x 1280, modeId 1, defaultModeId 1, supportedModes [{id=1, width=720, height=1280, fps=55.9}], colorTransformId 1, defaultColorTransformId 1, supportedColorTransforms [{id=1, colorTransform=0}], density 320, 294.967 x 295.563 dpi, appVsyncOff 0, presDeadline 18889087, touch INTERNAL, rotation 0, type BUILT\_IN, state UNKNOWN, FLAG\_DEFAULT\_DISPLAY, FLAG\_ROTATES\_WITH\_CONTENT, FLAG\_SECURE, FLAG\_SUPPORTS\_PROTECTED\_BUFFERS}
01-01 07:33:06.304 7050 7050 I SystemServer: Package Manager
01-01 07:33:06.309 7050 7094 I DisplayManagerService: Display device changed state: "Built-in Screen", ON
01-01 07:33:08.137 7201 7201 F libc : page record for 0xb6e5701c was not found (block\_size=16)
01-01 07:33:13.103 7467 7467 F libc : page record for 0xb6de801c was not found (block\_size=16)
01-01 07:33:17.544 7700 7700 I InstallerConnection: connecting...
01-01 07:33:17.552 7700 7700 I InstallerConnection: disconnecting...
01-01 07:33:17.579 7700 7700 I SystemServer: Entered the Android system server!
01-01 07:33:17.750 7700 7700 I SystemServiceManager: Starting com.android.server.pm.Installer
01-01 07:33:17.750 7700 7700 I Installer: Waiting for installd to be ready.
01-01 07:33:17.750 7700 7700 I InstallerConnection: connecting...
01-01 07:33:17.751 7700 7700 I SystemServiceManager: Starting com.android.server.am.ActivityManagerService$Lifecycle
01-01 07:33:17.760 7700 7700 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:17.760 7700 7700 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:17.760 7700 7700 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:17.760 7700 7700 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:17.760 7700 7700 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:17.760 7700 7700 I XXXXXX : choosing minFree values for 32 Bit
01-01 07:33:17.836 7700 7700 I ActivityManager: Memory class: 96
01-01 07:33:17.914 7700 7700 D BatteryStatsImpl: Reading daily items from /data/system/batterystats-daily.xml
01-01 07:33:18.187 7700 7700 W ProcessCpuTracker: Skipping unknown process pid 7732
01-01 07:33:18.196 7700 7700 I IntentFirewall: Read new rules (A:0 B:0 S:0)
01-01 07:33:18.333 7700 7700 D AppOps : AppOpsService published
01-01 07:33:18.334 7700 7700 I SystemServiceManager: Starting com.android.server.power.PowerManagerService
01-01 07:33:18.353 7700 7700 I SystemServiceManager: Starting com.android.server.lights.LightsService
01-01 07:33:18.356 7700 7700 I SystemServiceManager: Starting com.android.server.display.DisplayManagerService
01-01 07:33:18.370 7700 7761 I DisplayManagerService: Display device added: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:0", 720 x 1280, modeId 1, defaultModeId 1, supportedModes [{id=1, width=720, height=1280, fps=55.9}], colorTransformId 1, defaultColorTransformId 1, supportedColorTransforms [{id=1, colorTransform=0}], density 320, 294.967 x 295.563 dpi, appVsyncOff 0, presDeadline 18889087, touch INTERNAL, rotation 0, type BUILT\_IN, state UNKNOWN, FLAG\_DEFAULT\_DISPLAY, FLAG\_ROTATES\_WITH\_CONTENT, FLAG\_SECURE, FLAG\_SUPPORTS\_PROTECTED\_BUFFERS}
01-01 07:33:18.373 7700 7700 I SystemServiceManager: Starting phase 100
01-01 07:33:18.374 7700 7761 I DisplayManagerService: Display device changed state: "Built-in Screen", ON
01-01 07:33:18.375 7700 7700 I SystemServer: Package Manager
01-01 07:33:18.496 7700 7700 D SELinuxMMAC: Using policy file /system/etc/security/mac\_permissions.xml
01-01 07:33:18.504 7700 7700 W PackageManager: No start tag found in package manager settings
01-01 07:33:18.507 7700 7700 E PackageManager: No start tag found in package manager settings
01-01 07:33:18.509 7700 7700 E AndroidRuntime: Error reporting WTF
01-01 07:33:18.509 7700 7700 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.app.IActivityManager.handleApplicationWtf(android.os.IBinder, java.lang.String, boolean, android.app.ApplicationErrorReport$CrashInfo)' on a null object reference
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.internal.os.RuntimeInit.wtf(RuntimeInit.java:353)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at android.util.Log$1.onTerribleFailure(Log.java:104)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at android.util.Log.wtf(Log.java:297)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at android.util.Slog.wtf(Slog.java:82)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.pm.Settings.readLPw(Settings.java:2829)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.pm.PackageManagerService.(PackageManagerService.java:2030)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1873)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:387)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.SystemServer.startBootstrapServices()
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:289)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:176)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: Original WTF:
01-01 07:33:18.509 7700 7700 E AndroidRuntime: android.util.Log$TerribleFailure: No start tag found in package manager settings
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at android.util.Log.wtf(Log.java:291)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at android.util.Slog.wtf(Slog.java:82)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.pm.Settings.readLPw(Settings.java:2829)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.pm.PackageManagerService.(PackageManagerService.java:2030)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1873)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:387)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.SystemServer.startBootstrapServices()
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:289)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:176)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-01 07:33:18.509 7700 7700 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
01-01 07:33:18.527 7700 7700 W PackageManager: Library not found: /system/framework/org.apache.http.legacy.jar
01-01 07:33:18.580 7700 7700 E System : \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
01-01 07:33:18.581 7700 7700 E System : \*\*\*\*\*\*\*\*\*\*\*\* Failure starting system services
```
***Note that the first and last 2 lines are the same, indicating a loop.***
`/data/system # rm -rf *` helps start the phone, so the problem is there. But running the command results in a partial loss of the application data (so I restored the backups of the faulty `/data` partition).<issue_comment>username_1: I just came across this problem myself on my Nexus 5 running Android 6 and after tinkering with it for a few days, I was able to resolve it without wiping all my data, so I wanted to share what I did in case anyone else ever comes across a similar issue and is up for the challenge of debugging the issue instead of wiping the phone.
My problems all seemed to have the same root cause: empty XML files. I had played around with disabling fsync in my kernel to try out the performance difference, and this probably caused some data loss.
Observation: `/data/system/packages.xml`, `/data/system/packages.list`, and `/data/system/job/jobs.xml` were empty.
Below are the steps I executed. Be aware, this is the result of experimentation and you shouldn't blindly execute these commands without understanding them first. ;)
* Back up the entire `/data` partition.
* Delete the `/data/system` directory and reboot to regenerate it.
* Copy the `/data/system` directory somewhere (in my case: `/sdcard/system-good`).
* Restore the backup of the `/data` partition, restoring erased app data.
* Delete the JobStore file: `rm /data/system/job/jobs.xml`
* Copy the regenerated files:
```
cat /sdcard/system-good/packages.list > /data/system/packages.list
cat /sdcard/system-good/packages.xml > /data/system/packages.xml
```
* Fix package UID's based on the error logs:
```
grep "has changed from uid" /sdcard/system-good/uiderrors.txt | while read -r LINE; do sed -i "s/\(^$(echo "$LINE" | awk '{ printf "%s\\) %d/\\1 %d", $6, $13, $11 }')/" /data/system/packages.list ; done
grep "has changed from uid" /sdcard/system-good/uiderrors.txt | while read -r LINE; do sed -i "s/\(^ /\\1%d\">", $6, $13, $11 }')/" /data/system/packages.xml ; done
```
* Wiped cache and dalvik for good measure.
* Rebooted and my Android including all my apps were revived!
For me, this turned into a bit of a side project, and I learned a bit more about Android internals. :) Not all my steps may be relevant to resolve your scenario.
The empty `jobs.xml` caused a NullPointerException in the JobStore: `java.lang.RuntimeException: Failed to create service com.android.server.job.JobSchedulerService: service constructor threw an exception`.
It has already been [fixed upstream](https://android.googlesource.com/platform/frameworks/base/+/98bfb3466c4bd433a35e5da55ba6cd5eb652d050), but that fix is not yet included in Android 6. Just deleting `/data/system/job/jobs.xml` skips the entire code section with the bug, resolving the issue.
The empty package manager files should regenerate upon deletion, however that unfortunately resulted in another bootloop for me, for which I was unable to collect logs to further assess the problem. So I recovered the system by deleting the entire `/data/system`, then made a copy of it and restored my backup of `/data`, and then diff'ed the old and the new version of `/data/system` to figure out what could be causing the crash.
In my case, the major difference was that the UID's for all my apps had changed in the regenerated `package.xml` and `package.list` files, causing the package manager to delete all data for those apps upon checking package contents during boot. I resolved this by copying the regenerated versions and changing them to match the old UID's, using the logfile which recorded all mismatched UID's. Not pretty, and in hindsight it might have been better to just read the UID's from the `/data/data` directories or look into how Android does this regeneration in the first place and tweak that, but this worked as well.
Upvotes: 4 [selected_answer]<issue_comment>username_2: As a complement to [username_1's answer](https://android.stackexchange.com/a/167233/44325), you can perform a backup of the three files (`jobs.xml`, `packages.xml` and `packages.list`) with the following shell script:
```
#!/system/bin/sh
dir=/data/system
watch -n60 "cat $dir/packages.list > $dir/packages.list.bak" > /dev/null &
watch -n60 "cat $dir/packages.xml > $dir/packages.xml.bak" > /dev/null &
watch -n60 "cat $dir/job/jobs.xml > $dir/jobs.xml.bak" > /dev/null &
echo "Now periodically performing backup of packages' (APKs') databases..."
```
`watch` will, periodically, for each 60 seconds, make a backup of the three files. Save the shell script to `/system/xbin` directory, apply `chmod 0755` and `chown root.shell` to it and manually run it.
Do note, however, it is not recommended to add the shell script to `init.d`, since that could write a broken backup of the three files.
Make a note of the permissions, owner, and group of the original files to, later, apply to the restored backups.
```
ls -l data/system/job/jobs.*
-rw------- 1 system system 1401 2021-04-06 11:42 data/system/job/jobs.xml
ls -l data/system/packages.*
-rw-r----- 1 system package_info 10289 2021-04-06 11:42 data/system/packages.list
-rw-rw---- 1 system system 477016 2021-04-06 11:42 data/system/packages.xml
```
Upvotes: 1 |
2016/09/15 | 233 | 951 | <issue_start>username_0: I logged into my Google account with my father's mobile. Now all my contacts have synced with his contact list. How do I deactivate my account on his phone?<issue_comment>username_1: Please go to below path:
**If you have multiple accounts:**
Settings >> Accounts >> Click on Google >> Select account to deactivate >> Select overflow dropdown & click on Remove account.
**If you have 1 account:**
Settings >> Accounts >> Click on Google >> Select overflow dropdown & click on Remove account.
[](https://i.stack.imgur.com/KTSB5.png)
Click image for larger version
Upvotes: 0 <issue_comment>username_2: You can also revoke all your account access remotely. For that log in to your google account and go to account settings. [This](https://security.google.com/settings/security/activity) is the link for online review your activity on devices.
Upvotes: 2 |
2016/09/15 | 726 | 2,540 | <issue_start>username_0: My dad's phone got infected with a virus. The virus will auto enable the WIFI despite after disabling it for a few seconds. Factory restore doesn't work too, the virus came back. I have installed antivirus such as kaspersky, norton, and dr web. They are all unable remove the virus, it re-install itself after removal. It's running on android 4.4.
Here is the screen shot of what dr web's report
[](https://i.stack.imgur.com/HGoKL.jpg)
It keeps downloading back these applications
[](https://i.stack.imgur.com/0dqX8.jpg)
Can anyone please advice me on what to do?<issue_comment>username_1: Okay this will be tricky. It looks like the virus somehow gained superuser privilages and made those apps become system apps. System apps cannot be removed because well, they are now system apps! BUT, if you have root access, you can manually remove the viruses. With ROOT/Superuser access, you can use root apps on the play store to possible remove those viruses.
If you phone is NOT ROOTED however, I recommend you use "Malwarebytes". It is avalible on the play store and has been know to remove more viruses than those other virus removing apps that claim to be the best.
Upvotes: 0 <issue_comment>username_2: Looks like mobile is infected with [Ghost Push](http://www.cmcm.com/blog/en/security/2015-10-14/825.html).
Solution for Rooted phones:
1 - You can use apps like [StubbornTorjanKiller](https://play.google.com/store/apps/details?id=com.cleanmaster.security.stubborntrjkiller).
2 - You can also remove malware manually as you know the names of infected application.
* First Download [Terminal Emulator](https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en) And run following commands.
* `su`
`rm /system/app/weQR.apk`
`rm /system/app/browser_1.6.2.1sign.apk` (write name of app exactlly as your screenshot)
repeat rm with path of infected 5 apps shown in above screenshot.
Upvotes: 1 [selected_answer]<issue_comment>username_3: Like above ...
If the file is persistent or un-deletable
(usually the associated binary files under system > bin)
You need to use a Chattr first ..
---
`busybox chattr -ia /system/bin/viralFile`
---
and then
---
`rm /system/bin/viralFile`
---
This is helpful for force removing virus or non-deletable files, like most people on here that have used KingRoot or similar programs, it's a last option for hard to remove files !
Upvotes: 1 |
2016/09/15 | 579 | 2,054 | <issue_start>username_0: I am using WhatsApp on a laptop with BlueStacks (Android emulator), and I cannot scan the QR code. I don't have any Android phones.
How can I link my WhatsApp profile with WhatsApp web?<issue_comment>username_1: Okay this will be tricky. It looks like the virus somehow gained superuser privilages and made those apps become system apps. System apps cannot be removed because well, they are now system apps! BUT, if you have root access, you can manually remove the viruses. With ROOT/Superuser access, you can use root apps on the play store to possible remove those viruses.
If you phone is NOT ROOTED however, I recommend you use "Malwarebytes". It is avalible on the play store and has been know to remove more viruses than those other virus removing apps that claim to be the best.
Upvotes: 0 <issue_comment>username_2: Looks like mobile is infected with [Ghost Push](http://www.cmcm.com/blog/en/security/2015-10-14/825.html).
Solution for Rooted phones:
1 - You can use apps like [StubbornTorjanKiller](https://play.google.com/store/apps/details?id=com.cleanmaster.security.stubborntrjkiller).
2 - You can also remove malware manually as you know the names of infected application.
* First Download [Terminal Emulator](https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en) And run following commands.
* `su`
`rm /system/app/weQR.apk`
`rm /system/app/browser_1.6.2.1sign.apk` (write name of app exactlly as your screenshot)
repeat rm with path of infected 5 apps shown in above screenshot.
Upvotes: 1 [selected_answer]<issue_comment>username_3: Like above ...
If the file is persistent or un-deletable
(usually the associated binary files under system > bin)
You need to use a Chattr first ..
---
`busybox chattr -ia /system/bin/viralFile`
---
and then
---
`rm /system/bin/viralFile`
---
This is helpful for force removing virus or non-deletable files, like most people on here that have used KingRoot or similar programs, it's a last option for hard to remove files !
Upvotes: 1 |
2016/09/16 | 609 | 1,910 | <issue_start>username_0: Just when I was about to reach level 23, Pokemon Go stopped working with this message:
>
> This device, OS, or software is not compatible with Pokémon GO
>
>
>
I am using CyanogenMod 13.0-20160817-NIGHTLY-hammerhead (Android 6.0.1) on a Nexus 5, and can't live without root.
QUESTION: Is there a way to make it work again?
[](https://i.stack.imgur.com/9pfea.png)
Screenshot (click image for larger variant)<issue_comment>username_1: Since the 0.37 update on android, Root users have been forced out of the game. Niantic claim this to cut down on hacking (but a better option would be to not open if allow.mock.location is 1)
[Source 1](http://www.gamenguide.com/articles/45186/20160912/pokemon-go-latest-news-updates-niantic-bans-rooted-jailbroken-devices-players-complain-says-not-all-owners-of-rooted-devices-cheat.htm) - A report that talks about the new updates limits.
Either way, you do still have an option: Using Magisk, You can play Pokemon Go again with root. It is the exact same method as Allowing Android Pay with root, but I'll [Link it here, for simplicity](http://www.androidpolice.com/2016/09/11/guide-play-pokemon-go-0-37-rooted-android-magisk/)
Upvotes: 2 <issue_comment>username_2: Yes, 1) Download the superuser app
2) go to devlopper option and enable root for apps
3) go to superuser and go to settings and click clean root from phone and then niantic cant see it on your phone anymore
Upvotes: 0 <issue_comment>username_3: There are methods called root cloaking. This is the process of hiding root from specific apps. I'd recommend checking out these posts for more information:
<http://forum.xda-developers.com/xposed/modules/mod-rootcloak-completely-hide-root-t2574647>
<http://repo.xposed.info/module/com.devadvance.rootcloak2>
Upvotes: 1 |
2016/09/16 | 523 | 1,824 | <issue_start>username_0: Long story short: I don't have google services, and I accidentally deleted the backup. I can't install any apk no more via package installer. When I click "install" it just says "Application not installed." I tried everything in my settings.
Is there any way to install apk without package installer? Maybe manually extracting apk file and copying it to some folder somewhere and then making shortcut in launcher?
I have android 4.4.<issue_comment>username_1: Since the 0.37 update on android, Root users have been forced out of the game. Niantic claim this to cut down on hacking (but a better option would be to not open if allow.mock.location is 1)
[Source 1](http://www.gamenguide.com/articles/45186/20160912/pokemon-go-latest-news-updates-niantic-bans-rooted-jailbroken-devices-players-complain-says-not-all-owners-of-rooted-devices-cheat.htm) - A report that talks about the new updates limits.
Either way, you do still have an option: Using Magisk, You can play Pokemon Go again with root. It is the exact same method as Allowing Android Pay with root, but I'll [Link it here, for simplicity](http://www.androidpolice.com/2016/09/11/guide-play-pokemon-go-0-37-rooted-android-magisk/)
Upvotes: 2 <issue_comment>username_2: Yes, 1) Download the superuser app
2) go to devlopper option and enable root for apps
3) go to superuser and go to settings and click clean root from phone and then niantic cant see it on your phone anymore
Upvotes: 0 <issue_comment>username_3: There are methods called root cloaking. This is the process of hiding root from specific apps. I'd recommend checking out these posts for more information:
<http://forum.xda-developers.com/xposed/modules/mod-rootcloak-completely-hide-root-t2574647>
<http://repo.xposed.info/module/com.devadvance.rootcloak2>
Upvotes: 1 |
2016/09/17 | 1,050 | 3,923 | <issue_start>username_0: I'm desperate, otherwise I wouldn't post this long type of post on this forum, cause whenever I have a problem, I just search it on Google and 99% of cases I find the solution, but this time, I'm helpless. I would really appreciate if someone has a solution to my problem,
I have a Infocus M2. It is an awesome phone, I'm really satisfied with it. I have it for 1 year now and I have never had a problem, everything worked perfectly (and is still working), but for 7 days something keeps popping up: it doesn't matter if I'm in a game, or on the internet or am I doing something on the phone, a black screen with text "**Location service**" and after that a white screen appears with a little text "**Launcher loading**..." and a circle that is loading, and I have no idea what is that. I can't do anything, I just have to wait like 1 minute for it to disappear. After that a new app automatically start installing from Google play store.
All this problem started when I install a free app "**[Task bucks](https://play.google.com/store/apps/details?id=com.taskbucks.taskbucks&hl=en)**" from Google play store. and this app automatically install a app "**Key Chain**" After that I just loose control over my phone. Whenever it connects to internet it start downloading apps like DU Speed, Battery Doctor and some those apps automatically install that I uninstalled 1 month ago etc. It's really frustrating. Also, this happens, like one time in 1 hours. I really hate it.
I have to mention a thing:
--------------------------
* Some times After the white screen disappears, Google App Store opens, at a shopping app called "Ali Express" (like it wants to install it or something), I had it installed only one time, but I uninstalled it 6 months ago.
* Key Chain does not remove by restore factory setting. that is automatically installed from [Task bucks](https://play.google.com/store/apps/details?id=com.taskbucks.taskbucks&hl=en)
**Note**: I know one Key Chain is default app but my phone has 3 key chain
I have Attempts following steps to solve my problem:
====================================================
1. Restore factory setting and deleted all third party apps 2 times but problem is still.
2. Run up to 4 antivirus apps but no luck
3. Change google account password
4. Boot my phone in safe mode and clear cache, clear defaults of some apps like: launcher, key chain, location service etc. and Reset app preferrnces.
**I'm sorry for the large post, but I wanted to be as specific as possible. Thanks in advance.**<issue_comment>username_1: Since the 0.37 update on android, Root users have been forced out of the game. Niantic claim this to cut down on hacking (but a better option would be to not open if allow.mock.location is 1)
[Source 1](http://www.gamenguide.com/articles/45186/20160912/pokemon-go-latest-news-updates-niantic-bans-rooted-jailbroken-devices-players-complain-says-not-all-owners-of-rooted-devices-cheat.htm) - A report that talks about the new updates limits.
Either way, you do still have an option: Using Magisk, You can play Pokemon Go again with root. It is the exact same method as Allowing Android Pay with root, but I'll [Link it here, for simplicity](http://www.androidpolice.com/2016/09/11/guide-play-pokemon-go-0-37-rooted-android-magisk/)
Upvotes: 2 <issue_comment>username_2: Yes, 1) Download the superuser app
2) go to devlopper option and enable root for apps
3) go to superuser and go to settings and click clean root from phone and then niantic cant see it on your phone anymore
Upvotes: 0 <issue_comment>username_3: There are methods called root cloaking. This is the process of hiding root from specific apps. I'd recommend checking out these posts for more information:
<http://forum.xda-developers.com/xposed/modules/mod-rootcloak-completely-hide-root-t2574647>
<http://repo.xposed.info/module/com.devadvance.rootcloak2>
Upvotes: 1 |
2016/09/17 | 594 | 2,330 | <issue_start>username_0: I've been using my Note 4 for more than 2 years now and I'm absolutely happy with it, except for that one issue: the battery indicator on top does not match the *real* remaining capacity of the battery. The battery is still ok in terms of its "fitness", it usually allows for a whole day of (power) use. But it is annoying to see that the phone turns off at a shown power level of 13%, sometimes 16%. When I then plug in the charging cable, the charging screen shows the last level like 13%, but I think it *really* is 0%, because if I turn on the phone shortly after plugging the charger in, it turns off again before it completely boots up.
Is there a way to calibrate the battery level in such a way that the indicator gives correct resp. *useful* values again?<issue_comment>username_1: If you are rooted theres an app called "Battery calibrarion" which may help you.
What i didnt extract from your text: do you still use the original battery that came with a phone or one you bought somewhere else?
If you still use the original one,i recommend to buy a new one since batteries loose a certain percentage of their power after a long time.
Upvotes: -1 <issue_comment>username_2: >
> Is there a way to calibrate the battery level in such a way that the indicator gives correct resp. *useful* values again?
>
>
>
**No** . Battery calibration is a myth and you can see this question for more. While the context of question is different, it answers why it is a myth
[Bought a new battery, do I need to calibrate it?](https://android.stackexchange.com/q/131545/131553)
* Li Ion batteries don't suddenly die ( unlike Ni Cd batteries ); their performance degrades **both** in terms of charge holding capacity and the performance or life per charge. Two years of usage is not really an indicator of battery life - it depends on a host of other things like how heavily it is used, how it has been charged etc. My gut feeling is that it has lived it's life and it's time more to replace the battery with a new one
* HTC and some Nexus devices have a way of fixing wonky battery readings using *battery reset logic*, but Samsung devices don't have this feature, so to fix it battery replacement is the first step. If the problem persists ( unlikely ) you may need to get it get it checked up
Upvotes: 1 |