date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2017/08/18
564
2,621
<issue_start>username_0: By default, Android phones don't have firewall (unless the user roots the phone and installs it themselves). On Windows PCs, they have a built-in firewall, and warn the user of security risks if they disable it. That doesn't make sense, since phones aren't being less exposed to malicious networks than computers. And even more, most Android phones can't be updated to received the security patches after the OEM support period ends, while Windows PCs still can receive security updates for a long period of time.<issue_comment>username_1: Since your home router blocks all incoming ports by default, and your phone still works, you can still use a firewall, but I don't see an actual reason for that. The truth is, there is no need for a firewall for Android devices as long as you use reputable Android apps from the Google store. You are unlikely to encounter any issues as long as you are not using any suspicious apps which leak information (even reputable apps from the Play Store may leak private information to third parties for the purpose of advertising, and that one may not like it). Even though you installed a firewall on your device, you are not fully protected against WiFi eavesdroppers in cafes, coffee shops, airports, schools, and hotels. In such a case, you can secure your wireless internet connection using a VPN connection to create several security layers. When connected to a VPN, all your Internet traffic is sent from your computer/device through an encrypted tunnel to the VPN provider’s network. Thus it’s encrypted and secured from any local Wi-Fi eavesdroppers at the hotspot. Upvotes: 0 <issue_comment>username_2: Most consumer firewalls block incoming connections only and allow all outgoing traffic. This is to make configuration easier; you enumerate what services you are running and want to allow, but you do not need to enumerate all the kinds of outgoing connections you want to allow. Most Android devices do not run as servers. Setting up a server process that can listen and respond continuously breaks power-saving features. If you want to send data to an Android device, you get the Android device to connect to you, possibly alerting or sending via cloud messaging, which is a connection setup and managed for power-saving from the Android client-side. What will a consumer firewall do for a device that isn't running services? Nothing, because there is nothing listening that you can block traffic to. If you run server processes on your Android device, this situation obviously changes, but this is not the expected normal usage. Upvotes: 3
2017/08/18
727
3,099
<issue_start>username_0: I have a manufacturer-unlocked Samsung Galaxy S7 Edge (purchased directly from samsung.com), which came with Marshmallow but has been updated OTA to 7.0 Nougat, and is not rooted. One new feature Marshmallow brings is the Blue Light Filter, which has options for automatically turning on and off, either according to a schedule you specify, or at night based on your local sunset and sunrise. I'm using the latter option, and while I've found the filter to reliably turn on every day at sunset, I frequently have to manually turn it off the next day. It's not 100% of the time though, and in fact, on rare occasions, I have woken up before sunrise and been *using* my phone when the filter suddenly turned off, so I know it is at least *capable* of working properly. (Note that it has never, to my knowledge, failed to turn *on* at sunset, regardless of whether I'm using it at *that* time or not.) I'm speculating that maybe it's failing to turn off if the phone is in deep sleep mode at sunrise. The times of sunset and sunrise are determined based on your location, so an as-yet-unnoticed issue with Location Services could theoretically be a factor as well. I did a Google search and was able to find informational articles about the feature in general, as well as multiple forum posts from users experiencing problems getting the feature to turn *on* or work *at all,* but found no reports of it otherwise working properly, but not automatically turning *off.* Am I the only one experiencing this issue? Is it something specific to the S7 Edge, or to Samsung builds in general, or is the same problem known to occur on other devices? And of course, most importantly: **How can I get the Blue Light Filter to *reliably* turn off at sunrise?**<issue_comment>username_1: It turns out that it seems to be related to the power-saving features on the S7. Apparently at some point, the background process that automatically turns the filter on and off at scheduled times got added to the list of processes to be managed by the power-saving mechanism, after which point, any time my phone was in power-saving mode and had not been used recently, the scheduled toggle of the filter's state would not fire. I'm assuming that was just never the case at sunset, as I'm much more likely to have used my phone recently at sunset than at sunrise. Upvotes: 2 <issue_comment>username_2: > > The times of sunset and sunrise are determined based on your location, so an as-yet-unnoticed issue with Location Services could theoretically be a factor as well. > > > This is indeed another possible cause. This sometimes happens on my Google Pixel 3a with the equivalent Night Light feature since I usually turn off the location service. It seems when the current location is very stale/outdated, the feature will be automatically paused. When this happens, I can just turn on the location service for a moment and wait until the device is located, then the Night Light will be enabled/disabled automatically again, then I can turn off the location service afterward. Upvotes: 1
2017/08/18
613
2,595
<issue_start>username_0: I was using my phone ASUS Zenfone Max when I accidentally uninstalled my [Download Manager](https://i.stack.imgur.com/hDfuX.jpg), I thought it was a random pop up download when you go to sites so I deleted it. After that, when I tried download photos from Google, a window popped saying "The Browser has stopped working". I have also tried to download from Google Play Store, but it won't let me download any apps at all. I also tried opening the "Downloads", that can be found on the settings, but this pop up window shows up *see photo*. I tried downloading an apk file using another download manager (named ADP), it got installed, but when I tried to download photos again from browser and apps on Play Store it still won't let me. I think the reason is that the one I deleted is the built in app. I don't know if I reset my phone will help me to download files again. Please help, I have already searched the internet but I still can't find a solution.<issue_comment>username_1: If your phone is rooted and custom recovery is installed then you can reflash gapps it will solve your problem(choose gapps according to your mobile architecture) [open gapps link here](http://opengapps.org). **Disclaimer** I'm not responsible if you bricked your device. Do it your own responsibility. Upvotes: -1 <issue_comment>username_2: It would be better if you reset your device. It reinstalls all the base applications. But be sure to backup all the files. Upvotes: 0 <issue_comment>username_3: My big brother has the same phone (ASUS Zenfone Max). He installed an app where he can send built in apps to other devices via APK. So he sent the Download Manager APK on my phone, tried to install it but the "com.android.providers.downloads is not working" still keept popping out. In the end I decided to Factory Reset my phone. And it worked. My phone is not rooted so I was shocked that I deleted a built in app. Maybe because of the pop up download I got when I went to a website (I was checking sites to download Korean Dramas). I read from forums that if they deleted a built in app and chose factory reset there was no assurance that the said app will be in the device, so I presumed that by sending and installing the original apk file of DM and by choosing Factory Reset the system will recognize the installed apk file and reset it. Upvotes: 1 <issue_comment>username_4: Check your Android version . Get the app file from someone with the same Android version . Install the file and convert it to system file and reboot . Next time don't mess with system apps Upvotes: 0
2017/08/19
497
1,883
<issue_start>username_0: This application is sending a lot of spam to my phone recently, two or three times a day. I deactivated broadcast messages, tried converting USSD pop-ups into notifications to avoid being interrupted (didn't work). Basically, everything I tried didn't work, so now I want to remove it from my phone. Is it possible to do it without root, with ADB or something? I'm not a power user but I have used ADB to give permissions to some apps before.<issue_comment>username_1: If the app in question is stored in /system and it cannot be disabled then it's impossible to remove/disable without root. Android simply doesn't allow "user" to mess with system apps. That being said without knowing device specifics I've seen some cheap chinese phones include adb root which is a somewhat watered down root specific to adb (usually only for debug builds). To test have adb working on a pc and while connected to device and run adb root. If it works it should restart adb service with root perms. But again this is a longshot. Assuming you get root (one way or another) and you know the name of the app in question find it in system/app or system/priv-app. Mount system as rw and remove the app (I'd recommend copying it to your pc as a backup just in case something breaks). Upvotes: -1 <issue_comment>username_2: 1. Connect Your Phone to PC Using Data Cable. 2. Turn on USB Debugging 3. Setup ADB Connection 4. Type ``` adb shell ``` 5. Hit Enter and type again this ``` pm uninstall -k --user 0 com.android.stk ``` or ``` pm uninstall -k --user 0 com.android.stk2 ``` Application Remove Example Image [![enter image description here](https://i.stack.imgur.com/d8a4d.png)](https://i.stack.imgur.com/d8a4d.png) Upvotes: 4 <issue_comment>username_3: An app can be disabled without root by running ``` adb shell pm disable-user com.android.stk ``` Upvotes: 3
2017/08/19
713
2,670
<issue_start>username_0: I recently applied the Android Nougat 7.1.1 update to my partner's Wileyfox Swift. This update replaced Cyanogen with a more stock install. Since the update, mobile data no longer works. Symptoms: * In the status menu, it says "Emergency Calls Only", but the phone can in fact make calls and send texts as normal. * In Systems > SIM cards, it shows the SIM card for Three UK ('3') installed in slot 1. + Under "Preferred SIM for", it says "**Mobile data: Selection required**", but *this item is greyed out so no selection can be made*. (For Calls and SMS messages, it correctly shows that the '3' SIM is selected. * In Settings > Data usage, under '3' it shows that mobile data is enabled. * In Settings > Mobile network settings > APNs, it shows the '3 UK' APN selected. APN details are as specified on the three.co.uk website. * In Settings > About phone > Status > SIM Status, it shows the network (3), Signal strength (-73 dBm 20 asu), Mobile network type (HSPA), Service status (In service), Mobile network status (**disconnected**) and My phone number (**Unknown**). I have tried rebooting, as well as booting without sim then rebooting with. What could be preventing mobile data from working after an update to 7.1.1?<issue_comment>username_1: If the app in question is stored in /system and it cannot be disabled then it's impossible to remove/disable without root. Android simply doesn't allow "user" to mess with system apps. That being said without knowing device specifics I've seen some cheap chinese phones include adb root which is a somewhat watered down root specific to adb (usually only for debug builds). To test have adb working on a pc and while connected to device and run adb root. If it works it should restart adb service with root perms. But again this is a longshot. Assuming you get root (one way or another) and you know the name of the app in question find it in system/app or system/priv-app. Mount system as rw and remove the app (I'd recommend copying it to your pc as a backup just in case something breaks). Upvotes: -1 <issue_comment>username_2: 1. Connect Your Phone to PC Using Data Cable. 2. Turn on USB Debugging 3. Setup ADB Connection 4. Type ``` adb shell ``` 5. Hit Enter and type again this ``` pm uninstall -k --user 0 com.android.stk ``` or ``` pm uninstall -k --user 0 com.android.stk2 ``` Application Remove Example Image [![enter image description here](https://i.stack.imgur.com/d8a4d.png)](https://i.stack.imgur.com/d8a4d.png) Upvotes: 4 <issue_comment>username_3: An app can be disabled without root by running ``` adb shell pm disable-user com.android.stk ``` Upvotes: 3
2017/08/19
489
1,930
<issue_start>username_0: I just need some explaintions regarding these Mobile Data and Data Roaming. Turning-on the Mobile Data alone won't let me go online. So, I need to enable the Data Roaming first before my Smartphone can go online. Questions: 1. What's with Data Roaming? Why I need to turn-on the Data Roaming before I can go online? 2. What's the difference between Mobile Data and Data Roaming? I would be happy if someone can answer my queries. Thanks :)<issue_comment>username_1: Mobile Data is Internet access via mobile signals (4G/3G etc.) From [home.bt.com article](http://home.bt.com/tech-gadgets/internet/mobile-data/data-roaming-explained-11363813491354) > > Data roaming is the term used when your mobile phone is using data on a mobile network, away from your home network, while you're abroad. > > > So whenever you're using mobile data outside your registered region, you're **roaming your data**. While Data Roaming is active, higher data fee often applies. Go [Google](https://www.google.com/search?q=Data+Roaming). Upvotes: 1 <issue_comment>username_2: Both are the same except Roaming is when you get your home carrier data connection using onather network. The same apply for calls. Usually using your phone on roaming can cost additional fees so always contact your carrier for informations. Upvotes: 2 <issue_comment>username_3: Mobile data is the one which allows your phone to connect with the internet. But if you are away from your home location or if you have purchased your sim card somewhere else, then your mobile network will be on roaming. This means that every time you initiate a connection, the signal has to connect to a network that is different from your home location. This is because, your cell network is only registered to a particular region. So, if you move beyond that region, you have to enable roaming to use the mobile data, because you are roaming. Upvotes: 1
2017/08/20
381
1,644
<issue_start>username_0: Related: [How to display the on screen keyboard when Bluetooth keyboard is connected](https://android.stackexchange.com/questions/52249) One of the answers under that question suggested an app called *Secure Settings*. It worked well on my old Android L phone but unfortunately it didn't work on my new phone with Android N. I've gone through Settings and found a toggle named *Show Virtual Keyboard* under *Physical Keyboards* section, but that didn't work. Any chance I can do this on N?<issue_comment>username_1: I had the reverse problem (Virtual Keyboard would not stop popping up) on My Galaxy Tab S3 running Android 7.0. I didn't want to install many apps so, discovered my problem to be the tablet's detection sequencing to be my problem. I use my tablet almost exclusively as a laptop replacement. It sees my tablet, at virtually all times, connected to my Logitech K780. I went into settings and turned off `Show Virtual Keyboard`, but the virtual keyboard continued to pop up. I realized that the tablet had lost the physical keyboard detection and was able to force a fresh detection by turning off bluetooth function and paired again with keyboard and my bluetooth mouse. **Problem solved!**. I think, Your problem may be solved by turning off your bluetooth that causing your phone to detect no physical keyboard and then your setting to show the virtual one might work. Upvotes: 1 <issue_comment>username_2: Got similar problem before, some time turn BT off/on solve it, sometime not. If not, remove BT device from list and pair it again with Phone/Tablet may solve this problem. FYR~ Upvotes: 0
2017/08/20
374
1,394
<issue_start>username_0: I am using a [VPN app](https://play.google.com/store/apps/details?id=im.zpn) and I don't want google to give me Arabic searches if my VPN is Arabic (besides, the whole site is mirror-imaged, since Arabic is written backwards). I want every search on Google to go to either google.com or google.co.in. I have tried searching, but all of them are about Chrome in PCs, and not for Android.<issue_comment>username_1: You can visit these addresses below everytime you want to do a search or simply bookmark it. There is no way to add a custom search engine on the mobile Chrome version. [Google Search No country redirect](https://www.google.com/search?q=%25s&pws=0&gl=us&gws_rd=cr) or [www.google.com/ncr](http://www.google.com/ncr) And now when you search with Google Chrome, it will always search using Google.com in English without the country redirect. Upvotes: 2 <issue_comment>username_2: Installed the VPN app and checked Easiest way is to choose an English speaking location like USA instead of app choosing the location in *auto mode* Alternatively, use other search engines available under Chrome settings → search engine. It appears Chrome picks up default search engine based on [location](https://support.google.com/chrome/answer/95426?co=GENIE.Platform%3DAndroid&hl=en), which happened to be Arabic based on the choice of VPN Upvotes: 2 [selected_answer]
2017/08/20
517
1,894
<issue_start>username_0: I had recently had a hand on my friend's Moto X Force 1580. The phone works on Android 7.0. I went through the web and found out some guys claiming to make Moto X Style to work on VoLTE. I followed the same procedure but had no luck. Following is the procedure that I went through. 1. Dial `*#*#4636#*#*` 2. A hidden menu would start, select "Phone Information" 3. In this window, there is a switch that says "VoLTE provisioned". This by default is off, turn this on 4. Restart the phone. I tried this number of times, but it turns back off every time. Can anyone help?<issue_comment>username_1: Your phone doesn't support VoLTE Upvotes: 0 <issue_comment>username_2: Basically what you want is to keep your phone in 4G LTE while making/receiving a call, but it is dropping to 3G/2G, right? I have worked in 2 big Android phone manufacturers on Software teams. And both had the same policy. It's too risky to enable any feature on an Smartphone without tests. And VoLTE/VoWifi/ViLTE and now VoNR (5G) are all enabled/disabled carrier by carrier. One of the reasons your phone has VoLTE disabled for you carrier could be: * You bought the phone in a different country than where you are using it. * When you bough the phone, you carrier didn't support VoLTE at the time. And the cost to test and enable it now is too high for a phone that is not been sold anymore. So you could try to put a SIM card of a different carrier to see if VoLTE is enabled. Try the biggest carriers of your country. There is a service named "carrier\_config" that handles all IMS enablement. You can type: ``` $ adb shell $ dumpsys carrier_config | carrier_volte_available_bool ``` To confirm the parameter. You'll probably get: carrier\_volte\_available\_bool = false But unfortunately I don't know how to set it to true using ADB. I only know changing the source code. Upvotes: 1
2017/08/21
960
3,856
<issue_start>username_0: My Android device (v. 7.1.2) offers several options to use the "Smart Lock" feature. This feature uses some rules to automatically disable the lockscreen. Available rules are: * Trusted place * Trusted Bluetooth device * Trusted face * Trusted voice * On-body detection I am surprised that there is no option to use a trusted WiFi network. Some forums state the risk for the WiFi network to be spoofed. I don't understand how the risk is different: an attacker could spoof a Bluetooth device as well. What could be reasons for not allowing a WiFi-based unlocking while allowing Bluetooth-based unlocking?<issue_comment>username_1: > > Some forums state the risk for the WiFi network to be spoofed. I don't understand how the risk is different: an attacker could spoof a Bluetooth device as well. > > > The risk *is* different. It's not possible to spoof a *paired* Bluetooth device. The Bluetooth peripheral and the phone exchange keys as part of the pairing process, so both of them can securely identify the other. When the devices connect, they each challenge the other to prove they have the secret keys. If it didn't work this way, it would be trivial to "man-in-the-middle" attack the connection by pretending to be the peripheral. Then the attacker could eavesdrop your phone calls or music, or whatever it is you're sending over Bluetooth. Authentication works a bit differently in Wi-Fi. See [this question on our sister site Super User](https://superuser.com/q/386984/204692) for more discussion on that. In open networks, and networks authenticated using WEP, WPA, or WPA2-PSK, the network doesn't authenticate to the phone at all. The phone has to prove that it has the secret key (the network password), but the network doesn't have to prove anything. There are no "trusted Wi-Fi networks" in this sense. Only networks authenticated with WPA2-Enterprise, which use a certificate pair, prove their identity to the phone, by showing a certificate signed by a certificate authority (just like HTTPS websites). Presumably, Google didn't think it was worth adding an option that would only work with the least common type of Wi-Fi network, and the confusion it would cause their users. Interestingly, Wi-Fi spoofing is already a security issue for the "trusted place" option. The location system uses visible Wi-Fi networks as one input to determine where you are, and [as we've seen, that can cause huge inaccuracies](https://android.stackexchange.com/questions/44608/google-maps-location-history-is-showing-an-incorrect-location). Spoofing this deliberately means looking at the networks that are visible in your "trusted place" and spoofing several at once. Your neighbourhood phone-snatcher won't be able to unlock your phone this way, but government agencies and organised industrial spies probably can: especially if they also use a screened room to block GPS and cellular signals. Upvotes: 6 [selected_answer]<issue_comment>username_2: What you ask would certainly be possible, but it should be restricted to when a device is connected to a Wi-Fi network using sufficient security, i.e. WPA2 authentication/encryption. Probably it was left out because it would be hard to communicate to a non-technical user why they could use certain Wi-Fi networks for authentication but not others. In contrast to what @DanHulme wrote in his answer, when using WPA2 authentication with pre-shared keys (WPA2-PSK), *both* the station and the AP have to prove that they know the passphrase [in the four-way handshake](https://en.wikipedia.org/wiki/IEEE_802.11i-2004#The_four-way_handshake). A rogue WPA2-AP *cannot* give access to a client by just "accepting" the client's password. On the other hand, everyone who knows the PSK could fake an AP (WPA2 Enterprise does have an advantage here over WPA2-PSK). Upvotes: 3
2017/08/21
1,377
5,003
<issue_start>username_0: I installed Bluestacks and I am trying to access files downloaded via Bluestacks but I seem not to find these files (folder is empty). I have also installed ES file explorer . Can anyone provide a good solution on how to access these files ?<issue_comment>username_1: There is a nice [tutorial explaining how to do this](http://howdygeeks.com/transfer-files-images-bluestacks-pc/): As Bluestacks emulates Android, the default download path should be similar i.e. `/sdcard/Download` (or `/storage/sdcard/Download`) Using a file explorer e.g ES explorer, **browse** the file structure until you come across the root folder, from there try locating the above path. Now Bluestacks has an integrated Shared folder with Windows in the following paths: `/storage/sdcard/windows/bstsharedfolder/` or `/sdcard/windows/bstsharedfolder` In order to access your downloaded files in Windows explorer, you need to copy the contents of the download folder (`/sdcard/Download`) to the Bluestacks Shared folder (`/sdcard/windows/bstsharedfolder`) using ES file explorer. Finally access the downloaded files from the PC via Windows explorer from this path: `C:\ProgramData\BlueStacks\UserData\SharedFolder` **Remember to enable the option "Show hidden files and folders" in Windows explorer options** Update If you are unable to find bstfolder in its default Windows location [`C:\ ProgramData\ BlueStacks\ UserData\ SharedFolder` ], you can find their actual location from the Windows Registry. 1. Access the Windows Registry by going to Start >> Run and type in “regedit” and hit Enter. This opens up the Registry Editor. 2. Go to `HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\SharedFolder`. Each of the numeric folders represents a shared folder, and their location is indicated in their Path String values. You may have to [manually set the Bluestacks shared folder](https://7labs.heypub.com/tips-tricks/how-to-access-your-computers-files-in-bluestacks-on-windows.html) in the following way: > > * go to `HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\SharedFolder`. > * Create a new key here and rename it to the number following the previous key. > * Inside the newly created key, right-click on the space on the right side and create a new String called “Name” by selecting New >> String. > Double-click on it and enter a value. > * The value is the name of the folder as seen inside BlueStacks, additionally create a new `DWORD` Value by right-clicking on the blank > space and selecting New >> `DWORD` (32 Bit) Value and rename it as > **Writable**. Right-click on this newly created value and click Modify. > **Set the Value data field as 1** and select the base as Hexadecimal. > * Create another String called “**Path**” and assign a value of the full path of the directory you want to include inside BlueStacks. > * Restart your computer for the changes to take effect. > > > Now you will be able to access BlueStacks files from Windows. --- Update: As mentioned by [username_3](https://android.stackexchange.com/users/256013/josh-davis) if you can't find the path in newer Windows version, navigated to this path instead: `C:\ProgramData\BlueStacks\Engine\UserData\SharedFolder` Upvotes: 2 <issue_comment>username_2: I think your question is > > "You are not able to find your downloaded files which you have > downloaded over bluestacks" > > > You can move to this ---- `C:\ProgramData\Bluestacks\UserData\SharedFolder` here you will find all your shared data * First enable hidden files and folder to view program data folder or you can just send all files to desktop from bluestacks to view all your files and other stuff hope this will help you... Upvotes: 1 <issue_comment>username_3: My path to shared data is `C:\ProgramData\BlueStacks\Engine\UserData\SharedFolder` Upvotes: 2 <issue_comment>username_4: Use the Media Manager to transfer files from Bluestacks to Windows. Here are the steps. 1. Click on *My Apps* tab. 2. Click on *System* app. 3. Click the Media Manager. 4. Long left mouse click on the file you want to transfer to Windows. 5. At the top click on *Export to Windows*. 6. Select a location in Windows and your file will be saved there. 7. In Windows browse to your save location and now you will have the file located there. Upvotes: 0 <issue_comment>username_5: My path as of 9/6/2018 in Windows 10 is: C:\ProgramData\BlueStacks\_bgp\_kk\Engine\UserData\SharedFolder ProgramData is a hidden file in windows 10. In ES File Explorer I go to: Home->Internal Storage->Windows->BstSharedFolder [![ES File Explorer](https://i.stack.imgur.com/cbWGf.png)](https://i.stack.imgur.com/cbWGf.png) Here are the same files in Windows File Explorer: [![Windows File Explorer](https://i.stack.imgur.com/XThep.png)](https://i.stack.imgur.com/XThep.png) Note the path. I have BlueStacks 3 installed. [![BlueStacks Icon](https://i.stack.imgur.com/iVAAN.png)](https://i.stack.imgur.com/iVAAN.png) Upvotes: 0
2017/08/21
789
2,708
<issue_start>username_0: Prior to Android Oreo I could see Memory usage by going to `Settings` > `Memory` but this does not exist any more since upgrading to Android O. Is there any way to see this now or has it been removed completely?<issue_comment>username_1: Enable Developer Mode ([see here](https://android.stackexchange.com/q/33496/30530)), and go to `System` > `Developer options` > `Memory` [![enter image description here](https://i.stack.imgur.com/TDcwXm.png)](https://i.stack.imgur.com/TDcwX.png) [![enter image description here](https://i.stack.imgur.com/LMvskm.png)](https://i.stack.imgur.com/LMvsk.png) [![enter image description here](https://i.stack.imgur.com/Gty7Rm.png)](https://i.stack.imgur.com/Gty7R.png) [![enter image description here](https://i.stack.imgur.com/dS4jCm.png)](https://i.stack.imgur.com/dS4jC.png) Upvotes: 5 [selected_answer]<issue_comment>username_2: To show memory usage in android Oreo, first of all make sure enable developer mode in android Oreo **Enable developer mode android Oreo:** **Settings > System > About phone > Tap build number 7 times** Now enabled developer options in android 8.0 Oreo. **Go to settings > System > Developer options > Memory > Memory used by apps** [![enter image description here](https://i.stack.imgur.com/mHvJX.jpg)](https://i.stack.imgur.com/mHvJX.jpg) Upvotes: -1 <issue_comment>username_3: Since accepted answer is not applicable in my situation (there is no "Memory" menu item) (Android 8.0.0, Samsung S8), I want to share another way of getting memory usage info. This shows RAM status and RAM usage by applications. ``` Settings > Developer Options > Running Services ``` [![enter image description here](https://i.stack.imgur.com/O4ZxL.jpg)](https://i.stack.imgur.com/O4ZxL.jpg) Upvotes: 2 <issue_comment>username_4: This answer will only apply when you are a developer, and you have your development PC near. First make sure that you have **USB debugging** enabled. Then on your PC open a shell that can run `adb` (of you don't know what this is, then this answer is not for you) Then in that shell run `adb shell` This will open a shell to your Android device, within this shell you are running command line applications on your android device. Now in this adb shell run `top -s rss | head -n 20`. This will print out a list of about 20 apps sorted by RAM usage(-ish, its not precise). If you are able to enable **ADB Root** in developer options (Again, if you don't know that this is, then it is not for you), then you can see more details: In the adb shell run `su`. This will elevate your access to the kernel. Then run `procrank`. This will show a lot more info about ram and swap usage. Upvotes: 0
2017/08/21
543
1,965
<issue_start>username_0: How can I disable the guest acount feature on my samsung galaxy s6 WITHOUT having to delete all users (other than me, the owner) or disabling the multiuser feature completely. I want to have users other than me, but I don't want the guest account. My device **is rooted**. I found [this](https://android.stackexchange.com/questions/102821/is-there-a-way-to-remove-the-guest-account/119632) other question. This question is **not a dupe** because the answers to the other question do not say how to do it without requiring myself to be the only user. (My android version is 5.0.2, and my goal is to prevent anyone with physical access from being able to log in using this guest feature, and I don't want to encrypt my device or install custom recovery)<issue_comment>username_1: This one works for me on Android 5.0.1 and 5.1.1 Open a terminal, grant it root access then run ``` settings put global guest_user_enabled 0 ``` You don't need to add `fw.max_users=1` to your `build.prop`. It prevents more accounts from being created besides disabling guest feature. The above method only shuts off guest while leaving the "more users" option available. --- Alternatively, if you don't need dynamically creating & deleting extra users, you can create a few before proceeding. Add this line to your `build.prop`. ``` fw.max_users=2 ``` The multi-user settings will stil be available from your Settings app, but a guest (or any extra account) is kept from being created. Upvotes: 3 [selected_answer]<issue_comment>username_2: I had to run : ``` adb shell settings put secure guest_user_enabled 0 adb shell settings put global guest_user_enabled 0 adb shell settings put system guest_user_enabled 0 ``` I did not have to root my device, just use ADB platform-utility. Installation explanation is [here](https://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/). I am under Android 9 Upvotes: 1
2017/08/22
779
3,020
<issue_start>username_0: For a while, I had an exclamation mark instead of a signal status in the top bar, and some apps didn't realize they were connected to Internet when other worked perfectly. Thanks to **AFWall+** logs, I found the issue. I need to allow access to an app called **com.android.engineeringmode**. But this app is tied (in OnePlus 3) with some others, as you can see in this screenshot : [![screenshot taken in AFWall+](https://i.stack.imgur.com/bFi77.png)](https://i.stack.imgur.com/bFi77.png) I'm OK to allow access to **EngineerMode**, but certainly not to all this bunch of apps (especially camera or fingerprints services). After searching the web, I found that all theses apps are linked in **/data/system/packages.xml** using the *sharedUid **1000***. But it is said to never change the UID of an app when it's shared (I didn't really get why). I'm using the stock ROM (**OxygenOS 3.2.8**) from OP3, but rooted (got **Xposed** an **Xprivacy** too), so it's **Android 6.0.1**. Is there any chance I can allow Network access to **EngineerMode** only ?<issue_comment>username_1: I don't think it's possible to change this without recompiling the ROM. You can't change the UID of apps after they're installed because they won't be able to access their files any more, and because it will confuse the app permissions system. Maybe there's some other way around the problem with Xposed, but I don't know about that. It might be possible for an Xposed module to detect the exact call the package is making (to distinguish it from the calls made by other packages in the same process), and mark it for AFWall to allow it. That way you wouldn't need to split up the apps at all. An alternative might be to find *where* it's trying to send traffic to, and whitelist that address for that process. Again, this would solve the specific symptom without splitting the apps. If it's the captive portal detection, it's probably `http://client.android.com/generate_204`. Upvotes: 2 <issue_comment>username_2: The solution that *username_1* has provided is right and I'd like to make it clearer: You have to re-compile the ROM but wait! Open the source for *EngineerMode* and look for something in `AndroidManifest.xml` like `sharedUserId="android.uid.system"` and **change it** to something else. That's the fundament of a shared user ID. You must modify the app so that it doesn't require a shared UID anymore. Upvotes: 2 <issue_comment>username_3: While username_2's comment seems a better answer to the question, my real need was to have a correct Internet access detection over the system. In order to fix my issue I had to open an **adb shell**, type in ``` settings put global captive_portal_detection_enabled 0 ``` Then reboot. The exclamation mark went away and problematic apps behave better now. For the record, this prevent a check on Google's servers. This check was impossible with my firewall's rules. Thanks to username_1 and username_2 for their help. Upvotes: 2 [selected_answer]
2017/08/22
537
1,747
<issue_start>username_0: Oreo is a trademark. Did they approve this? Do they not have a choice? I guess this is potentially good press, but if the OS has big problems they're not going to be happy when the "Oreo" name is associated with the problems by the press.<issue_comment>username_1: Google paid nothing, but has a "pure co-branding partnership" with the owner of the trademark, Mondelēz, according to [this](http://www.inforum.com/business/4315599-googles-newest-android-operating-system-gets-its-official-name-oreo) article. > > Google did not pay the famous cookie's maker, Mondelēz, any money to > use the name, said spokeswoman <NAME>, who in an email called > it a "pure co-branding partnership." The company said in a news > release, however, that it and Google will partner on a "variety of > global initiatives designed to create innovative, playful experiences > for both OREO and Android fans." These, Moens said, will include a > drone flight that projects a holographic version of the Android and > Oreo superhero, some Android and Oreo-branded cookie giveaways, and > four short films featuring the new character. > > > So in this case, allowing Google to use the name "Oreo" is seen as beneficial to both organizations and will be used for inter-company marketing. Upvotes: 5 [selected_answer]<issue_comment>username_2: At least to the public's knowledge the [Oreo twitter account the Oreo company reached out to Android first.](https://twitter.com/Oreo/status/522460831070822400) > > @sundarpichai L’Oreo, <NAME>, Nouveau Oreo…Oreo… we’ll always be l’ready, @Android . #Lollipop > > > I'm sure the co marketing is helpful on both sides but yes ace is right nobody paid anything. Upvotes: 2
2017/08/23
869
2,678
<issue_start>username_0: When you slide Chrome browser (or FireFox) to extreme left, right or upwards, you see this *shadow* (for want of a better word) for a few seconds, as shown [![enter image description here](https://i.stack.imgur.com/LEv7wm.png)](https://i.stack.imgur.com/LEv7wm.png) [![enter image description here](https://i.stack.imgur.com/4VpM1m.png)](https://i.stack.imgur.com/4VpM1m.png) **What is it called and what's the purpose ?** (Can't Google since I don't know what it is :) It's on Moto X Play and it's not the *jelly scrolling* reported on some recent phones<issue_comment>username_1: This appears to be called [EdgeEffect](https://developer.android.com/reference/android/widget/EdgeEffect.html) and is used [as a visual indicator](https://stackoverflow.com/a/11489212/4720957) when the user over-scrolls. * See relevant images on Google Images [here](https://www.google.co.in/search?q=android+edge+effect&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwjIwJPM8-3VAhVJP48KHVk5AqIQsAQIUA&biw=1366&bih=675). * A [book](https://books.google.co.in/books?id=cEytznnRkikC&pg=PT313&lpg=PT313&dq=edgeeffect+android+explained&source=bl&ots=hBLB091zjv&sig=xQpRgw0gcSTo4lKARVPT9RTemIE&hl=en&sa=X&ved=0ahUKEwjT-6Cm9O3VAhUIrY8KHW29AC0Q6AEIVzAJ#v=onepage&q=edgeeffect%20android%20explained&f=false) commenting on the glow effect produces. * A question on [Stack Overflow](https://stackoverflow.com/questions/27104521/android-lollipop-scrollview-edge-effect-color). Upvotes: 6 [selected_answer]<issue_comment>username_2: As suggested already, this graphical "shadow" effect is **Edge Glow colour**, and its part of the material design by Google. > > After the introduction of material design by Google many new UI elements have been introduced. Material design is based on the interaction and movement of colours and objects in real world rather than synthetic unnatural phenomenon. Sometimes it gets messy when we try to keep up with our material aesthetic. The most popular example of it is edge glow colour. > > > The effect was introduced in the ice cream sandwich (api 14) android version. Its part of Material design's aesthetic appeal. The edge glow colour of ListView, RecyclerView, ScrollView and NestedScrollView is managed by the accent colour declared in the styles. [Source](http://blog.fossasia.org/managing-edge-glow-color-in-nested-scrollview-in-open-event-android-app/) Upvotes: 3 <issue_comment>username_3: I thought it's purpose was to replace <https://duckduckgo.com/apple+rubber+band+patent> without being suable? <https://developer.android.com/training/gestures/scroll.html> recommends the OverScroller for giving better feedback Upvotes: 0
2017/08/24
918
2,967
<issue_start>username_0: Since I got my new Google Pixel, I've received a "Change your phone number?" notification upon each boot up. Nothing I've done has remedied the issue... Here's what I've tried so far: 1. Selected the notification, provided my credentials, updated my phone number (which has been the same for years), and applied the changes. 2. Rebooted lots of times. 3. Wiped the cache for Google Play and Google Play Services. 4. Removed my account's recovery phone number, then re-added my phone number. 5. Removed my Google account from the phone, then added it again. Short of factory resetting the device, I'm not sure what else to try. This issue has been going on for 8 days now. It's rather frustrating. Here's a screenshot of the issue: [![Here's a screenshot of the issue](https://i.stack.imgur.com/QaqSd.png)](https://i.stack.imgur.com/QaqSd.png)<issue_comment>username_1: This appears to be called [EdgeEffect](https://developer.android.com/reference/android/widget/EdgeEffect.html) and is used [as a visual indicator](https://stackoverflow.com/a/11489212/4720957) when the user over-scrolls. * See relevant images on Google Images [here](https://www.google.co.in/search?q=android+edge+effect&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwjIwJPM8-3VAhVJP48KHVk5AqIQsAQIUA&biw=1366&bih=675). * A [book](https://books.google.co.in/books?id=cEytznnRkikC&pg=PT313&lpg=PT313&dq=edgeeffect+android+explained&source=bl&ots=hBLB091zjv&sig=xQpRgw0gcSTo4lKARVPT9RTemIE&hl=en&sa=X&ved=0ahUKEwjT-6Cm9O3VAhUIrY8KHW29AC0Q6AEIVzAJ#v=onepage&q=edgeeffect%20android%20explained&f=false) commenting on the glow effect produces. * A question on [Stack Overflow](https://stackoverflow.com/questions/27104521/android-lollipop-scrollview-edge-effect-color). Upvotes: 6 [selected_answer]<issue_comment>username_2: As suggested already, this graphical "shadow" effect is **Edge Glow colour**, and its part of the material design by Google. > > After the introduction of material design by Google many new UI elements have been introduced. Material design is based on the interaction and movement of colours and objects in real world rather than synthetic unnatural phenomenon. Sometimes it gets messy when we try to keep up with our material aesthetic. The most popular example of it is edge glow colour. > > > The effect was introduced in the ice cream sandwich (api 14) android version. Its part of Material design's aesthetic appeal. The edge glow colour of ListView, RecyclerView, ScrollView and NestedScrollView is managed by the accent colour declared in the styles. [Source](http://blog.fossasia.org/managing-edge-glow-color-in-nested-scrollview-in-open-event-android-app/) Upvotes: 3 <issue_comment>username_3: I thought it's purpose was to replace <https://duckduckgo.com/apple+rubber+band+patent> without being suable? <https://developer.android.com/training/gestures/scroll.html> recommends the OverScroller for giving better feedback Upvotes: 0
2017/08/24
968
3,903
<issue_start>username_0: My phone is a Samsung Galaxy S5 mini, so it's getting old by industry standards. Until a few months ago, it was doing fine, but recently the battery life and response time have drastically degraded. Even with every optimisation I know of, I am now lucky if the battery lasts a day (~16h). 8h is more typical. The phone sometimes hangs for long enough for the screen lock to activate (2 minutes). When the hanging is particularly bad, I have noticed that the phone feels warm. I have seen messages saying that two apps (Facebook messenger and DJI pilot) have caused ~17 errors each in the past week, so I should optimize power settings. Activating "save power" hasn't helped. The standard battery indicator says that 20-25% is used by the screen , 15-20% by the Android System, and 10-15% by Android OS. I tried to get more information on the battery by installing "Repair Battery Life". This app claimed to repair 5 "low" cells. But it seemed far too easy. I'm sceptical whether an app can repair battery cells. I can think of some things that have changed in the last few months, but I wouldn't expect them to have made such a big difference. I have installed some new apps, but none use more than 3% of battery. I assume this means that they're not consuming enough CPU to hang the phone either. One of the new apps is perhaps more of a suspect than the others: Netguard. I would expect that less network traffic would save battery, but I could be mistaken if apps are very aggressive about retrying the connection. Finally, I have moved house, and the reception (wifi & whatever you call the normal network) might be worse, but not noticeably. What else can I try to get more information on the problem(s)? Update: I noticed two new symptoms. 1) the phone only seems to hang when I am out of wifi range. 2) looking closer at the battery menu under Settings, there seems to be significant battery usage at times where the phone is "awake" but the screen is off. Does this mean that some app is constantly waking the CPU? Update2: today I had the screen on for 2 hours straight, which took my battery from ~75% to 15%. Clearly, a lot of this was for the screen, so I was surprised to see that in the battery stats, it says that the screen used 15% of the battery, while "android system" used much more: 19% and 5 hours of CPU time. "Android OS" also has a significant contribution with 8%. Is there any way to narrow down why the Android components are so active?<issue_comment>username_1: Educated guess is you have apps that are running in the background and eating up your battery. Samsung power manager app/thing is not great (at least on my sgs7 it isn't), but it's pointing you on possible culprits. Easiest way to debug is uninstall the apps and see if device acts any differently (give it a few days or a week to see). Or another way is factory reset start from new and see how it goes from "stock" and add apps slowly and see. Or it could just be the battery is aging and simply can't hold a charge like it used to. There isn't a silver bullet way of trouble shoot battery life unfortunately. Upvotes: 2 [selected_answer]<issue_comment>username_2: Unlike the iPhone and Galaxy S6 and newer phones the S5 mini has a replaceable battery. Batteries get old. Get a new one. Not terribly expensive on Amazon. Personally the G5 was the last Samsung phone I owned. I wanted to go from a G4 to G6 except Samsung stopped the replaceable battery with the G6. G5 was OK for a year or two but then I wanted to upgrade so went to the LG V20. I do a lot of subway riding and watch movies so go through 2 batteries every day. I love the LG with it's fingerprint unlock too. I can only imagine Samsung followed the iPhone with non-replaceable batteries as a designed-obsolescence which I think is a dirty trick to play on consumers and a greedy business strategy. Upvotes: -1
2017/08/24
447
1,739
<issue_start>username_0: Where are the other options? I cannot see them on Google Maps. I used to be able to see a "route options" or "avoid tolls" button but now seems to have disappeared this morning. [![screenshot](https://i.stack.imgur.com/iDz0lm.png)](https://i.stack.imgur.com/iDz0l.png) Screenshot (click image to enlarge)<issue_comment>username_1: Educated guess is you have apps that are running in the background and eating up your battery. Samsung power manager app/thing is not great (at least on my sgs7 it isn't), but it's pointing you on possible culprits. Easiest way to debug is uninstall the apps and see if device acts any differently (give it a few days or a week to see). Or another way is factory reset start from new and see how it goes from "stock" and add apps slowly and see. Or it could just be the battery is aging and simply can't hold a charge like it used to. There isn't a silver bullet way of trouble shoot battery life unfortunately. Upvotes: 2 [selected_answer]<issue_comment>username_2: Unlike the iPhone and Galaxy S6 and newer phones the S5 mini has a replaceable battery. Batteries get old. Get a new one. Not terribly expensive on Amazon. Personally the G5 was the last Samsung phone I owned. I wanted to go from a G4 to G6 except Samsung stopped the replaceable battery with the G6. G5 was OK for a year or two but then I wanted to upgrade so went to the LG V20. I do a lot of subway riding and watch movies so go through 2 batteries every day. I love the LG with it's fingerprint unlock too. I can only imagine Samsung followed the iPhone with non-replaceable batteries as a designed-obsolescence which I think is a dirty trick to play on consumers and a greedy business strategy. Upvotes: -1
2017/08/24
533
2,231
<issue_start>username_0: I have a Xiaomi Redmi 1S running stock MIUI 7 global stable ROM and one day while I was using my phone it suddenly restarted and then it went into a bootloop. The phone would power on upon inserting the battery without pressing the `Power` button. It kept restarting but by pressing down the `Volume up` button I could enter into the recovery mode. But the phone was still restarting after the a few seconds even in the recovery. But I could navigate within the recovery and I tried wiping the cache and then the phone restarted and later worked fine. A week later, the phone suddenly restarted again and this time I am unable to navigate in the recovery. The phone just keeps restarting itself after a few seconds even in recovery and fastboot mode. What could be the problem with my phone?<issue_comment>username_1: Educated guess is you have apps that are running in the background and eating up your battery. Samsung power manager app/thing is not great (at least on my sgs7 it isn't), but it's pointing you on possible culprits. Easiest way to debug is uninstall the apps and see if device acts any differently (give it a few days or a week to see). Or another way is factory reset start from new and see how it goes from "stock" and add apps slowly and see. Or it could just be the battery is aging and simply can't hold a charge like it used to. There isn't a silver bullet way of trouble shoot battery life unfortunately. Upvotes: 2 [selected_answer]<issue_comment>username_2: Unlike the iPhone and Galaxy S6 and newer phones the S5 mini has a replaceable battery. Batteries get old. Get a new one. Not terribly expensive on Amazon. Personally the G5 was the last Samsung phone I owned. I wanted to go from a G4 to G6 except Samsung stopped the replaceable battery with the G6. G5 was OK for a year or two but then I wanted to upgrade so went to the LG V20. I do a lot of subway riding and watch movies so go through 2 batteries every day. I love the LG with it's fingerprint unlock too. I can only imagine Samsung followed the iPhone with non-replaceable batteries as a designed-obsolescence which I think is a dirty trick to play on consumers and a greedy business strategy. Upvotes: -1
2017/08/24
484
1,964
<issue_start>username_0: I'm not sure what's changed but the past week or two I've been getting notification ads for Google assistant every day, very annoying. They take the format of 'why not call a friend?' 'Want a joke? ' - Turn assistant on! That kind of utterly valueless nonsense. I believe these come from the Google app, but here's the thing: 1. Google App notifications are OFF 2. I cannot remove or disable the Google App How do I stop these daily ads I didn't consent to? I've hunted and there is nothing in the settings anywhere allowing this.<issue_comment>username_1: Educated guess is you have apps that are running in the background and eating up your battery. Samsung power manager app/thing is not great (at least on my sgs7 it isn't), but it's pointing you on possible culprits. Easiest way to debug is uninstall the apps and see if device acts any differently (give it a few days or a week to see). Or another way is factory reset start from new and see how it goes from "stock" and add apps slowly and see. Or it could just be the battery is aging and simply can't hold a charge like it used to. There isn't a silver bullet way of trouble shoot battery life unfortunately. Upvotes: 2 [selected_answer]<issue_comment>username_2: Unlike the iPhone and Galaxy S6 and newer phones the S5 mini has a replaceable battery. Batteries get old. Get a new one. Not terribly expensive on Amazon. Personally the G5 was the last Samsung phone I owned. I wanted to go from a G4 to G6 except Samsung stopped the replaceable battery with the G6. G5 was OK for a year or two but then I wanted to upgrade so went to the LG V20. I do a lot of subway riding and watch movies so go through 2 batteries every day. I love the LG with it's fingerprint unlock too. I can only imagine Samsung followed the iPhone with non-replaceable batteries as a designed-obsolescence which I think is a dirty trick to play on consumers and a greedy business strategy. Upvotes: -1
2017/08/24
592
2,293
<issue_start>username_0: I have installed Lineage OS 14.1 on my Redmi 1S, and installed GApps(Aroma) from opengapps.org. I have increased /system partition size to install GApps package. New nightly with some fixes are available. If I continue to install nightly and GApps, Do I lose my apps and data? previous observations: **1. Installed Nightlies many times using TWRP(I think it has been overwritten).** **2. Installed Gapps(earlier used pico) several times.(I think it has been overwritten).** Above two steps doesn't ends up in error, and booted to system well(no data loss). But, now steps are different: i. place a file named part in one of the root folder. ii. install partition increase zip iii. wipe all iv. install ROM v. execute resize vi. install Gapps. I am confused that whether I loss, system app's and user app's data after installation if I skip wipe all.<issue_comment>username_1: Educated guess is you have apps that are running in the background and eating up your battery. Samsung power manager app/thing is not great (at least on my sgs7 it isn't), but it's pointing you on possible culprits. Easiest way to debug is uninstall the apps and see if device acts any differently (give it a few days or a week to see). Or another way is factory reset start from new and see how it goes from "stock" and add apps slowly and see. Or it could just be the battery is aging and simply can't hold a charge like it used to. There isn't a silver bullet way of trouble shoot battery life unfortunately. Upvotes: 2 [selected_answer]<issue_comment>username_2: Unlike the iPhone and Galaxy S6 and newer phones the S5 mini has a replaceable battery. Batteries get old. Get a new one. Not terribly expensive on Amazon. Personally the G5 was the last Samsung phone I owned. I wanted to go from a G4 to G6 except Samsung stopped the replaceable battery with the G6. G5 was OK for a year or two but then I wanted to upgrade so went to the LG V20. I do a lot of subway riding and watch movies so go through 2 batteries every day. I love the LG with it's fingerprint unlock too. I can only imagine Samsung followed the iPhone with non-replaceable batteries as a designed-obsolescence which I think is a dirty trick to play on consumers and a greedy business strategy. Upvotes: -1
2017/08/24
428
1,364
<issue_start>username_0: I know that unlocking bootloader does wipe the /data partition. However, can it also wipe the /storage partition and others, too?<issue_comment>username_1: It wipes the complete storage when the bootloader has never been unlocked. If it has been unlocked it just wipes /data as far as I have experienced this on my oneplus x. (Onyx) Upvotes: 0 <issue_comment>username_2: There is nothing like storage partition. What you see under /storage/emulated is a [FUSE](https://www.kernel.org/doc/Documentation/filesystems/fuse.txt) implementation of */data/media/userID*. Whenever you unlock or relock the bootloader, fastboot causes [factory reset](https://android.googlesource.com/device/ti/bootloader/uboot/+/master/common/cmd_fastboot.c#1587) of the device which wipes data and cache partitions. No bit of data escapes it, including what you see under */storage*. [Source](https://android.googlesource.com/device/ti/bootloader/uboot/+/6671d3fe57d47e341530a7c6deb3c8d43bad202e/common/cmd_fastboot.c#1587): > > > ``` > > printf("oem unlock requested:\n"); > printf("\t**Unlocking forces a factory reset** and could\n"); > printf("\topen your device up to a world of hurt. If you\n"); > printf("\tare sure you know what you're doing, then accept\n"); > printf("\tin %d seconds via 'fastboot oem unlock_accept'.\n", > > ``` > > Upvotes: 2
2017/08/25
507
2,067
<issue_start>username_0: I have a few different apps that seem to have difficulties keeping landscape mode from going upside down when certain things happen, like playing ads. My phone is always rotated clockwise for landscape mode when I use landscape mode, but will often go upside down as if it expects the phone to be rotated counter-clockwise. I'm assuming rotated counter-clockwise is considered landscape mode, and clockwise is reverse landscape, so in that case I need reverse landscape to be the main/default/only landscape mode. But I don't want it locked to landscape all the time, it is locked to portrait mode normally. Using Galaxy S8+, not rooted. Thanks in advance for any suggestions/advice, though preferably not something that requires changing a setting before and after every time I launch one of those troublesome apps.<issue_comment>username_1: Quoted from one of my previous answers: > > Use apps like [Ultimate Rotation Control](https://play.google.com/store/apps/details?id=nl.fameit.rotate) - with proper settings, it seamlessly integrates with system rotation toggle, and on top of that you can enable/disable any rotation direction, force apps that don't usually rotate to rotate, and set per-app rotation behavior. > > > Based on your description, set the first options to these values so you can click the app's notification to toggle rotation direction. ![](https://i.stack.imgur.com/4zG1D.png) Do note that this is a paid app with a 7-day trial. Upvotes: 1 <issue_comment>username_2: Found an app [Rotation Control](https://play.google.com/store/apps/details?id=jp.snowlife01.android.rotationcontrol&hl=en) that lets you easily set up per app settings to be any direction you want, so no need for another notification bar icon/entry making clutter up there. Works with all the apps I've been able to test with, really easy to set up and see what apps you have set up. It is a paid app with a 2 day trial, but the ones that worked with my apps seemed to be paid apps anyways. This one was the easiest to use/setup. Upvotes: 0
2017/08/25
253
1,031
<issue_start>username_0: Have I ruined my phone? I plugged my smartphone into my car charger no light appeared so I brought inside tried it there still no light and now my phone will not go back on! Help!<issue_comment>username_1: Is the car charger of good quality? I would try removjng battery, putting it back in, plug it to wall, wait a few minutes and press and hold down power button Upvotes: 1 <issue_comment>username_2: I feel it's not good to charge from car battery except in very emergency conditions. Even if you charge, you should use a good charger. Many times, there may be a surge or voltage drop in your battery when you start the car or use the air-conditioning systems, which if not protected by charger, will ruin your phone. It's much better if you buy a power bank for these cases. Anyways, try taking the battery out, and reinstalling it. If that doesn't work, you may buy a new battery or try out with someone else's. If that doesn't work either, you should take your phone to a service centre. Upvotes: 0
2017/08/25
316
1,186
<issue_start>username_0: I forget what setting I've turned on, or when, but whenever I click a link to the New York Times website, it opens the New York Times app. I don't want it to do that. I could remove the NYT app, but I want to keep it. (I find it useful.) Is there a way to change this behavior? Even better, get Android to ask me which I want when I click the link. Changing the default web browser is not desired. This is in both Nougat and Oreo®.<issue_comment>username_1: Check your browser's permissions and stop it from launching other apps if it can. Try clicking on the link from another browser. Check NYT app permissions to see if it can behave like that. Upvotes: -1 <issue_comment>username_2: In Settings → Apps → NYTimes → Open by default: * *Open Supported Links*: set it to *Ask every time* * tap *Clear Defaults* Tested on Android 6.0.1 and Android 7.1.2. In Android 8 (Oreo®) you can also reach that setting via: * Settings → Apps & Notifications → (Advanced) → Default Apps → Opening links You can alternatively stop using Chrome since Firefox, for example, does not let you choose an app to open such links (if I'm correct). Upvotes: 3 [selected_answer]
2017/08/25
580
2,047
<issue_start>username_0: This looks like a general concern of rookie Android system players who have just rooted their phones. The most prevalent method may be throwing your script into `/system/etc/init.d`. If the ROM supports `init.d` then Voila but that's not always the case. So How can I run my custom script at each startup? What's the user/group my script will be running as if I use your solution? --- We welcome all kinds of solutions.<issue_comment>username_1: From [my answer](/a/173970/205764) on another question, I have two methods here. ### 1. Add `init.d` support manually by editing `init.rc` I haven't done this ever personally but I can tell that * You need to unpack and repack your boot image. This may not be very hard if you can learn from the SuperSU zip package. ### 2. Replace a system service (in this case, the script will always be run as root) Replace a system service (`debuggerd` is the best choice) binary with your custom shell script. Then run `start debuggerd` to activate it (effective from next boot). If there's a `debuggerd64`, be sure to replace it with a null script. Upvotes: 1 <issue_comment>username_2: I think that most easy way would be by using app [Kernel Adiutor](https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor). It has ability to emulate init.d Open app and swipe from left edge, it will reveal menu, scroll to tools section and than tap on init.d There you have a switch to enable or disable init.d emulator, for devices that doesn't support init.d, in bottom right you have a "plus" icon to add scripts to run. Upvotes: 2 <issue_comment>username_3: Simple way (working): 1. Prepare your post boot commands in a script, say /system/xbin/post-boot (set exec perm) 2. Add the above custom script path at the end of /system/etc/init.qcom.post\_boot.sh Eg: ``` # echo /system/xbin/post-boot >> /system/etc/init.qcom.post_boot.sh ``` Done! (If you can't find the qcom post\_boot (Qualcomm devices), look for any post\_boot scripts) Upvotes: 2 [selected_answer]
2017/08/26
552
1,908
<issue_start>username_0: This little treat appeared on my lock screen this morning. It seems to be intermittent, only replacing the real lock screen about one in three times. Has anyone else seen it? [![enter image description here](https://i.stack.imgur.com/5kcgL.png)](https://i.stack.imgur.com/5kcgL.png)<issue_comment>username_1: From [my answer](/a/173970/205764) on another question, I have two methods here. ### 1. Add `init.d` support manually by editing `init.rc` I haven't done this ever personally but I can tell that * You need to unpack and repack your boot image. This may not be very hard if you can learn from the SuperSU zip package. ### 2. Replace a system service (in this case, the script will always be run as root) Replace a system service (`debuggerd` is the best choice) binary with your custom shell script. Then run `start debuggerd` to activate it (effective from next boot). If there's a `debuggerd64`, be sure to replace it with a null script. Upvotes: 1 <issue_comment>username_2: I think that most easy way would be by using app [Kernel Adiutor](https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor). It has ability to emulate init.d Open app and swipe from left edge, it will reveal menu, scroll to tools section and than tap on init.d There you have a switch to enable or disable init.d emulator, for devices that doesn't support init.d, in bottom right you have a "plus" icon to add scripts to run. Upvotes: 2 <issue_comment>username_3: Simple way (working): 1. Prepare your post boot commands in a script, say /system/xbin/post-boot (set exec perm) 2. Add the above custom script path at the end of /system/etc/init.qcom.post\_boot.sh Eg: ``` # echo /system/xbin/post-boot >> /system/etc/init.qcom.post_boot.sh ``` Done! (If you can't find the qcom post\_boot (Qualcomm devices), look for any post\_boot scripts) Upvotes: 2 [selected_answer]
2017/08/26
416
1,750
<issue_start>username_0: I can understand the request for the App to access to the Mic for sending the voice in a phone call. But why is it necessary to say "record"? Recording is a separate function and the caller's choice. It is scary to think that Whatsapp is recording and storing your calls somewhere.<issue_comment>username_1: I think record comes with Mic permissions, the calls are not recorded, at least not by Whatsapp. The record permission is for sending voice messages. Also Whatsapp voice calls like its text message service is end to end encrypted. That means that only your phone and the recipient's phone can decrypt the information being passed. Upvotes: 1 <issue_comment>username_2: > > why is it necessary to say "record"? Recording is a separate function > > > Not as far as the permission system is concerned. Once an app can receive the audio from the microphone, it can transmit it, record it, or do whatever it likes with it. There's no way to give an app access to the microphone without it being able to record and store the audio. By giving the app permission, you have to trust the app to only use the audio data in the way you're expecting. Upvotes: 1 <issue_comment>username_3: You can give a particular permission if you would like to let WhatsApp use your phone microphone (for example: for Audio recording, WhatsApp calls). If you don’t want to use these features, you can simply deny mic permission and keep using the WhatsApp text chat feature. Whatsapp asks for record permission to use the microphone and record audio. Yes, WhatsApp records audio from your mic and stores them into ``` /Whatsapp/Media/WhatsApp Audio/Sent ``` then later your recorded audio is being sent to another person. Upvotes: 0
2017/08/26
225
887
<issue_start>username_0: Android 7 phone once paired with earphones or car headset disconnects and reconnect, causing annoying drops in music play<issue_comment>username_1: 1. Go to **Location settings**, put *mode* in **Battery saving** mode. This helps with battery drain. Then press the *3-dots* -> select **Scanning** -> disable **Bluetooth scanning** and also disable **WiFi scanning**. 2. Go to **Battery** -> click *3-dots* -> **Optimization**. Select **All apps**, then don't optimize **BT tool**. Upvotes: 2 <issue_comment>username_2: My HUAWEI 3a drops off the car phone system. I had replaced the car system to overcome this issue previously but it still did it. Eventually found that when the phone went to sleep (in my case 2 min) it shut the bluetooth down and any calls ceased. I reset the phone to 30 min which is the longest it goes to and now no problems. Upvotes: 0
2017/08/26
337
1,313
<issue_start>username_0: When I connect my phone to my PC via USB. It automatically enters charge mode. If I want to transfer files (which is almost always what I want to do when connecting my phone to my PC), I have to select charge & data mode --> transfer files. Always doing this when connecting my phone to my PC is slightly laborious, and I was just wondering is there a way to connect my phone to my PC & cause to autmatically default to charge & data mode? I used to have a Moto G Gen 1 (Kitkat), which did this by default, why can't this be the case on Nougat.<issue_comment>username_1: 1. Go to **Location settings**, put *mode* in **Battery saving** mode. This helps with battery drain. Then press the *3-dots* -> select **Scanning** -> disable **Bluetooth scanning** and also disable **WiFi scanning**. 2. Go to **Battery** -> click *3-dots* -> **Optimization**. Select **All apps**, then don't optimize **BT tool**. Upvotes: 2 <issue_comment>username_2: My HUAWEI 3a drops off the car phone system. I had replaced the car system to overcome this issue previously but it still did it. Eventually found that when the phone went to sleep (in my case 2 min) it shut the bluetooth down and any calls ceased. I reset the phone to 30 min which is the longest it goes to and now no problems. Upvotes: 0
2017/08/27
917
3,238
<issue_start>username_0: **How can I change the device name of an unrooted Android 7.0-based [Gigaset GS170 smartphone](http://www.gigaset.com/gigaset-gs170/) so it appears with a meaningful/readable name e.g. in a router's list of connected wifi devices?** Various resources (e.g. [this](http://www.droidviews.com/how-change-phone-name-in-wifi-and-bluetooth-connection-on-samsung-galaxy-devices/) or [this](https://recomhub.com/blog/android-7-0-nougat-how-to-change-device-name-on-galaxy-s6-and-galaxy-s6-edge/)) suggest I should find a line saying *Device Name* in the *About Phone* section of the phone settings. However, I can see no such line there (images before and after scrolling down): ![About Phone screenshot](https://i.stack.imgur.com/FPG8n.png) ![About Phone screenshot after scrolling down](https://i.stack.imgur.com/TajEg.png) As the device is set to German, here are the translations of the items in their order of appearance: * System Updates * Status (Phone number, signal, etc.) * Legal notes * Model type number * Android version * State of security updates * Baseband version * Kernel version * Build number * Adapt creation version **Is there somewhere else I could look for that option, or is it something only supported by specific devices?** There are a few questions about this on this site (e.g. [this](https://android.stackexchange.com/questions/37/how-do-i-change-the-name-of-my-android-device) and [this](https://android.stackexchange.com/questions/66196/change-phone-name-on-nexus-4)), but those were posted several years ago, when early versions of Android with some "childhood diseases" (read: lack of basic features) were still the state of the art.<issue_comment>username_1: On my Android 7 phone (Zenfone 3) I was able to change the bluetooth name as follows: 1. Open "Settings" 2. Open "Bluetooth" 3. Select the action bar (the three dots in a vertical line in the top right of the display) 4. Select "Rename this device" 5. Enter the desired device name for bluetooth purposes 6. Select "Rename" I was able to change the Wi-Fi name using a similar procedure: 1. Open "Settings" 2. Open "Wi-Fi" 3. Select the action bar (the three dots in a vertical line in the top right of the display) 4. Select "Rename this device" 5. Enter the desired device name for Wi-FI purposes 6. Select "Rename" Upvotes: 1 <issue_comment>username_2: AFAIK it's possible that a phone manufacturer hide that option from UI on their products, and I guess your phone it's one of them. My phone OnePlus 5, however, does allow changing it from Settings app. So, if root access is available, try this in a rooted terminal environment: ``` setprop net.hostname "Whatever You Like" ``` Mount `/system` partition as R/W, head for `/system/build.prop`. Find this line and if it exists, change it (this line may not be present on Android 5 or lower): ``` ro.display.series=Same As Above ``` Reboot is required. After that the new name should have effect. Before modifying `build.prop` consider making a backup of it (and have a means of restore, e.g. via [recovery-mode](/questions/tagged/recovery-mode "show questions tagged 'recovery-mode'")): if the file is "broken", your device won't boot up properly. Upvotes: 2
2017/08/27
1,096
3,525
<issue_start>username_0: I don't like the default C compiler `clang` provided by Termux. Is there a way I can get GNU GCC in my Termux environment?<issue_comment>username_1: This is a very interesting solution. First download [GCC for C4droid](https://play.google.com/store/apps/details?id=com.n0n3m4.gcc4droid) from Google Play. Go find its apk under `/data/app/com.n0n3m4.gcc4droid-#`, take the APK and extract `/assets/gcc.zip`. Now extract `gcc.zip` to ``` /data/data/com.termux/files/usr/libexec ``` Apply `chmod -R 644` to the whole folder and `chmod -R 755` to `ARCH/bin`, `bin` and `libexec`. Link gcc programs to `$PREFIX/bin` and you'll be able to use GCC instead of Clang. Remember to add `-pie` when compiling executables. Upvotes: 2 <issue_comment>username_2: Another way to get gcc would be to add the community repo hosted by its-pointless at <https://github.com/its-pointless/its-pointless.github.io>. Sources are (more or less) available at <https://github.com/its-pointless/gcc_termux>. Other popular packages available includes numpy and scipy. More information about this and other community repositories can be found in the [termux wiki](https://wiki.termux.com/wiki/Package_Management#username_2_Repositories). To add this particular repository to your termux environment, run: ``` # Get some needed tools. coreutils for mkdir command, gnugp for the signing key, and apt-transport-https to actually connect to the repo apt-get update apt-get --assume-yes upgrade apt-get --assume-yes install coreutils gnupg2 apt-transport-https wget # Make the sources.list.d directory mkdir $PREFIX/etc/apt/sources.list.d # Write the needed source file - Added Missing "> character on line below echo "deb [trusted=yes] https://its-pointless.github.io/files/ termux extras" > $PREFIX/etc/apt/sources.list.d/pointless.list # Download signing key from https://its-pointless.github.io/pointless.gpg wget https://its-pointless.github.io/pointless.gpg apt-key add pointless.gpg # Update apt apt update ``` (instructions taken from <https://github.com/its-pointless/its-pointless.github.io/blob/master/setup-pointless-repo.sh>) Upvotes: 4 [selected_answer]<issue_comment>username_3: Install Arch Linux in Termux PRoot to get a full Linux development environment. See <https://sdrausty.github.io/TermuxArch/docs/install> for installation instructions. Use `pacman -S base base-devel` to install the developer's environment which includes GCC. ![Arch Linux in Termux PRoot](https://i.stack.imgur.com/6wSmE.png) Upvotes: 1 <issue_comment>username_4: I created termux repo with gcc 10.2.0, there how to install <https://cctools.info/index.php/Termux_repository_with_cctools_packages_(gcc_with_fortran_support_etc)> Add cctools packages public key: ``` wget -O - https://cctools.info/public.key | apt-key add - ``` Create a new repository list: ``` echo "deb https://cctools.info termux cctools" > $PREFIX/etc/apt/sources.list.d/cctools.list ``` Update packages lists: ``` apt update ``` Install the package gcc-cctools(it will install binutils-cctools automatically): ``` apt install gcc-cctools ``` Install the NDK package for your android architecture, use the latest one, for example for aarch64: ``` apt install ndk-sysroot-cctools-api-26-aarch64 ``` To show all ndk sysroots for aarch64: ``` apt search ndk-sysroot-cctools | grep aarch64 ``` Add directory with new compilers to PATH: ``` export PATH=$PREFIX/../cctools-toolchain/bin:$PATH ``` Check it: ``` gcc -v ``` Upvotes: 1
2017/08/27
1,187
4,145
<issue_start>username_0: I have a Samsung Galaxy J7 Max running Android Nougat from Samsung. It seems that it does not support screen mirroring but supports Wifi Direct. I want to know that those phone that do support screen mirroring like the Samsung Galaxy A3, do they have special hardware in them, or is it just enabled in that build of the kernel ? In short, for screen mirroring do you need extra hardware or just need to enable it in the kernel/OS ?<issue_comment>username_1: It's a software feature that is only available for some devices. You can still use Quick Connect to cast your screen to TV. For more check out this link <http://www.samsung.com/uk/support/skp/faq/1108504> Upvotes: 0 <issue_comment>username_2: Both. Just a brief description of how it works: At the core of this technology is the Wi-Fi Direct™ standard, which allows for point-to-point connections between devices without the use of a router. From there, Miracast adds a vendor-neutral wrapper that originally supported the streaming of up to 1080p video and 5.1 surround sound. It uses this variation of this technology to allow the output of audio and video. > > For the device whose screen you want to mirror, support for Miracast > requires three things: **wireless chipset support**, **operating > system support**, and **driver support**. If your device doesn’t meet > all three of these requirements then you’ll have to buy a Miracast > adapter and upgrade your operating system. > > > Users can wirelessly mirror the display of their Miracast-certified® phone, tablet, or PC to any Miracast-capable receiver Android supported Miracast, in Android 4.2 (Jellybean) and Android 5 (Lollipop). > > On 29 October 2012, Google announced that Android version 4.2+ (from > updated version of Jelly Bean) are supporting the Miracast wireless > display standard, and by default have it integrated. > > > However, Google **dropped** native Miracast support in Android 6 (Marshmallow) and later, so to mirror the display from a newer Android phone or tablet, you’ll need to do so via Chromecast. In the case that it is disabled but compatible for a particular Android device, you could edit the `build.prop` file in the following line: `persist.debug.wfd.enable=1` Using a root explorer navigate to your `build.prop` file located at `/system/build.prop` Check if the option is visible in Settings > Display > Cast Screen > Menu > Enable Wireless Display. > > Devices that are Miracast-certified® can communicate with each other, > regardless of manufacturer.Both devices (the sender and the receiver) > need to be **Miracast certified®** for the technology to work. > However, to stream music and movies to a non-certified device Miracast > adapters are available that plug into HDMI or USB ports. > > > The [Wi-Fi Alliance](http://www.wi-fi.org/product-finder-results?certifications=46&items=30) has an official list of all Miracast source devices. There is some evidence however suggesting one can use software based screen mirroring. Acknowledgements * [How to use Miracast to mirror your device's screen wirelessly on your TV—even 4K](http://www.pcworld.com/article/2907520/streaming-media/how-to-use-miracast-to-mirror-your-devices-screen-wirelessly-on-your-tv.html) * [5.0+ Lollipop - Enable wireless display with Miracast devices](https://forum.xda-developers.com/nexus-6/general/5-0-lollipop-enable-wireless-display-t2989544) * [What Is Miracast? Everything You Need to Know](https://www.tomsguide.com/us/what-is-miracast,review-2284.html) * [Miracast](https://en.m.wikipedia.org/wiki/Miracast) Upvotes: 3 <issue_comment>username_3: SOLVED - well for me and I reckon this is a solution for everyone and dead simple. Just instal the APP = **Web Video Cast** from the PlayStore. It seems to project pretty much **everything** to pretty much ANY "smart" ( aka DLNA) device, including MIRACAST, FireStick, ETC ETC ETC...... (even ChromeCast - YUK) So many millions of folk have their backs against the wall on this, so PLEASE, if it works for you (and I bet it will) PLEASE share it around the other forums. Upvotes: 0
2017/08/27
854
3,312
<issue_start>username_0: I am having a hard time with my phone. My device, which is a simple LG Magna has had a constant decrease in FREE space. That means that something is constantly taking up more and more place in my internal memory. Of course, I did try to clear cache, clear all the useless videos, useless apps, I removed the Facebook app because I know it uses a lot of space, but the used space in the internal memory keeps on increasing. My 8Gb internal memory is already used up by 7.97Gb. And I deleted so much already on my phone.. Okay! I thought about the possibility of having a virus in my android. So, I did factory reset my SD card and Internal memory. This means, starting every from back to square one. I managed to not download anything from the internet, use only the useful apps from the store like Whatsapp, Facebook Messenger, my usual music player which is BlackPlayer(Great app btw, try it, it's simply the best). Now, 2 weeks after the factory reset, I am surprised and also very annoyed to see that the device's internal memory is increasing again. Today, it is back to 7.97Gb. I have only photos and merely some music on my phone. Basically, I have absolutely NO free space on my phone and I can't never delete enough to free space. Can someone please help me resolve this problem? I would be forever grateful! Thanks in advance.<issue_comment>username_1: Try a disk analyzer app. For example: [Disk Usage](https://play.google.com/store/apps/details?id=com.google.android.diskusage&hl=en) [SD Maid](https://play.google.com/store/apps/details?id=eu.thedarken.sdm&hl=en) Maybe you'll see where space is being eaten up. Upvotes: 1 <issue_comment>username_2: Do you have a lot of pictures? In my case i had such issues because the thumbnails are created on internal memory. So i had thumbnails-files (.thumbdata3-[10 digits]) which took some GB of internal space - even though the pictures were on the sd-card. Upvotes: -1 <issue_comment>username_3: Thank you all for your time :) In fact, I explored my internal memory and was surprised to see that it was WhatsApp taking up all this increasing amount of space. The app keeps a huge backup of ALL media. And I mean it, ALL of the media! Since the dawn of time! Even though you delete it in your gallery wherever it is located, the backups are not deleted. So, for those who want to know this is the path: (I use an LG so I use File Manager) File Manager > All Files > Internal Storage > Whatsapp > Media; This Media file is where Whatsapp stores all the backups! According to me, you can safely delete this Media file without causing any inconveniences. I deleted it and now I have 7.30Gb used out of 8Gb. Upvotes: 0 <issue_comment>username_4: Seeing the reference to WhatsApp... I installed All-in-One Toolbox today for another problem (<https://play.google.com/store/apps/details?id=imoblife.toolbox.full&hl=en>). I happened to notice it has a cleaner just for WhatsApp. Upvotes: 2 <issue_comment>username_5: WhatsApp automatically downloads media, so as in other answers, that is probably your issue. Most android phones also allow you to insert a MicroSD card to further expand storage space - either for just media (compatible with other devices) or as internal storage (incompatible with other devices). Upvotes: 1
2017/08/28
1,019
3,837
<issue_start>username_0: I would like to uninstall the default camera app and instead use the FOSS [Open Camera](https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=en). And I would also like to access the camera from the lockscreen. How can I do this in Android 6?<issue_comment>username_1: * Default camera is a system app, which requires root to uninstall default camera app. You can use Titanium Backup like app to remove system app (N.B: Removing system app will be harmful to your device). * Settings->Security, under device security, tap on settings icon near screen lock. Select Lock screen shortcuts. Tap on any left or right default icons, prompts to choose action: tap on select application. Tap on Apps on top, and select your required camera app(These setting is on Lineage 14.1 android nougat) Upvotes: 2 <issue_comment>username_2: While uninstalling the pre-installed camera app can be difficult as others have mentioned, it should be relatively easy to change your default camera app to Open Camera (or whatever camera app you prefer). I prefer Open Camera as well, so I also wanted the same thing. To make Open Camera the default (or any camera app other than the pre-installed version), follow these steps: 1. Download camera app of choice (in your case, Open Camera) 2. Wait until it installs. 3. Turn off screen with power button (don't turn off phone, just screen), turn screen back on but stay on lockscreen (don't unlock phone). 4. Select camera from lock screen (Image 1 below). 5. Unlock phone if it requests for you to do so. 6. A pop-up should appear. Choose your desired camera app in the list. * IF you have the ability in this menu, select "Always." (Image 2) * IF you do not have the ability to select "Always" for the preferred camera app, still select desired app, let app open, go back to lockscreen. Repeat process, the second time you can choose "Always" for your preferred camera app. (Images 3 and 4) 7. Your phone should launch your preferred app now by default. Caveats: sometimes when either camera app updates, you have to do the process again. Usually it doesn't happen too often, only when big changes occur to the apps. Hope that helps! --- [![Image 1](https://i.stack.imgur.com/k1KD7.png)](https://i.stack.imgur.com/k1KD7.png) [![Image 2](https://i.stack.imgur.com/R8dgn.png)](https://i.stack.imgur.com/R8dgn.png) --- [![Image 3](https://i.stack.imgur.com/kafg0.png)](https://i.stack.imgur.com/kafg0.png) [![Image 4](https://i.stack.imgur.com/iBxWV.png)](https://i.stack.imgur.com/iBxWV.png) Upvotes: 2 <issue_comment>username_3: Android keeps changing how you can remove an app that's been set as the default for an action. Currently my phone is using Android 11; here, you need to go to: 1. Preferences 2. Apps and notifications 3. See all apps 4. Camera 5. Advanced 6. Open by default 7. Clear defaults There are also some apps that will show you the default app for all the various categories and skip you to this spot in preferences directly, which I find more convenient so I don't have to remember this long navigation tree. Once you've done this, you can open the camera app via your normal shortcut (eg pressing power button twice on my phone) and you'll get the dialog that asks which app you'd like to use for that action in the future. Upvotes: 0 <issue_comment>username_4: If you would like to do this without rooting your device, then I may have an answer (that has worked for me) on Android 12. So, you cannot uninstall the default camera app, but what you *can* do is disable it. And really, that's all you have to do in order to use another camera app as the default one (and I would guess that it works only if you don't have other camera apps.) This has worked for me when using ProShot on Motorola Moto G stylus 5g (2022). Upvotes: 0
2017/08/28
287
1,186
<issue_start>username_0: Does restricting background data also stop my phone from receiving notifications from restricted apps? For example: I go to Settings > Data usage > Cellular data usage > Facebook, then I turn off 'Background data'. Will I still receive notifications from Facebook? Note\* I am on Android: 7.1.2 and Device: Pixel<issue_comment>username_1: If you're still connected to WIFI you should still receive those notifications. It sounds like you're just turning off the mobile data(as stated on my Galaxy S5), but not the WIFI data. If you're not connected to WIFI you shouldn't receive notifications because it takes data to check for updates with the Facebook app. Upvotes: 2 <issue_comment>username_2: It depends on the app - the messaging service used. For Facebook, yes, you will recieve notifications since it uses GCM (Google Cloud Messaging). So will other apps using GCM. GCM is a part of Google Play Services, which is not affected by restricting data Other apps which don't use GCM will not show notifications. [Here's a list of apps](https://www.jucktion.com/tech/google-cloud-messaging-gcm-enabled-apps-list/) using GCM Upvotes: 2 [selected_answer]
2017/08/28
1,053
3,609
<issue_start>username_0: On my old phone I used to turn on mobile data when I wanted to check emails... but I would often forget to turn it off afterwards. To fix this problem I installed [Macrodroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid&hl=en_GB) and programmed it to turn off mobile data every time the screen turned off. This was my perfect solution and was very happy with it for years. Now I have a newer phone (Android 5.0.1) and was very sad to see that with this version of android it appears that Macrodroid can no longer turn off mobile data. This now means that when I occasionally forget to turn it off manually I can use up a ton of data. Now you might say "no worries, just set a mobile data limit" - but this does not solve the problem at all - it may mean that I won't go over my limit but that's of little comfort when it means that I have used up all my data and can not use it again till the next billing period. Is there any other way to manage my forgetfulness? By the way I know that macrodroid can control mobile data if the phone is rooted - but my banking app, which I use regularly, detects a rooted phone and refuses to run.<issue_comment>username_1: It is possible to toggle mobile data **without root**, using Tasker and [AutoInput plugin](https://play.google.com/store/apps/details?id=com.joaomgcd.autoinput&hl=en). **Important**: This feature requires screen to be on. (Some users report that it only works if screen lock security is set to none or swipe.) You need to perform two tasks as follows: * A1: Go to new action >> Plugin >> AutoInput >> Unlock screen * A2: Net >> Mobile data >> [Set Off or toggle (whatever you wish)] * Exit to save Task **Note**: AutoInput also emulates user swipes on the screen, which means that you can pull down the notification menu and then toggle whatever you want, including mobile data. Create a condition/profile that suits your needs. *Tested on Android 4* Acknowledgements: [New to Tasker: toggle Mobile Data + GPS on non-rooted device](https://forum.xda-developers.com/u/tasker-tips-tricks/to-tasker-toggle-mobile-data-gps-rooted-t3423495) Upvotes: 2 <issue_comment>username_1: Here are the relevant extracts to automate data on/off using AutoInput: > > Here's the exported descriptions for enabling & disabling mobile data. > > > **Turn On Data** > > > A1: Popup [ Title: Text:Turning on data Background Image: Layout:Popup > Timeout (Seconds):1 Show Over Keyguard:On ] > > > A2: AutoInput Global Action [ Configuration:Action: Quick Settings > Timeout (Seconds):20 ] > > > A3: AutoInput Action [ Configuration:Type: Text Value: Mobile data > Action : Click Is Tasker Action: false Check Screen State: false > Timeout (Seconds):20 ] > > > A4: AutoInput Global Action [ Configuration:Action: Back Timeout > (Seconds):20 ] > > > **Turn Off Data** > > > A1: Popup [ Title: Text:Turning off data Background Image: > Layout:Popup Timeout (Seconds):1 Show Over Keyguard:On ] > > > A2: AutoInput Global Action [ Configuration:Action: Quick Settings > Timeout (Seconds):20 ] > > > A3: AutoInput Action [ Configuration:Type: Text Value: Mobile data > Action : Click Is Tasker Action: false Check Screen State: false > Timeout (Seconds):20 ] > > > A4: AutoInput Action [ Configuration:Type: Text Value: TURN OFF Action > : Click Is Tasker Action: false Check Screen State: false Timeout > (Seconds):20 ] > > > Source: [Disable Mobile Data Pop-Up (Android 6.0.1)](https://www.reddit.com/r/tasker/comments/4ykk9o/disable_mobile_data_popup_android_601/) Upvotes: 2
2017/08/29
427
1,723
<issue_start>username_0: Xposed framework (ver 85) on my device Moto X Play has options greyed out as shown - only *soft reboot* and *reboot* are not greyed out [![enter image description here](https://i.stack.imgur.com/WPPqhm.png)](https://i.stack.imgur.com/WPPqhm.png) This happened over last three days when I was trying out some modules , so can't pinpoint which caused it 1. Xposed framework and modules are working fine 2. Restoring Framework from earlier TiBu backup which didn't have this problem did not help - it remains greyed out 3. Clearing cache and data of installer also didn't help I've come across cases on Internet where this is associated with framework not working properly or wrong framework installed, which clearly isn't the case here ( it was installed many months ago ) So my question is, **should I be concerned about it ?** My feeling is that it's not causing any problems (Point 1) , so it's pointless going through uninstalling and installing it. But just to be sure, wanted a second opinion on this, maybe with reasons why this happened<issue_comment>username_1: When Xposed Installer (`de.robv.android.xposed.installer`) can't connect to its server, the install buttons will grey out. Check your internet connection. Upvotes: 0 <issue_comment>username_2: I used Xposed some time ago and as far I can remember those buttons are grayed out because on marshmallow (possibly lollipop) you must flash framework files via .zip file. Maybe I'm wrong and forgot something. Are you sure it happened recently, that it wasn't there all the time? However I don't think you should be concerned because Xposed and it's modules work fine (right?). It says "Xposed framework 85 is active" Upvotes: 1
2017/08/29
722
2,883
<issue_start>username_0: I am trying to get to the point where I can put in the Bootloader code that I have. But fastboot keeps waiting for the device in CMD and it never shows up, no matter how many times I do volume up or down and USB plugged in. Debug active, in Mass storage, Sony ADB shows up in drivers with no errors. Any help would be appreciated.<issue_comment>username_1: First, make sure you are in fastboot mode. The easy way would be connecting your phone to your PC via a USB cable with USB debugging enabled. Then, simply open CMD from the directory where you installed ADB (or just open CMD if it's installed globally). Then make sure ADB detected the phone via `adb devices`. If your device shows up, just type `adb reboot bootloader` and the phone will reboot to fastboot mode. After that, open CMD and use `fastboot devices`. If you get your device, you can proceed with unlock process, but if it doesn't return anything or sits on "waiting for device", then the first thing you should do is to try to plug USB into another USB port (for some reason fastboot is a massive pain in the ass when you try to use it on USB 3.0 port, so if you have USB 2.0 port try to plug USB into it, this is trouble only on Windows). If you don't have USB 2.0 port, then you should consider using Linux live USB to unlock the bootloader. However, if you plug the phone into USB 2.0 port and still is not detected, then you should try some other USB drivers, from the manufacturer's site or universal ADB drivers. [Here](https://developer.android.com/studio/run/oem-usb.html#Drivers) is the link for various phones, so check it out. Once, I managed to solve this by manually changing drivers (it's possible on Windows 7 and probably later, I can't tell the exact process since I don't have a PC currently). I chose something like "LG USB fastboot" because my phone is LG. Upvotes: 2 <issue_comment>username_2: I also get that "waiting for devices" on Windows 10. I try to get to fastboot manually by pressing up + volume. After I get fastboot mode, I connect with a USB cable. Then when I check the device manager, I see a yellow exclamation sign. I search for the correct driver (Google USB driver is not enough to fix this), update the driver, and ADB finally sees my devices in fastboot mode. Upvotes: 0 <issue_comment>username_3: Had the same problem with Xperia XZ3. Tried everything... lost hope.. then switched to USB 2.0 -> device manager saw the phone as an Android device (WHILE PHONE OFF, which was the main issue as it turns out) -> installed manually Google USB driver from [here](https://developer.android.com/studio/run/win-usb) -> rebooted laptop and phone and then the regular procedure with adb worked (`fastboot devices` list showed my phone while booted in bootloader). Following that, I used the command `fastboot -s oem unlock 0x`. Good luck! Upvotes: 0
2017/08/29
512
2,130
<issue_start>username_0: I have a OnePlus 3T Oxygen 4.1.7. I can no longer download/update apps on the Play Store without WiFi, I used to be able to until I accidentally checked to always download over WiFi only. Here are the things I tried to fix it. * I've already changed: Play Store > Settings > Auto-update apps to Auto-update apps at any time. Data charges may apply. * I've also changed Settings > Google > Data Management > Update Drive-enabled app files - Over wifi or cellular. * I've uninstalled the Play Store and then reinstalled it as well. * I've restarted multiple times after each of the above steps. So far nothing works.<issue_comment>username_1: Clear Data these apps: * Google Play Store * Google Play Services * Settings One of these apps may contain the data that prevents your device to have additional charges. But I'm not really sure if this will work. The very best solution I know is to factory reset your device to clear all the settings you entered therein. Upvotes: 1 <issue_comment>username_2: If you are trying to update or download any app and selected the setting auto-update over WiFi, then you need to go to the My apps and Update buttons where you will see many apps are queued for the update. You need to cancel the downloading by clicking on the cross sign, after that you will see an update button next to the app. Now, your app is ready for update without any WiFi. Upvotes: 1 <issue_comment>username_3: I had the same problem where I was unable to download any system updates or apps, apps from Google Play Store without WiFi. Even the apps from MI app could not be downloaded. I found out that I had restricted data usage on the Downloads app from both the SIM cards. Go to Settings> Apps> manage apps> Downloads> Restrict data usage. Check both data services. Upvotes: 2 <issue_comment>username_4: Recently, the location of this setting changed. Open Google Play. * Tap on your profile picture (on the upper right hand corner). * Tap on **Settings** > **Network preferences** > **App download preference** * Then, select **Over any network** and then tap **Done**. Upvotes: 0
2017/08/30
405
1,563
<issue_start>username_0: I've updated my Google Pixel to Oreo. Now the statusbar and quick settings area have a light theme. Is it possible to change that back to the dark theme, like on previous versions of Android? The white background is way too bright... I didn't find any option in the settings. [![quicksettings](https://i.stack.imgur.com/q14jk.png)](https://i.stack.imgur.com/q14jk.png)<issue_comment>username_1: Sony helped Google in implementing native support of RRO layers in Android O. This was previously used in many Xperia phones for a better system-wide theme support. In android custom rom and root community, [Project Substratum](https://substratum.review) is used for same. It also uses RRO layers thus provides better and more consistent theme than previous option CynogenMod Theme Engine (CMTE). Till Oreo RRO layer patches and root were necessary for Substratum to work but as Oreo has native RRO layer support so it can be achieved in stock rom.For detailed method see [this](https://www.xda-developers.com/custom-themes-android-oreo-substratum/) and [this](https://www.xda-developers.com/install-dark-theme-android-oreo-without-root/) xda article. @<NAME> has also mentioned the method in his comment. P.S. For unrooted devices, this is a paid process. Upvotes: 2 <issue_comment>username_2: Android Oreo 8.1 introduced an automatic theme switch. It adjusts the theme depending on your wallpaper. If you have a sufficiently dark wallpaper the quicksettings area will use a dark theme, otherwise it uses a light theme. Upvotes: 0
2017/08/30
724
2,841
<issue_start>username_0: It seems that after a factory-reset, whenever a new Google account is enabled on a device and potentially after some software updates sync will be enabled again even if it was turned off in the Android settings before any personal data was loaded onto the device. How can this be prevented?<issue_comment>username_1: Some things I thought about were: * Going into offline mode before doing any of the above: but enabling Internet could be done by default after these. * Installing the [NetGuard firewall](https://play.google.com/store/apps/details?id=eu.faircode.netguard) and configure it to start automatically: but the app could be disabled or take too long to start up. And it doesn't help with factory-resets. * Going into a remote area where there's no mobile Internet: impractical. * Somehow encasing or modifying the phone to be able to prevent it from Internet access and going into Offline-mode afterwards: likely impractical. But I guess the best solution is the following: * Removing the SIM card before doing any of these and turning off one's WLAN router (or going to a place without WLAN access) before doing any of these: somewhat impractical but probably the best solution. + It might not be possible to remove the SIM card during any of these as one would need to remove the battery or SD card during phone operation. I think one should also remove encrypted SD cards during any of these. After doing this one needs to go into offline mode, disable "synchronization" settings (including in all apps such as messengers) and install the apparently only non-root open source firewall for Android: NetGuard. Upvotes: 1 <issue_comment>username_2: The approach(es) I'm using: * don't use a Google account at all (if really needed, Playstore can be accessed via e.g. [YalpStore](https://f-droid.org/packages/com.github.yeriomin.yalpstore/ "YalpStore at F-Droid") – and instead of GMS I use microG anyway). As that's not practicable for some folks: * before adding the Google account, make sure you've prepared a different "account storage", made it the default and have all your data (contacts, calendars) in there. Examples for that: + [DAVDroid](https://f-droid.org/packages/at.bitfire.davdroid/ "DAVDroid at F-Droid") with some self-hosted server (e.g. ownCloud, Nextcloud, Baïkal …) + "Device storage". Either your device/ROM supports that out-of-the-box, or you've got to use some helpers like [Offline Calendar](https://f-droid.org/repository/browse/?fdid=org.sufficientlysecure.localcalendar "Offline Calendar at F-Droid") for calendars or [MyLocalAccount](https://play.google.com/store/apps/details?id=com.fjsoft.mylocalaccount "MyLocalAccount at Google Play") for contacts. I've personally made very good experiences with *DAVDroid*. Google Sync never touched its data. Upvotes: 2
2017/08/30
1,707
5,933
<issue_start>username_0: I'm using the only open source firewall for Android: [NetGuard](https://play.google.com/store/apps/details?id=eu.faircode.netguard) and would like to use a VPN in addition. Is this possible? If so: *how*? Both types of apps typically use virtual VPN tunnels. NetGuard has network settings too. [Many adblockers use such as well which is why I'm only using a Firefox AddOn.](https://android.stackexchange.com/questions/86481/how-to-use-adblock-and-a-vpn)<issue_comment>username_1: Quoting the [NetGuard FAQ](https://github.com/M66B/NetGuard/blob/master/FAQ.md) on that topic (emphasis added): > > **(2) Can I use another VPN application while using NetGuard?** > > > If the VPN application is using the [VPN service](http://developer.android.com/reference/android/net/VpnService.html), then no, because NetGuard needs to use this service. Android allows only one application at a time to use this service. > > > NetGuard is a firewall application, so there is no intention to add VPN support. However, NetGuard supports a [SOCKS5 proxy](https://en.wikipedia.org/wiki/SOCKS) to chain VPN applications. **You can find one possible community contributed solution [here](https://itsignacioportal.github.io/netguard-pdnsf-any-vpn-combo/).** > > > So the answer is: Yes you can! Upvotes: 2 <issue_comment>username_2: If you have no-root like me, the only way to tunnel traffic with NetGuard for me was using it with Orbot. You can also route your DNS traffic through the Tor network. I also would be interested to know other ways to get NetGuard to work with VPN-alike applications. Upvotes: 0 <issue_comment>username_3: One way might be to use two devices, your main device running the firewall (eg.NetGuard) & tethered to another Android device acting as a router which is running the VPN. One downside is many Android devices won't let another device tether to use their WiFi Internet connection, but only allow tethering to access a Mobile Data connection. I don't know if the tethered traffic would get routed via the VPN running on the routing device ? Will need to try it. Upvotes: 0 <issue_comment>username_4: There's many ways to go about this (sorted from easiest to most complicated): * Use [Adhell 3](https://forum.xda-developers.com/t/adhell-3-knox.3908002/), the Samsung KNOX based content-blocker that doesn't require root and also allows you to use a VPN app at the same time. * Use AFWall+ (root required) instead of NetGuard. That way you can use a VPN app "normally". * **Install a VPN app and a SOCKS5 proxy server in [the Android work profile](https://developer.android.com/work/managed-profiles), and then connect to this SOCKS5 proxy from the main profile using NetGuard.** * Use a VPN provider that already offers a SOCKS5 proxy (like [Mullvad](https://mullvad.net/en/help/socks5-proxy/)), and then connect to this SOCKS5 proxy from NetGuard (Not recommended due to Netguard leaking UDP by not routing it through the SOCKS5 proxy. Also SOCKS5 is not encrypted) * Self-host a [VPN-to-SOCKS5 server](https://github.com/Tosainu/docker-fortivpn-socks5) (Not recommended due to Netguard leaking UDP by not routing it through the SOCKS5 proxy. Also SOCKS5 is not encrypted) I've only ever used the highlighted option, so that's what I'll describe here. **Pros**: * It doesn't require root * You don't have to pay for a specific VPN (you can use Proton VPN) * You don't have to run/pay for any servers **Cons**: * NetGuard leaks the UDP packets to the clearnet. An alternative solution is to use RethinkDNS instead of Netguard, or use **only** a browser that has HTTP/2 & HTTP/3 disabled through about:config, or use **only** the Tor Browser (because Tor doesn't use nor support UDP). Any other traffic **will** be leaked. * The work profile has to be enabled constantly for the VPN to stay running, and that uses considerable battery * A work profile uses a about 398.53MB of storage * The VPN service doesn't fully work on *some* Android devices: It's known not to work in some LG devices running Android 9, but it does work in a *Moto e6 Plus* running Android 9 Steps: 1. Install personalDNSfilter 2. Install Island or Shelter (Preferibly Shelter, because it's FOSS and has no trackers) 3. Setup Island/Shelter 4. Setup personalDNSfilter to your liking 5. Install "Every Proxy" in the work profile 6. Install a VPN app (such as Proton VPN) in the work profile 7. Disable battery optimizations for all of the apps you just installed (personalDNSfilter, Every Proxy, Proton VPN, and Island/Shelter) 8. Configure "Every Proxy" to run a SOCKS5 proxy on the 10.1.10.1 interface, and set a username and password (Warning: do not make the password 126 characters long, that causes a crash. I recommend making the password 40 characters long.) 9. Make sure NetGuard is running 10. Start the SOCKS5 proxy in "Every Proxy" 11. Set personalDNSfilter in Netguard as "unmanaged" (untick the "apply rules and conditions" box) 12. In Netguard set the DNS servers to any WAN servers (for example: 94.140.14.14, and 172.16.17.32) (nothing will be sent to these servers) 13. Create TCP and UDP forwarding rules for 127.0.0.1:53 -> 127.0.0.1:5300 to personalDNSfilter in NetGuard. *Note that this isn't possible if you downloaded NetGuard from the google playstore. You must download netguard from either Github or from F-Droid* 14. Configure Netguard to use a SOCKS5 proxy server (10.1.10.1:1088, and input the same username and password as you did in "Every Proxy") Done! Here's a flow chart of how/why this works: [![enter image description here](https://i.stack.imgur.com/YySVq.png)](https://i.stack.imgur.com/YySVq.png) I made a **much** more detailed guide on my blog. It's linked below: > > How to use NetGuard + personalDNSFilter+ Any VPN, without root, without external self-hosted servers. > > > <https://itsignacioportal.github.io/netguard-pdnsf-any-vpn-combo/> Upvotes: 2
2017/08/30
212
878
<issue_start>username_0: I'm planning to buy a Google Pixel off ebay. Does the Verizon Google Pixel allow downgrading of software? I like to try older & newer versions for development purposes?<issue_comment>username_1: The Pixel has an unlocked bootloader. You can flash different system images if you feel comfortable enough flashing files. Otherwise, try appetize.io for a good app test. it has many different versions of Android and iOS for all types of devices. Upvotes: -1 <issue_comment>username_2: I would suggest not purchasing a Verizon Pixel if looking for a unlocked bootloader. I think since around December Verizon has pushed out updates that make it imposdible to unlock. Everything I've read says there's no way to unlock them if updated, and most of them have been. I own a Verizon Pixel and was so sure I did not want to root... Upvotes: 2 [selected_answer]
2017/08/31
208
841
<issue_start>username_0: I often use my Android as a hotspot. I would like to block port 25 for all devices using my hotspot. Is this possible with Android?<issue_comment>username_1: The Pixel has an unlocked bootloader. You can flash different system images if you feel comfortable enough flashing files. Otherwise, try appetize.io for a good app test. it has many different versions of Android and iOS for all types of devices. Upvotes: -1 <issue_comment>username_2: I would suggest not purchasing a Verizon Pixel if looking for a unlocked bootloader. I think since around December Verizon has pushed out updates that make it imposdible to unlock. Everything I've read says there's no way to unlock them if updated, and most of them have been. I own a Verizon Pixel and was so sure I did not want to root... Upvotes: 2 [selected_answer]
2017/09/02
691
2,837
<issue_start>username_0: I just purchased a Galaxy S7 for a really cheap rate... and it makes me wonder if the phone has been hacked in some way. I know the phone supports [Samsung Knox](https://www.samsungknox.com/en/solutions), and am new-ish to Android overall. **Question** * What can I do to verify if this phone was untampered with? * How can I reset it (restore ROM?) to a known-trusted state? * Is there a general process for all Android phones, or is the verification method and technique manufacturer-specific? Would love to know about any notable Android hardware security solutions (I already researched Blackberry Priv and Samsung.)<issue_comment>username_1: There are a few indicators of modified/unmodified devices, depending on what was modified and how. Depending on the manufacturer and model, some of these indicators are not available. These should apply to any recent Samsung phone: 1. : Go to `Settings` -> `About phone` -> `Status` -> `Device status`. As long as the ROM/firmware hasn't been tampered with, it should show `Official`. This can be Official, even when using custom ROMs, so it's not the best indicator, but the easiest to access. 2. : Hold `Volume-Down`+`Home` when powering on the device to boot towards the bootloader (used to install official and custom firmware, recoveries etc) and press `Volume-Up` without connecting it to a PC (just to be sure). It will show some information about the state of the device like the binary status ("Custom" means it's modified), the system status (I rarely seen this not reading "Official") or KNOX warranty void status (just voids any warranty around KNOX, not anything else; hardware warranty and non-KNOX software warranty is still valid) that indicates tampering with the system at *any* point in the past (not even reinstalling an official firmware will reset this). Devices which utilize `fastboot`, can be queried using the `fastboot` command (from the Android SDK, but there is a package with only the required files). The command should be `fastboot flashing get_unlock_ability` (not tested, I don't have a device with fastboot capability). Upvotes: 2 <issue_comment>username_2: Just to be sure you can simply download stock firmware for your phone model and flash it, if someone has played with something it will be gone. (Not sure about bootloader lock state, on some phones it reverted back to locked but on some doesn't). Upvotes: 0 <issue_comment>username_3: Turn off your phone then press volume down + home button + power a warning screen appears press volume up WARRANTY VOID should be 0. 1 means the system was or is an an NOT official feature, but if the current binary & system status show official everything should be safe. After that you can run an antivirus scan with the built in Virus scanner Upvotes: 0
2017/09/02
675
2,743
<issue_start>username_0: Ok so you might be thinking how I did it. Long story short My anti-virus (Webroot mobile) flagged it as a Trojan/Rootkit, and decided it would be a great idea to uninstall it without my concern. Now my root access is bugged and some root apps are bugging out. Any help will be appreciated. BTW I tried installing KingRoot again with the hopes that it will detect something and install itself back on the system. Phone specs: OS: Android 4.4.4 Brand: Lenovo Model: A6000+ I'm thinking about factory reset, is that going to help?<issue_comment>username_1: There are a few indicators of modified/unmodified devices, depending on what was modified and how. Depending on the manufacturer and model, some of these indicators are not available. These should apply to any recent Samsung phone: 1. : Go to `Settings` -> `About phone` -> `Status` -> `Device status`. As long as the ROM/firmware hasn't been tampered with, it should show `Official`. This can be Official, even when using custom ROMs, so it's not the best indicator, but the easiest to access. 2. : Hold `Volume-Down`+`Home` when powering on the device to boot towards the bootloader (used to install official and custom firmware, recoveries etc) and press `Volume-Up` without connecting it to a PC (just to be sure). It will show some information about the state of the device like the binary status ("Custom" means it's modified), the system status (I rarely seen this not reading "Official") or KNOX warranty void status (just voids any warranty around KNOX, not anything else; hardware warranty and non-KNOX software warranty is still valid) that indicates tampering with the system at *any* point in the past (not even reinstalling an official firmware will reset this). Devices which utilize `fastboot`, can be queried using the `fastboot` command (from the Android SDK, but there is a package with only the required files). The command should be `fastboot flashing get_unlock_ability` (not tested, I don't have a device with fastboot capability). Upvotes: 2 <issue_comment>username_2: Just to be sure you can simply download stock firmware for your phone model and flash it, if someone has played with something it will be gone. (Not sure about bootloader lock state, on some phones it reverted back to locked but on some doesn't). Upvotes: 0 <issue_comment>username_3: Turn off your phone then press volume down + home button + power a warning screen appears press volume up WARRANTY VOID should be 0. 1 means the system was or is an an NOT official feature, but if the current binary & system status show official everything should be safe. After that you can run an antivirus scan with the built in Virus scanner Upvotes: 0
2017/09/03
610
2,515
<issue_start>username_0: I found out that Huawei P8 (not lite, not plus) supports dual sim, when I can insert only 1 sim and 1 sd, without possibility to swich sd for second sim. I tried micro and nano sim and none fits to sd slot. Are there two versions of Huawei P8? Is it possible to check whether my phone supports dual sim?<issue_comment>username_1: There are a few indicators of modified/unmodified devices, depending on what was modified and how. Depending on the manufacturer and model, some of these indicators are not available. These should apply to any recent Samsung phone: 1. : Go to `Settings` -> `About phone` -> `Status` -> `Device status`. As long as the ROM/firmware hasn't been tampered with, it should show `Official`. This can be Official, even when using custom ROMs, so it's not the best indicator, but the easiest to access. 2. : Hold `Volume-Down`+`Home` when powering on the device to boot towards the bootloader (used to install official and custom firmware, recoveries etc) and press `Volume-Up` without connecting it to a PC (just to be sure). It will show some information about the state of the device like the binary status ("Custom" means it's modified), the system status (I rarely seen this not reading "Official") or KNOX warranty void status (just voids any warranty around KNOX, not anything else; hardware warranty and non-KNOX software warranty is still valid) that indicates tampering with the system at *any* point in the past (not even reinstalling an official firmware will reset this). Devices which utilize `fastboot`, can be queried using the `fastboot` command (from the Android SDK, but there is a package with only the required files). The command should be `fastboot flashing get_unlock_ability` (not tested, I don't have a device with fastboot capability). Upvotes: 2 <issue_comment>username_2: Just to be sure you can simply download stock firmware for your phone model and flash it, if someone has played with something it will be gone. (Not sure about bootloader lock state, on some phones it reverted back to locked but on some doesn't). Upvotes: 0 <issue_comment>username_3: Turn off your phone then press volume down + home button + power a warning screen appears press volume up WARRANTY VOID should be 0. 1 means the system was or is an an NOT official feature, but if the current binary & system status show official everything should be safe. After that you can run an antivirus scan with the built in Virus scanner Upvotes: 0
2017/09/03
588
2,220
<issue_start>username_0: I have a Galaxy 5s with a 32GB external card, which I connect to my Windows 7 x64 PC with a USB 2.0 cable. I can copy files **from** my phone to the PC all day long with no problems. Copying files **to** the phone from the PC is virtually impossible, however. I can open the phone's card in Windows Explorer, and look at all the files. But trying to copy anything onto the card hangs explorer. Right now I'm trying to copy a 42MB MP3 file from my PC to the phone - it's telling me "27 minutes to go" and it's already taken half an hour. I checked [this question](https://android.stackexchange.com/questions/53839/problem-copying-files-from-pc-to-galaxy-s3-slow-or-frozen) from 2013 which seems like the same problem, but basically the answers were "you can't get there from here." Was wondering if anyone had a solution for this.<issue_comment>username_1: As a fast solution I would recommend [FTPServer](https://play.google.com/store/apps/details?id=lutey.FTPServer&hl=de) as mentioned above.I had a similar problem and that was the drivers from Samsung.Maybe a little driver upgrade would solve your problem . [Google USB Driver](https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip) Upvotes: 2 [selected_answer]<issue_comment>username_2: I've got 3 possible solutions. 1) If your drivers and Android OS are up to date, I would simply purchase a microSD card adapter and insert it directly into your PC. This avoids the problem alltogether. 2) On the free side of things, you can upload the file you want from your PC to google drive (or other cloud service) and download it to your phone. 3) The problem might be with your SDcard. You might want to verify that it is the capacity it says it is. Sometimes cards are counterfeit and will be only 2gb or less in size. You can use H2testw to verify what the actual size is. Hope I helped! Upvotes: 1 <issue_comment>username_3: Windows 7 to Samsung A32 Card: I can copy files from a USB stick inserted in the Windows 7 PC to the Android card. I cannot copy files directly from the PC hard disk to the Android. So I can copy from the PC to an inserted USB stick and then from the USB stick to the Android! Upvotes: 0
2017/09/04
230
952
<issue_start>username_0: So I've got a situation where I want to clear all saved networks. How can I do it without a factory reset? Or, perhaps, do it using the Wifi Manager API? I am using android box for TV, which is running 6.0<issue_comment>username_1: This depends on your version of Android, in Android 4.4 (KitKat) or lower the only option is a factory reset. With the introduction of Android 5.0, including Lollipop, Marshmallow, Nougat, and Oreo versions of Android, Google added an option that is usually located in Settings - Backup & Reset that is called Network Settings Reset, which will reset all network related settings including all WiFi, Bluetooth, and Cellular Data settings back to their original factory defaults. Upvotes: 3 [selected_answer]<issue_comment>username_2: what you can do is go on WiFi settings and then tap or hold the WiFi you want to clear the click on disconnect then forget and it will be cleared Upvotes: 1
2017/09/04
323
1,356
<issue_start>username_0: Will I be able to see my pictures on my home computer if they've been on an encrypted SD cell phone card? If that answer is no, that means I won't be able to use my SD card to make any prints of my pictures, correct? If that's the case, how do I unencrypt my SD card? Or how do I change the setting for saving my pictures to my SD card? If I do this, how can I ever make prints of any of my pictures? I admit I take many family pics bc no one lives close by ~ it would be so nice to see some of them framed and around the house instead of only getting to look at them while sitting at the computer. Thanks again<issue_comment>username_1: This depends on your version of Android, in Android 4.4 (KitKat) or lower the only option is a factory reset. With the introduction of Android 5.0, including Lollipop, Marshmallow, Nougat, and Oreo versions of Android, Google added an option that is usually located in Settings - Backup & Reset that is called Network Settings Reset, which will reset all network related settings including all WiFi, Bluetooth, and Cellular Data settings back to their original factory defaults. Upvotes: 3 [selected_answer]<issue_comment>username_2: what you can do is go on WiFi settings and then tap or hold the WiFi you want to clear the click on disconnect then forget and it will be cleared Upvotes: 1
2017/09/04
497
1,859
<issue_start>username_0: I have bought an online study course but I am told I need Puffin web browser to view the course. It appears I can install Puffin browser on my Android phone (Vodafone Smart Prime 7), but if I decide after completing the course to go back to normal Google Chrome browser, would Puffin easily uninstall? Will it cause any problem? I'm afraid I'm not a big user of modern technology and do not want to bugger up my phone browser!<issue_comment>username_1: Actually no.... it's simply just another application, Android allows you to choose your default browser of choice, Puffin won't bug you up at all you can just launch it from home screen when you need it and it can be used as an alternative browser. Something like this should pop up. [![enter image description here](https://i.stack.imgur.com/E5u6p.jpg)](https://i.stack.imgur.com/E5u6p.jpg) So in short, Puffin Browser will not bug you up a bit and you are good to go. Upvotes: 1 <issue_comment>username_2: [Puffin Web Browser](https://play.google.com/store/apps/details?id=com.cloudmosa.puffinFree) as of now: * does not require device administrative permission * does not have permission to display an overlay on screen to block attempts of uninstallation * does not make any attempt to block uninstallation at all by any means. I'm unsure whether Puffin prompts its users for [drive-by installation](https://en.wikipedia.org/wiki/Drive-by_download) but even that would not harm cause if [unknown sources are disabled](https://support.google.com/nexus/answer/7391672?hl=en&ref_topic=3415521). You can definitely, easily and like other apps, remove this app from your phone either through Settings app or from Play Store app itself. Alternatively, you can choose to keep it by following the [other answer](https://android.stackexchange.com/a/182640/96277) here. Upvotes: 2
2017/09/05
1,770
6,913
<issue_start>username_0: I know there's a share location feature in Google Maps and various android apps for sharing locations. But is there a widget / shortcut or something where you can click on it and instantly share your location with a pre-defined contact whether by SMS, email, etc. ? I have a relative that I need to pick up quite frequently but sometimes they're in one street and sometimes they're walking in another. They're a little older and aren't too tech savvy except for the basics (viewing photos, chatting, etc.). Basically I want to set up a widget / shortcut on their homescreen and if I can't find them, I can call them and tell them to click on the button to share me your location so I can find them. Google Messenger has a share location by SMS feature too but that's too many clicks, want to simplify as much as possible. Other apps like Life 360 or Family Locator are on 24/7 and kill the battery. Don't need 24/7 location sharing.<issue_comment>username_1: [You can download the app here.](https://play.google.com/store/apps/details?id=com.glympse.android.glympse&hl=en) Try glympse app which can be used as a substitute for google maps. It has very basic structure and high functionality. Various modules are available for easy use. The main advantage is that its not active 24\*7. You can control whom you want to let you track for specific time and always share your location to anybody, anywhere by SMS or E-mail. Its good for both personal use and business use. Just give it a try and see whether your basic need are fulfilled or not. In your particular case try explaining your relative to how to just share their recent location via SMS. Its very easy or you can set to track their location if they accept your request to track their location. Upvotes: 2 <issue_comment>username_2: > > Basically I want to set up a widget / shortcut on their home screen .... > > > There are a [number of social media apps](https://lifehacker.com/whatsapp-just-added-live-location-sharing-heres-how-to-1819658511) that can do this but they are **not one click** as you mentioned besides setting up a widget is not possible Hence, suggesting [automation](/questions/tagged/automation "show questions tagged 'automation'") as an alternative I prefer [Macrodroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid), being *easy to learn and free* (upto 5 macros). You would need to install Macrodroid on*their device* Create a macro **Trigger:** Empty Trigger **Actions:** Share location You get the following options - *SMS, Twitter , Email , Calendar, Variable* 1. Select SMS and either select contact or number (yours) 2. Repeat the action above and enter your email after choosing the default e-mail account registered with their device **Constraints​ :** Leave blank Name the macro and save it Go to widgets of your home screen and drag and drop Macrodroid widget on any screen. Long press the widget and assign the name of macro (Tip: Install an icon pack that shows visually striking icon so that it is easier for them , like this and replace Macrodroid widget) [![enter image description here](https://i.stack.imgur.com/RshTjs.png)](https://i.stack.imgur.com/RshTjs.png) **Tell them to press the widget to send you their location by pressing it. Done!** Your SMS would have a link to the location with a pic as below that you can open in Maps. Ditto in your email [![enter image description here](https://i.stack.imgur.com/U8bj2m.png)](https://i.stack.imgur.com/U8bj2m.png) **Note:** GPS needs to be enabled for this to work (obviously). If you can't trust them to remember enabling GPS, that can also be automated. Steps below --- --- For enabling / disabling GPS root permissions are required normally. It is unlikely their device would be rooted, so there is an alternative - [adb](/questions/tagged/adb "show questions tagged 'adb'") hack in [Macrodroid](https://www.tapatalk.com/groups/macrodroid/granting-write_secure_settings-permission-via-adb-t2923.html) that overrides this limitation * Set up `adb` see instructions here [Is there a minimal installation of ADB?](https://android.stackexchange.com/q/42474/131553) and [How to install adb](https://www.xda-developers.com/install-adb-windows-macos-linux/) * Type `adb devices` and once you get the serial number of device as output `adb shell pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS` followed by: ``` adb shell pm grant com.arlosoft.macrodroid android.permission.CHANGE_CONFIGURATION ``` Now enhance your macro (in the actions section) 1. Location Mode → High Accuracy 2. Wait 15 seconds ( for location to be registered. May need to tweak it ) 3. Select SMS and either select contact or number (yours) 4. Repeat the action above and enter your email after choosing the default e-mail account registered with their device (If you are choosing the email option they would need to enable data but if they forget SMS would go through , so you are covered ) 5. Wait 30 seconds 6. Location Mode → Location Mode off This would ensure that battery is not drained by GPS and they don't need to *remember* to enable/ disable GPS Yet another approach is mentioned in comments - instead of them doing the work, you do it by adding their device to your account and use apps that track lost devices , choice is yours but I think that the solution mentioned here is superior as it does not call for changes on their device settings and is *on demand* saving battery --- **Edit:** Another refinement possible , add another trigger in the macro . *Missed Call* and assign your number to it. When you want their location give a missed call (cut the call before they pick up). You will get the location by SMS. This is handy if they are unreachable for some reason and you want their location. Bonus !!! Upvotes: 2 <issue_comment>username_3: [![Trusted Contacts screenshots](https://i.stack.imgur.com/DvWgi.png)](https://i.stack.imgur.com/DvWgi.png) [Trusted Contacts](https://play.google.com/store/apps/details?id=com.google.android.apps.emergencyassist) is the solution you're looking for - it's an application made by Google, which allows you to share your location with friends and family *and* integrates with Google Maps' location sharing solution too. Simply install the application on the family member's phone and make sure you are selected as one of their *Trusted Contacts*. Whenever you want to know their location, simply tap on their avatar and select "request location". A screen will show up on their phone with the default ringtone playing as well. (see screenshots above) If they don't "pick up" and allow you to see their location, their location will be shared automatically in 5 minutes. Best of all - it's free, it's made by Google and has integration into Google Maps' location sharing service. Upvotes: 3 [selected_answer]
2017/09/05
266
1,152
<issue_start>username_0: I use the YouTube app on my smartphone. I want to know how I should proceed to search on a specific channel. Because every search I make in the application takes into consideration all the internet sites. And that's exactly what I do not want.<issue_comment>username_1: No there's no way you can search into a specific channel on YouTube. Basically YouTube does not provide that privilege. But if you are considering a specific channel and want to search videos related to the channel only than you can perform relative search which includes the basic search attribute with the channel name. By doing so your search results will be narrow downed and you will find easily what you wanted. For example:- If you like <NAME>i vevo channel and want to search within his creation than try something like this:- x+Luis Fonsi vevo(where x=your basic search attribute.) Upvotes: 3 [selected_answer]<issue_comment>username_2: You can use the [YouTube Channel Search](https://ctrlq.org/youtube/search/) (web app) to search videos within any specific channel that you are subscribed to. (Disclosure: I created this app) Upvotes: 1
2017/09/05
264
1,024
<issue_start>username_0: Every time I unlock my phone (yu yunicorn | marshmallow), ad pops up, covering the whole screen, ads also pop ups when I am using any app and it also uses chrome to direct to ads, its poping up when I am writing this, is there a way to stop these ads ?( disabling the internet is one way, I think, but I want to be connected all times)<issue_comment>username_1: Install [Dr. Web](https://play.google.com/store/apps/details?id=com.drweb) (You can use any antivirus but this worked for me) application from play store. Let the application scan your mobile phone. It will detect and remove all the adware from you phone. I tried and this worked for me. Upvotes: 0 <issue_comment>username_2: These type of ads usually come from an app you have installed, typically uninstalling the offending app will correct this. Use [Addons Detector](https://play.google.com/store/apps/details?id=com.denper.addonsdetector) to determine the app that is causing the ads and uninstall it. Upvotes: 2 [selected_answer]
2017/09/05
737
2,815
<issue_start>username_0: I am using **Samsung Galaxy Prime+ - SM-G532F** device running Android 6.0.1. The problem I am facing is that. My device has very low internal memory, whenever I try to install more then 3 normal application an **error** encounters that please delete previous application to install other application. So, I tried to find ways to use SD Card as app installation memory but problem is same there is not any option available in this device to migrate applications from internal storage to SD Card. Please someone help me on this irritating problem<issue_comment>username_1: First backup whatever you find valuable in your SD card. Next remove your SD card after power off. Insert it back and reboot. After in your status bar you will see option to set up sd card. Select use as internal. The reset process should start and viola. NB. YOU WON'T BE ABLE TO USE YOUR SD CARD WITH OTHER PHONES WITHOUT FORMATTING Upvotes: 0 <issue_comment>username_2: Most of OEM's doesn't offer in gui option for adoptable storage. So you have to do it via ADB. [Here](http://www.modaco.com/news/android/heres-how-to-configure-adoptable-storage-on-your-s7-s7-edge-r1632/) is how Here it is: NOTE all data on your SD card will be lost. 1. Make sure USB debugging is enabled in developer options under settings and then connect your phone to PC via USB cable. 2. Open terminal or command line on PC ( make sure you have ADB installed if not then download minimal ADB and fastboot, you can find it on Google [click](https://forum.xda-developers.com/showthread.php?t=2317790) ) type command "**adb devices**" to make sure phone is detected, then type "**adb shell**" 3.Type '**sm list-disks**' to list the disks available, the result should be something like "*disk:179:160*" 3. To make SD adoptable use command "**sm partition disk:xxx:xxx private**" where *xxx:xxx* is replaced with result from previous command, in some cases there is **\_** instead of **:** so watch out for that. If you want to use only half of SD as adoptable then use this command "**sm partition disk:xxx:xxx mixed 50**" and that's it. If you want to move your data (pictures, videos etc) you can go to settings>storage>SD card>more and you will have there option "migrate data" hit it and let it go. Upvotes: 0 <issue_comment>username_3: If you buy a brand new Sdcard which you did not use or plug into another device, and insert it into your phone, you should get a notification that says something like this : "Use Sdcard as internal storage" . You can click that notification and accept it. It should now treat your Sdcard as as internal storage. Make sure that you do not remove that Sdcard after that. Check this website for more information : <https://www.nextpit.com/how-to-format-microsd-cards-as-internal-storage> Upvotes: 1
2017/09/05
547
2,424
<issue_start>username_0: I have saved YouTube videos from my android phone into the YouTube library. I thought it was being saved onto my phone. How do I save the videos from the YouTube library onto my android phone or computer?<issue_comment>username_1: The videos that you download in offline mode on your mobile YouTube app are saved on your device only but their extension is different and therefore they cannot be played except official YouTube application. If you want to view the downloaded video somewhere else on your device rather than YouTube app than you need to download third party application called 'Tubemate'. Tubemate is the right choice to download YouTube videos in desired resolution. Also it gives users privilege to download videos from other sites like 'Dailymotion', 'Vimeo' and many more. Tubemate directly saves the video on your default memory location whether its internal storage or sd card. For computer the best application used for downloading is 'IDM'. Download and run the setup according to the instructions and afterwards integrate IDM integration module extension in the browser. That's it, you are ready to go from there. Visit YouTube from the browser and when you play the repected video, direct download link through IDM will be generated. Click on that and enjoy your downloaded video whenever, wherever, however and on whatsoever platform you want. [Tubemate android application download link](http://tubemate-youtube-downloader.en.uptodown.com/android) [IDM pc application download link](https://www.internetdownloadmanager.com/download.html) Upvotes: 0 <issue_comment>username_2: The videos you saved in your device will be saved in an encrypted format which you cannot play using video players like MX player etc.., YouTube, Netflix and several other apps use encryption technique when you save the video offline. To download YouTube videos, there are several websites/apps available. Application: Tubemate, SnapTube. Websites: <https://www.onlinevideoconverter.com/> Upvotes: 0 <issue_comment>username_3: From you Android device all you need to do is download Tubemate.Apk from this like <http://tubemate-youtube-downloader.en.uptodown.com/android/download> After downloading 1.Install the app 2. Search for the video you need, when you are the video 3. Click the green button on the top of the screen 4. Select the resolution you need and download Upvotes: -1
2017/09/05
370
1,568
<issue_start>username_0: Occasionally, when I flip the lid of my phone and put it on the table, the phone calls the primary number of the contact with which I communicated last (by phone or text message). I suspect that some button has this function under certain circumstances, but I am not able to reproduce this call back voluntarily. Does anyone know what happens to me? And maybe how to deactivate this hidden callback feature. I have a Samsung Galaxy S5 mini. Edit: According to the answer I received, I moved the icon of the phone app, so that it would be impossible to tap it three times by closing the lid. But this didn't change the problem. The annoying unwanted outgoing calls still persist.<issue_comment>username_1: Depending on where the phone app icon is on your screen, it’s can be very easy to tap it twice. Once to start the phone app and a second time to select the phone instead of contacts, call logs or groups. One more time at the same position will dial the last number in the call log. This is most likely what’s going on try it as see. Just tap that the little green phone icon a couple of times. Upvotes: 1 <issue_comment>username_2: Finally, I found the problem. On the phone, when the contact is open, and I take the phone close to the ear, it calls, without touching it. Thus, when I leave the contact open, the phone can call out unvoluntarily. It suffices that it detects an object moving near. this can even happen when the phone was locked, and is unlocked later with the details of a contact open. Upvotes: 1 [selected_answer]
2017/09/06
327
1,303
<issue_start>username_0: I'm trying to sync phone numbers from my android (honor by Huawei) to my gmail account. I followed all the instructions, i.e. - I have my gmail account on the phone, I've gone to settings and enabled sync (including contact sync), it says that everything is synchronized but I can't see any of my phone contacts on my gmail (when I open it on my computer). Any ideas? [screenshot](https://i.stack.imgur.com/RBBKI.jpg)<issue_comment>username_1: Depending on where the phone app icon is on your screen, it’s can be very easy to tap it twice. Once to start the phone app and a second time to select the phone instead of contacts, call logs or groups. One more time at the same position will dial the last number in the call log. This is most likely what’s going on try it as see. Just tap that the little green phone icon a couple of times. Upvotes: 1 <issue_comment>username_2: Finally, I found the problem. On the phone, when the contact is open, and I take the phone close to the ear, it calls, without touching it. Thus, when I leave the contact open, the phone can call out unvoluntarily. It suffices that it detects an object moving near. this can even happen when the phone was locked, and is unlocked later with the details of a contact open. Upvotes: 1 [selected_answer]
2017/09/06
350
1,305
<issue_start>username_0: I'm currently trying to hard-brick my phone. Yes, you read right. The reason doesn't really matter. I tried flashing wrong recovery/ROM but no success. I could easily recover the smartphone afterwards through SP Flash Tool and MTK Droid. It's about a Gionee P6. I can't flash a kernel because it doesn't allow me, the process of flashing ending with error each time. Any suggestions?<issue_comment>username_1: It's an MTK device. You can easily hardbrick it using SP Flash tool. Go to `Format` tab. On `Auto Format Flag` , click on `Format whole flash`. This will format the eMMC memory leaving practically nothing, not even the preloader. Now click on `Start`. Power off the phone then connect it to the computer. Wait a few seconds. Done. PS: One can still bring it to life using special tools though. Upvotes: 1 <issue_comment>username_2: You can easily root the phone (or do this in a *working* recovery) then run the following command in a shell: ``` dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1 ``` Do note that unless you destroy a piece of hardware, a professional engineer can always recover it with special tools. See this answer of mine: [Using ADB, what command can I use to break/permanently destroy a Galaxy S5?](/a/175974/205764) Upvotes: 3 [selected_answer]
2017/09/06
312
1,144
<issue_start>username_0: i need to restore old messages from a year and a half ago that i have the files of but everytime i load it onto the phone it does not load those messages, can anyone help me? it is also no longer the same phone... S5 to S6<issue_comment>username_1: It's an MTK device. You can easily hardbrick it using SP Flash tool. Go to `Format` tab. On `Auto Format Flag` , click on `Format whole flash`. This will format the eMMC memory leaving practically nothing, not even the preloader. Now click on `Start`. Power off the phone then connect it to the computer. Wait a few seconds. Done. PS: One can still bring it to life using special tools though. Upvotes: 1 <issue_comment>username_2: You can easily root the phone (or do this in a *working* recovery) then run the following command in a shell: ``` dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1 ``` Do note that unless you destroy a piece of hardware, a professional engineer can always recover it with special tools. See this answer of mine: [Using ADB, what command can I use to break/permanently destroy a Galaxy S5?](/a/175974/205764) Upvotes: 3 [selected_answer]
2017/09/06
342
1,292
<issue_start>username_0: I need to get a bunch of WhatsApp contacts off my phone. However, I can't see anything on the screen. The phone still works. I tried to get it into debugging through USB mode but I can't see anything and is pretty much impossible. I need a way to either mirror the phone to PC without being able to interact with the device or retrieve all my WhatsApp contacts via USB.<issue_comment>username_1: It's an MTK device. You can easily hardbrick it using SP Flash tool. Go to `Format` tab. On `Auto Format Flag` , click on `Format whole flash`. This will format the eMMC memory leaving practically nothing, not even the preloader. Now click on `Start`. Power off the phone then connect it to the computer. Wait a few seconds. Done. PS: One can still bring it to life using special tools though. Upvotes: 1 <issue_comment>username_2: You can easily root the phone (or do this in a *working* recovery) then run the following command in a shell: ``` dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1 ``` Do note that unless you destroy a piece of hardware, a professional engineer can always recover it with special tools. See this answer of mine: [Using ADB, what command can I use to break/permanently destroy a Galaxy S5?](/a/175974/205764) Upvotes: 3 [selected_answer]
2017/09/07
275
973
<issue_start>username_0: I have a Chinese-branded phone from Spreadtrum. I can't install any apps both from the Play Store and APK. Play Store gives "Error code: -507". ![Screenshot showing ](https://i.stack.imgur.com/PSNKSl.png) Installing an APK using ADB gives "Failure [INSTALL\_FAILED\_USER\_RESTRICTED]" ![Screenshot showing ](https://i.stack.imgur.com/zdkBql.jpg) There is something limiting this phone. Is there any way to install an app on this phone?<issue_comment>username_1: Remove you Google account from your phone and then add it again. This might work for you. [source](https://forums.oneplus.net/threads/google-playstore-error-507-when-updating-apps.415717/) Upvotes: 0 <issue_comment>username_2: First try to clear all app cache, then force stop play store, and launch it again. If it persist, reboot and everything should work just fine Upvotes: 0 <issue_comment>username_3: You just factory reset your phone than its work perfectly Upvotes: -1
2017/09/07
215
855
<issue_start>username_0: Here is a very common use case I have: I listen to music on Spotify while going through my Facebook feed. Sometimes there's a video that I want to see in full screen. When I tap the video, music playback stops. What I want is to watch the video without any sound and keep my music playing. Is that possible? Phone: Galaxy S8<issue_comment>username_1: Remove you Google account from your phone and then add it again. This might work for you. [source](https://forums.oneplus.net/threads/google-playstore-error-507-when-updating-apps.415717/) Upvotes: 0 <issue_comment>username_2: First try to clear all app cache, then force stop play store, and launch it again. If it persist, reboot and everything should work just fine Upvotes: 0 <issue_comment>username_3: You just factory reset your phone than its work perfectly Upvotes: -1
2017/09/07
1,173
4,013
<issue_start>username_0: I often find myself missing the option of "Inspect element" in Android version of the popular web browsers. Do you happen to know any alternatives or workarounds that you could implement to have access this option? There is of course the line below but that returns all of the page source and not the interesting parts. ``` view-source:webpage ```<issue_comment>username_1: You can use [Dago Browser (Web Inspector)](https://play.google.com/store/apps/details?id=com.oscarperdanakusuma.dagobrowser). It allows you to inspect webpages and works flawlessly on my MIUI8. From its description, > > Dago Browser is a web browser with web inspector that can be opened by swipe right from a web browser page and choosing Inspect Element. Once open, it highlights the node on the page as it is selected in the hierarchy. [...] > > > Upvotes: 2 <issue_comment>username_2: You can connect your phone to a PC or Mac and inspect the device from there. For example if you have Chrome open on your device and you connect it to a PC, open Chrome on the PC and from the development tools you can click on the three dots menu (on the top right, next to the X that closes the dev tools) and then click 'more tools' --> 'Remote devices'. From there you can inspect what you see on your device. Similar methods exist for other browsers. Upvotes: 2 <issue_comment>username_3: There is this one recently released, focuses on features for developers. You can visually inspect elements: [Dev Browser](https://play.google.com/store/apps/details?id=com.cleverextract.devbrowser). From its description, > > **Inspect web elements** > > > * Inspect and edit individual web elements and their attributes with the built-in web inspector > > > Upvotes: 0 <issue_comment>username_4: If you want to inspect HTML, CSS or maybe you need JS console in your mobile browser . You can use eruda tool which provide ability to use the same Developer Tools on your mobile browser as in your desctop device. Dont forget to upvote :) Here is a link <https://github.com/liriliri/eruda> Upvotes: 0 <issue_comment>username_5: Bookmark these lines of codes: ``` javascript:(function () { var script = document.createElement('script'); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { eruda.init() } })(); ``` and do the following steps shown in the screenshots. That's it ![](https://i.stack.imgur.com/KipPQl.jpg) ![](https://i.stack.imgur.com/XrWwOl.jpg) ![](https://i.stack.imgur.com/OarOjl.jpg) Upvotes: 0 <issue_comment>username_6: You could use Javascript on Opera Mini. 1. Reset the console output by opening a new tab with the address: `debug:resetconsole` ![Reset output](https://i.stack.imgur.com/qGwxKl.jpg) 2. Open a tab on the page on which you want to do the inspection: ![example.com](https://i.stack.imgur.com/bQ4RQl.jpg) 3. Run JavaScript code on the page by replacing the address in the address bar with the following address: `javascript:var%20n%3Ddocument.firstChild%3Bwhile%28n%20%26%26%20n.nodeType%21%3DNode.ELEMENT_NODE%29%20n%3Dn.nextSibling%3Bconsole.log%28n.outerHTML%29%3B` 4. Retrieve the output by opening a new tab with the address `debug:console` ![Output](https://i.stack.imgur.com/01rNWl.jpg) Upvotes: 0 <issue_comment>username_7: [Kiwi browser](https://play.google.com/store/apps/details?id=com.kiwibrowser.browser) has added the Chrome dev tools to its Android app. It allows you to view and inspect webpages from a different tab. Unlike viewing the HTML source, you can view page updates in real-time. It also has a JS console and other features. You can use Android split screen and move a tab to another window to see both the inspector and page at the same time > > ![inspecting a website](https://i.stack.imgur.com/Q499Vl.png) > > > > > ![console for webpage](https://i.stack.imgur.com/4SEW0l.png) > > > > > ![example both at the same time](https://i.stack.imgur.com/6C9PEl.png) > > > Upvotes: 1
2017/09/07
1,199
4,744
<issue_start>username_0: My mom has an Android tablet and she doesn't even know what a site is, her e-mail, or even the password of her Facebook account. She's an average user. The internet is Facebook in her eyes. She has no need for apps or anything, it's just, only, precisely Facebook. All is Facebook. How can I **completely disable** installing apps in Android so they can't be installed in any way or form, I mean, not by URL, not by clicking, not by the app store, not even by another program? Just disable the entire thing altogether. Doesn't need to be safe, have locks, passwords, etc. I'm not trying to secure the device from intruders, attackers, or robbers, I'm trying to secure it from its very own user. Please help. I just had to remove two anti-virus apps that were opening adware pages when she tried to open Facebook Lite, and that's obviously a no-go, apps which she "had not installed." Clearly, there's some voodoo going on here for them to just pop up, or maybe she just did it unknowingly, but none of that's relevant. How can you just disable installs so this couldn't ever happen again?<issue_comment>username_1: She installed it, no app can install itself without user interaction. However, the best would be to deactivate Google Play Services from settings or even install ROM without any Google app on it (if there is a custom ROM for your device). And you should disable "apps from unknown sources" in settings under security. If she still manages to install x app, then you should teach her not to click on something that says "install me" or any other ad on the internet. Also, does she use the Facebook app to access Facebook or an internet browser? If she uses a browser, then install Samsung browser or Mozilla and enable ad blocking. If she uses the Facebook app, then you should use some Adblock app to block ads globally (I don't know if some work without root). Upvotes: 2 <issue_comment>username_2: First, disable the primary source of installation. On most devices, it is the Google Play Store but your device might have been shipped with a non-Google market app as well. So go to **Settings → Apps** → (three-dots line → **Show System**) or (**All Apps**) → your market app → **Disable**. Second, disable the *Package Installer* system app. This provides the GUI for sideloading. So if you disable it and attempt to install an APK (through a file manager, by drive-by download, or when pushed by a third-party app) you would definitely *fail*. At this point, it is irrelevant whether **Unknown Sources** is disabled or not, but you may keep the latter disabled from **Settings → Security**. Third, an app can still be sideloaded through command-line, preferably through ADB. Keep **Developer options** disabled and hidden (default). This is untested but revoking executable permissions (requires root access) from `pm` binary for user 2000 or for every user might help. This however, may cause device instability so take backup from a custom recovery before you proceed with this step. Your user would be fine with the first two steps. It's not like they would *deliberately* try to find a way to install an app if they are not tech-savvy already. --- Alternatively, in your particular situation you can use an ad-blocker app. The best ones require root access though. Or, why not use a [kiosk-mode](https://play.google.com/store/search?q=kiosk&c=apps) app? Limit your mother's activities to certain set of apps she should use. That's an another option on the table. Choose wisely. Upvotes: 4 <issue_comment>username_3: I think two apps are responsible for installing apps: the Play Store and Package Installer. Play Store can be disabled, but not the package installer. The latter is responsible for APK files and works when the unknown source is ticked. You can only freeze it with root privilege. Upvotes: 1 <issue_comment>username_4: On Android 7.0 onwards i.e on Nougat and Oreo, apps can install themselves without the consent of the user. No remedies to date. They may be pushed to install from a native browser or any other app. The rooting and uninstalling of the package installer and verified installation may prevent installation. --- References: * [Tech Times - Android Marshmallow And Nougat Permissions Flaw Enable Malware, Adware And Ransomware: No Fix Until Android O](https://www.techtimes.com/articles/207025/20170510/android-marshmallow-and-nougat-permissions-flaw-enable-malware-adware-and-ransomware-no-fix-until-android-o.htm) * [Express Newspapers - Android WARNING: Google Play apps infect millions of phones - find out if you're affected](https://www.express.co.uk/life-style/science-technology/818772/Android-warning-Google-Play-adware) Upvotes: 0
2017/09/08
1,012
4,025
<issue_start>username_0: How can i make a samsung phone, go through setup wizard again so the end user may personalize the phone? I tried the factory reset but it wipes all data and applications installed, my interest is to keep applications and only wipe existing user data. Is there any way to run it through ADB?... (this way i can only turn the phone off and let the end user handle the rest)<issue_comment>username_1: She installed it, no app can install itself without user interaction. However, the best would be to deactivate Google Play Services from settings or even install ROM without any Google app on it (if there is a custom ROM for your device). And you should disable "apps from unknown sources" in settings under security. If she still manages to install x app, then you should teach her not to click on something that says "install me" or any other ad on the internet. Also, does she use the Facebook app to access Facebook or an internet browser? If she uses a browser, then install Samsung browser or Mozilla and enable ad blocking. If she uses the Facebook app, then you should use some Adblock app to block ads globally (I don't know if some work without root). Upvotes: 2 <issue_comment>username_2: First, disable the primary source of installation. On most devices, it is the Google Play Store but your device might have been shipped with a non-Google market app as well. So go to **Settings → Apps** → (three-dots line → **Show System**) or (**All Apps**) → your market app → **Disable**. Second, disable the *Package Installer* system app. This provides the GUI for sideloading. So if you disable it and attempt to install an APK (through a file manager, by drive-by download, or when pushed by a third-party app) you would definitely *fail*. At this point, it is irrelevant whether **Unknown Sources** is disabled or not, but you may keep the latter disabled from **Settings → Security**. Third, an app can still be sideloaded through command-line, preferably through ADB. Keep **Developer options** disabled and hidden (default). This is untested but revoking executable permissions (requires root access) from `pm` binary for user 2000 or for every user might help. This however, may cause device instability so take backup from a custom recovery before you proceed with this step. Your user would be fine with the first two steps. It's not like they would *deliberately* try to find a way to install an app if they are not tech-savvy already. --- Alternatively, in your particular situation you can use an ad-blocker app. The best ones require root access though. Or, why not use a [kiosk-mode](https://play.google.com/store/search?q=kiosk&c=apps) app? Limit your mother's activities to certain set of apps she should use. That's an another option on the table. Choose wisely. Upvotes: 4 <issue_comment>username_3: I think two apps are responsible for installing apps: the Play Store and Package Installer. Play Store can be disabled, but not the package installer. The latter is responsible for APK files and works when the unknown source is ticked. You can only freeze it with root privilege. Upvotes: 1 <issue_comment>username_4: On Android 7.0 onwards i.e on Nougat and Oreo, apps can install themselves without the consent of the user. No remedies to date. They may be pushed to install from a native browser or any other app. The rooting and uninstalling of the package installer and verified installation may prevent installation. --- References: * [Tech Times - Android Marshmallow And Nougat Permissions Flaw Enable Malware, Adware And Ransomware: No Fix Until Android O](https://www.techtimes.com/articles/207025/20170510/android-marshmallow-and-nougat-permissions-flaw-enable-malware-adware-and-ransomware-no-fix-until-android-o.htm) * [Express Newspapers - Android WARNING: Google Play apps infect millions of phones - find out if you're affected](https://www.express.co.uk/life-style/science-technology/818772/Android-warning-Google-Play-adware) Upvotes: 0
2017/09/09
1,004
4,008
<issue_start>username_0: I recently got into an issue with my Moto z play screen lock. Pressing the power button doesn't lock the screen. I have enabled pattern lock option for screen lock. But still only after booting up it asks for the pattern. But later on when I lock the screen by pressing power button , I can unlock by just swiping the screen. Anyone knows what's the issue?<issue_comment>username_1: She installed it, no app can install itself without user interaction. However, the best would be to deactivate Google Play Services from settings or even install ROM without any Google app on it (if there is a custom ROM for your device). And you should disable "apps from unknown sources" in settings under security. If she still manages to install x app, then you should teach her not to click on something that says "install me" or any other ad on the internet. Also, does she use the Facebook app to access Facebook or an internet browser? If she uses a browser, then install Samsung browser or Mozilla and enable ad blocking. If she uses the Facebook app, then you should use some Adblock app to block ads globally (I don't know if some work without root). Upvotes: 2 <issue_comment>username_2: First, disable the primary source of installation. On most devices, it is the Google Play Store but your device might have been shipped with a non-Google market app as well. So go to **Settings → Apps** → (three-dots line → **Show System**) or (**All Apps**) → your market app → **Disable**. Second, disable the *Package Installer* system app. This provides the GUI for sideloading. So if you disable it and attempt to install an APK (through a file manager, by drive-by download, or when pushed by a third-party app) you would definitely *fail*. At this point, it is irrelevant whether **Unknown Sources** is disabled or not, but you may keep the latter disabled from **Settings → Security**. Third, an app can still be sideloaded through command-line, preferably through ADB. Keep **Developer options** disabled and hidden (default). This is untested but revoking executable permissions (requires root access) from `pm` binary for user 2000 or for every user might help. This however, may cause device instability so take backup from a custom recovery before you proceed with this step. Your user would be fine with the first two steps. It's not like they would *deliberately* try to find a way to install an app if they are not tech-savvy already. --- Alternatively, in your particular situation you can use an ad-blocker app. The best ones require root access though. Or, why not use a [kiosk-mode](https://play.google.com/store/search?q=kiosk&c=apps) app? Limit your mother's activities to certain set of apps she should use. That's an another option on the table. Choose wisely. Upvotes: 4 <issue_comment>username_3: I think two apps are responsible for installing apps: the Play Store and Package Installer. Play Store can be disabled, but not the package installer. The latter is responsible for APK files and works when the unknown source is ticked. You can only freeze it with root privilege. Upvotes: 1 <issue_comment>username_4: On Android 7.0 onwards i.e on Nougat and Oreo, apps can install themselves without the consent of the user. No remedies to date. They may be pushed to install from a native browser or any other app. The rooting and uninstalling of the package installer and verified installation may prevent installation. --- References: * [Tech Times - Android Marshmallow And Nougat Permissions Flaw Enable Malware, Adware And Ransomware: No Fix Until Android O](https://www.techtimes.com/articles/207025/20170510/android-marshmallow-and-nougat-permissions-flaw-enable-malware-adware-and-ransomware-no-fix-until-android-o.htm) * [Express Newspapers - Android WARNING: Google Play apps infect millions of phones - find out if you're affected](https://www.express.co.uk/life-style/science-technology/818772/Android-warning-Google-Play-adware) Upvotes: 0
2017/09/09
133
590
<issue_start>username_0: Is there a way to disable telephone control (answer call, call) from Bluetooth headphones? I just want to listen to music.<issue_comment>username_1: Go to Setting - Bluetooth and find your headphone device in the list and press the settings gear next to it. Uncheck Phone Audio or similar entries related to phone/telephone (may vary by Android version or OEM). Upvotes: 3 [selected_answer]<issue_comment>username_2: Go to Settings, Accessibility, Answering and ending calls. Turn off the setting that automatically connects when you have headphones in. Upvotes: 0
2017/09/09
462
1,686
<issue_start>username_0: Is it possible to prevent Android from creating additional folders inside **/data/app/** That is, this is the folder where (user-level) apps¹ are installed. So making the *whole thing* recursively unwriteable will mostly likely break the apps and that's not really what I'd like. (although if you know how to do that I don't mind testing it out) But my primary reason is that I want to prevent any folders from being created there. Specifically the temporary folders that Download Manager is creating there. This is part of my quest to take control over the Download Manager. I can't replace it, so I'm trying different approaches to, well, manage the Manager. Additional info: Device is rooted. Storage is internal. Android: v6.0.1, ROM: MIUI 8.5.3.0 --- ¹ meaning the apps (APKs) themselves, I'm not speaking about `/data/data//\*`<issue_comment>username_1: With chmod 744 as a root you ONLY can read/write in the folder /data/app (anyone else is readonly) but I wouldnt want to do this because apps are there located too. But you can only restrict user 1000 which is the system (i think) by doing cd / su 1000 chmod -wx /data/app/ -Rv (-R is recursively an -v is verbose) **ABSOLUTELY NO WARRANTY THAT THIS IS NOT HARMFULL** Upvotes: -1 <issue_comment>username_2: The way to prevent creation of new files/folders inside a particular folder is to use the chattr +i command. Using "+i" makes it immutable, preventing changes by anyone, including su, until you do -i . so doing: **chattr +i /data/app** and then running: `mkdir /data/app/blah` will fail but `mkdir /data/app/com.android.vending-1/blah` will work fine Upvotes: 2 [selected_answer]
2017/09/09
156
637
<issue_start>username_0: I have a new Samsung S8+ and Gmail seems not to find any contacts when I try to compose an email. I have downloaded google contacts and all contacts appear on my phone. Is there a setting I've missed?<issue_comment>username_1: Yes, the permission for Gmail to view contacts is most probably off. Go into settings>manage applications>Gmail>permissions>contacts on (Worked for me) Upvotes: 0 <issue_comment>username_2: You can go through Settings > Accounts > Google > Gmail and turning on the sync button. Upvotes: -1 <issue_comment>username_3: Please turn on "automatically sync data" on your device Upvotes: 0
2017/09/10
544
1,794
<issue_start>username_0: Do not disturb in Android 8 is now awful 1. No way to tell it to Do Not Disturb for an hour 2. No way to tell it to turn off DND after an alarm goes off (unless you specify a rule sets your phone to DND at a specific time every single night) Any way to get the DND of Android 7 back? I used these features all the time. I have a Pixel XL<issue_comment>username_1: Found an app called Timed Silent, which takes care of part 1. Also I just noticed that you can snooze notifications in Google Hangouts (shutting Hangouts up is mostly what I used the timed DND for). So that takes care of part 1 Upvotes: 0 <issue_comment>username_2: I have the same options on my Nexus 6P as I did on Nougat however, they are accessed slightly differently. If you click the 'Do not disturb' text in the notification panel you should see the options you're after. I get the 1 hour option and (when within 12 hours of an alarm) the option to turn off at next alarm. [![enter image description here](https://i.stack.imgur.com/2o5wGm.png)](https://i.stack.imgur.com/L9nt4m.png) [![enter image description here](https://i.stack.imgur.com/L9nt4m.png)](https://i.stack.imgur.com/L9nt4.png) [This article](https://arstechnica.co.uk/gadgets/2017/09/android-8-oreo-review/3/#h1) on Ars Technica demonstrates a few other changes to the quick settings pane (see image below too). [![enter image description here](https://i.stack.imgur.com/AzgJSm.jpg)](https://i.stack.imgur.com/AzgJS.jpg) Upvotes: 4 [selected_answer]<issue_comment>username_3: On Android 11 this is still an issue. A long click on DND icon will open up a settings dialog. click Advanced -> Duration for quick settings -> Ask every time. [![](https://i.stack.imgur.com/6KEdk.png)](https://i.stack.imgur.com/6KEdk.png) Upvotes: 0
2017/09/10
1,829
5,197
<issue_start>username_0: Based on [this answer](https://android.stackexchange.com/a/182991/103777) I am looking for a way how to get tommorow's date and next week number to use in [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en) app, **Run Shell Command**. I have tried: `date -d '+1 day' +"%Y%m%d"` and similar, but still I am getting `Error: 1`. In shell emulator I get `bad date '+1 day'` Cannot find any android shell commands reference or man. Some guides recommend using %TIMES variable, but not sure how.<issue_comment>username_1: I've figured it out, I had to learn to use Tasker a bit, the solution is a little awkward but it probably should be done this way in Tasker. The most important variable for such datetime manipulations in Tasker is a global variable `%TIMES` which contains current time in seconds - so it is a big long integer number. Adding e.g. 30 days to it means you need to *Set variable* (with Math on) like this: ``` %TIMES + (30 * 86400) ``` Tommorow is: ``` %TIMES + (1 * 86400) ``` The main problem is, that you have to convert the value to a formatted datetime string. As I understood it there is no built in command for that in Tasker. You need to create JavaScriptlet task step for that and paste there [the code from this page](http://tasker.wikidot.com/getformatteddate): ``` 1340586441681 1369445351826 54 getFormattedDate 10 2 `129` var gsMonthNames = new Array( 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ); var gsDayNames = new Array( 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ); var d = new Date(par[0] \* 1000); var f = par[1]; var formatteddate = f.replace(/(yyyy|yy|mmmm|mmm|mm|dddd|ddd|dd|hh|nn|ss|a\/p)/gi, function($1) { switch ($1) { case 'yyyy': return d.getFullYear(); case 'yy': return ('0' + d.getFullYear()).slice(-2); case 'mmmm': return gsMonthNames[d.getMonth()]; case 'mmm': return gsMonthNames[d.getMonth()].slice(0,3); case 'mm': return ('0' + (d.getMonth() + 1)).slice(-2); case 'dddd': return gsDayNames[d.getDay()]; case 'ddd': return gsDayNames[d.getDay()].slice(0,3); case 'dd': return ('0' + d.getDate()).slice(-2); case 'hh': return ('0' + ((h = d.getHours() % 12) ? h : 12)).slice(-2); case 'HH': return ('0' + d.getHours()).slice(-2); case 'nn': return ('0' + d.getMinutes()).slice(-2); case 'ss': return ('0' + d.getSeconds()).slice(-2); case 'a/p': return d.getHours() < 12 ? 'a' : 'p'; } } ); 45 `126` %formatteddate ``` before that Javascriptlet step you insert 2 steps where you set two input variables `%par1` (contains datetime in seconds form previous step) and `%par2` (contains `yyyymmdd` - date format). The formatted date string is available then in `%formatteddate` variable. --- As for getting the next week: * Run Shell `date -d +"%Y"` to `%year` * Run Shell `date -d +"%V"` to `%week` * Set variable `%week` to `%week + 1` (Do Maths On) * Set variable `%year` to `%year + 1` (Do Maths On) (If `%week > 52`) * Set variable `%week` to `1` (If `%week > 52`) * The `yyyyww.htm` of the next week can then be written as `%year%week.htm` Upvotes: 2 [selected_answer]<issue_comment>username_2: Given a variable `%mytimestamp` set to an epoch timestamp you can use this in your shell action: `date -d @%mytimestamp +%Y%m%d` Note the `@` before `%mytimestamp` --- ``` $ adb shell $ date --version toybox 0.7.4-android $ date --help usage: date [-u] [-r FILE] [-d DATE] [+DISPLAY_FORMAT] [-D SET_FORMAT] [SET] Set/get the current date/time. With no SET shows the current date. Default SET format is "MMDDhhmm[[CC]YY][.ss]", that's (2 digits each) month, day, hour (0-23), and minute. Optionally century, year, and second. Also accepts "@UNIXTIME[.FRACTION]" as seconds since midnight Jan 1 1970. -d Show DATE instead of current time (convert date format) -D +FORMAT for SET or -d (instead of MMDDhhmm[[CC]YY][.ss]) -r Use modification time of FILE instead of current date -u Use UTC instead of current timezone +FORMAT specifies display format string using strftime(3) syntax: %% literal % %n newline %t tab %S seconds (00-60) %M minute (00-59) %m month (01-12) %H hour (0-23) %I hour (01-12) %p AM/PM %y short year (00-99) %Y year %C century %a short weekday name %A weekday name %u day of week (1-7, 1=mon) %b short month name %B month name %Z timezone name %j day of year (001-366) %d day of month (01-31) %e day of month ( 1-31) %N nanosec (output only) %U Week of year (0-53 start sunday) %W Week of year (0-53 start monday) %V Week of year (1-53 start monday, week < 4 days not part of this year) %D = "%m/%d/%y" %r = "%I : %M : %S %p" %T = "%H:%M:%S" %h = "%b" %x locale date %X locale time %c locale date/time ``` Upvotes: 1 <issue_comment>username_3: try this: tomorrow=$(( `date +%s` + 86400 )) date -d @$tomorrow +%Y%m%d [![enter image description here](https://i.stack.imgur.com/wpBSA.png)](https://i.stack.imgur.com/wpBSA.png) Upvotes: 0
2017/09/10
1,762
5,072
<issue_start>username_0: I bought a USB-to-micro-USB cable to use my USB on my Android device. Normally, when you plug it in you get a message above that says it is connected. But when I plug it in, the message does not show up on my phone and when I use it on my tablet it works. I already tried a USB OTG check app and it says that it is compatible. I also tried another USB but that did not make a difference. Can someone help me?<issue_comment>username_1: I've figured it out, I had to learn to use Tasker a bit, the solution is a little awkward but it probably should be done this way in Tasker. The most important variable for such datetime manipulations in Tasker is a global variable `%TIMES` which contains current time in seconds - so it is a big long integer number. Adding e.g. 30 days to it means you need to *Set variable* (with Math on) like this: ``` %TIMES + (30 * 86400) ``` Tommorow is: ``` %TIMES + (1 * 86400) ``` The main problem is, that you have to convert the value to a formatted datetime string. As I understood it there is no built in command for that in Tasker. You need to create JavaScriptlet task step for that and paste there [the code from this page](http://tasker.wikidot.com/getformatteddate): ``` 1340586441681 1369445351826 54 getFormattedDate 10 2 `129` var gsMonthNames = new Array( 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ); var gsDayNames = new Array( 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ); var d = new Date(par[0] \* 1000); var f = par[1]; var formatteddate = f.replace(/(yyyy|yy|mmmm|mmm|mm|dddd|ddd|dd|hh|nn|ss|a\/p)/gi, function($1) { switch ($1) { case 'yyyy': return d.getFullYear(); case 'yy': return ('0' + d.getFullYear()).slice(-2); case 'mmmm': return gsMonthNames[d.getMonth()]; case 'mmm': return gsMonthNames[d.getMonth()].slice(0,3); case 'mm': return ('0' + (d.getMonth() + 1)).slice(-2); case 'dddd': return gsDayNames[d.getDay()]; case 'ddd': return gsDayNames[d.getDay()].slice(0,3); case 'dd': return ('0' + d.getDate()).slice(-2); case 'hh': return ('0' + ((h = d.getHours() % 12) ? h : 12)).slice(-2); case 'HH': return ('0' + d.getHours()).slice(-2); case 'nn': return ('0' + d.getMinutes()).slice(-2); case 'ss': return ('0' + d.getSeconds()).slice(-2); case 'a/p': return d.getHours() < 12 ? 'a' : 'p'; } } ); 45 `126` %formatteddate ``` before that Javascriptlet step you insert 2 steps where you set two input variables `%par1` (contains datetime in seconds form previous step) and `%par2` (contains `yyyymmdd` - date format). The formatted date string is available then in `%formatteddate` variable. --- As for getting the next week: * Run Shell `date -d +"%Y"` to `%year` * Run Shell `date -d +"%V"` to `%week` * Set variable `%week` to `%week + 1` (Do Maths On) * Set variable `%year` to `%year + 1` (Do Maths On) (If `%week > 52`) * Set variable `%week` to `1` (If `%week > 52`) * The `yyyyww.htm` of the next week can then be written as `%year%week.htm` Upvotes: 2 [selected_answer]<issue_comment>username_2: Given a variable `%mytimestamp` set to an epoch timestamp you can use this in your shell action: `date -d @%mytimestamp +%Y%m%d` Note the `@` before `%mytimestamp` --- ``` $ adb shell $ date --version toybox 0.7.4-android $ date --help usage: date [-u] [-r FILE] [-d DATE] [+DISPLAY_FORMAT] [-D SET_FORMAT] [SET] Set/get the current date/time. With no SET shows the current date. Default SET format is "MMDDhhmm[[CC]YY][.ss]", that's (2 digits each) month, day, hour (0-23), and minute. Optionally century, year, and second. Also accepts "@UNIXTIME[.FRACTION]" as seconds since midnight Jan 1 1970. -d Show DATE instead of current time (convert date format) -D +FORMAT for SET or -d (instead of MMDDhhmm[[CC]YY][.ss]) -r Use modification time of FILE instead of current date -u Use UTC instead of current timezone +FORMAT specifies display format string using strftime(3) syntax: %% literal % %n newline %t tab %S seconds (00-60) %M minute (00-59) %m month (01-12) %H hour (0-23) %I hour (01-12) %p AM/PM %y short year (00-99) %Y year %C century %a short weekday name %A weekday name %u day of week (1-7, 1=mon) %b short month name %B month name %Z timezone name %j day of year (001-366) %d day of month (01-31) %e day of month ( 1-31) %N nanosec (output only) %U Week of year (0-53 start sunday) %W Week of year (0-53 start monday) %V Week of year (1-53 start monday, week < 4 days not part of this year) %D = "%m/%d/%y" %r = "%I : %M : %S %p" %T = "%H:%M:%S" %h = "%b" %x locale date %X locale time %c locale date/time ``` Upvotes: 1 <issue_comment>username_3: try this: tomorrow=$(( `date +%s` + 86400 )) date -d @$tomorrow +%Y%m%d [![enter image description here](https://i.stack.imgur.com/wpBSA.png)](https://i.stack.imgur.com/wpBSA.png) Upvotes: 0
2017/09/11
496
1,715
<issue_start>username_0: I've just switched from a Sony Xperia Z3 (6.0) to the Samsung Galaxy S8. On the Sony I could set Do Not Disturb mode for a specific time (15 mins, 30 mins, an hour, 2 hours and so on) using the Quick Settings menu. This was a really useful feature when going into meetings, presentations, movies etc. But I can't find this feature on the S8 - there's only the option to enable DND mode (and leave it on) or schedule it between specific times. Is there anyway to get the great 'DND for 15/30/60 etc. minutes' feature in the Quick Settings on the S8?<issue_comment>username_1: Galaxy S8 has the feature. Its there in sound settings. **From home, swipe up to access Apps.** **Tap settings app icon Settings > sounds settings icon Sounds and vibration > Do not disturb.** **Tap On/Off to enable the feature.** You can also schedule the mode. **Tap Turn on as scheduled, and set the Days, Start time, and End time.** Source: <http://eguides.sprint.com/support/eguides/samsunggalaxys8s8plus/content/samsung_galaxy_s8_s8_plus_ug/do_not_disturb.html> Upvotes: -1 <issue_comment>username_2: I can see in Google's documentation for the Pixel that the feature that lets you set how long DND mode should last (15,30,60.. minutes) is there in the Pixel, just as it was in my old Sony Xperia: <https://support.google.com/pixelphone/answer/6111295?hl=en> Unfortunately it looks like Samsung removed this feature with their Touchwiz overlay, so you're only left with scheduling DND between specific times or enabling it forever. To bring back this feature I ended up having to install an app: <https://play.google.com/store/apps/details?id=com.cabooze.buzzoff&hl=en> Upvotes: 3 [selected_answer]
2017/09/12
908
3,910
<issue_start>username_0: I successfully flashed my device a few times, but I am still paranoid about hard bricks. I am sure I can use my Arduino to fix them, but this made me wonder why bootloaders are stored in rewritable storage. I am aware that there is a PBL and an SBL and all that, and the PBL is in ROM. In this context, "rewritable storage" means a storage medium that can be electronically rewritten (EEPROM, Flash, RAM, etc) and "ROM" means read only storage, not aftermarket Android distributions such as Lineage OS. Summary: Why would code that is required to even turn the phone on, not to mention booting Android, be stored in a location that can be rewritten.<issue_comment>username_1: Come to think of it, what a silly liability with such a set up, isn't it? My only assumption is so OEMs are able to push updates for new builds, in order to patch security issues, compatibility issues, etc. You bring up an excellent point though, this is a gigantic vulnerability and a gaping flaw in the process for sure. Upvotes: -1 <issue_comment>username_2: Bootloaders, like other partitions, might be updated officially for various reasons: * Switching to a new partition layout (e.g. a bunch of older devices with life spanning across Gingerbread and Ice Cream Sandwich, the latter requiring considerably more space) * Implementing new security mechanisms (e.g. earlier Xiaomi devices, old bootloader readily unlockable, new bootloader requires logging in and verifying before unlocking) * Ensuring you're on a version the manufacturer wants you to be, i.e. preventing downgrades (e.g. Samsung, doing so will halt halfway). Upvotes: 2 <issue_comment>username_3: Andy mentions some of the benefits for later upgrade in the field, and these are good points, but there's more to it than that. The bootloader doesn't just need to boot the primary OS, but also the "charging mode", which is itself an embedded Linux kernel. The bootloader needs to bring up the hardware to be a USB endpoint and to talk the fastboot protocol, so that it can receive and flash new recovery and system images. It also has to perform signature validation on those images, using a quite complicated block-based scheme so validation doesn't slow down boot time. So what? Why does any of this functionality need upgradeability? Because it's complex enough to contain bugs. The original XBox bootloader was 512 bytes long and contained two critical security errors, one of which made it possible to run unsigned code on consumer devices. It wasn't possible to update it in the field. Right away, their main security and anti-piracy mechanism became worthless. Phone manufacturers do not want to have those bugs. They make the bootloader updateable so that the device can be upgraded in the field, and so that it's easier to test and develop the bootloader against the real hardware. It's much harder to develop and test code that will be baked into a ROM - and that extra complexity means there would be *more* bugs and that phone development would be slower, missing the important launch deadlines. Having an upgradeable bootloader is only a problem if you try to flash firmware to the phone and screw up. This simply isn't a problem for almost all of the phone market. It's only the crazy hobbyists who brick their phones this way. Worse yet, moving this complex bootloader into ROM wouldn't prevent bricking. There are still many ways a broken firmware can damage the device: by overheating it, by uploading a broken radio firmware, by blowing fuses in the secure element, &c. So overall, there's a huge cost to putting more complex software somewhere that's hard to test and debug, and can't be patched to add functionality or fix bugs. There's no advantage at all for almost all users, and even those users who insist on shooting themselves in the foot would still have other ways to do that. Upvotes: 3 [selected_answer]
2017/09/12
888
3,852
<issue_start>username_0: Yesterday I got a message from perhaps one of my antivirus that "Bluetooth Share has permission to send text messages without your permission and may cost money". It gave me the option to delete it and stupidly I said yes. To be honest, I thought an app called Bluetooth "Share" would not be the actual Bluetooth apk I used on my phone but rather some third-party app from the Play store. But now I cannot use Bluetooth on my phone and I have no idea how to fix it. My phone isn't rooted and if anyone has any idea how to restore Bluetooth on my Android 7.0 Moto G4 I would be very grateful!<issue_comment>username_1: Come to think of it, what a silly liability with such a set up, isn't it? My only assumption is so OEMs are able to push updates for new builds, in order to patch security issues, compatibility issues, etc. You bring up an excellent point though, this is a gigantic vulnerability and a gaping flaw in the process for sure. Upvotes: -1 <issue_comment>username_2: Bootloaders, like other partitions, might be updated officially for various reasons: * Switching to a new partition layout (e.g. a bunch of older devices with life spanning across Gingerbread and Ice Cream Sandwich, the latter requiring considerably more space) * Implementing new security mechanisms (e.g. earlier Xiaomi devices, old bootloader readily unlockable, new bootloader requires logging in and verifying before unlocking) * Ensuring you're on a version the manufacturer wants you to be, i.e. preventing downgrades (e.g. Samsung, doing so will halt halfway). Upvotes: 2 <issue_comment>username_3: Andy mentions some of the benefits for later upgrade in the field, and these are good points, but there's more to it than that. The bootloader doesn't just need to boot the primary OS, but also the "charging mode", which is itself an embedded Linux kernel. The bootloader needs to bring up the hardware to be a USB endpoint and to talk the fastboot protocol, so that it can receive and flash new recovery and system images. It also has to perform signature validation on those images, using a quite complicated block-based scheme so validation doesn't slow down boot time. So what? Why does any of this functionality need upgradeability? Because it's complex enough to contain bugs. The original XBox bootloader was 512 bytes long and contained two critical security errors, one of which made it possible to run unsigned code on consumer devices. It wasn't possible to update it in the field. Right away, their main security and anti-piracy mechanism became worthless. Phone manufacturers do not want to have those bugs. They make the bootloader updateable so that the device can be upgraded in the field, and so that it's easier to test and develop the bootloader against the real hardware. It's much harder to develop and test code that will be baked into a ROM - and that extra complexity means there would be *more* bugs and that phone development would be slower, missing the important launch deadlines. Having an upgradeable bootloader is only a problem if you try to flash firmware to the phone and screw up. This simply isn't a problem for almost all of the phone market. It's only the crazy hobbyists who brick their phones this way. Worse yet, moving this complex bootloader into ROM wouldn't prevent bricking. There are still many ways a broken firmware can damage the device: by overheating it, by uploading a broken radio firmware, by blowing fuses in the secure element, &c. So overall, there's a huge cost to putting more complex software somewhere that's hard to test and debug, and can't be patched to add functionality or fix bugs. There's no advantage at all for almost all users, and even those users who insist on shooting themselves in the foot would still have other ways to do that. Upvotes: 3 [selected_answer]
2017/09/13
1,121
4,113
<issue_start>username_0: In my phone (Samsung Galaxy On7, Android 6.0.1-Marshmallow), the internal memory is very insufficient, and moreover, important apps like MS word and Excel come inbuilt, due to which I cannot move them to the sd card. I saw on the net that there are methods by which I can gain access over my desktop from my mobile through the Google Chrome Remote Desktop app. There are apps to do the reverse as well. But how can I gain access over another Android phone from my phone? Actually, I want to use my father's phone, because in his one (Samsung Galaxy On5, Android 6.0.1-Marshmallow), the above stated apps can be moved to sd card. So, it would have been great if I could create documents or spreadsheets from my phone on his phone, and then bring them over to my phone by saving them in the Cloud. In this way, my phone can be saved from unnecessary space loss. I've spoken to him, and he has agreed, but now I need to know how I can do this. How can I get complete remote access of another device from my device? *It would be best if I **don't** have to root my phone or that of my father's.*<issue_comment>username_1: As far as I can tell, this seems to be achievable at least with the aid of applications such as [TeamViewer](https://community.teamviewer.com/t5/Knowledge-Base/Connections-From-Mobile-to-Mobile-Devices/ta-p/280) **Requirements** > > To be able to use this feature, you must meet the following > requirements: > > > * You are using TeamViewer 12 > * You are a private user or own a TeamViewer 12 Premium license (or higher) > > > **For the supporting device** > > > * You have installed the latest version of TeamViewer for Remote Control on your Android device. > > > **For the supported device** > > > * You have installed the latest version of [TeamViewer QuickSupport](https://play.google.com/store/apps/details?id=com.teamviewer.quicksupport.market) on Android device. > > > **Setup** > > > On the supported Android device: > > > 1. Download and install [TeamViewer QuickSupport](https://play.google.com/store/apps/details?id=com.teamviewer.quicksupport.market) or [TeamViewer Host](https://play.google.com/store/apps/details?id=com.teamviewer.host.market) on the device. > > > * You may be prompted to install an AddOn according to your device manufacturer. Please follow the on-screen instructions and install the > necessary AddOn for Remote Control capabilities. > 2. As for every TeamViewer connection, you will need the target device’s TeamViewer ID to connect. > > > *For QuickSupport : You can find the TeamViewer ID of the device on the start screen of the app.* > > > **On the supporting device** > > > 1. Download and install [TeamViewer for Remote Control](https://play.google.com/store/apps/details?id=com.teamviewer.teamviewer.market.mobile) on your Android device. If you already have installed the App on your device, > make sure to update to the latest version. > 2. Open the App on the respective device. > 3. Connect to the supported device using the ID mentioned above or via the Computers & Contacts list. > > > Enter the TeamViewer ID of the supported device in the TeamViewer ID > field under Connect. To access, click Remote Control. > > > **After the connections was accepted on the supported device, you are connected to the mobile device and can remotely control the entire > device like if would have it holding in your hands.** > > > Credits * [Connections From Mobile to Mobile Devices](https://community.teamviewer.com/t5/Knowledge-Base/Connections-From-Mobile-to-Mobile-Devices/ta-p/280) Upvotes: 2 [selected_answer]<issue_comment>username_2: The other option would be to use your gmail account's free Drive, Docs and Sheets access to create, edit and share your documents without ever storing them on your phone, all you need are the 3 apps in question. That way you don't even have to consider going through all the steps of installing Teamviewer (or a similar program) onto each phone and configuring them to work together at any time. Besides, you will use far less data. Upvotes: 0
2017/09/14
757
3,039
<issue_start>username_0: I didn't change any settings between 7 and 8, but suddenly I'm getting overwhelmed with my phone vibrating for every single notification. I still want to get my notifications (of which there are many) but I can't stand having my phone vibrate nonstop. The way it used to work (for me) was that my first Gmail notification would vibrate; but then subsequent emails wouldn't trigger the vibration until I had cleared out all of the old notifications. Also, none of my Twitter accounts ever made any vibrations, but now they are all making them, for every single tweet. It's insane. I've searched around in the App menues, in the phone settings, and online, but I can't seem to figure out what I need to do to turn off vibrations (but still get notifications.) Any help would be much appreciated.<issue_comment>username_1: I experienced the same issue. I ran a google search, and came across this thread. I hope it helps for you too! <https://forums.androidcentral.com/google-pixel-pixel-xl/828108-turning-off-vibration-oreo.html> (One mentioned in that thread, that Twitter doesn't have a setting to shut it off. I don't have Twitter installed, so I can't verify) I did go into all of my notifications (each and every one) and had to turn off the vibrate. It is very tedious, but hopefully helps you too. UPDATE: Just in case that thread mentioned above, disappears. Here is the quote from the user on how to disable the vibration on each notification "Super annoying thing Oreo started, happened to me too. For some reason Google thought this was a good idea?! Go into settings, apps and notifications, app info, messages, app notifications (again sheesh) and then you have to go into each and every category and uncheck vibrate. Thanks Google" Upvotes: 1 <issue_comment>username_2: I have a soloution for you.But first you should backup important messages and then you can(should) delete all of messages.From hereafter every messages comes without vibration. Upvotes: 0 <issue_comment>username_3: Slightly easier on a Samsung running Oreo (the S9 at least anyway, which is the only one officially carrying it to date AFAIK). I primarily dug into this as I was getting notifications vibrating on Twitter left right and centre. To get to the settings: when you get a notification, you can either swipe slightly right on it, and tap the gear icon, or alternatively at the bottom of the drop-down tap on Notification settings, then once in that, as username_1 states above, you have to tap on the name of each app, and within that you can either completely switch off each 'category' of notifications, or you can tap on its name to change its settings, including vibrate. And yes, you have to go into every single category and turn it off, which on Twitter for one, is very tedious! (I had 9 categories, others may have more). And then every other app has its own category(s). I think this is a real dropped ball on Google's part, since there seems to be no global settings for this or anything. Upvotes: 0
2017/09/14
315
1,126
<issue_start>username_0: Is it possible to run Android on PC? Is it?<issue_comment>username_1: Despite that it's [worth discussing whether Android can be called a Linux distribution or not](http://www.androidauthority.com/android-linux-784964/), you can find several working Androids for desktop platforms: * Android x86: <http://www.android-x86.org/> * Remix OS ([discontinued](http://www.androidpolice.com/2017/07/17/jide-technology-shifting-away-consumer-market-remix-os-discontinued/)): <http://www.jide.com/remixos> * Bluestacks (virtual machine): <http://www.bluestacks.com> Upvotes: 1 <issue_comment>username_2: i would have to say yes as i have a linux android distro i have played with a few time i made a live bootable usb stick with lili i am not sure where i origanelly downloaded the ISO but i have had it boot fine a few times and also after some playing in the shell when it has not loaded properly other times not sure if its something from the creation of the usb or the different computers i have used it on. sorry i cant help more then that (is there a reason you cant just run knox to emulate) Upvotes: 0
2017/09/16
418
1,577
<issue_start>username_0: Recently I encrypted my LG Tribute HD. I was doing something in recovery mode a couple days later, I accidentally hit the "wipe all data on phone" button. I pressed no. I rebooted my phone and all of the sudden secure startup was enabled and it had a password instead of a pattern. I tried a couple passwords but none of them worked. The attempts count only went down 1 time for some weird reason. I don't want to factory reset my phone. I just did a couple days ago, and I don't want to again.<issue_comment>username_1: Despite that it's [worth discussing whether Android can be called a Linux distribution or not](http://www.androidauthority.com/android-linux-784964/), you can find several working Androids for desktop platforms: * Android x86: <http://www.android-x86.org/> * Remix OS ([discontinued](http://www.androidpolice.com/2017/07/17/jide-technology-shifting-away-consumer-market-remix-os-discontinued/)): <http://www.jide.com/remixos> * Bluestacks (virtual machine): <http://www.bluestacks.com> Upvotes: 1 <issue_comment>username_2: i would have to say yes as i have a linux android distro i have played with a few time i made a live bootable usb stick with lili i am not sure where i origanelly downloaded the ISO but i have had it boot fine a few times and also after some playing in the shell when it has not loaded properly other times not sure if its something from the creation of the usb or the different computers i have used it on. sorry i cant help more then that (is there a reason you cant just run knox to emulate) Upvotes: 0
2017/09/16
2,934
10,708
<issue_start>username_0: I'd like a browser app (FireFox) not to be killed every now and then by the system's task killer since I'd like to use certain single page applications that hold some data and are not loaded very quickly. Is there any way to deal with this, even if root is required? Some time ago, I've updated my device from a 1 GB RAM to another one, 3 GB RAM and everything went well (browser stopped to get killed at all). But after a system update in Jan 2016, things got even worse, now FireFox usually gets killed even after an alarm clock rang or I opened a camera app. This is a major issue for me so I appreciate any help about this. PS yeap, I've tried Settings→Battery→Battery Optimization where I both added FF to exceptions (didn't help) and turned Battery Optimization at all (didn't help as well).<issue_comment>username_1: This app, [RAM Manager](https://forum.xda-developers.com/showthread.php?t=1305060) claims to be able to lock certain apps from Android's RAM management mechanics. Alternatively, go to **Settings→Battery→Battery Optimization** and set Firefox to *Don't optimize* can help a bit. Upvotes: 1 <issue_comment>username_2: **Tl;dr** It's possible with root, you can tweak `oom_adj` values to prevent apps from being killed, alternatively force the target app to stay in memory by "locking" it or change some related settings responsible for killing apps in low memory condition. --- **Background: Android RAM Management** > > Android uses a different way of handling processes. Instead of killing > every process after its activity ended, processes are kept until the > system needs more memory. The idea is to give speed improvements if > you start that activity again. But how/when does Android kill a > process if it needs more memory and which process to kill first? > > > This is managed by the LMK (Low Memory Killer) driver of Android. You > may already know that every app/process in Android is assigned an > `oom_adj` value, which indicates the likelihood of it being killed when > an out of memory (OOM) situation occurs. More higher it's value, the > higher likelihood of it getting killed. Valid range is `-17` to `+15`. (if > in the `-17` range means it won't get killed). According to that, there > are six groups (OOM groups), into which apps/processes are > categorised: > > > 1. Foreground app 2. Visible app 3. Secondary server 4. Hidden app 5. Content provider 6. Empty app Basically these could be described as: > > `FOREGROUND_APP`: This is the process running the current foreground > app. We'd really rather not kill it! > > > `VISIBLE_APP`: This is a process only hosting activities that are > visible to the user, so we'd prefer they don't disappear. > > > `SECONDARY_SERVER`: This is a process holding a secondary server -- > killing it will not have much of an impact as far as the user is > concerned. > > > `HIDDEN_APP`: This is a process only hosting activities that > are not visible, so it can be killed without any disruption. > > > `CONTENT_PROVIDER`: This is a process with a content provider that > does not have any clients attached to it. If it did have any clients, > its adjustment would be the one for the highest-priority of those > processes. > > > `EMPTY_APP`: This is a process without anything currently running in > it. Definitely the first to go. > > > These groups are defined by `oom_adj` value limits, and apps would fall into one of those groups according to the `oom_adj` value assigned to that particular app. "Foreground apps" usually have an `oom_adj` value of `0` or less (so they are the least killable; i.e High priority). "Empty apps" have a higher `oom_adj` (they are killed early; i.e Low priority). Also, `oom_adj` value changes according to the state of the user app; it's `0` when the app is active in the foreground and assigned a higher value when the app goes to the background. > > Why their "killability" differ? Apps belonging to these different > groups (that have different `oom_adj's`), start to get killed at > different levels of free RAM. These triggering RAM limits are defined > by the LMK minfree values. Above 6 categories correspond with 6 RAM > limits which are set in the LMK minfree. eg: Stock Android 4.3 in my > device comes with the minfree values of `48,60,72,84,96,120`. (these > are in MB). > > > [![enter image description here](https://i.stack.imgur.com/jnQKzl.png)](https://i.stack.imgur.com/jnQKzl.png) Practically what it means is, Empty apps will get killed when ram goes below 120mb, Content providers when it goes below 96mb, Hidden apps when it goes below 84mb and so on.. lastly starts killing Foreground apps when ram goes below 48mb. (You may notice that this last value (48mb) is not desirable when using memory intensive apps like heavy games). NB: 1. In newer kernel, `oom_ score _adj` is used instead of old `oom_adj`. (oom\_score\_adj valid range is -1000 to 1000). But `oom_adj` is also maintained for perhaps compatibility. 2. It is said that there are many OOM process categories that are assigned different `oom_adj` priorities by the `ActivityManagerService`, but eventually all of those would be considered under above six slots/groups (according to oom\_limits), for the purpose of killing by the LMK minfree triggers. Therefore, those six are the important ones for normal users. * We can check the minfree values (also change them) and see the OOM groupings of apps/processes with this Memory Manager app easily. 3. Not every device has the same OOM configuration. --- **Improving RAM Management** Nowadays there is much user friendly implementation of RAM management mechanism with UI in system settings (such as App optimisation in Battery settings, **Protected apps** in some ROMS e.g **Huawei’s EMUI** etc) and can have the same effect as described above: [![enter image description here](https://i.stack.imgur.com/MKBzyl.png)](https://i.stack.imgur.com/MKBzyl.png) Having said that we can now explore ways in which, RAM can be utilised without killing foreground applications too often. The target areas will include: **1.Adjusting minifree values to suit one’s needs** **2.Locking apps in memory to prevent them from being killed** **3.Overridding the hidden app limit of android** --- 1. **Adjusting minifree values** * You can change the minfree values with memory manager and tap apply. (Additionally there is an option “apply at boot” and tick to preserve settings across boots). Several apps can achieve this e.g [Memory manager](https://play.google.com/store/apps/details?id=com.jrummy.apps.memory.manager), [Minfree manager](https://play.google.com/store/apps/details?id=com.dustypixels.minfreemanager) etc * Alternatively use terminal/adb using pages: ``` #!/system/bin/sh echo “values” > /sys/module ``` 2. **Locking apps to stay in memory (making it resident)** a) Using App Settings (Xposed) * One simple method is used Xposed module, App settings (you need [Xposed framework](https://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053) installed) * After installing the framework, then download the 'App Settings' module through Xposed installer. * Open App Settings and allow the applications to load, selected the target app (in this case **firefox browser**) * In the settings page, enable the toggle and activate editing mode, tick the “Resident” option and save. (*Making apps resident, causes apps to staying memory without being killed and it is advised to use exit button in target application if it’s no longer needed otherwise it will deprive other apps memory)* [![enter image description here](https://i.stack.imgur.com/J5Uyk.png)](https://i.stack.imgur.com/J5Uyk.png) b) Using [memory locker](https://play.google.com/store/apps/details?id=com.smartprojects.MemoryLocker) Another implementation of this concept is locking the target application in memory by controlling the system files for setting `oom_adj` for all running processes. How the application works: > > Memory locker controls files in the /data directory and also controls > sytem files in root for setting oom\_adj for running processes. > > > All > locked applications are automatically locked after each reboot. Apps > are classified as downloaded/system apps, to unlock select target app > and click on the lock on right side. (You can optionally set `oom_adj` > priority) > > > 3. **Overriding the hidden app limit** * In addition the low memory killing mechanism, there is another parameter that controls killing of hidden and empty apps. Apps are killed when they go beyond specified limits. * There is a build.prop setting that which can control this (default is usually a low number less than 25, and modifying this can increase this value to a much larger value like 80) * Add this line to build.prop file in /system and leave another blank line below that (be sure to make back up first) `ro.sys.fw.bg_apps_limit=80` --- References and Credits 1. [Android RAM Management](https://forum.xda-developers.com/showthread.php?t=2751559) (Special credits: [mrhnet](https://forum.xda-developers.com/member.php?u=4414423)) 2. [Memory Locker](https://forum.xda-developers.com/showthread.php?t=2366619) 3. [Xposed - General info, versions & changelog](https://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053) Upvotes: 4 <issue_comment>username_3: The post above is very thorough, but I will add instructions for a few specific models (stolen from ASM app page). Note that for apps that use more memory (eg Firefox), the system will likely eventually kill the app anyway when other apps request memory space. If the cached ram is needed, the largest and oldest apps go first regardless of battery saving settings, and Firefox is a big spender. --- How to deal with (known) Battery savers? Samsung In Android settings > Device Maintenance > Battery, add app to the list of Unmonitored apps Huawei (depending on models) In Android settings > Advanced settings > Battery Manager, add app to the list of Protected Apps or: Battery > Close apps after screen lock, uncheck app from the Lock screen clean up Xiaomi In your Security app: Battery % > App battery saver, select app then No restrictions and: In your Security app: Permissions > Autostart then allow app to be started. Asus (Zenfone) Open your Auto-start Manager and allow app to be started. OnePlus In Android settings > Battery > Menu > Aggressive Doze & App Hibernation, check app to exclude it from the optimised apps. Infinix Open your Xmanager app, Auto-start manager and allow app to be started. Upvotes: 1
2017/09/17
2,966
10,718
<issue_start>username_0: I am able to log wifi probe request with script like [hoover](https://github.com/xme/hoover), [probeSniffer](https://github.com/xdavidhu/probeSniffer), and my favorite for the moment [probemon](https://github.com/nikharris0/probemon) on my ubuntu machine with a card able to run in monitor mode. Is it possible to do the same on android ? a rooted android is not a problem. But I guess one major problem would be to be able to switch the wifi card in monitor mode, if it is possible at all, depending on the driver. Is there even script or software or app to be able to log the wifi probe request ? At the very least, one can try to use the script I mention above but there are not meant to be run on android. My question is perhaps too general. I use a moto G 4G (XT1039) with LineageOS 14.1 (peregrine)<issue_comment>username_1: This app, [RAM Manager](https://forum.xda-developers.com/showthread.php?t=1305060) claims to be able to lock certain apps from Android's RAM management mechanics. Alternatively, go to **Settings→Battery→Battery Optimization** and set Firefox to *Don't optimize* can help a bit. Upvotes: 1 <issue_comment>username_2: **Tl;dr** It's possible with root, you can tweak `oom_adj` values to prevent apps from being killed, alternatively force the target app to stay in memory by "locking" it or change some related settings responsible for killing apps in low memory condition. --- **Background: Android RAM Management** > > Android uses a different way of handling processes. Instead of killing > every process after its activity ended, processes are kept until the > system needs more memory. The idea is to give speed improvements if > you start that activity again. But how/when does Android kill a > process if it needs more memory and which process to kill first? > > > This is managed by the LMK (Low Memory Killer) driver of Android. You > may already know that every app/process in Android is assigned an > `oom_adj` value, which indicates the likelihood of it being killed when > an out of memory (OOM) situation occurs. More higher it's value, the > higher likelihood of it getting killed. Valid range is `-17` to `+15`. (if > in the `-17` range means it won't get killed). According to that, there > are six groups (OOM groups), into which apps/processes are > categorised: > > > 1. Foreground app 2. Visible app 3. Secondary server 4. Hidden app 5. Content provider 6. Empty app Basically these could be described as: > > `FOREGROUND_APP`: This is the process running the current foreground > app. We'd really rather not kill it! > > > `VISIBLE_APP`: This is a process only hosting activities that are > visible to the user, so we'd prefer they don't disappear. > > > `SECONDARY_SERVER`: This is a process holding a secondary server -- > killing it will not have much of an impact as far as the user is > concerned. > > > `HIDDEN_APP`: This is a process only hosting activities that > are not visible, so it can be killed without any disruption. > > > `CONTENT_PROVIDER`: This is a process with a content provider that > does not have any clients attached to it. If it did have any clients, > its adjustment would be the one for the highest-priority of those > processes. > > > `EMPTY_APP`: This is a process without anything currently running in > it. Definitely the first to go. > > > These groups are defined by `oom_adj` value limits, and apps would fall into one of those groups according to the `oom_adj` value assigned to that particular app. "Foreground apps" usually have an `oom_adj` value of `0` or less (so they are the least killable; i.e High priority). "Empty apps" have a higher `oom_adj` (they are killed early; i.e Low priority). Also, `oom_adj` value changes according to the state of the user app; it's `0` when the app is active in the foreground and assigned a higher value when the app goes to the background. > > Why their "killability" differ? Apps belonging to these different > groups (that have different `oom_adj's`), start to get killed at > different levels of free RAM. These triggering RAM limits are defined > by the LMK minfree values. Above 6 categories correspond with 6 RAM > limits which are set in the LMK minfree. eg: Stock Android 4.3 in my > device comes with the minfree values of `48,60,72,84,96,120`. (these > are in MB). > > > [![enter image description here](https://i.stack.imgur.com/jnQKzl.png)](https://i.stack.imgur.com/jnQKzl.png) Practically what it means is, Empty apps will get killed when ram goes below 120mb, Content providers when it goes below 96mb, Hidden apps when it goes below 84mb and so on.. lastly starts killing Foreground apps when ram goes below 48mb. (You may notice that this last value (48mb) is not desirable when using memory intensive apps like heavy games). NB: 1. In newer kernel, `oom_ score _adj` is used instead of old `oom_adj`. (oom\_score\_adj valid range is -1000 to 1000). But `oom_adj` is also maintained for perhaps compatibility. 2. It is said that there are many OOM process categories that are assigned different `oom_adj` priorities by the `ActivityManagerService`, but eventually all of those would be considered under above six slots/groups (according to oom\_limits), for the purpose of killing by the LMK minfree triggers. Therefore, those six are the important ones for normal users. * We can check the minfree values (also change them) and see the OOM groupings of apps/processes with this Memory Manager app easily. 3. Not every device has the same OOM configuration. --- **Improving RAM Management** Nowadays there is much user friendly implementation of RAM management mechanism with UI in system settings (such as App optimisation in Battery settings, **Protected apps** in some ROMS e.g **Huawei’s EMUI** etc) and can have the same effect as described above: [![enter image description here](https://i.stack.imgur.com/MKBzyl.png)](https://i.stack.imgur.com/MKBzyl.png) Having said that we can now explore ways in which, RAM can be utilised without killing foreground applications too often. The target areas will include: **1.Adjusting minifree values to suit one’s needs** **2.Locking apps in memory to prevent them from being killed** **3.Overridding the hidden app limit of android** --- 1. **Adjusting minifree values** * You can change the minfree values with memory manager and tap apply. (Additionally there is an option “apply at boot” and tick to preserve settings across boots). Several apps can achieve this e.g [Memory manager](https://play.google.com/store/apps/details?id=com.jrummy.apps.memory.manager), [Minfree manager](https://play.google.com/store/apps/details?id=com.dustypixels.minfreemanager) etc * Alternatively use terminal/adb using pages: ``` #!/system/bin/sh echo “values” > /sys/module ``` 2. **Locking apps to stay in memory (making it resident)** a) Using App Settings (Xposed) * One simple method is used Xposed module, App settings (you need [Xposed framework](https://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053) installed) * After installing the framework, then download the 'App Settings' module through Xposed installer. * Open App Settings and allow the applications to load, selected the target app (in this case **firefox browser**) * In the settings page, enable the toggle and activate editing mode, tick the “Resident” option and save. (*Making apps resident, causes apps to staying memory without being killed and it is advised to use exit button in target application if it’s no longer needed otherwise it will deprive other apps memory)* [![enter image description here](https://i.stack.imgur.com/J5Uyk.png)](https://i.stack.imgur.com/J5Uyk.png) b) Using [memory locker](https://play.google.com/store/apps/details?id=com.smartprojects.MemoryLocker) Another implementation of this concept is locking the target application in memory by controlling the system files for setting `oom_adj` for all running processes. How the application works: > > Memory locker controls files in the /data directory and also controls > sytem files in root for setting oom\_adj for running processes. > > > All > locked applications are automatically locked after each reboot. Apps > are classified as downloaded/system apps, to unlock select target app > and click on the lock on right side. (You can optionally set `oom_adj` > priority) > > > 3. **Overriding the hidden app limit** * In addition the low memory killing mechanism, there is another parameter that controls killing of hidden and empty apps. Apps are killed when they go beyond specified limits. * There is a build.prop setting that which can control this (default is usually a low number less than 25, and modifying this can increase this value to a much larger value like 80) * Add this line to build.prop file in /system and leave another blank line below that (be sure to make back up first) `ro.sys.fw.bg_apps_limit=80` --- References and Credits 1. [Android RAM Management](https://forum.xda-developers.com/showthread.php?t=2751559) (Special credits: [mrhnet](https://forum.xda-developers.com/member.php?u=4414423)) 2. [Memory Locker](https://forum.xda-developers.com/showthread.php?t=2366619) 3. [Xposed - General info, versions & changelog](https://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053) Upvotes: 4 <issue_comment>username_3: The post above is very thorough, but I will add instructions for a few specific models (stolen from ASM app page). Note that for apps that use more memory (eg Firefox), the system will likely eventually kill the app anyway when other apps request memory space. If the cached ram is needed, the largest and oldest apps go first regardless of battery saving settings, and Firefox is a big spender. --- How to deal with (known) Battery savers? Samsung In Android settings > Device Maintenance > Battery, add app to the list of Unmonitored apps Huawei (depending on models) In Android settings > Advanced settings > Battery Manager, add app to the list of Protected Apps or: Battery > Close apps after screen lock, uncheck app from the Lock screen clean up Xiaomi In your Security app: Battery % > App battery saver, select app then No restrictions and: In your Security app: Permissions > Autostart then allow app to be started. Asus (Zenfone) Open your Auto-start Manager and allow app to be started. OnePlus In Android settings > Battery > Menu > Aggressive Doze & App Hibernation, check app to exclude it from the optimised apps. Infinix Open your Xmanager app, Auto-start manager and allow app to be started. Upvotes: 1
2017/09/17
355
1,560
<issue_start>username_0: After the upgrade to 8.0, the Google+ app notifications sound change to the default notifications sound. I went through the settings to change the sound back the way it was but that setting is completely missing. The **Ringtone** option is not there anymore. Is there a different way to change the notifications sound for this Google+ app?<issue_comment>username_1: Settings > Apps & notifications > App info > Google+ > App notifications From here, you can enable/disable specific notifications, change their importance to a level with or without sound, and/or set the sound you want to use for notifications. Upvotes: 2 <issue_comment>username_2: Here's what I was able to find for my Android 8 phone (no one told me this, it wasn't documented anywhere that I could find, I just kept searching). While in Gmail, go to Settings. Tap your Gmail account name (not your General Settings, although this will work from there also). Tap Manage Notifications. Tap Mail (make a sound) EVEN if the toggle switch is on indicating you have a sound set. Then tap Sound. Unlike in earlier versions of Android, you can not select a different sound for different "labels", just one sound for ANY label. I have the exact same version of Gmail on my Android 4.4.2 tablet and I can set different sounds for different labels by going to Settings, My Gmail account name and Manage Labels ? Seems strange to me that the same version of Gmail works differently on different versions of Android........but...... Hope this works for you also. Upvotes: -1
2017/09/18
421
1,671
<issue_start>username_0: I accidentally hid a contact on Google Maps, thereby removing his/her address on the map. How do I undo this action?<issue_comment>username_1: According to solutions given [Google Maps Help forum](https://support.google.com/maps/forum/AAAAQuUrST8RFzqQ_EP2q0/?hl=en), you can try **deleting** the contact and then **re-adding** it. > > It is presumed that these settings are stored in the Contacts App on your > phone, not the Maps app. > > > Thus perfoming the above mentioned workaround will then override the "hide" option. Additionally you may need to resync the information to Google servers. Upvotes: 2 [selected_answer]<issue_comment>username_2: My solution just recently when I hide contact by accident Settings-Apps-Google Maps-Force shutdown- Clear memory + cache Start maps again and the contacts should be back. Upvotes: 0 <issue_comment>username_3: Open location sharing (from the menu in the top left corner of the Google maps app). You should see a list of everyone who has shared their location with you, including the one you accidentally hid from the map. Select that person, and an option should appear for you to "show on map". Select that, and they will again appear on your map. Upvotes: 0 <issue_comment>username_4: on the maps app, click on your profile picture located at the right side of the search bar, then "location sharing", then click on the 3 dots in the top right corner and "hidden from map (1)" where 1 is the number of hidden contacts. Then, click on the 3 dots of the contact that you want to unhide, and click on "show on map". Now your contact's location will be shown on the map again. Upvotes: 0
2017/09/19
509
1,676
<issue_start>username_0: I have a weekly payment cycle for mobile data. The data usage settings are limited to a monthly billing cycle and data warning. What can I do to monitor data usage on a weekly cycle?<issue_comment>username_1: Withe the App [MyDataManager](https://play.google.com/store/apps/details?id=com.mobidia.android.mdm) it is possible to monitor mobile data usage in 4 ways : 1. Monthly 2. Weekly 3. Daily 4. Custom Hope this will help. Upvotes: 1 <issue_comment>username_2: Alternatively you could achieve the same with [3g Watchdog](https://play.google.com/store/apps/details?id=net.rgruet.android.g3watchdog&hl=en), giving a breakdown usage history per day/week etc. [![screenshot of 3g watchdog](https://i.stack.imgur.com/N1v3ol.png)](https://i.stack.imgur.com/N1v3ol.png) Additionally extra alerts, for switching mobile data automatically add soon as it exceed allocation Upvotes: 1 <issue_comment>username_3: If you have the [Xposed Framework](https://forum.xda-developers.com/showthread.php?t=3034811) installed, install the [Advanced Data Plan](http://repo.xposed.info/module/net.m0m4x.android.xposed.advdataplan) module. This enhances Android's built in data usage meter with a system where you can set the number of days between billing cycles. [GitHub repo](https://github.com/m0m4x/AdvDataPlan) [XDA thread](https://forum.xda-developers.com/xposed/modules/xposed-advanced-data-plan-t3634138) [![screenshot showing options to set data billing cycle and cycle length in days](https://raw.githubusercontent.com/m0m4x/AdvDataPlan/master/screenshot/2.png)](https://raw.githubusercontent.com/m0m4x/AdvDataPlan/master/screenshot/2.png) Upvotes: 0
2017/09/19
304
1,181
<issue_start>username_0: When I visit passwords.google.com in Chrome for Android (Marshmallow) I have the option to autocomplete the password. I would like to disable passoword autocomplete for this site only, or maybe for selected sites, leaving the autocomplete enabled for most sites. Is it possible to do so? How?<issue_comment>username_1: It is not possible for an user to disable *autocomplete* for a single site. You can check [this link to disable the feature on Chrome (all sites)](https://www.lifewire.com/disable-autofill-in-google-chrome-4103633) - it is a simple tutorial on how to do it. However, for a single site, unless you are the website's developer and don't want your users to have this feature, you can't. But, if you are, you can check [this stackoverflow post](https://stackoverflow.com/a/40200269/2405914) Upvotes: 5 [selected_answer]<issue_comment>username_2: Actually you can disable the autofill for usernames and passwords for just one site. Go to settings in the Chrome browser then to passwords. Scroll down to find the website that you do not want autofilled. Then you hit on the 3 dots and remove it from the list of saved passwords. Upvotes: 0
2017/09/20
540
1,926
<issue_start>username_0: I have an Android Moto G5. The specs show the following bands but will all handsets support all bands? Or is this a superset of all supported bands in the Model but the actual ones depend on where the handset is sold? [![enter image description here](https://i.stack.imgur.com/z1YoI.png)](https://i.stack.imgur.com/z1YoI.png) I ask because I am going to be travelling to Turkey (Istanbul) and Greece (Athens), both nations I've not been to before and wanted to confirm that my handset will work on the cellular frequencies in use on networks there. If it matter, this handset was purchased in India (see version details below) Also, if it matters the roaming will be on Vodafone network in both nations. Any other way to verify which frequencies are actually supported by the handset I own and whether the Greek and Turkish networks will support them? Is there any way to get more info on my specific Baseband version of the signal chip? ``` Version: PVT1 SKU: XT1677 Baseband version: M8937_11.16.02.51R CEDRIC_INDIADSDS_CUST ```<issue_comment>username_1: It is not possible for an user to disable *autocomplete* for a single site. You can check [this link to disable the feature on Chrome (all sites)](https://www.lifewire.com/disable-autofill-in-google-chrome-4103633) - it is a simple tutorial on how to do it. However, for a single site, unless you are the website's developer and don't want your users to have this feature, you can't. But, if you are, you can check [this stackoverflow post](https://stackoverflow.com/a/40200269/2405914) Upvotes: 5 [selected_answer]<issue_comment>username_2: Actually you can disable the autofill for usernames and passwords for just one site. Go to settings in the Chrome browser then to passwords. Scroll down to find the website that you do not want autofilled. Then you hit on the 3 dots and remove it from the list of saved passwords. Upvotes: 0
2017/09/20
400
1,563
<issue_start>username_0: My mobile phone ***(Yu-Yuphoria)*** continue updating OS or optimising Apps and not stop. Actually last night when I'm going to use my mobile it displayed black screen and then I did restart the phone. At the time of restart phone as usual display **"cyanogen"** logo and then instantly going to updating mode and display **"Optimise Apps"**. I gave time but this process is not finish. I also switch off device and switch on but same alway phone going on updating mode and displaying \*\*"Optimise Apps". I'm facing this issue last 2 days. If anyone have faced same problem then guide me on right direction. In Short how to stop this continuously updating/optimising OS ?<issue_comment>username_1: It is not possible for an user to disable *autocomplete* for a single site. You can check [this link to disable the feature on Chrome (all sites)](https://www.lifewire.com/disable-autofill-in-google-chrome-4103633) - it is a simple tutorial on how to do it. However, for a single site, unless you are the website's developer and don't want your users to have this feature, you can't. But, if you are, you can check [this stackoverflow post](https://stackoverflow.com/a/40200269/2405914) Upvotes: 5 [selected_answer]<issue_comment>username_2: Actually you can disable the autofill for usernames and passwords for just one site. Go to settings in the Chrome browser then to passwords. Scroll down to find the website that you do not want autofilled. Then you hit on the 3 dots and remove it from the list of saved passwords. Upvotes: 0
2017/09/20
244
832
<issue_start>username_0: How can I access the battery usage graph on Android 8? This is the graph that shows the battery drain since last the last charge and estimates the number of hours left on the current charge.<issue_comment>username_1: Go to `Settings` and select `Battery`. Tap on the large battery image in the battery section and the usage graph will be shown. [![enter image description here](https://i.stack.imgur.com/7UQ57m.png)](https://i.stack.imgur.com/7UQ57.png) [![enter image description here](https://i.stack.imgur.com/lqgXmm.png)](https://i.stack.imgur.com/lqgXm.png) Upvotes: 3 [selected_answer]<issue_comment>username_2: If you mean this menu, you can access it from *Settings > Battery*. [![enter image description here](https://i.stack.imgur.com/8x3yN.jpg)](https://i.stack.imgur.com/8x3yN.jpg) Upvotes: 2
2017/09/20
189
805
<issue_start>username_0: When I had Android on my tablet (Smasung Note 10) I would long press the chassis button to access a list of running applications; the long press does nothing with LineageOS. How can I access the list of running applications with LineageOS?<issue_comment>username_1: It depends on your settings. For me it is settings -> buttons. There you can specify which button is responsible for which action. Upvotes: 3 [selected_answer]<issue_comment>username_2: By default, press the original MENU key. This is now the new default on LineageOS across devices that use the legacy MENU-HOME-BACK capacitive key layout. Note that you can change this behaviour back to what it was by visiting Settings-Buttons - for MENU and HOME, both tap and long-press actions are customizable. Upvotes: 1
2017/09/21
318
1,285
<issue_start>username_0: I have a Oneplus 1 running CM11 44s Kitkat 4.4.4 I did a clean flash of CM11 and now I am unable to install any app from playstore. As soon as an app finishes installing, the phone hardboots and enters bootloop or I get continuous error messages Trebuchet stops working, Play Store stopped working I have to goto Safe Mode and unistall app to recover phone. Apps which I have tried to install and have been unsuccessful Greenify Nova Launcher Facebook Gboard Microsoft SMS Organiser Basically, I am unable to install anything at all! All these were running fine before, now dont understand whats wrong! I cleaned whole phone, formatted all with fastboot and reinstalled CM11, but the problem remains. Please help!!<issue_comment>username_1: It depends on your settings. For me it is settings -> buttons. There you can specify which button is responsible for which action. Upvotes: 3 [selected_answer]<issue_comment>username_2: By default, press the original MENU key. This is now the new default on LineageOS across devices that use the legacy MENU-HOME-BACK capacitive key layout. Note that you can change this behaviour back to what it was by visiting Settings-Buttons - for MENU and HOME, both tap and long-press actions are customizable. Upvotes: 1
2017/09/21
494
1,643
<issue_start>username_0: Previously I used `jfltespr`. But Lineage OS [doesn't show any builds for that](https://download.lineageos.org/jfltespr). Did one of the other builds replace that? * jfltexx * jfltevzw * ks01lte jfltexx sounds appropriate but I can't find anything that confirms that it will work on S4 Sprint.<issue_comment>username_1: I've been using the [unofficial "Optimized LineageOS" ROM by JDCTeam](https://forum.xda-developers.com/galaxy-s4/i9505-orig-develop/jdcteam-optimized-cyanogenmod-14-0-t3479888/) for several months now, and it has been working wonderfully, thank G‑d. It is a ROM for several S4 models (I think this is called a "unified" aka `jflte` build), including the `jfltespr` (which does not yet have its own official LineageOS ROM, as of 2017/09). It has generally been updated monthly. `jfltespr` is the code name for the sprint variant of the Galaxy S4, and`jfltexx` is the codename for the international S4. ROMs for the `jfltexx` will most likely not work with the `jfltespr`, since they use different cellular radio protocols. (When I tried to install the `jfltexx` version on a `jfltespr` device using TWRP, this was detected and an error message was issued saying it could not install on the device since was the wrong device type). Upvotes: 2 <issue_comment>username_2: As of this writing, LineageOS 16 is officially supported for the Sprint Galaxy S4. <https://download.lineageos.org/jfltespr> Note that I had trouble installing this image using the last available version of TWRP for the Sprint S4, and had to flash the lineageOS recovery image before I could get the rom to flash. Upvotes: 1
2017/09/21
969
3,965
<issue_start>username_0: I'm having trouble editing a WhatsApp contacts' name. I have this contact saved in my contacts list with the desired name, but WhatsApp just doesn't want to use that name apparently. I can even see the WhatsApp "voice call", etc. options from the contacts screen in my contacts app. If I'm on the contact page in WhatsApp, clicking the dropdown menu "edit" or "view in address book" simply doesn't work, so I think this is some kind of sync problem. In my Contacts app on Nexus 5X, when I select "All Contacts", there's only one version of this specific contact, under the correct name, so I don't think there's a duplicate with the wrong name unless WhatsApp has somehow hidden this duplicate. I feel like I've tried *everything* you can possibly try by googling; deleting the contact, playing around with WhatsApp permissions, etc. Any insight is very appreciated. (How it seems to me: WhatsApp has some kind of hidden contact list somewhere that I can't view/edit, from which it keeps syncing the wrong contact name)<issue_comment>username_1: Turns out Whatsapp was getting the contact info from the contacts stored on my SIM card (you can see where WhatsApp gets your contact from by the tiny label "Mobile" or "Sim" at the side of your contact in your contact list in WhatsApp). So, I downloaded a SIM card managing app and deleted the contact from my SIM, and now WhatsApp displays the correct name and gets the contact info from my phone itself. Upvotes: 1 <issue_comment>username_2: I have found one solution (the only one to my knowledge). A bit lengthy, but effective for sure. 1. Uninstall WhatsApp 2. Refresh contacts list of Android phonebook's (irrespective what make of mobile you are using) 3. Be alert that you have uninstalled WhatsApp, as it is the only way you can edit WhatsApp names in your phone book 4. After editing a whole lot of your phone list, install WhatsApp again (confirm on the step to restore chat history, which is stored in your phone memory by default. You will get your entire WhatsApp history back in minutes with edited names.) P.S. Restoring messages will work only at the entry level of installing WhatsApp back. Once you skip that step, you won't be availed with the chat history restore option. You may have to uninstall & install it all again to have that option, work. Upvotes: -1 <issue_comment>username_3: That's how I've made it for Android: 1. Open WhatsApp and open chat with the contact 2. Tap on the name to open chat menu with a big avatar on top 3. Press three dots on the top right corner of the screen 4. Press Edit, the system contact editing menu will appear 5. List down and press split contacts, because your WhatsApp contact is merged with your regular contact 6. Open WhatsApp contact like in 1-4 again and delete it 7. Open regular contact like in 1-4 again and remove phone number assosiated with that chat contact, then your chat in WhatsApp will only have a phone number 8. Click add contact in the WhatsApp chat and select add number to existing contact 9. Select your contact with prefered name Upvotes: 0 <issue_comment>username_4: In Whatsapp, press the green icon (message) at bottom to go to "Select Contact" page. Press the "3 dots" on top right side. Dropdown will show 4 options. Press "Refresh". Done. Upvotes: 2 <issue_comment>username_5: As above, I found the info was from my phone contacts list. I had two entries for the person, one wrong. Deleted the wrong one and within seconds my WhatsApp messages had the right name above all the messages. Upvotes: 0 <issue_comment>username_6: Close the app in the background, go to Settings > open WhatsApp settings > go to storage > clear cache. Then permissions > disable all permissions > force stop application. Now, go to WhatsApp. You should see that every contact has no name. Go to contact list (in WhatsApp), it will say to accept the permission for accessing contacts. Now it will work. Upvotes: 1
2017/09/21
758
3,111
<issue_start>username_0: I blocked a contact and reported it on WhatsApp. I just found out that the messages have been deleted ....it marked as spam messages .. How do I get back those messages?<issue_comment>username_1: Turns out Whatsapp was getting the contact info from the contacts stored on my SIM card (you can see where WhatsApp gets your contact from by the tiny label "Mobile" or "Sim" at the side of your contact in your contact list in WhatsApp). So, I downloaded a SIM card managing app and deleted the contact from my SIM, and now WhatsApp displays the correct name and gets the contact info from my phone itself. Upvotes: 1 <issue_comment>username_2: I have found one solution (the only one to my knowledge). A bit lengthy, but effective for sure. 1. Uninstall WhatsApp 2. Refresh contacts list of Android phonebook's (irrespective what make of mobile you are using) 3. Be alert that you have uninstalled WhatsApp, as it is the only way you can edit WhatsApp names in your phone book 4. After editing a whole lot of your phone list, install WhatsApp again (confirm on the step to restore chat history, which is stored in your phone memory by default. You will get your entire WhatsApp history back in minutes with edited names.) P.S. Restoring messages will work only at the entry level of installing WhatsApp back. Once you skip that step, you won't be availed with the chat history restore option. You may have to uninstall & install it all again to have that option, work. Upvotes: -1 <issue_comment>username_3: That's how I've made it for Android: 1. Open WhatsApp and open chat with the contact 2. Tap on the name to open chat menu with a big avatar on top 3. Press three dots on the top right corner of the screen 4. Press Edit, the system contact editing menu will appear 5. List down and press split contacts, because your WhatsApp contact is merged with your regular contact 6. Open WhatsApp contact like in 1-4 again and delete it 7. Open regular contact like in 1-4 again and remove phone number assosiated with that chat contact, then your chat in WhatsApp will only have a phone number 8. Click add contact in the WhatsApp chat and select add number to existing contact 9. Select your contact with prefered name Upvotes: 0 <issue_comment>username_4: In Whatsapp, press the green icon (message) at bottom to go to "Select Contact" page. Press the "3 dots" on top right side. Dropdown will show 4 options. Press "Refresh". Done. Upvotes: 2 <issue_comment>username_5: As above, I found the info was from my phone contacts list. I had two entries for the person, one wrong. Deleted the wrong one and within seconds my WhatsApp messages had the right name above all the messages. Upvotes: 0 <issue_comment>username_6: Close the app in the background, go to Settings > open WhatsApp settings > go to storage > clear cache. Then permissions > disable all permissions > force stop application. Now, go to WhatsApp. You should see that every contact has no name. Go to contact list (in WhatsApp), it will say to accept the permission for accessing contacts. Now it will work. Upvotes: 1
2017/09/21
316
1,163
<issue_start>username_0: How can I completely remove the magazine unlock that comes with Android 7.0 (nougat) on a huawei P9. I want my phone to go directly to the pattern unlock screen and not show the magazine unlock. I am willing to root the phone if required to delete/replace this screen. I am running build EVA-L09C432B386 and have TWRP recovery installed.<issue_comment>username_1: 1. From your device’s Settings, tap Screen lock & password > Magazine unlock. 2. Turn off ‘Auto-update via Wi-Fi’ Found it in this link: <http://webcazine.com/forums/honor-8-how-to-turn-off-wallpaper-updates/> Upvotes: -1 <issue_comment>username_2: The earlier answer didnt work for me. What I ended up doing was on my lock screen, I swiped up from the bottom to access the lock screen settings. Under "Subscriptions", I unsubscribed from all subscriptions, turned off the auto-update AND turned on the option to delete all old cover pictures, just to be thorough. Then I went back to my lock screen, swiped up again and accessed "Covers", and I deleted all of them. Hope this helps someone. I was getting pretty frustrated in trying to figure this out. Upvotes: 0
2017/09/22
486
1,744
<issue_start>username_0: I would like to modify the `wpa_supplicant.conf` file. However if I do it, the file sets itself back to its previous version (even if I modify the file with one single character), and I have no idea where that sort of backup is stored nor if what I'm doing wrong. I have tried to modify the file by copying it to a W7 PC and using notepad++, also with an SSH app with root rights granted. Same result. (have done the `chown wifi:wifi` thing too) The system is a LineageOS with Android 7.1.2. Disable wi-fi →modify file → re-enable wi-fi and also reverse.<issue_comment>username_1: Had the same issue on LinageOS 14.1 A work around is to overwrite `wpa_supplicant.conf` on **Recovery Mode**. I used `adb shell` but it may be possible to use TWRP's file manager. Don't know if needed, but before overwriting I replaced the header of my backup conf with the the current one. Upvotes: 1 <issue_comment>username_2: The reason is that Android uses it's own management classes to read/write `wpa_supplicant.conf` in conjunction with networkHistory.txt file. The `WifiConfigStore` in the Android framework does not write entries in `wpa_supplicant` if not found in networkHistory.txt I've had success by first adding the network in networkHistory.txt before adding the network via `wpa_cli`. However, in general, the usage of `wpa_cli` in Android is broken by the behavior of `WifiConfigStore`. Upvotes: 2 <issue_comment>username_3: I believe the file also needs to belong to user "system" and group "wifi". Depending on how the edit/copy was made, one may also need something of this sort: ``` chmod 660 /data/misc/wifi/wpa_supplicant.conf chown system:wifi /data/misc/wifi/wpa_supplicant.conf ``` Upvotes: 0
2017/09/23
403
1,445
<issue_start>username_0: I want to download an APK file to my SD card so I can take that SD card and put it in my Nook to get Google Play. I honestly don't know what I'm doing and I have an older model of the Nook Color. I only have my phone so I don't even know if this is possible.<issue_comment>username_1: Had the same issue on LinageOS 14.1 A work around is to overwrite `wpa_supplicant.conf` on **Recovery Mode**. I used `adb shell` but it may be possible to use TWRP's file manager. Don't know if needed, but before overwriting I replaced the header of my backup conf with the the current one. Upvotes: 1 <issue_comment>username_2: The reason is that Android uses it's own management classes to read/write `wpa_supplicant.conf` in conjunction with networkHistory.txt file. The `WifiConfigStore` in the Android framework does not write entries in `wpa_supplicant` if not found in networkHistory.txt I've had success by first adding the network in networkHistory.txt before adding the network via `wpa_cli`. However, in general, the usage of `wpa_cli` in Android is broken by the behavior of `WifiConfigStore`. Upvotes: 2 <issue_comment>username_3: I believe the file also needs to belong to user "system" and group "wifi". Depending on how the edit/copy was made, one may also need something of this sort: ``` chmod 660 /data/misc/wifi/wpa_supplicant.conf chown system:wifi /data/misc/wifi/wpa_supplicant.conf ``` Upvotes: 0
2017/09/23
408
1,419
<issue_start>username_0: I recently opened Google Maps and found the traffic layer to be enabled. And so I tried to turn it off by swiping from the left to open the App Drawer (aka Hamburger Menu). Unfortunately the usual button for layers was grayed out and said that the "Layers have moved": ![](https://i.stack.imgur.com/wEq1h.png) When I click the button it just closes the App Drawer. I can't figure out how to access the "Satellite & traffic" or any layers. **In the new version of Google Maps, how do you turn on/off the layers (i.e. Satellite, Traffic, Topology, etc)?** version is: 9.62.1 I tried to search for how to access the feature. But all I found was [some webpages that said the layers feature in Google-Maps was moving](http://www.androidpolice.com/2017/08/28/google-maps-v9-60-brings-usable-picture-picture-mode-prepares-adding-personal-notes-locations-food-reviews-apk-teardown-download/)... but nothing about how to access the layers feature after it moved.<issue_comment>username_1: I have this change on my Samsung tablet. I have a new button at the top right of the map, where the compass symbol used to be, which accesses layers. [![screenshot](https://i.stack.imgur.com/K6m8mm.jpg)](https://i.stack.imgur.com/K6m8mm.jpg) Upvotes: 2 [selected_answer]<issue_comment>username_2: I found the answer! About the button on the menu, choose where says Settings, then choose turn on. Upvotes: 0