date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/11/11
202
762
<issue_start>username_0: I use a Samsung S5 (Globe LTE) which has a fingerprint security system, but I forgot the password, and I can't use the fingerprint anymore. What should I use? Should I do factory reset or hard reset? Also, my phone is lagging.<issue_comment>username_1: "Factory reset" and "hard reset" are just different names for the same thing. Just make sure you know the password for your Google account, as you'll need it after you factory reset. Upvotes: 1 <issue_comment>username_2: You may try PUK code ( located on SIM card ) to unlock if tried too many attempt of pin. But I'm not sure it works or not in your phone model. [![enter image description here](https://i.stack.imgur.com/AtYoD.png)](https://i.stack.imgur.com/AtYoD.png) Upvotes: 0
2018/11/11
242
808
<issue_start>username_0: In Google Play Store, I have set "Auto-update apps" to "Don't auto-update apps". Still, I have apps automatically updated. Why? [![IMG: ](https://i.stack.imgur.com/1cS9W.jpg "Setting")](https://i.stack.imgur.com/1cS9W.jpg) Still, I get notifications. [![IMG: ](https://i.stack.imgur.com/mL32R.png "Notifications about updated apps")](https://i.stack.imgur.com/mL32R.png)<issue_comment>username_1: disable Facebook services. Instagram and Facebook are both auto updated by Facebook\_services. welcome to no longer having control over your own personal data collecting devices. Upvotes: 1 <issue_comment>username_2: ![enter image description here](https://i.stack.imgur.com/JPvpl.jpg) Now apps have separate auto-update option in Play store. So disable it, uncheck it. Upvotes: 2
2018/11/12
850
3,206
<issue_start>username_0: I tried to update my Xiaomi Mi A2 to Android Pie since yesterday the Beta was Released. At first, I tried to install the official provided one, but after facing some errors, I installed the Treble version of the Android Pie Pixel Experience ROM. It was working perfectly, but after installing Pixelify with Magisk, my WiFi stopped working, and I got the error MAC 02:00:00:00:00. After trying some things with terminal apps and root, I opted for reinstalling the modem image, which I thought that could solve the problem, but instead, the phone didn't turn on, it kept on the Android One screen. So after waiting for some hours, I decided to format the phone and lose all of my data. I formatted the system partition with `fastboot erase system_a` and `fastboot erase system_b`, but when trying to reinstall the PixelExperienceP ROM, I receive this error again and again: ``` fastboot flash system_a PixelExperienceP-arm64-ab.img Sending sparse 'system_a' 1/5 (524284 KB) FAILED (Error reading sparse file) Finished. Total time: 24.591s ``` After that, I am not allowed to send any command to the phone until I restart de bootloader. I have tried to install different ROMs, the stock one, other Android versions, but I get the same error on all of them. Please, any ideas on how to solve my problem? I am really worried about having broken it. Thanks in advance.<issue_comment>username_1: I just solved it simply by trying and trying, changing cable, USB port, restarting computer... Upvotes: 2 <issue_comment>username_2: Was facing the same problem with two devices (Google Pixel 4 and Samsung Galaxy S21 Ultra 5G (Exynos variant)) I've found that, in my case, for both the devices discussed, using the vendor provided flashing solutions (Odin 3.14.4 for Samsung and "flash-all.bat" script for Google) the procedure was stuck/hanging on some large transfer for both the devices (Odin was simply stuck at the `"SYSTEM"` phase (`system.img`) with the green progress bar halted/not moving while the Google script returned the infamous "`FAILED (Error reading sparse file)`" error message after "`Sending sparse 'vendor_b 1/2 (524284 KB)`"). I've tried leaving the devices connected for over 30 minutes, changing/swapping USB cables, upgrading/downgrading USB/Thunderbolt drivers, BIOS/UEFI to no avail.. I've retried the procedure many times with no different outcome.. I've then connected the devices to a USB 3.0 "A" port of my motherboard (Gigabyte Z170X-UD5 TH - fully updated Windows 10 1607 LTSB) instead of the USB/Thunderbolt enabled USB "C" port on the rear that I was previously using and to my surprise it worked flawlessy for both on the first try! No idea if the Thunderbolt IC (or maybe its driver) was the culprit TBH but it seems so.. Just my experience Upvotes: 0 <issue_comment>username_3: I was having `FAILED (Error reading sparse file)` issue when I was connecting the USB cable to the dock of my laptop. Instead connecting the USB Type-A end directly to my laptop port helped me fix this problem. Be mindful of USB 3.0, USB Type C and USB 2.0 ports (try with all) and run your commands in command prompt in Administrator mode. Upvotes: 0
2018/11/13
623
2,311
<issue_start>username_0: I have a OnePlus 6 running Android 9.0.2 rooted with Magisk, but no recovery. (I tried to install recovery before rooting it every way I could imagine, with no success.) I had Lucky Patcher installed with patches applied to Android and to the Play Store, and everything was working fine. I recently updated Android from 8.1 to 9.0.2 and the patches were removed. When I tried to patch it again, the play store disappeared and all the Google apps say that my device doesn't support Google Play Services. I tried reinstalling the Play Store both from Lucky Patcher (original and mod versions) and from APKMirror, but whenever I try to open the app, it just says "Google Play Store keeps stopping". And when I tried installing the Play Store as a system app with Lucky Patcher, it just wouldn't install. I tried installing Google Play services from APKMirror, but the app just wouldn't install. I even tried installing it using ADB, and I get this error: ``` Failed to install Downloads/ps.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Update to package com.google.android.gms doesn't support multi arch] ``` **My question is, how can I get the Play Store and Google Play Services working again?**<issue_comment>username_1: Flashing the system again seemed to do the trick. I followed this guide on xda <https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665> I just didn't flash the boot partitions, so I was able to keep my systemless root. Upvotes: 0 <issue_comment>username_2: The real issue here is that Lucky Patcher breaks some Google Play Services when you apply inApp or Remove Google Ads patch. The fix here is to Roll back those changes you made to whatever app or service you applied the patch to. Then clear cache and dalvik, done. Upvotes: 1 <issue_comment>username_3: I had similar issue, this was how I resolved mine: 1. Open Magisk Manager 2. Tap on Setting 3. Enable Magisk Core Reboot the device. After rebooting: 4. Open Lucky Patcher 5. Go to Toolbox 6. Tap on Install modded Play Store 7. Install the most recent version you see **NB:** If it fails, enable Magisk core, after reboot, open Lucky Patcher > Rebuild and install > Lucky Patcher folder > Install app as system app. Upvotes: 2 [selected_answer]
2018/11/13
377
1,337
<issue_start>username_0: Samsung Galaxy Note 9 with any old bluetooth keyboard. How do I remap the `Esc` key to `Caps Lock`? And remap the `Caps Lock` key to `Esc`. Swap them basically. I need this to make it easier to use Vim on Android. I prefer not to root.<issue_comment>username_1: Flashing the system again seemed to do the trick. I followed this guide on xda <https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665> I just didn't flash the boot partitions, so I was able to keep my systemless root. Upvotes: 0 <issue_comment>username_2: The real issue here is that Lucky Patcher breaks some Google Play Services when you apply inApp or Remove Google Ads patch. The fix here is to Roll back those changes you made to whatever app or service you applied the patch to. Then clear cache and dalvik, done. Upvotes: 1 <issue_comment>username_3: I had similar issue, this was how I resolved mine: 1. Open Magisk Manager 2. Tap on Setting 3. Enable Magisk Core Reboot the device. After rebooting: 4. Open Lucky Patcher 5. Go to Toolbox 6. Tap on Install modded Play Store 7. Install the most recent version you see **NB:** If it fails, enable Magisk core, after reboot, open Lucky Patcher > Rebuild and install > Lucky Patcher folder > Install app as system app. Upvotes: 2 [selected_answer]
2018/11/14
537
2,079
<issue_start>username_0: I have the KDE Connect app in order to connect my Android phone (Moto Z2 Play) to my Ubuntu machine. With the upgrade to Android 8, this app has a new annoying behavior in that its icon is always in the Notification bar even when not connected. (If I pull down it says "Not connected to any device"). How can I get the icon to not appear in the Notification bar when the phone is not connected to anything?<issue_comment>username_1: You can choose to disable that notification by long pressing it and following what shows up there. If you have a rooted device with Xposed framework, you can setup GravityBox and use its Notification blocked under Miscellaneous. I, however, use [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid) to clear that notification (works only on Android 8.0 and above). **Trigger**: *Device events → Notification received → Select Application (s) → KDE Connect: Text content: Matches; Text: Not connected to any device*; uncheck both the following options. **Actions**: *Notification →Clear Notifications →* and then follow it as you did in Trigger. **Constraints**: not required Reboot the device, or restart the KDE Connect app, or simply run the macro by long-pressing it, followed by "Test actions". That notification would no longer annoy you. Upvotes: 2 [selected_answer]<issue_comment>username_2: Excerpt taken from [KDE Connect – New stuff 0x3](https://nicolasfella.wordpress.com/2018/11/04/kde-connect-new-stuff-0x3): > > Android Oreo introduced some restrictions in regard to apps running in the background. In the future in order to be able to run in the background KDE Connect needs to show a persistent notification. > > > To hide the notification you need to long-press it and switch it off. Other notifications from KDE Connect are unaffected by this. > > > Upvotes: 2 <issue_comment>username_3: On Android 9 Pie: * long press the notification * tap the information icon (blue "i" in a circle) * choose "Notifications" * uncheck "Persistent indicator" Upvotes: 1
2018/11/14
238
1,051
<issue_start>username_0: I need to setup a WiFi proxy on Android 9 but it seems they removed the feature , all tutorials I found refers to old versions of Android.<issue_comment>username_1: I found you can't edit proxy of an existing WiFi profile anymore, I dunno why they removed the feature. But you can just remove your saved Wifi profile and add a new, then you will easily find proxy options under advanced drop down. Upvotes: 2 <issue_comment>username_2: The wifi proxy settings are still configured under the advanced options for your wifi network. The reason you can't find them is just bad Android UX. They're in a scrollable area that doesn't look scrollable (it looks like it just says 'metered'). If you try scrolling down in the wifi settings window you'll see it immediately. Upvotes: 4 <issue_comment>username_3: click on the pencil to edit network details. A popup appears to change your wifi password, and it doesn't look scrollable but if you scroll you'll see the advanced options and Proxy Settings. Horrible UI design Upvotes: 2
2018/11/14
3,339
11,850
<issue_start>username_0: There are lots of discussion on how to see which app is requesting network connection. I have tried the following apps: ``` tcapturepacket wifi monitor connection tracker ``` However, none of them was useful. For example, for a short period of time, I uploaded a 30KB pcap file which can be viewed [here](https://packettotal.com/app/analysis?id=b12e54b2ab1e0c5ca0a2ad4df1f219e0). Still I haven't find out which app is requesting connection and to where it is trying to connect. I also tried to look at `adb logcat`, but didn't find useful information. Maybe something has been missed here. Any guess?<issue_comment>username_1: If you have rooted phone, go for `nethogs` (for live monitoring) or `iptables` (to get statistics) commandline tools. Using VPN or Android stats based apps is the only possible non-root solution. Or refer to [this answer](https://android.stackexchange.com/a/178024/218526) for a `logcat`/`dumpsys` based solution. --- First of all, tracking a UID or PID of a network stream isn't straight forward because these aren't network related but OS related parameters. [Proposals](https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1184) and [abandoned projects](https://github.com/HoneProject) do exist. Android assigns a unique UID to every installed app just like every human user on Linux has a UID. So we can capture packets sent by a specific UID over the network interfaces to track the usage. TCPDUMP: -------- Now how we can capture network traffic? Most of the network sniffers use [libpcap](https://www.tcpdump.org/manpages/pcap.3pcap.html) family of system-independent libraries for this purpose. It supports **BSD Packet Filter (BPF)** for in-kernel packet filtering. Some popular utilities that use `libpcap` include `tcpdump`, `nmap`, `tshark/wireshark`, `dumpcap`, `nethogs` etc. Android app [Network Utilities](https://play.google.com/store/apps/details?id=com.myprog.netutils) and others also make use of `tcpdump`. However UID info is not propagated through the [`AF_PACKET`/`PF_PACKET`](https://www.systutorials.com/docs/linux/man/7-packet/) channel that `pcap` uses at [**OSI Layer 2**](https://en.wikipedia.org/wiki/OSI_model#Layer_2:_Data_Link_Layer). So what we can do here is to make use of network sockets (combination of IP and port) being created and used by an app. `netstat -tup` or `ss -tup` will show all network sockets with active/established connections. Both tools are available on Android (or you can get a static binary), `ss` is the newer one. **Socket vs. UID** information can also be directly read from `/proc/net/{tcp,udp}`. Android app [Netstat Plus](https://play.google.com/store/apps/details?id=com.rinacode.android.netstatplus) works on same principle. This will provide Local Address (socket) being used by a process. Once we know what sockets are being used by an app (UID), `tcpdump -i wlan0 src and port` will dump the whole traffic originated from that process. Similarly a remote socket (if not connected to by multiple apps) can also be used for filtering results. **LIMITATIONS:** However there are some issues with this approach: * Android apps usually launch more than one process at a time in parallel i.e. **multiple PIDs working under same UID**. So we have to capture traffic from all processes. * Apps keep on creating and deleting sockets. Keeping track of **continuously changing sockets** is almost impossible particularly when there are a large number of apps accessing network simultaneously. * There is - though rare - possibility that local **sockets are being shared** by multiple processes on UNIX-like OS's. Remote shared sockets such as UDP/53 which is used for DNS resolution cannot be tracked for a single process. This further weakens the approach. [**NetHogs**](https://github.com/raboof/nethogs) traverses `procfs` and copes with the above limitations (though not always very successful): ![](https://i.stack.imgur.com/QMuo1.gif) IPTABLES: --------- The above described shortcomings of a Layer 2 tool can be mitigated using [iptables `LOG` or `NFLOG`](http://ipset.netfilter.org/iptables-extensions.man.html). **Layer 2** is just above the Physical Layer i.e. it's the last thing packets encounter before leaving the device. That's why, being at Data Link Layer and working at lower level of net stack, BPF is a kind of stateless packet filtering mechanism as compared to `netfilter` / `iptables` which works at OSI **Layer 3** (nearer to userspace programs). So `iptables` can also get information from TCP/IP stack (**Layer 4**). It filters packets based on their creator UIDs using module `owner` that [interacts with sockets](http://git.netfilter.org/iptables/tree/extensions/libxt_owner.c) to find packet ownership. `iptables` writes to kernel log which can be read using `dmesg` or `logcat`. UID of an app can be obtained using some app or read from `/data/system/packages.list` or `pm list packages -U`. ``` # iptables -I OUTPUT -m owner --uid-owner -j LOG --log-level 7 --log-prefix 'SNIFFER: ' --log-uid # dmesg -w | grep SNIFFER ``` Output can be saved to a file and formatted using tools like `grep`, `awk`, `printf` etc. [Network Log](https://play.google.com/store/apps/details?id=com.googlecode.networklog) - though very outdated - works in similar way. [AFWall+](https://github.com/ukanth/afwall) is a firewall based on `iptables` that can log / notify an app's network activity when the app is blocked. The only downside with this approach is that it cannot be used to sniff traffic from one process when there are **multiple processes running with same UID**. `iptables` can't capture packets based on PIDs. They decided [not to use `iptables` with processes](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34b4a4a624bafe089107966a6c56d2a1aca026d4) because the process is started before it is blocked/sniffed, and program could easily spawn a child process with new PID which would not be blocked / sniffed. Also PIDs are created and destroyed as quick as sockets are. So there is always room for traffic being leaked. QTAGUID: -------- `owner` module won't work for **incoming or forwarded traffic** because IP packets carry no ownership information. To measure per-app incoming / outgoing network usage, Android patched kernel to include [`qtaguid`](https://android.googlesource.com/kernel/common/+/8468092ab618a65b6cde809ffceb9f18d2b9d02f) module. We can read statistics from `/proc/net/xt_qtaguid/stats`. With some shell scripting get live data usage since reboot: ![](https://i.stack.imgur.com/Pqvwd.gif) However on Android 9+, `qtaguid` is being [replaced](https://source.android.com/devices/tech/datausage/ebpf-traffic-monitor) with [extended](https://en.wikipedia.org/wiki/Berkeley_Packet_Filter#Extensions_and_optimizations) BPF (which is also planned to [replace](https://cilium.io/blog/2018/04/17/why-is-the-kernel-community-replacing-iptables/) `netfilter` framework in Linux kernel). Related: [Which process is responsible for capturing data usage?](https://android.stackexchange.com/a/216959/218526) IPTABLES + TCPDUMP: ------------------- An alternate is to put the outgoing traffic from an app in an `NFLOG` group and later [tcpdump captures](https://sourceforge.net/p/libpcap/patches/59/) packets from that group: ``` # iptables -I OUTPUT -m owner --uid-owner 1000 -j NFLOG --nflog-group 30 # tcpdump -i nflog:30 ``` This is to ensure that we get closer to physical layer when sniffing outgoing traffic. But it can still give **false positives** e.g. if packets are dropped / lost in routing tables. That's why [sniffers](https://osqa-ask.wireshark.org/questions/36511/at-which-layer-does-wireshark-capture-packets-in-terms-of-osi-network-model) work at OSI layer 2. Or even better is to watch from outside e.g. using a proxy / VPN server or on a tethered PC or at router. But this won't capture traffic on per UID/PID basis. OTHER OPTIONS: -------------- * Use diagnostic tools like `strace` to track `syscalls` related to network activity of a process. [force\_bind](https://github.com/meebey/force_bind) and [tracedump](https://github.com/iitis/tracedump) also work on same principle. Linux kernel's [audit subsystem](https://android.stackexchange.com/q/214229/218526) can be used for the same. * Use [Network classifier cgroup](https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19/Documentation/cgroup-v1/net_cls.txt) with `iptables` [`NETFILTER_XT_MATCH_CGROUP`](https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19/net/netfilter/Kconfig#1115) to sniff traffic from certain process(es). * Use `Network Namespaces` to isolate processes and read data usage on per interface basis. [nstrace](https://github.com/jonasdn/nsntrace) works on same principle. * If the intention is entirely to block traffic originating from certain processes, `SELinux` and `seccomp` can be used to restrict the processes' ability to create sockets by defining restricted `policies` and suppressing `syscalls` respectively. Most of these are not straightforwardly viable options for Android and require advanced configurations. --- ANDROID'S APIs (NON-ROOT OPTIONS): ---------------------------------- Some apps like [NetGuard](https://github.com/M66B/NetGuard) use [**VpnService**](https://developer.android.com/reference/android/net/VpnService) API of Android to block traffic at Layer 3 (TUN interface). The app can *"notify when an application accesses the internet"*. Per app capturing and tracking ([1](https://www.mail-archive.com/net<EMAIL>/msg134466.html), [2](https://developer.android.com/guide/topics/connectivity/vpn#per-app)) is possible using VPN API as Android makes use of `UIDs` and `SOcket_MARKs` ([1](https://www.mail-archive.com/linux-<EMAIL>.org/msg04829.html), [2](https://android.googlesource.com/platform/system/netd/+/refs/tags/android-9.0.0_r42/include/FwmarkCommand.h#51)) to control traffic in network Routing Policy ([RPDB](http://man7.org/linux/man-pages/man8/ip-rule.8.html)), just before leaving the device. Some apps like [NetLive](https://github.com/octohub/NetLive) make use of [**NetworkStatsManager**](https://developer.android.com/reference/android/app/usage/NetworkStatsManager), but it lags the real-time usage and *"does not update quickly enough"*, it's *"meant to provide historical data"*. NOTE: I've no affiliation with any app referenced. --- **RELATED:** * [Restricting an app to only send internet traffic but not receive that back?](https://android.stackexchange.com/a/205831/218526) * [Why network activity is detected from apps after firewall blocks them?](https://android.stackexchange.com/a/214853/218526) * [Capturing mobile phone traffic on Wireshark](https://stackoverflow.com/q/9555403/9165920) Upvotes: 4 [selected_answer]<issue_comment>username_2: If you only want to track which app performs connections to which server I recommend the app [Net Monitor](https://play.google.com/store/apps/details?id=org.secuso.privacyfriendlynetmonitorapp) to you. It acts as a local VPN and is therefore able to detect all network traffic. Furthermore it shows which app has performed the network request (including remote host, ports, and even if the connection is plain or SSL/TLS). Therefore if you use this app in combination with the capture tools you already mentioned in your question you should able to trace back each and every network connection. Upvotes: 1 <issue_comment>username_3: With [PCAPdroid](https://play.google.com/store/apps/details?id=com.emanuelef.remote_capture) you can see the individual connections made by the apps. It's an open source tool developed by me which works without root (root is optional). It has lots of interesting features for users security and privacy, check it out Upvotes: 2
2018/11/15
1,021
3,584
<issue_start>username_0: I have an Archos 55 Platinum here. There is also a unofficial TWRP, if this might help. I would like to make a backup of the storage of the phone, like `dd` for any partition, so I can inspect the content later. Also, I don't want to root or flash anything, nor install apps. Is there a way that allows me to run TWRP via fastboot instead of flashing? Any ideas how I can proceed?<issue_comment>username_1: Yes you can boot in TWRP if bootloader is unlocked: ``` fastboot boot /path/to/twrp.img ``` Then you can simply `dd` whole eMMC or individual partitions. You need some extra memory (on external SD card) to backup whole eMMC or `/data` partition. Smaller partitions (including the biggest one: `system`) can be backed up to internal memory i.e. data partition. **For Qualcomm SoC:** (for MTK devices, path is slightly different) ``` dd if=/dev/block/(bootdevice/)mmcblk0 of=/path/to/external-sd/emmc-backup ``` For single partition: ``` dd if=/dev/block/bootdevice/by-name/userdata of=/path/to/external-sd/data-backup ``` In order to come up with shortage of space, instead of using SD Card you may save backup files directly to PC using `adb shell` or `exec-out`. Thanks to @Izzy: ``` adb exec-out dd if=/dev/block/(bootdevice/)mmcblk0 > emmc-backup.img ``` Make sure your `adb` binary (on Windows or Linux) supports [exec-out](https://android.googlesource.com/platform/system/core/+/refs/tags/android-9.0.0_r45/adb/commandline.cpp#1553). Also take care that unwanted non-printing terminal characters don't get included in output. There are also other methods like `adb pull`, UMS or streaming over network. For details see [How to recover a deleted file from /data partition?](https://android.stackexchange.com/a/208114/218526) **PS:** Another way to save space and to speed up backup process is to backup only the contents of mountable filesystems instead of whole partition image. Particularly `userdata` and `system` are larger partitions but they aren't usually completely filled. Mount them and create backup archive using `tar` so that zeroed out portion of these partitions isn't backed up. Make sure to preserve all file permissions and attributes (whatever applicable depending on filesystem etc.) including classic UNIX file mode and owner, ACLs, XATTRs and SELinux contexts. These options are supported by `tar`. Otherwise things might get messed up. See more details in [How to stream an encrypted backup of the entire device to remote host?](https://android.stackexchange.com/a/219261/218526) --- **RELATED:** * [How disk space is partitioned in an Android phone?](https://android.stackexchange.com/a/201224/218526) * [Why can't I see Android storage as a partition on PC?](https://android.stackexchange.com/a/205559/218526) * [Is there any way to recover data from 2nd SD partition?](https://android.stackexchange.com/a/190852/218526) Upvotes: 4 [selected_answer]<issue_comment>username_2: Based on this question I did use the method described above: ``` ~$ adb exec-out dd if=/dev/block/bootdevice/by-name/userdata > data.img ``` But there is an issue, the image will be encrypted if the data is not decrypted first. File and folder names will be gibberish. The only way I got decrypted data was via TWRP, because it asks for decryption password on start. And then I was able to copy the data via mtp. I know this may not seem on topic on how to recover files, but this question is getting a lot of traffic and the proposed solution has a drawback and I'm not allowed to comment right now. Upvotes: 0
2018/11/16
835
3,374
<issue_start>username_0: I lost my phone in a taxi and blocked it using [Find My Device](https://www.google.com/android/find?u=0). I managed to get it back but now it has a button to call my home and a lock icon, but won't unlock.<issue_comment>username_1: You must restart your phone. Turn it off. When you turn it on again you'll be able to enter your password. **Update**: after doing this, it will lock again. You must really login again using your account in "Find my Device". The option is somewhat hidden in the suspension points button. See: [![Where to click to login again: suspension points](https://i.stack.imgur.com/7MHiR.png)](https://i.stack.imgur.com/7MHiR.png) Maybe you don't need to restart your phone after login in "Finde My Device". The restart allows you to enter your device with your password, but sometime latter it will be blocked again. You must really go to the "Find My Device" web page. Upvotes: 3 [selected_answer]<issue_comment>username_2: I saw text message notifications on my screen. All I did was tap it and it then prompted me for my phone access password. I entered the password and my phone opened up as per normal. It was just chance I tried this after having no success in the Find My Device app. The suggestion above about turning the phone off and on again could work if it then prompts you for your password. If you have no password not sure what wold happen. Worth a try! This worked for me! How good is Find My Device. I left my Samsung phone on a bus from Mt Buller to Mansfield at night. I think it fell out of my pocket when I changed seats in the dark! googled Find my Device on my home PC once I got home (when I realised i did not have it after driving from Mansfield to Melb)). OMG! I could see on the location map it had gone back up the mountain to Buller late at night. I locked it and left my email address and husband's phone number to call. The bus driver called the number which appeared on my phone screen to call. Lucky for me a friend was catching a bus down the mountain the next day. I organised for the bus line to give it to her and to ask her for ID so no one else could claim it. They called her to arrange it. Thank you MMBL bus lines and shuttle service! I now have back my phone all intact. I felt happy as soon as I could locate it and lock it at least knowing that no one cold use it and I had a chance of getting it back if it fell in the right hands! I would have even driven up there again just to get it or have someone post it as registered mail and reimburse them or I think you get get reverse charge post so you pay when pick it up from a post office. If you have no messages try asking someone to send a text message to see if it appears on your screen then tap it open. The you can access the messages if you put in your password and the phone will open up as normal and you can then access everything. Tip: "Location" must be turned 'on' on your phone for Find My Device to work. You can do this in the pull down screen. If lost google "android device manager" or "find my device" from a pc or someone else's device. When you see your phone located on the map take a photo or screenshot of your pc screen with someone else's phone and that photo showing it's location could be sent to someone else to help locate it, even the police, if someone has stolen your device. Upvotes: 0
2018/11/16
434
1,504
<issue_start>username_0: By default Outlook for Android gets the emails immediately when they are received (push). Is there a way to set the sync frequency either individually for each email account or at least globally ? If it matters, my email accounts are all Exchange ones. On the stock email app (Samsung) it is possible to choose the sync frequency and even set manual syncing, but I can't find any similar option in Outlook for Android.<issue_comment>username_1: Unfortunately, it is not possible to change the frequency of emails sync using Outlook for Android (see the thread [Set sync frequency and quiet times on outlook app](https://answers.microsoft.com/en-us/msoffice/forum/msoffice_outlook-mso_amobile-mso_o365b/set-sync-frequency-and-quiet-times-on-outlook-app/344bf497-6490-4bb9-83bb-1cb5a6434e99)). From the link above: > > There are no such settings in the Outlook or OWA apps from the play store > > > Outlook for Android users have requested the feature on [Uservoice](https://outlook.uservoice.com/forums/293346-outlook-for-android/suggestions/31838644-sync-settings). However, it has not been yet implemented (as of Nov. 2018). If you are using an another app to check your Exchange emails (I use the Gmail app) then it is possible to change the sync frequency. Upvotes: 4 [selected_answer]<issue_comment>username_2: It looks like this feature has been added to the Android Outlook app: <https://supertekboy.com/2018/07/21/do-not-disturb-in-outlook-mobile/> Upvotes: 0
2018/11/16
2,014
6,677
<issue_start>username_0: So, I have rooted my phone (GT-i9505 with android 5.0.1) and I would like to move my WhatsApp folder to my external SD card to save 3GB on internal storage. This is what I tried so far. EDIT: solution found -------------------- So, after all the option #2 seemed to be the right one, but it needed some tweaks to make it work. As suggested by [<NAME>](https://android.stackexchange.com/a/203989/155472) , the problem was that the mount point has to be created in a global mount namespace, otherwise other apps will not see it, so the commands to use are: ``` su -mm mount -o bind /data/sdext2/AppData/WhatsAppMedia /sdcard/WhatsApp/Media ``` But that may not be enough! It still didn't work until I made sure that the namespace of root was global. To do that I don't know any universal way, but what worked for me was going in the SuperSU app settings and uncheck the option `mount namespace separation`. That really depends on the SU app that you have installed. Option 1: symlink ----------------- The first thing that I thought was to make a symlink, so that was the command that I used: ``` ln -s "/data/sdext2/AppData/WhatsAppMedia" "/sdcard/WhatsApp/Media" ``` I had already created a second partition on my external SD card (ext4) that is mounted in `/data/sdext2` However that returns `operation not permitted` when using the terminal emulator (yes I did `su`) and an error with any root file manager app that I tried. After some research I figured out that for some reason, although `/storage/emulator/0` is in an ext partition, it is treated in a differente way so that it doesn't support symlink inside (correct me if I'm wrong). So, onto the next thing Option 2: mount --------------- According to [this question](https://superuser.com/questions/216332/is-there-anything-like-a-link-or-shared-mount-point-for-fat32-folders-in-linux-a/377737#377737), the following command should mount the folder on external SD card in another folder in the internal SD card, without the need for a symlink ``` mount -o bind "/data/sdext2/AppData/WhatsAppMedia" "/sdcard/WhatsApp/Media" ``` However, while running the command doesn't return any error the folder in `/sdcard/WhatsApp/Media` is still empty, so I don't really know how to handle this. Option 3: symlink in /data/media/ --------------------------------- I followed the instructions on [this post](https://forum.xda-developers.com/showthread.php?p=21376753#post21376753) and made the symlink in `/data/media/0` instead of storage, so using this command: ``` ln -s "/data/sdext2/AppData/WhatsAppMedia" "/data/media/0/WhatsApp/Media" ``` This time the link is created! However ... Although an `ls` in `/data/media/0/WhatsApp/Media` revealed that the link was successful, `cd /sdcard/WhatsApp/Media` returns a very irritating `no such file or directory` and that is confirmed by the file explorer that shows an empty folder with a blank file icon. My thoughts ----------- First of all, I now discovered that I really hate android. Now, stated this, here's what I think might help doing: * **moving my sdcard files somewhere else:** if the rest of the root filesystem supports symlink (which it seems like it does), I might even move the folder `/storage/emulated/0` somewhere else and make a new link to it, but I don't know if that would solve the problem That's it for now, I will update with more options when I think about them...<issue_comment>username_1: **ANDROID STORAGE:** On [Android 5](https://source.android.com/devices/storage/config-example#android_5_x_emulated): ``` /sdcard >S> /storage/emulated/legacy >S> /mnt/shell/emulated/0 /mnt/shell/emulated >E> /data/media ``` On [Android 6+](https://source.android.com/devices/storage/#runtime_permissions): ``` # USER-ID of current user in case of multiple users, normally "0" # for apps # VIEW is one of "read" or "write" and /storage to VIEW bind mount is inside a separate mount namespace for every app /sdcard >S> /storage/self/primary /storage/self >B> /mnt/user/USER-ID /mnt/user/USER-ID/primary >S> /storage/emulated/USER-ID /storage/emulated >B> /mnt/runtime/VIEW/emulated /mnt/runtime/VIEW/emulated >E> /data/media # for services/daemons/processes in root namespace /sdcard >S> /storage/self/primary /storage >B> /mnt/runtime/default /mnt/runtime/default/self/primary >S> mnt/user/0/primary /mnt/user/0/primary >S> /storage/emulated/0 /storage/emulated >B> /mnt/runtime/default/emulated /mnt/runtime/default/emulated >E> /data/media ``` `>S>` for symlink, `>E>` for emulated and `>B>` for bind mount In short, `/sdcard` points to `/data/media/0` through `FUSE` or `sdcardfs` emulation. This is to restrict unauthorized access of apps/processes to private media on SD card. Read [Android's Storage Journey](https://android.stackexchange.com/a/218469/218526). **SYMLINKS:** Now `/sdcard` is not a real but emulated storage which represents a FAT/vFAT/FAT32 filesystem (for backward compatibility and permission management) which [doesn't support symlinks](https://android.stackexchange.com/a/218944/218526) (and other things including \*NIX permissions and `ioctls` like `FS_IOC_FIEMAP`). So the Option 1 and 3 of yours won't work whether you create symlink directly on emulated storage or try to emulate the symlink already created on ext4. **BIND MOUNT:** This is the commonly used alternate of symlink for FAT family of filesystems. What you have tried in Option 2 should work. This is what apps like `Apps2SD` do. But there is again a constraint: `mount namespace`. You need to bind mount in global/root mount namespace so that the mount is visible to all apps: ``` su -mm -c 'mount -o bind "/data/sdext2/AppData/WhatsApp Media" "/sdcard/WhatsApp/Media"' ``` On Android 6+ this needs to be bind mounted on each VIEW (default, read, write) separately for all apps to work. You can make it permanent by setting ***Mount Namespace Mode*** to ***Global*** in Magisk or by disabling ***Mount Namespace Separation*** in SuperSU. For details see this [answer](https://android.stackexchange.com/questions/197959/partition-gets-unmounted-automatically-in-android-oreo/200449#200449). --- **RELATED:** * [What is "/storage/emulated/0"?](https://android.stackexchange.com/a/205494/218526) * [How to bind mount a folder inside /sdcard with correct permissions?](https://android.stackexchange.com/a/217936/218526) Upvotes: 5 [selected_answer]<issue_comment>username_2: Install MiXplorer from this XDA thread [here](https://forum.xda-developers.com/showthread.php?t=1523691) → browse to the path using MiXplorer → click on `+` at the bottom → choose "Create symbolic link". Upvotes: 1
2018/11/16
814
3,254
<issue_start>username_0: I got the following email from my employer: > > Passwords required on all mobile devices > > > In order to protect College data stored on portable devices, from > Tuesday 20 November ICT will enable a feature which requires all > mobile devices (Android, iOS phones and tablets) used to access > College emails to be protected with either a PIN password or biometric > recognition, such as fingerprint or face recognition. This applies to > all portable devices, whether College or personally owned. > > > At a minimum, ICT will enforce the use of a PIN for access to the > device. Devices that do not meet the minimum requirement will be > prevented from accessing College email accounts until the device has > been appropriately secured. > > > You can manage your security settings from the ‘settings’ menu of your > device. Please get in touch with the Service Desk if you have problems > doing this. If you do not wish to secure your device, then you may not > be able to access your College email account from your > > > Is there a feature in Android that I don't know about that will enable them to change the settings on my phone? EDIT **The Plot Thickens** ========================== On my way to work this morning popped up on my phone screen when I tried to check my meetings for the day. [![Activate Device Admin](https://i.stack.imgur.com/pqgsW.png?s=512)](https://i.stack.imgur.com/pqgsW.png?s=512) Now I am worried. I don't want to give my work admin access to my personal phone. What will they be able to do? Delete my emails? Reset the phone? Lock me out of the phone? Track my location? I can see how this is fine on devices supplied by an employer but it normal for personal devices.<issue_comment>username_1: Your employer is informing you of the security *you* need to implement on your device to access company mails / apps etc. This is a standard practice to endure that company confidential information is not compromised owing to your not having secure lock screen etc. They are not changing it for you. They are asking you to change it. Going by the screenshot, it's simple - agree to implement yourself those measures or not access college mails etc. But, there are variations like BYOD / Company owned device etc, which can exercise far more control on your device. See [here for details](https://developers.google.com/android/work/terminology). **Edit:** From discussion on comments added a very useful input from Izzy. The app which you are installing to read the mail should **not** have *device manager* permission as only such apps can do a factory reset (aka Google Device Manager on case of stolen devices) Upvotes: 4 [selected_answer]<issue_comment>username_2: If your employer has installed a management app, then they can do a lot of things. There are many MDM (Mobile Device Management) products for all the platforms. (iOS, Android, Windows, Blackberry, etc). . If your email is done via ActiveSync, that protocol allows the mail client to manage device settings (With permissions, but with the permissions, it can do it) and to lock down security. (MS Exchange, Office365, and GroupWise can all use ActiveSync for email, instead of IMAP/POP). Upvotes: 1
2018/11/16
2,432
8,999
<issue_start>username_0: I am on Pixel 3 XL. I found that Google Photos recognizes the Facebook photo folder (and some others, such as Screenshots) the same as the "Camera" folder because they are within the DCIM folder. Therefore, we cannot tell Google Photos not to backup these folder within Google Photos settings. The only option I have come across is to put a .nomedia file in the Facebook folder. That does prevent Google Photos from backing it up, but it also prevent me from seeing that folder in any other app. As you know, the Pixel does not include a traditional photo gallery, as they want you to use the google photos app so I use a photo gallery app from the play store. Either way with the .nomedia file in that folder I cannot see the images in that folder anywhere. Is there any other way to stop Google Photos from backing up this folder without making the images invisible on my device? Google photos should **not** be treating all folders within DCIM as "Camera" and instead it should be looking specifically for the camera roll folder. Related post: [Change Facebook (and others) photo saving folder](https://android.stackexchange.com/questions/151229/change-facebook-and-others-photo-saving-folder)<issue_comment>username_1: You're not restricted by Google to use only Photos app as a Gallery app, so why not try a third-party app? I remembered that I used to use [Piktures](https://play.google.com/store/apps/details?id=com.diune.pictures) and [QuickPic](https://play.google.com/store/apps/details?id=com.alensw.PicFolder) app and both of them (paid feature in Piktures), as I tested now, provides an option to show hidden or .nomedia file containing folders inside their settings. I'm sure some other gallery apps might be having a similar feature. Upvotes: 2 <issue_comment>username_2: Use my beginner friendly Tasker project which I made based on [this answer](https://android.stackexchange.com/a/170775/). I made some significant improvements that allow it to be used for many other scenarios beyond just moving Facebook's images, and included multiple examples within the project to learn from: 1. While the original version could detect if the file being moved already existed in the destination directory, it could only handle one iteration of the conflict. For example, if example.jpg were being moved, but it already existed, it would rename the file being moved to example(1).jpg. However, if example.jpg were being moved and both example.jpg and example(1).jpg already existed, it would simply overwrite example(1).jpg. * My version will run an iterative check on names which increments the suffix variable until a non-existing name is found. For example, if example.jpg is taken, it will check example(2).jpg. If that is taken, it will check example(3).jpg, and so on until an available name is found. It also correctly appends the first duplicate with (2) rather than (1). 2. The original version assumed the first "." in a file name was also the last "." before the extension. While this is fine for images from Facebook, it's not an ideal assumption, and breaks down when adopting the task for other uses, such as moving APKs. With the original, if com.example.app.apk already existed in the destination directory, trying to move a second copy of it would result in com(1).example.app.apk. * In addition to fixing the suffix and making it iterative, I've also changed the logic for its placement, such that it will always go before the last ".". In the above example, the apk would now be renamed to com.example.app(2).apk. This doesn't always work perfectly (consider .tar.gz and other similar cases for instance), but it does a good enough job without having to hard-code in every possible extension. 3. This appears to vary from device to device, but on my devices, the original version would leave behind broken references to images in gallery apps and other programs that utilize the media provider (most messaging apps that have an image selection UI) due to not correctly refreshing this data. This was not an issue for moving images out of a directory containing a .nomedia file, but caused issues if you wanted to use it in a directory where you didn't want or couldn't have a .nomedia file (such as automatically moving downloaded images out of /sdcard/Download/). * Tasker's Scan Media action seems to act in wildly different ways depending on not only the Android version, but also the vendor variant you're using. I've fixed the issue on my devices (and hopefully many of yours) by running a Scan Media action on not only the file in it's destination directory, but also on the original file path (referencing the file that's no longer there). I also updated variable names for clarity, and rather than using events that trigger when entering or exiting apps, I've set it to run on a File Modified event monitoring the source folder, with the event set to Closed Write. This works for most purposes, but breaks in some cases. You can fix most issues by either using a different event parameter (such as Create, Modify, or Move To) or by using stricter regex in Action 3 of the task. > > I've heard that devices with slower storage (or slow external SD cards) can have issues with this if files take too long to write. In that case, you may have to experiment with adding delays or using different methods to trigger the task. > > > I'm attaching not just the task here, but the entire project I've created, containing multiple copies of the task for various use cases, and their respective profiles to trigger them, so that beginners who are new to Tasker can easily get started using this task and have some examples to reference when adopting the task to their own needs. The examples included in this project are: * When Facebook downloads an image to /sdcard/DCIM/Facebook, move it to /sdcard/Pictures/Facebook. * When Samsung Notes saves an image to /sdcard/DCIM/Samsung Notes/, move it to /sdcard/Pictures/Samsung Notes/. (This works, but Samsung Notes will claim it failed to save the image, due to it checking for the image after it has already been moved by Tasker.) * When you create a GIF using Smart Select, move it from /sdcard/DCIM/GIF/ to /sdcard/Pictures/Smart Select GIFs/. * When you export an APK from ReVanced Manager to /sdcard/Download/APKs/Original/, move it to /sdcard/Download/APKs/Modded/. * When a new file is detected in /sdcard/Download/ . . . + if it's a download from [Craiyon](https://play.google.com/store/apps/details?id=com.craiyon.twa), move it to /sdcard/Pictures/Craiyon/ + if it's an APK, APKM, APKS, or XAPK file, move it to /sdcard/Download/APKs/Original, *unless* it is base.apk (I leave that file in Download since I use it for other things.) Remember to first create the source and destination directories before testing the examples. I also encourage you to check Action 3 in each example task (some of them use simple matching and others use regex) for a better understanding of how they work. Now that that's out of the way, [here](https://taskernet.com/shares/?user=AS35m8muDtUMUinWRgAU1OWJnoaabd2%2FEvIjpA82A70DVV8kZn3j5nK5YjuLIbNt&id=Project%3AFile%20Organizer)'s the project. You can import it directly to Tasker from there, or download it as an XML. If you choose to download it, save it in /sdcard/Tasker/projects/. You can then long press on the home icon on the bottom left corner of Tasker to import the project. Unfortunately the entire XML is too long to post here directly, but for the sake of keeping this answer as complete as possible, I'm including the XML for *just* the Facebook task below. I strongly recommend that beginners import the entire project using the link above however, so you can get an idea of how to customize the task for your own needs. The Facebook task: ``` 1489093858387 1677367714628 3 Move Facebook Images 6 3 me.regalstreak.movefb 21 1.0 `547` %sourcedir /sdcard/DCIM/Facebook/ `547` %destdir /sdcard/Pictures/Facebook/ `37` %fileexists 12 `547` %currentfilename %currentfilepath(%pathlen) `888` %suffix `590` %currentfilename . `547` %namelen %currentfilename(#) `890` %namelen `547` %currentfilename(%namelen) %currentfilename(%namelen)%null()(%suffix) `592` %currentfilename . `135` `38` `412` %sourcedir \*.jpg/\*.png/\*.jpeg/\*.gif/\*.3gp %filelist `400` %currentfilepath %destdir%currentfilename `459` %currentfilepath `459` %destdir%currentfilename `888` %counter `40` `37` %counter 0 0 `548` No memes? Sad. `43` %counter 0 1 `548` %counter meme moved! `43` `547` %suffix 1 `548` %counter memes moved! `547` %counter 0 `39` false %currentfilepath %filelist() `590` %currentfilepath / `547` %pathlen %currentfilepath(#) `547` %currentfilename %currentfilepath(%pathlen) `342` false %destdir%currentfilename %fileexists ![]() com.facebook.katana.LoginActivity com.facebook.katana ``` Upvotes: 0
2018/11/16
1,540
5,498
<issue_start>username_0: I'm using a OnePlus 6 (Magisk; systemless Xposed, stock ROM at Android 8.1.0). One of the features that constantly irritates me is the accidental dialing of emergency number. The system by-default looks for triple power button tap and automatically dials Emergency number (112). I read on XDA [here](https://forum.xda-developers.com/showpost.php?p=74343593&postcount=5) that this is a feature specific to India and Indian SIMs, and I also bought this in India and use an Indian SIM. Other regional users, per some threads of OnePlus subreddit and OnePlus forums, do not have this problem and can customize the shortcut from Camera app or under Settings app, while I cannot. I found [this YouTube video](https://www.youtube.com/watch?v=m2AT5MFjI3k) but the recommended solution does not work because the Emergency Info app in my system doesn't have the activity used in the video. That app only has these two activities which only leads to editing Emergency specific user details: ``` .view.ViewInfoActivity .edit.EditInfoActivity ``` How do I change this behavior? I'm looking to prevent emergency number dial on triple power button tap, and if possible, customization of that double power button tap to Camera launch. Furthermore, if possible, please provide a non-root based solution.<issue_comment>username_1: I used [logcat](/questions/tagged/logcat "show questions tagged 'logcat'") and found that the service GestureLauncherService (a sub-service of SystemService) actively looks for the triple power button tap and takes action accordingly. While I couldn't find such sub-service through GUI (Running services), `dumpsys` and `cmd` commands, I did notice this line in the logcat's output: ``` [ 11-15 21:21:27.368 1292: 1825 I/ActivityManager ] START u0 {act=android.intent.action.CALL_PRIVILEGED dat=tel:xxx flg=0x10000000 cmp=com.android.server.telecom/.PrivilegedCallActivity} from uid 1000 pid 1292 ``` I cross-checked it with `adb shell dumpsys activity recents` and found that [`PrivilegedCallActivity`](https://android.googlesource.com/platform/packages/services/Telecomm/+/oreo-release/AndroidManifest.xml#139) is the activity that shows up when the number is dialed. So, while I can't prevent the gesture service, I can prevent the number being dialed successfully. I immediately disabled the component `PrivilegedCallActivity` of the package `com.android.server.telecom` (Call Management app) using adb (**requires root**) like this: ``` adb shell su -c 'pm disable com.android.server.telecom/.PrivilegedCallActivity' ``` One can also use an app to disable that activity. From henceforth, that triple power button tap wouldn't make the call. **Note**: disabling that activity does not prevent Emergency calls (both to user provided emergency contacts and country specific emergency numbers) from taking place from Emergency dialer at lock screen because that uses a [different activity](https://android.googlesource.com/platform/packages/services/Telecomm/+/oreo-release/AndroidManifest.xml#179). It is just that the system cannot dial the emergency number without user's explicit consent on the dialer, anymore. Upvotes: 0 <issue_comment>username_1: For those uncomfortable with disabling a component of a critical system app, as recommended [here](https://android.stackexchange.com/a/203973/96277), they can use a solution which is safe and tested by others already. At [XDA](https://forum.xda-developers.com/oneplus-5t/how-to/enable-quick-capture-india-disabling-t3739552), kashayapha1994 found this hack: ``` adb shell settings put global emergency_affordance_needed 0 ``` That enables the quick capture shortcut setting in stock Camera app and in Settings app automatically. This also prevents dialing emergency number because system always fires the Camera app at double button press when the shortcut is enabled. However, the hack doesn't survive a reboot, so anirudhnyg at [XDA](https://forum.xda-developers.com/oneplus-6/themes/mod-enable-double-click-camera-india-t3831212) came up with a Magisk module (**requires a rooted device**) to automatically apply the aforesaid hack *et al*. Download it from the aforementioned link, install it and reboot. That's it. You can also choose to apply that hack at boot using any app which can run a command/script at boot, such as [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm), [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid), [Xposed Edge](https://play.google.com/store/apps/details?id=com.jozein.xedge). Do note that all such apps would require root access or being set as Device Owner such as [SecureTask](https://play.google.com/store/apps/details?id=com.balda.securetask) (**doesn't require root**). Upvotes: 0 <issue_comment>username_2: In Android Pie in OnePlus 6 you can now access the activity shown in the video via Settings → Security & lock screen → Emergency Rescue. [![enter image description here](https://i.stack.imgur.com/7f7ph.png)](https://i.stack.imgur.com/7f7ph.png) (Image sourced from [OnePlus Forums](https://forums.oneplus.com/threads/behind-the-scenes-how-we-adapted-to-android-pie.909531/)) Upvotes: 3 [selected_answer]<issue_comment>username_3: For Asus Zenfone max pro m2 Android 9 devices below works ``` pm disable com.android.server.telecom/.EmergencyCallActivity ``` as below does not work ``` adb shell settings put global emergency_affordance_needed 0 ``` Upvotes: 0
2018/11/17
641
2,454
<issue_start>username_0: Such that every time I open a YouTube video, it opens on that resolution. It is annoying when it changes automatically according to the network, and for every video, I have to change the resolution. How to set default resolution in YouTube app?<issue_comment>username_1: YouTube app doesn't have this feature. However, [YouTube Vanced](https://forum.xda-developers.com/android/apps-games/app-youtube-vanced-edition-t3758757) comes with this feature. Go into its Settings - > Vanced Settings - > Video settings, and configure the resolution for both Wi-Fi and Mobile data separately. [![IMG: ](https://i.stack.imgur.com/a1RT6m.jpg)](https://i.stack.imgur.com/a1RT6.jpg) Upvotes: 3 [selected_answer]<issue_comment>username_2: According to the official YouTube product document, the video player do remember the settings done by user, Below is the Note mentioned on the [official page](https://support.google.com/youtube/answer/91449?hl=en) > > Note: Choosing lower video quality (such as 240p and 360p) will make > videos start more quickly. The video player will remember this setting > for future videos you watch. > > > So essentially, you need to follow the below steps... To adjust video quality while watching on your mobile device: [![enter image description here](https://i.stack.imgur.com/rK2or.jpg)](https://i.stack.imgur.com/rK2or.jpg) In this page, it is only mentioned as Mobile device and it does not say the YouTube App. However, I myself did tried the above steps, and I found that YouTube Player remembered my previously set video quality setting. Upvotes: 0 <issue_comment>username_3: Except, what is not noted on the FAQ page is that "fully" closing the YouTube app by "home button then swiping it away", closing web browser and clearing cache, or restarting the device will revert YouTube back to its default behavior of: 1. The speed of your Internet connection 2. Video player/screen size: Higher quality videos generally play better on larger screens. 3. Quality of the original uploaded video: If the video was recorded in standard definition, it won’t be available in high definition. Setting a persistent default video quality is no longer possible. However, this setting has been added for Android to the custom YouTube Vanced app if you're brave enough to sideload apps in Android. <https://forum.xda-developers.com/android/apps-games/app-youtube-vanced-edition-t3758757> Upvotes: 0
2018/11/18
419
1,536
<issue_start>username_0: [![IMG: ](https://i.stack.imgur.com/rWfj2.jpg "screenshot of the weird additional lock screen")](https://i.stack.imgur.com/rWfj2.jpg) I have a Samsung Galaxy J7 that just started displaying this as the lock screen. Sometimes, it displays my regular lock screen, but if I let my phone sit long enough, it will display this screen. It **always** pops up, not just when my phone is charging. I don't know what it is, and the other questions I've found have suggested apps could be the culprit, but I don't have any of the problematic apps. I just want this thing gone, as it blocks my notifications.<issue_comment>username_1: Per <NAME> who answered it in the question itself [here](https://android.stackexchange.com/revisions/204013/2): > > It seems to have been caused by the game [Cube Escape: The Lake](https://play.google.com/store/apps/details?id=air.com.RustyLake.CubeEscapeTheLake). I deleted the app and so far so good. > > > Upvotes: 1 <issue_comment>username_2: 1. Before downloading any third party app, do check if there is adds placed by devs. 2. Check if you installed any new app for lock your screen or for new wallpapers, these usually gives adds. Most important: If you didn't find any of above case, then this is an internal app update which must be placed by company itself. Now you have to check every app by going to "Apps" section then "System apps" and look for any new app or apps related to wallpaper or lock screen and disable it. Enjoy! It will surely work. Upvotes: 2
2018/11/19
371
1,461
<issue_start>username_0: My Samsung Galaxy S6 with Android 7.0 automatically connects to my home wifi when in range. However, in my company, it only shows me a notification that I can click on to connect to the company's wifi (which then makes me accept terms by clicking on a button every single time.) Is there any way to make this at least partially automatic, i.e. opening the page with the button automatically instead of just showing a notification? Or even saving my answer to this wifi page and using it during the next connection attempts?<issue_comment>username_1: Per <NAME> who answered it in the question itself [here](https://android.stackexchange.com/revisions/204013/2): > > It seems to have been caused by the game [Cube Escape: The Lake](https://play.google.com/store/apps/details?id=air.com.RustyLake.CubeEscapeTheLake). I deleted the app and so far so good. > > > Upvotes: 1 <issue_comment>username_2: 1. Before downloading any third party app, do check if there is adds placed by devs. 2. Check if you installed any new app for lock your screen or for new wallpapers, these usually gives adds. Most important: If you didn't find any of above case, then this is an internal app update which must be placed by company itself. Now you have to check every app by going to "Apps" section then "System apps" and look for any new app or apps related to wallpaper or lock screen and disable it. Enjoy! It will surely work. Upvotes: 2
2018/11/20
943
3,338
<issue_start>username_0: I'm running LineageOS ROM on my Moto G 3rd generation smartphone and recently I wanted to run some hidden codes of Android like `*#06#` for IMEI and so on. However, none of this [ones](https://www.hardreset.info/devices/motorola/motorola-moto-g-3rd-generation-xt1550/codes/) works correctly on my phone: > > 1. Phone information > > `*#*#4636#*#*` > 2. IMEI Info > > `*#06#` > 3. Calendar > > `*#*#225#*#*` > 4. Debug info for Google Play Service > > `*#*#426#*#*` > 5. Access Google Partner Setup > > `*#*#759#*#*` > 6. Engineering Mode > > `*#*#2486#*#*` > > > The IMEI closes the dealer/phone app, while the engineer/service mode codes (the one in which I'm more interested) don't activate anything. Let's say that the dealer interprets correctly the code but doesn't run this tasks. So knowing this, I would like to know if there is a way of looking if the relative services are on my phone? If it isn't the case, how I can add them or run from PC with USB maybe? Are the secret codes dependent on the ROM like I imagine or not? ### Notes: I tried hidden codes of other manufacturers like Samsung, HTC, ... too but no result obviously.<issue_comment>username_1: These dialer codes all vary by OEM in their stock ROM's... the codes for stock firmware are often easily accessible via searching the Internet or via apps available from various sources. However, how custom ROM makers handle these codes, if they implement them at all, is an entirely different thing again. There are some standard-ish codes, like `*#06#`, but even this is not consistent across all devices in all cases. There isn't really a standard for other codes nor is there any incentive for OEMs or ROM developers to even implement many of them. Many dialer codes are also passed to the carrier, for things like Call Forwarding, checking your balance of money or minutes, blocking Caller ID, activating Call Waiting, etc... although there are some standards, actually commonality more than a standard, between some carriers, these are entirely carrier dependent as well on how and if they implement them. To answer your questions specifically, well, as specifically as possible... > > I would like to know if there is a way of looking if the relative > services are on my phone? If it isn't the case, how I can add them or > run from PC with USB maybe? > > > Unfortunately, no... these are device and ROM dependent. I would suggest posting in the official support thread for your device and specific ROM to see if they have implemented in any way or there are alternatives that are specific to your ROM, device, and use case. > > Are the secret codes dependent on the ROM like I imagine or not? > > > Yes, they absolutely are... Source: Years of being an Android enthusiast, ROM developer, and XDA Recognized Contributor. :) Upvotes: 3 [selected_answer]<issue_comment>username_2: If you're rooted and have `busybox` and `aapt` installed on your device, then this little script might help reveal a lot of the ROM built-in codes. To be run at root shell prompt on the device. All one single line. ``` busybox find /system/ -name '*.apk' -exec aapt dump xmltree {} AndroidManifest.xml \; | busybox awk '/android_secret_code/{getline;sub(/^.*="/,"");sub(/".*$/,"");print}' ``` Upvotes: 0
2018/11/21
545
1,847
<issue_start>username_0: I've a Samsung Galaxy A8 phone (android 8.0.0) and it's connected to my OneDrive accounts (both personal and business) where I store music. I've tried downloading music to my phone, but I could only make the files available off-line, no proper download. I've Google Play Music and Samsung Music installed, neither can browse OneDrive off-line files. I can play them with a very basic player (probably skin of one of before mentioned players?), but that's not a solution for me. How can I listen to music from OneDrive?<issue_comment>username_1: > > I've tried downloading music to my phone, but I could only make the files available off-line, no proper download > > > To download music from Onedrive follow the steps below: 1. Click on the 3-dots next to the music file. [![IMG: ](https://i.stack.imgur.com/s3uwC.png)](https://i.stack.imgur.com/s3uwC.png) 2. A menu with options appears. Select `Save`. [![IMG: ](https://i.stack.imgur.com/3yd2z.png)](https://i.stack.imgur.com/3yd2z.png) 3. You will be taken to the folder where the file will be downloaded. As seen on the picture below, the default folder is `Download`. You can select another folder by clicking the arrow on the left. Click `Save` on the top right to start the download. [![IMG: ](https://i.stack.imgur.com/ZPKTV.png)](https://i.stack.imgur.com/ZPKTV.png) > > How can I listen to music from OneDrive? > > > To listen directly from OneDrive, click on your music file, then `►`. The music file will be streamed online. [![IMG: ](https://i.stack.imgur.com/71Egj.png)](https://i.stack.imgur.com/71Egj.png) Upvotes: 2 <issue_comment>username_2: Try out the OneSync app from the google store. It allows you to create a sync for your local (phone) folder with the onedrive's cloud location and keep the files locally in sync. Upvotes: 1
2018/11/21
535
1,725
<issue_start>username_0: ![Link Inside pages](https://i.stack.imgur.com/iVTZH.png) Hello sir/mam how can i copy a link from any android app that has link inside pages I have some whatsapp group joining link inside app Every pages has a link of Whatsapp group i want to copy that link can u help me.... Your help is highly appreciated... App link is <https://play.google.com/store/apps/details?id=com.whatsappgroupinvite><issue_comment>username_1: > > I've tried downloading music to my phone, but I could only make the files available off-line, no proper download > > > To download music from Onedrive follow the steps below: 1. Click on the 3-dots next to the music file. [![IMG: ](https://i.stack.imgur.com/s3uwC.png)](https://i.stack.imgur.com/s3uwC.png) 2. A menu with options appears. Select `Save`. [![IMG: ](https://i.stack.imgur.com/3yd2z.png)](https://i.stack.imgur.com/3yd2z.png) 3. You will be taken to the folder where the file will be downloaded. As seen on the picture below, the default folder is `Download`. You can select another folder by clicking the arrow on the left. Click `Save` on the top right to start the download. [![IMG: ](https://i.stack.imgur.com/ZPKTV.png)](https://i.stack.imgur.com/ZPKTV.png) > > How can I listen to music from OneDrive? > > > To listen directly from OneDrive, click on your music file, then `►`. The music file will be streamed online. [![IMG: ](https://i.stack.imgur.com/71Egj.png)](https://i.stack.imgur.com/71Egj.png) Upvotes: 2 <issue_comment>username_2: Try out the OneSync app from the google store. It allows you to create a sync for your local (phone) folder with the onedrive's cloud location and keep the files locally in sync. Upvotes: 1
2018/11/21
534
2,073
<issue_start>username_0: The audio ducking feature seems to let apps decide to lower its volume or pause playback while a notification from another app is playing. Even though this feature is turned on by default, I am unable to find a way to change the amount by which the volume is lowered (similar to how this could be done on any decent OS for PC). Or to just disable this feature. Most answers to this question on the internet have been utilizing the fallacy that you should mute the notifications if you don't want them to interrupt your playback (of let's say, music). Obviously I do not need this accessibility feature. I can separate sound sources just fine. Last time I checked this is one of the basic cognitive skills that most humans possess, but maybe I have superpowers after all. I think it is clear what I want to achieve. No messing with the audio levels unless I say so. A user that is in control, is a happy user. I want to be happy too :( There is probably no setting to do this. Since I am a developer myself, I wonder if there is some hackish way to modify the default audio ducking volume to simply 100%? Or just using something similar to 'about:config' / windows regedit for Android?<issue_comment>username_1: Not sure on Android 8.1, but on Android 5.1, it's the following: 1. Sound & Notification Settings > Interruptions > > ![Enter Sound & Notification settings](https://i.stack.imgur.com/IVuXal.jpg) > > > 2. Disable Interruptions on specific apps or all together > > ![disable interrupts](https://i.stack.imgur.com/d0RtJl.jpg) > > > Upvotes: 0 <issue_comment>username_2: On Android MIUI 12.5.4 I found the option at: Sound & Vibration > Sound Assistant -> Multiple Audio Sources (don't adjust media volume during incoming notifications or while audio from other source is played) This made notifications play at normal volume when I was listening to music, and more importantly, no audio ducking. Upvotes: 2 <issue_comment>username_3: I fixed it by turning do not disturb on and off again to be honest- Android 11 Upvotes: 0
2018/11/21
948
3,703
<issue_start>username_0: I live in the south of Brazil. At this time of year is in daylight saving time, where the time zone goes from -03 GMT to -02 GMT. The hour of my MOTO C PLUS (Android 7.0) has changed automatically to the right time without any problem, but the GPS time continues in -03 GMT Time zone. I use an application that uses GPS time and errors are generated because of this difference. This problem is not in the application, as other users use the same version of the app without any problems and I also checked with app support. I used GPS Status app to check that difference. I already tried do reset cached A-GPS data, but without any success. Is there any way to change the timezone of the GPS clock? [![IMG: ](https://i.stack.imgur.com/8PjaJ.jpg)](https://i.stack.imgur.com/8PjaJ.jpg) Uninstalling and re-installing applications does not help. This affects all applications tested below: * [Strava](https://play.google.com/store/apps/details?id=com.strava&hl=EN) * [GPS Time](https://play.google.com/store/apps/details?id=net.sourcewalker.gpstime) * [GPS Status](https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2) - screenshot above<issue_comment>username_1: This is a workaround not a permanent solution ============================================= (OP is looking for a permanent solution as mentioned in comment but I am posting this workaround that may possibly benefit future visitors) This problem appears to be a persistent issue as OP saw with multiple apps they tried and also reported in the Strava app forum [Incorrect Activity Time with daylight savings](https://support.strava.com/hc/en-us/community/posts/208779298-Incorrect-Activity-Time-with-daylight-savings?page=2) and unsolved for last two years. Reasons for this are unknown but I guess it is an OS issue since multiple apps have faced this. Surprisingly, it has not been reported on Google Product Forums AFAIK. There are two solutions mentioned in the support forum, both are temporary: * Changing the phone time zone to non-DST zone. * Modifying the `.gpx` file of the app to force it report correct time. I have not attempted second solution. **Changing the phone time zone to non-DST zone** Daylight Savings Time (DST) seems to be related or in some way causing this. As a solution, one is required to change the time zone of phone to a time zone with the *same time* as yours but that *doesn't use Daylight Savings Time*. **How**: <NAME> has provided an excellent answer here ([How do I disable Daylight Saving Time (DST)?](https://android.stackexchange.com/a/139765). It shows how a corresponding time zone can be chosen without DST while maintaining the correct time both with GPS and local time. Based on that answer, following time zones were suggested - Cayenne /America, Recife, Montevideo (Interestingly, only some portions of OP's country Brazil follow DST , while Recife [doesn't follow DST](https://www.timeanddate.com/time/change/brazil/recife) and hence included). None of these helped but OP tried South Georgia Time which doesn't follow DST and the *GPS time was synced with local time* This spadework may help as a temporary fix (till DST changes are revoked) or in providing a permanent solution. Upvotes: 1 <issue_comment>username_2: The GPS Status application has a setting to use UTC time. Settings->Units & Formatting->Show UTC time From a development point of view, it's usually simplest to using UTC time to perform all calculations, then you adjust to local time when displaying. It's difficult for me to understand exactly how you are using this time reading, for example, whether you are automatically or manually checking. Upvotes: 0
2018/11/21
533
2,278
<issue_start>username_0: I have a brand new Samsung J6, worked without problems for a few days and suddenly got stuck on the Samsung logo when powering on. Managed to enter the recovery menu and delete the cache partition, after which the phone started, but the touchscreen wasn't working. I tried restarting in Safe Mode, but the problem persisted. After that, I went back to the recovery menu and did a factory reset. Touchscreen still not responding to any input. I contacted my carrier to send the phone for service, but they require the phone to be unlinked from a Google account (basically, Factory Reset Protection). As far as I know, FRP won't trigger if you perform the factory reset from the settings app on the phone, but that's not an option due to the non functional touchscreen. I've been looking at what the Google console offers, but there doesn't seem to be a way to decouple the phone from the account, it's mostly to deal with lost or stolen devices. I tried the remote wipe feature on another phone, but that still triggers FRP. Linked account is part of G Suite, though I don't think there's any special phone management system in use. Is there a page where I can tell Google to stop associating that particular phone to my account? I've found nothing of the sort in the following pages: <https://myaccount.google.com/device-activity> <https://myaccount.google.com/find-your-phone> <https://www.google.com/android/find><issue_comment>username_1: You are supposed to remove your Google account from the phone before performing the reset. Now that you have reset the phone, your carrier service technician won't be able to get back into the phone without your Google login credentials. The only way I was able to overcome this was to reflash the stock ROM. Then when the phone boots up, it will be seen as a new device. That worked on my phone. Samsung may have defeated this method on the J6. Upvotes: 0 <issue_comment>username_2: You can log in to Gmail from other system. Go to Manage my account. Under security option you will find devices Activity. You can select your mobile and choose forget devices. This will remove your mobile from Gmail. If you can use other working screen. Start mobile and use find my device to remove account. Upvotes: 1
2018/11/22
390
1,573
<issue_start>username_0: I own a Galaxy tab a 10.1 with s pen (2016). I flashed via odin, twrp 3.1.1.0 and the system booted fine. Then I flashed the last version of SuperSU and since then the system doesn't turn on and I get the famous `Verification failed. Unable to restart your device. The integrity verification has failed. You need to restart your device to factory default settings. This will erase your data.` As I can't access my data in twrp, I tried to flash no-verity-opt-encrypt (6.0) but it doesn't help and I still can't access my data on the internal storage from twrp. Before I do a factory reset, I'd like to backup my data. Do you know if it's possible or how can I fix this error? Will flashing the stock firmware help?<issue_comment>username_1: You are supposed to remove your Google account from the phone before performing the reset. Now that you have reset the phone, your carrier service technician won't be able to get back into the phone without your Google login credentials. The only way I was able to overcome this was to reflash the stock ROM. Then when the phone boots up, it will be seen as a new device. That worked on my phone. Samsung may have defeated this method on the J6. Upvotes: 0 <issue_comment>username_2: You can log in to Gmail from other system. Go to Manage my account. Under security option you will find devices Activity. You can select your mobile and choose forget devices. This will remove your mobile from Gmail. If you can use other working screen. Start mobile and use find my device to remove account. Upvotes: 1
2018/11/23
1,221
5,403
<issue_start>username_0: Scenario: I'm talking in-person with someone and during the course of conversation I think of a website whose URL I know from memory, and I want them to type the URL into their smartphone and access the website directly without performing a web search (just like you could do on a traditional computer web browser in the address bar). To be clear: I don't want it to do "search as you type", I don't want it to create suggestions based on partial matches, and I don't want it to do any kind of search that delivers search results. I don't want the entered string to be sent to a search engine to do any processing of any kind. I just want it to open a connection to the indicated website (i.e., go directly to DNS lookup followed by HTTP or HTTPS connection to the entered URL). Also, in this scenario, I have no way to generate a QR code for them (I don't own a smartphone, and might not be carrying my computer with me). Do smartphones have that facility (i.e., a field to enter a URL without passing it to a search engine, exactly like the old browsers used to do with the address bar)? If so, how do I instruct the Android user (and/or iOS user) to find the field where they can type in the URL and not have it be processed by a search engine?<issue_comment>username_1: These days, browsers on mobile devices, use one bar for searching with an search engine and inserting a specific URL request of web site. What you need to do is simple tell them "***Touch top bar/address bar and insert this specific URL***" or "***Insert this URL in the bar and send***". You need to know that if the inserted text is a correctly formatted URL (`protocol://domainOrIPAddress:port/path/filename`) then the browser will show you directly the web page, otherwise it will use the default search engine for retrieving a possible list of sites that you maybe want to see for the inserted keyword. In summary, you don't need something special, everything should work without you doing anything on browser settings. However I think there is an option to deactivate the bar for searching cases and only use it for inserting URL, but it's more convenient how it works normally, so by default is one bar for searching and URL request in all browsers. However, for not letting search engines look on your search/request you need to uncheck some settings on browsers like "***Suggestions by Search Engine/Bookmarks***". Upvotes: 2 <issue_comment>username_2: Summary (after one month): "No can do." The functionality of entering a URL without doing a search (as it exists on computer browsers) does not exist on smartphones conveniently (i.e., without doing some kind of obscure config changes or app installation, which would not be suitable to do in the scenario described in the original question). Upvotes: 1 [selected_answer]<issue_comment>username_3: None of the above worked for Chrome, but I stumbled on the solution. You type the address in the bar, then hold it. Initially just one word is selected with the cursor (like when you delete characters), but if you keep holding it down the whole address will be selected and a few icons will come up at the top. One of the icons is "open" so you just tap that and the requested page will open instead of doing a search. Upvotes: 0 <issue_comment>username_4: **Note: my answer is speculative, so take with a grain of salt and YMMV, etc.** You can access the Chrome internal page located at... `chrome://omnibox` ...and play around with the options to potentially achieve what you're looking for. The notable options include the `zero suggest` and `prevent inline autocomplete` toggles. However, please note I have not tested these functions myself and hence cannot say for certain they will produce the desired results; if you have the time and desire to do so, [here](https://developer.chrome.com/docs/extensions/reference/omnibox/#type-DefaultSuggestResult) is the official resource regarding that internal page. Another thought I had was that you can use *any* text-field outside of the browser to type your URL, and then switch over to the browser and directly paste the url into the omnibox. Finally, there should be several ways to access a terminal emulator, which then gives you the option to directly open whatever literal URL you input as a command. I can't speak for certain, but I would make the assumption that this would circumvent autocomplete; in fact, you might test this with, say, a shortcut widget/application or other indirect means available to call on a URI you specify (e.g., generating the URL into a hyperlink in a word processor and clicking it; also works in Excel/Sheets with the `hyperlink()` function, etc). Whether or not these are acceptable depends on your intent behind your question, as it's a bit ambiguous even after reading the OP over several times: do you not want any autocomplete entry logs? On server-side or device-side? Do you simply not want to **visually** see autocomplete predictions populating in-line as you type? Is your concern privacy-centric (in regards to ISP, or the device owner, etc), or some other criteria? I know you've tried to narrow your question down to be more context-specific, but understanding these facets would help the community be better able to answer your question and perhaps even qualify workarounds that might otherwise have been neglected. Upvotes: 0
2018/11/24
540
1,876
<issue_start>username_0: I decided to try to root my Xiaomi Mi A2 Lite. I accidentally flashed `twrp-3.2.3-0-daisy.img` on both A and B partitions. Because of that, now I can only access the TWRP menu. I think I should download the official ROM and get its boot file, but I'm not sure and I don't want to mess it up more. I've downloaded the ROM and found this `boot.img` file. [![](https://i.stack.imgur.com/MsyO4.png)](https://i.stack.imgur.com/MsyO4.png). If that's it, is it enough to flash it? And in which partition? A or B?<issue_comment>username_1: I'm not sure about both A and B partitions. Android has several partitions (10+) for different things: system, boot, recovery, frp, nvram, etc. TWRP is designed to overwrite only your `recovery.img`. You need your boot image for kernel information, booting, etc. So, never overwrite your boot partition, unless you are absolutely sure it's designed exactly for your variant of the device. You should be able to use TWRP to reinstall your `boot.img` if that was partition A or B. However, if you've overwritten your system, you'll need a firmware update or backup to restore the stock images. In TWRP, try to look through your partitions and their sizes in storage. For example, if your system partition only has 345kb of data (or none) on it, it's been wiped clean and needs to be reinstalled. Upvotes: -1 <issue_comment>username_2: Find a ROM made specifically for your device on [XDA Forum](https://forum.xda-developers.com/mi-a2-lite). Then use [TOOL ALL IN ONE](https://forum.xda-developers.com/mi-a2-lite/development/tool-tool-one-driversunlocktwrpfactory-t3866191) to unlock your bootloader & flash a new `boot.img` recovery & ROM. *Warning*: unlocking the bootloader will wipe all your files. Also, make sure to flash Gapps. You can search "Open Gapps" and your OS to find the ones you need. Upvotes: 1
2018/11/25
608
2,371
<issue_start>username_0: My phone just went broken last night, and I have another but I don't want to change the SIM card, so I'm wondering if it's possible to run 2 numbers on the same phone. I have heard there is a chance of creating a new user and installing WhatsApp again under that new user, will this work? I don't want to lose a couple of work groups that are important.<issue_comment>username_1: There are multiple possibilities: * Some stock/custom ROMs (e.g. MIUI) let you create a new user with a non-zero ID by utilizing the [Multiple Users / Work Profile](https://source.android.com/devices/tech/admin/multi-user) feature of Android. You can switch between accounts and almost all installed user apps can be duplicated with unique settings/data for each user. * You can use some dual account app; a kind of OS-level virtualization or containerization. There are numerous on Play Store like [Parallel Space](https://play.google.com/store/apps/details?id=com.lbe.parallel.intl). But personally, I don't recommend this option as these apps are a burden on resources and may slow down the device or reduce battery timing. Most of those require too many permissions, seem focused on ads, user stats, analytics, and tracking for monetizing. [Shelter](https://github.com/PeterCxy/Shelter) is an open-source (FOSS) app if you go for this option. * Another option is to use a modded WhatsApp with a different package name e.g. GBWhatsApp. That will work in parallel with the official WhatsApp release. Be aware of illegality and malware when going for non-official apps. Upvotes: 2 <issue_comment>username_2: Step 1: Install WhatsApp from Google Play Store and then register your primary number. Step 2: If you already have a WhatsApp account running on your phone, skip step 1 and go to your phone’s setting. Step 3: Navigate to Dual App/Clone app/App Twin and tap on it. Step 4: You will now see a list of apps that can be cloned, tap on the WhatsApp option and then select install Step 5: Set up the second WhatsApp account and open the secondary app. Step 6: Now tap on Agree and Continue while also allowing WhatsApp to access your files as well as contacts. Step 7: Now, you will be asked to register your contact number. Just remember to add your secondary number and then, you will be able to run dual WhatsApp accounts on one smartphone. Upvotes: 1
2018/11/26
387
1,677
<issue_start>username_0: I often face this issue. The fingeprint sensor does not work and sometimes the touch also misbehaves when phone is charging. Why does this happen and how to fix this? I experienced this issue with Mi Note 4, as well as Redmi 4A.<issue_comment>username_1: Something I have noticed with my fingerprint sensor is that if phone is face down and hasn't been used for a short while, phone will not read finger print until phone is actually picked up. Not sure if because of proximity or orientation sensor, but appears to be that way to keep from accidental unlocks. Is your phone face down when attempting to unlock? Also, what do you mean by "touch misbehaves"? If you mean the entire touchscreen and then combined with fingerprint sensor this could be pointing to your device being defective. Upvotes: 0 <issue_comment>username_2: As requested by OP posting answer, in response to my comment (now deleted) based on my experience > > Having a clean power supply, using original charger + USB cable, setting up finger prints again are the common things that work... > > > I am not sure as to why touch sensor works only with original charger but posting as it may help, as it helped OP Upvotes: 2 [selected_answer]<issue_comment>username_3: Don't know the exact answer but from my experience It seems that touch sensors are finely tuned and calibrated against voltage reference. Using power supply other than provided chargers might be affecting these calibrations and cause fluctuations that results in malfunctioning of touch screen - that is - we click on something and something else is clicked or sometimes touch doesn't work, etc. Upvotes: 1
2018/11/27
598
2,523
<issue_start>username_0: Will I lose my phone number or phone plan if I reset my Android to factory settings? I know I will lose my pictures, contacts, and stuff but those I can get back.<issue_comment>username_1: The quick answer is "No, it doesn't effect your plan or phone number". Note: Factory reset is just a clean up process which includes permissions to clean and reset everything within device to it's factory made stage. Of course you have additional options to clean your SD card and sim contacts too, if you want. Upvotes: 3 <issue_comment>username_2: No. **Factory reset** erases data stored on `/data` partition of your phone. It includes your preferences (what you set in Settings app), user apps and their settings/data, system apps' settings/data (including contacts and messages) and personal data stored on `/sdcard` including pictures, videos and some apps' data (like WhatsApp stores media and messages backup on /sdcard). But **phone number** is just an `id` (MSISDN) mapped to International Mobile Subscriber Identity (IMSI) which is assigned by Mobile Network Operator (MNO) to your Universal Integrated Circuit Card (UICC; SIM/USIM) on GSM/UMTS/LTE networks or (CSIM/RUIM on) CDMA network, or to phone (identified by its ESN; Electronic Serial Number, compared to IMEI on GSM) on pre-3G CDMA network. This isn't something stored on your phone, it's your account's detail which is stored on your service provider's system. eSIM is the UICC embedded inside phone (not considering iUICC or virtual/dummy SIM or pure software SIM) which is programmable so that you don't need to swap SIM cards. eSIM stores one or more profiles which hold essentially the same information as a physical SIM card - including ICCID, IMSI (MCC/MNC tuple + MSIN) etc. - which is linked to possibly multiple changeable MSISDNs (phone numbers we dial). And just like hardware SIM, eSIM is Secure Element, completely isolated from Android OS, even the processor. So it's not affected with any filesystem changes. If factory reset erases profiles intentionally, those can be re-programmed. All that's needed is the unique QR code which, if lost, can be obtained from MNO or even their apps can generate. So your phone number isn't affected. Similarly your **call/message/data plans** are associated to your identity (phone number). You will be able to avail those services as long as you have a valid subscription and your SIM card is inserted in a compatible phone, identifiable and authentic-able by the MNO. Upvotes: 3
2018/11/28
622
2,614
<issue_start>username_0: Flash storage devices (NAND cells) are nutorious for slowly losing charge over time. Many USB sticks have automatic data retention when idle, but I doubt that MicroSD has automatic data retention. How do I read every single file saved on the mSD card?<issue_comment>username_1: The quick answer is "No, it doesn't effect your plan or phone number". Note: Factory reset is just a clean up process which includes permissions to clean and reset everything within device to it's factory made stage. Of course you have additional options to clean your SD card and sim contacts too, if you want. Upvotes: 3 <issue_comment>username_2: No. **Factory reset** erases data stored on `/data` partition of your phone. It includes your preferences (what you set in Settings app), user apps and their settings/data, system apps' settings/data (including contacts and messages) and personal data stored on `/sdcard` including pictures, videos and some apps' data (like WhatsApp stores media and messages backup on /sdcard). But **phone number** is just an `id` (MSISDN) mapped to International Mobile Subscriber Identity (IMSI) which is assigned by Mobile Network Operator (MNO) to your Universal Integrated Circuit Card (UICC; SIM/USIM) on GSM/UMTS/LTE networks or (CSIM/RUIM on) CDMA network, or to phone (identified by its ESN; Electronic Serial Number, compared to IMEI on GSM) on pre-3G CDMA network. This isn't something stored on your phone, it's your account's detail which is stored on your service provider's system. eSIM is the UICC embedded inside phone (not considering iUICC or virtual/dummy SIM or pure software SIM) which is programmable so that you don't need to swap SIM cards. eSIM stores one or more profiles which hold essentially the same information as a physical SIM card - including ICCID, IMSI (MCC/MNC tuple + MSIN) etc. - which is linked to possibly multiple changeable MSISDNs (phone numbers we dial). And just like hardware SIM, eSIM is Secure Element, completely isolated from Android OS, even the processor. So it's not affected with any filesystem changes. If factory reset erases profiles intentionally, those can be re-programmed. All that's needed is the unique QR code which, if lost, can be obtained from MNO or even their apps can generate. So your phone number isn't affected. Similarly your **call/message/data plans** are associated to your identity (phone number). You will be able to avail those services as long as you have a valid subscription and your SIM card is inserted in a compatible phone, identifiable and authentic-able by the MNO. Upvotes: 3
2018/11/28
842
2,929
<issue_start>username_0: I factory reset my Sony Xperia Play because unfortunately it had become unusable. I factory reset it again and cleared the data after leaving the Market app to update itself didn't work. The Xperia Play is connected to wifi and I'm using an app password set via my Google account but the Market app crashes and a network error message pop-ups. Has anyone managed to get the Google Play store back after a factory reset? Edit: Android version 2.3.4<issue_comment>username_1: 1. See [here](https://www.apkmirror.com/apk/google-inc/google-play-store/variant-%7B%22minapi_slug%22%3A%22minapi-9%22%7D/), you will find all APKs versions of Google Play store. 2. Go to your phone Settings and see what's your android version. 3. Download the APK that can work on your phone and install it manually. **Note:** > > Remember that since APKMirror is an alternate app source, you must have the setting enabled: "Install Unknown Apps" (or similar), which you will find under security. – @wbogacz > > > Upvotes: 2 <issue_comment>username_2: Assuming you are using a stock (non-rooted) Sony Xperia Play (Android 2.3 Gingerbread), this [Reddit thread on How to use Android 2.3 Gingerbread in 2017](https://www.reddit.com/r/Android/comments/5jthm2/how_to_use_android_23_gingerbread_in_2017/) after a factory reset is informative. The summary is don't factory reset. And if you do, the latest versions of the Google Services will overflow the limited storage capacity of the older device. GMS (Google Mobile Services) appears to be the culprit. From the author: > > In the days of GMS-everywhere the trick helps only so much: you do get some free internal space back, but lose the ability to use the phone beyond such complex activities as sending SMS or switching its screen on & off. > > > ... > > > GMS contains > 300 services inside. On [author's phone] it oft aborts & fills /data/system/dropbox & /data/tombstones dirs w/ lengthy stack traces. The battery goes down the toilet, the phone frequently hangs (sometimes even reboots itself) & in general feels rather sluggish. > > > ... > > > The only remedy seems to be to uninstall GMS. The device will indeed return to its normal state; Google Play will still work perfectly well, GMail & Google Maps will continue to work too, although Youtube won't, but at this point you don't care about Youtube any more. > > > ... > > > So this is what I've ended up w/: there is no GMS or Google Play on the device & SystemUpdateService is disabled. The ancient phone feels slick & fast again! I don't use any fancy messengers thus I can't tell if any of them require GMS. My most used apps are: > > > * Gesture Search > * Contacts > * LDOCE > * Opera Mini > * GMail > * Google Maps > * Calendar > > > Author goes on to mention that new apps needs to be side-loaded or installed through other third-party store type apps. Upvotes: 1 [selected_answer]
2018/11/29
899
3,445
<issue_start>username_0: I am using Android Lollipop mobile. I have uninstalled preinstalled Youtube app updates. Now I tried to update the app from Play Store. It is giving the error "Can't install app" with error code 910. I have tried the following steps: 1. Deleted Play Store app's cache and data. 2. Deleted Download manager app's cache and data 3. Deleted Youtube app's cache and data. 4. Restarted phone. And tried again, still same error occurred. How do I fix this? [![IMG: ](https://i.stack.imgur.com/NZhsS.png "Error Screenshot")](https://i.stack.imgur.com/NZhsS.png)<issue_comment>username_1: I had this problem with a Blackberry Priv with Android 6.01. What worked for me was: 1. Go to Settings → Personal → Security → Device administrators, disable the “Google Pay” administrator, and enable the “Blackberry Launcher” administrator. 2. Go to Settings → Device → Users, and select Guest. 3. Go to Settings → Device → Users, and select Myself - and log back in. 4. Return to Google Play → My apps and games, and install. This was done after a reboot and two previous installation attempts. The app that wouldn’t update was “Google”. Upvotes: 1 <issue_comment>username_2: Unfortunatly none of these solutions worked for me. So I have downloaded latest Youtube apk from third party site and installed successfully. App is working fine. But in Play store it is still showing my earlier version app and asking to update. I guess hereafter every time I need to update from apk only. Upvotes: 2 <issue_comment>username_3: In my case it was the Wish app. It would download, then pop up with that exact error. I moved it from my external SD card back to internal storage. I updated it, then went to move it back to external SD card, but it said I had no space. I know for a fact I do (I had a 512 GB SD card, so plenty of room). I ended up turning phone off for a few minutes then back on, and it moved just fine. So if it's moved to external SD card, maybe that's it. Upvotes: 0 <issue_comment>username_4: I was having the exact same issue! I just solved it by removing the sd card from my device. I don't know if the error will return after I put it back, but I was able to install apps. Upvotes: 0 <issue_comment>username_5: Go to storage setting and set default storage setting to “Phone memory” or “Let the device decide”. (Error 910 happens due to sd card set as a default storage.) Upvotes: 2 <issue_comment>username_6: I had been getting error 910 for days. I finally managed to solve the problem using the following steps: I "ejected" the SD card via settings, device, storage. I didn’t physically need to remove the card from the phone. (Android 6.0.1..... Blackberry Priv.) Upvotes: 2 <issue_comment>username_7: I had the same problem after trying to upgrade my Snapchat app to the alpha version following a tutorial on the XDA developers forum. After finishing the tutorial, the app wouldn't uninstall, run, or reinstall properly. The solution (for me) was to uninstall the broken app using ADB. 1. Install adb (if you haven't already). 2. Enable developer mode on your phone (if you haven't already). 3. Type `adb devices` into the terminal / command line. 4. Tap 'yes' on the authorization prompt on your phone (if you haven't already authorized). 5. Type `adb uninstall` to uninstall the broken app. 6. You can now reinstall the app from the Play store or wherever you got it from. Upvotes: 3 [selected_answer]
2018/11/30
803
3,189
<issue_start>username_0: I have a Xiaomi Redmi 4A and I used to often transfer files between it and my Windows 10 laptop PC over USB cable. When I plugged in the cable the phone it used to prompt me to choose between USB charging and USB file transfer. I didn't use this feature for months and a couple of weeks ago the phone told me MIUI 10 was available so I upgraded it it seemed very nice. Today I want to transfer some files from the phone to the PC and now when I plug in the cable, the screen comes on and both devices beep but I am not offered to choose between charging and transfer. The phone does not show up in Windows explorer to browse files. The phone does show on the computer as a connected USB device. But I can't find any settings or options on the phone or the computer to browse or transfer files on the phone. Has this feature been removed in MIUI 10 or is it hidden behind non-obvious settings? Or am I missing something very simple? --- * I have tried two different USB cables. At least one of the cables caused my feature phone to show up as a USB storage device or MTP advice. * I have tried rebooting the phone and the behaviour afterwards is identical.<issue_comment>username_1: Though I was pretty sure I'd transferred files with at least one of the USB cables I tried around the time I posted this question, I tried a **third cable** at work tonight and the file transfer option now appeared! So unless it was a coincidence, it seems it was due to a USB cable that was designed only for charging and lacked the wiring for file transfers! Upvotes: 3 [selected_answer]<issue_comment>username_2: On Windows PCs and other desktop PCs: * try to use a different USB port, often rear ports have more power than the front ports which is sometimes needed by some devices * use an USB 2.0 port if your mainboard supports both ports next to a possible type c port. * make sure [ADB](https://forum.xda-developers.com/showthread.php?t=2588979) and your device drivers are installed (you can find your device drivers on your phone manufacturers homepage. On your mobile device: * go to settings -> "my device" (or similar) and tap on your build number multiple times * go to "advanced" -> "developer settings" and check if "Select USB Configuration:" is set to MTP for file transfer or PTP for your Android to play a digital camera storage. Upvotes: 2 <issue_comment>username_3: What i did to transfer files from "redmi 4" to "mac" was following: 1. Install android transfer software on mac. 2. Go to "developers-option" in your phone to do so follow below steps: 2.1 go to "about-phone" in settings 2.2 click on the "mi-version" 8 times to enable developers mode. 2.2. Now select "developers options" in settings. 3. Then choose to "Select USB configuration" button in developers mode. 4. From that choose MTP(Media Transfer protocol) option. 5. Now connect your phone (Make sure its unlock) using USB cable and open Android file transfer software on your mac. Voila ! It should work now and should show the files to transfer. It it don't work connect different cable as sometimes some cable don't support mtp transfer or Reconnect the same cable Upvotes: 1
2018/11/30
251
1,085
<issue_start>username_0: On Android Oreo there was a special location in settings that you had to go to in order to allow an app the turned on the LED to actually be able to control it. Now with Android Pie that setting is either gone or I am not correctly remembering where it was, because I can't find it. How do I enable an app to use the LED in Pie?<issue_comment>username_1: There is a settings option called "Custom Restrictions". I had to search the settings (from the search bar) to find this, but it didn't indicate where it was in the menu structure. Under "While the screen is off" de-select the option that says to not blink. If you do not see this option (as I did not) then you do not have a notification LED on your phone (shocker, I know!) and that is the reason you can't get the LED notification working. Upvotes: 2 [selected_answer]<issue_comment>username_2: Sometimes the app you download will have the notification light feature turned off you have to go at settings then at notifications then select the app you want and enable the notification light Upvotes: 0
2018/11/30
1,179
5,296
<issue_start>username_0: Choosing a smartphone based on the operating system on a smartphone comes down to two options: Android or iPhone. Both collect personal data, track activities and track location. But with Android there's the option of replacing Android with a custom ROM. Will replacing stock Android on a phone with a custom ROM and removing all Google apps prevent Google from collecting any data?<issue_comment>username_1: A custom ROM on Android is usually a modification of the factory edition, a port from a different phone running the same kernel and Android version, or a cross-port to upgrade the version by merging needed firmware files with the new release. Sometimes if the custom ROM builder is intelligent enough, they'll build a complete ROM from the AOSP (Android Open Source Project). However, that usually requires access to kernel source and most manufacturers don't release this unless required by law. To define a custom rom as a modified stock system with proprietary software removed for copyright compliant releases, then iPhone also has custom ROM's (firmware) because you can jailbreak an iPhone and modify the system to "customize it". So, you can build your own custom ROM that is specifically designed to remove any Google data collecting software on Android, as Android is an open-sourced project, you can modify it to build your own OS if needed (one with removed Google data collecting software). --- However, I assume from your question that "you don't want to be tracked in any manner". Google has several methods of data collection, for example if you prefer to use Chrome then data analytic software will collect a lot of information about your browsing habits (for improvements to the software) and to be sold to third-party data-miners. Even if you don't use Chrome and avoid using google.com and any related websites/companies or softwares, you'd still potentially have data collected by other applications and websites that'll sell this information to a global analytics company (usually AXIOM). The company releases information back to Google and Google can still "track" you regardless of your product choice. For example, Facebook is also a company that provides personally identifiable analytics to AXIOM, that can and most probably are purchased by Google and nearly any other company working on artificial intelligence since it needs data to learn. Anyway, you can remove a lot of data collecting software, but it's only going to either increase someone's interest in your device usage (Google) or end up causing data to be collected more often. For example, if you used purchased software, it'll be constantly logging to Google that you haven't purchased it, this is because it's constantly connecting to Google's servers to check for purchases by your account, and reporting that it can't verify the purchase because it's missing the Google Play Services application. In time, this should increase someone's interest (Application Developers - Google - Others). The question is, why? If you need to stop it from collecting your habits, try using alternative methods, like using [DuckDuckGo.com](http://start.duckduckgo.com) (a search engine that doesn't track you). Turn off unnecessary data collection in every application that you can (sometimes the switch to turn off analytics is hidden in weird pages like help and info, etc.) So to answer your question in one line: **No, Google has other means of personalized analytics.** Upvotes: -1 <issue_comment>username_2: Summing up from the comments: There's more to it then just getting rid of "Google Apps" – though running a device without them certainly already massively reduces that data collection. A complete elimination can only be achieved by running the device in airplane mode (i.e. not permitting any network connections). Using a custom ROM ***without flashing GApps*** will massively reduce the data collection, yes. But then you also should avoid all apps from Playstore (e.g. by using F-Droid solely), and don't browse websites (only few, like mine, have no Google trackers involved). As @beeshyams already wrote, a Firewall (root: AFWall+ / no-root: NetGuard) can help reducing it further. Getting it to absolute zero is probably only possible by going into airplane mode. Even if you disable Javascript completely in the browser, there are still [Web bugs](https://en.wikipedia.org/wiki/Web_bugs) to consider: tiny, invisible images (1x1 pixel) embedded into web pages for tracking purposes. Websites which are completely free of trackers are rare; at least two thirds of all existing websites integrate at least one (if not more) Google Trackers: Google Analytics, Google Tag Manager (both to be found even here at SE), Google Ads, Google Fonts, miscellaneous Javascripts (ajax.googleapis.com), Google Maps, Youtube, and so on. --- **TL;DR:** You can massively reduce it, but you can't get *fully* rid of it without breaking stuff. Using a custom ROM without GApps is a good start, avoiding apps from Playstore helps a lot, using a firewall app (AFWall+ if rooted, NetGuard otherwise) helps further. Selectively enable Javascript for websites in your browser (e.g. using the *uBlock Origin* addon) massively improves on it. Upvotes: 2 [selected_answer]
2018/12/01
619
2,040
<issue_start>username_0: I want my phone to require a password to enter the Google Play app, so if I let someone else, such as a friend, use my phone they can't go into the app and snoop around. I have a Samsung Galaxy S9 with Android 8.0.<issue_comment>username_1: You can try [AppLock](https://play.google.com/store/apps/details?id=com.domobile.applock). On its Play Store page, it is stated that: > > AppLock can lock Facebook, Whatsapp, Gallery, Messenger, Snapchat, Instagram, SMS, Contacts, Gmail, Settings, incoming calls and any app you choose. Prevent unauthorized access and guard privacy. Ensure security. > > > Below are the steps to configure the app: 1. Install the app. After the installation is completed, open it. 2. You will be prompted to create a pattern that will be used to unlock the app (I advise you use a different pattern than the one used to unlock your phone). [![IMG: ](https://i.stack.imgur.com/ETIzK.png)](https://i.stack.imgur.com/ETIzK.png) 3. The next windows will ask to enter an email address for security purpose. [![IMG: ](https://i.stack.imgur.com/vd13F.png)](https://i.stack.imgur.com/vd13F.png) 4. Next, a dialog box will appear asking to grant the app usage access. Click permit, then on the list select APPLock and switch on usage access permission. [![IMG: ](https://i.stack.imgur.com/dYGlE.png)](https://i.stack.imgur.com/dYGlE.png) 5. Go back to the app, click on the Play Store. It will now be locked. [![IMG: ](https://i.stack.imgur.com/bHLB2.png)](https://i.stack.imgur.com/bHLB2.png) 6. When you or anyone else try to open the Play Store, he/she be prompted to enter the pattern you created. [![IMG: ](https://i.stack.imgur.com/fU7XY.png)](https://i.stack.imgur.com/fU7XY.png) **Disclaimer:** I have no relation with those who develop the app. Upvotes: 3 [selected_answer]<issue_comment>username_2: Mostly samsung devices have app lock by default if your device doesn't have just downlaod an app lock from play store and set it up and lock the app you wanna lock Upvotes: 0
2018/12/02
644
2,108
<issue_start>username_0: I just installed [ViperOS](https://forum.xda-developers.com/g5/development/rom-t3655639) on my Moto G5 – and I **cannot** find the bottom bar with home, back and the other button. It is just not displayed. And I have not found **anything** on the Internet on how to solve this issue.<issue_comment>username_1: You can try [AppLock](https://play.google.com/store/apps/details?id=com.domobile.applock). On its Play Store page, it is stated that: > > AppLock can lock Facebook, Whatsapp, Gallery, Messenger, Snapchat, Instagram, SMS, Contacts, Gmail, Settings, incoming calls and any app you choose. Prevent unauthorized access and guard privacy. Ensure security. > > > Below are the steps to configure the app: 1. Install the app. After the installation is completed, open it. 2. You will be prompted to create a pattern that will be used to unlock the app (I advise you use a different pattern than the one used to unlock your phone). [![IMG: ](https://i.stack.imgur.com/ETIzK.png)](https://i.stack.imgur.com/ETIzK.png) 3. The next windows will ask to enter an email address for security purpose. [![IMG: ](https://i.stack.imgur.com/vd13F.png)](https://i.stack.imgur.com/vd13F.png) 4. Next, a dialog box will appear asking to grant the app usage access. Click permit, then on the list select APPLock and switch on usage access permission. [![IMG: ](https://i.stack.imgur.com/dYGlE.png)](https://i.stack.imgur.com/dYGlE.png) 5. Go back to the app, click on the Play Store. It will now be locked. [![IMG: ](https://i.stack.imgur.com/bHLB2.png)](https://i.stack.imgur.com/bHLB2.png) 6. When you or anyone else try to open the Play Store, he/she be prompted to enter the pattern you created. [![IMG: ](https://i.stack.imgur.com/fU7XY.png)](https://i.stack.imgur.com/fU7XY.png) **Disclaimer:** I have no relation with those who develop the app. Upvotes: 3 [selected_answer]<issue_comment>username_2: Mostly samsung devices have app lock by default if your device doesn't have just downlaod an app lock from play store and set it up and lock the app you wanna lock Upvotes: 0
2018/12/03
620
1,981
<issue_start>username_0: When I open DroidExplorer I get this error: [![Error](https://i.stack.imgur.com/vSmvT.png)](https://i.stack.imgur.com/vSmvT.png) What can I do to fix this?<issue_comment>username_1: You can try [AppLock](https://play.google.com/store/apps/details?id=com.domobile.applock). On its Play Store page, it is stated that: > > AppLock can lock Facebook, Whatsapp, Gallery, Messenger, Snapchat, Instagram, SMS, Contacts, Gmail, Settings, incoming calls and any app you choose. Prevent unauthorized access and guard privacy. Ensure security. > > > Below are the steps to configure the app: 1. Install the app. After the installation is completed, open it. 2. You will be prompted to create a pattern that will be used to unlock the app (I advise you use a different pattern than the one used to unlock your phone). [![IMG: ](https://i.stack.imgur.com/ETIzK.png)](https://i.stack.imgur.com/ETIzK.png) 3. The next windows will ask to enter an email address for security purpose. [![IMG: ](https://i.stack.imgur.com/vd13F.png)](https://i.stack.imgur.com/vd13F.png) 4. Next, a dialog box will appear asking to grant the app usage access. Click permit, then on the list select APPLock and switch on usage access permission. [![IMG: ](https://i.stack.imgur.com/dYGlE.png)](https://i.stack.imgur.com/dYGlE.png) 5. Go back to the app, click on the Play Store. It will now be locked. [![IMG: ](https://i.stack.imgur.com/bHLB2.png)](https://i.stack.imgur.com/bHLB2.png) 6. When you or anyone else try to open the Play Store, he/she be prompted to enter the pattern you created. [![IMG: ](https://i.stack.imgur.com/fU7XY.png)](https://i.stack.imgur.com/fU7XY.png) **Disclaimer:** I have no relation with those who develop the app. Upvotes: 3 [selected_answer]<issue_comment>username_2: Mostly samsung devices have app lock by default if your device doesn't have just downlaod an app lock from play store and set it up and lock the app you wanna lock Upvotes: 0
2018/12/04
849
3,229
<issue_start>username_0: Some time ago I suddenly noted that wi-fi switch does not turn on wi-fi and I could not start wi-fi hotspot on xiaomi redmi note 4. I did not do any system update before that happened. As I've read on that problem on internet reset do not help, and neither it helped me later on. (installing some pdanet app did not help either). In addition to wi-fi, also bluetooth starts (icon shows it's on, not like wi-fi always off), but does not find any devices. I wanted to debug from PC, but neither Windows nor Linux see the phone connected as device, only charging worked. I was surprised to find out that OTG works, that points to software root cause IMHO. The phone has non-removable battery, I cannot easily try what I've read as second advice (for samsung with wifi issue) - take out battery. What could be the issue and what else do you advice me to try apart from selling for spare parts?<issue_comment>username_1: This seems like a technical issue. There could be these possible reasons: 1. It can happen if you manually change radio settings of the device (but will auto reset to default when you boot the device). 2. It can happen if you are running your device with an outdated version of custom UI that is not installing [OTA updates](https://gadgetstouse.com/featured/check-install-ota-update/8661). **OTA Definition:** > > [OTA Updates](https://gadgetstouse.com/featured/check-install-ota-update/8661) - Android devices gets [OTA updates](https://gadgetstouse.com/featured/check-install-ota-update/8661) via developer provided directly to your phone under name **'software update'** or **'system update'** or in some devices directly through app named **'Updater'**. > > > Solution is: 1. Try factory reset to your device. *Factory resetting to your device makes the device completely clean and settings will revert to the manufacturer default settings.* 2. Try [manually updating](https://in.c.mi.com/thread-687378-1-0.html) the ROM. *OTA update is an automatic process for keeping your mobile up-to-date while manually updating a ROM takes time and a little knowledge of android devices.* *Benefit is - By manual updating you can get a custom ROM installed faster than others who are waiting for official OTA update that takes time.* Caution -Manual update can be a risky process for your device. Please search it well before trying manual process. Upvotes: 1 <issue_comment>username_2: Perhaps software could be the root cause as you suspect, in which case try to put your device into safe mode and see if the wi-fi and bluetooth are working as they should. You can put your device into safe mode as follows: > > * First power off the device, then turn it on again. > * When the Mi symbol appears while booting, start tapping continuously on the fingerprint sensor until the phone completely > boots and then finally you will be in safe mode > > > If you do not see a change, then I'd suggest you reset **Network settings**: Settings → More → Network settings reset ![IMG: ](https://i.stack.imgur.com/b4mxm.png) If all that fails then I'd recommend **re-installing** the firmware, choose the right one [here](http://en.miui.com/thread-1144337-1-1.html) Upvotes: 0
2018/12/04
410
1,629
<issue_start>username_0: Cannot access Developer Options on Asus Zenphone 3 (Android 7.1.1): * Settings * About * Tap 6 times on Android Version All I get is an 'N' on the screen: [![IMG: ](https://i.stack.imgur.com/wb7J3.jpg)](https://i.stack.imgur.com/wb7J3.jpg)<issue_comment>username_1: You are hitting the wrong area to get developers options. Within setting/about phone/software/build number you need to hit `Build number` 7 times to enable the developers options. Hitting Android Version multiple times enables a google cookie for the android version. Upvotes: 4 [selected_answer]<issue_comment>username_2: * This screen shows your current android version status and further tapping on it will enable Android Easter egg. The N means you're using Android Nougat (7.1) on your device. * to enable developer options, go to settings->about phone, tap on build number multiple times (about 7 times), on completes it shows a message that you have enabled developer options. Features: * At the top of the Developer options screen, you can toggle the options on and off. * Next option is USB debugging. This allows Android Studio and other SDK tools to recognize your device when connected via USB, so you can use the debugger and other tools. * Also contains several options to set audio, networking, display, media, monitoring, apps tweaks for your device. N.B : please be careful on this option 'OEM unlocking' in developer options. If got enabled unexpectedly, your device will continue in boot loop. This option is often used to root device. [Source](https://developer.android.com/studio/debug/dev-options) Upvotes: 3
2018/12/04
442
1,718
<issue_start>username_0: Google has a feature to restore contacts that can be accessed from Settings - Google - Set up & restore - Restore contacts. This screen shows "Google Contacts" and "Device backup". ![](https://i.stack.imgur.com/znHSfl.jpg) I want to delete older device backups. I can't seem to find out online anywhere that is specific to this issue.<issue_comment>username_1: Follow these steps: 1. Go to [Google Contacts](https://contacts.google.com). 2. Sign in the account where you want to delete old contacts. 3. Choose contact(s) by 'check mark sign' before contacts name. 4. Click 'more' from above drop down menu, there you'll get delete option. It's done. **In case you have two different Google accounts added to device** and one is having your old contacts then you can disable syncing of contacts of that particular account without deleting contacts. Go to Settings and search for 'Google account' in search tab, or alternatively, open **Settings → Cloud and accounts/accounts → click Google** There you will see list of all connected Google accounts. Now, simply click the account you want to disable auto syncing of any particular option, such as contacts. [![IMG: ](https://i.stack.imgur.com/JyvCC.jpg "See this picture")](https://i.stack.imgur.com/JyvCC.jpg) Upvotes: 2 <issue_comment>username_2: I know your question is 3 years old now but I had more or less the same problem of not knowing where they were.The backups are stored in Google Drive under storage ([see this for how to get at them](https://support.google.com/drive/answer/6305834?hl=en&co=GENIE.Platform%3DDesktop)) and once you delete them there than your contacts backup is deleted too. I hope this helps. Upvotes: 1
2018/12/05
407
1,571
<issue_start>username_0: I bought a VivoY13 phone from Chinese Dealer. But Google playstore is not pre-installed. And when you try to install it shows errors. Does anyone have solutions or faced similar situation?<issue_comment>username_1: Follow these steps: 1. Go to [Google Contacts](https://contacts.google.com). 2. Sign in the account where you want to delete old contacts. 3. Choose contact(s) by 'check mark sign' before contacts name. 4. Click 'more' from above drop down menu, there you'll get delete option. It's done. **In case you have two different Google accounts added to device** and one is having your old contacts then you can disable syncing of contacts of that particular account without deleting contacts. Go to Settings and search for 'Google account' in search tab, or alternatively, open **Settings → Cloud and accounts/accounts → click Google** There you will see list of all connected Google accounts. Now, simply click the account you want to disable auto syncing of any particular option, such as contacts. [![IMG: ](https://i.stack.imgur.com/JyvCC.jpg "See this picture")](https://i.stack.imgur.com/JyvCC.jpg) Upvotes: 2 <issue_comment>username_2: I know your question is 3 years old now but I had more or less the same problem of not knowing where they were.The backups are stored in Google Drive under storage ([see this for how to get at them](https://support.google.com/drive/answer/6305834?hl=en&co=GENIE.Platform%3DDesktop)) and once you delete them there than your contacts backup is deleted too. I hope this helps. Upvotes: 1
2018/12/05
1,172
4,079
<issue_start>username_0: According to Wikipedia: > > Miracast support was built into Android with version 4.2 ... > > > ... Support was > dropped again with Android 6.0 Marshmallow in 2015, in favor of > Google's own Google Cast protocol. > > > Any answers associated with these older versions of Android do not apply. Modern Android devices include a "cast" function, but it's Google proprietary and so cheap HDMI TV dongles might not support it, especially since it's probably a moving target, and Google wants you to buy their device. There are apps that simply help you turn the casting function on and off, but all those do is save you from digging into the settings yourself (they don't add any casting functionality). **Is there a way to add Miracast function to a modern Android device?**<issue_comment>username_1: i can't possibly walk you through all the system modifications that are required but it's definitely possible with root access... Reasons for Google's changes.... MiraCast has never been fully supported by Android, it usually had serious problems trying to convert the screen into a standard 1080 or 720 resolution video, this usually caused just a phone shape video on the screen and not utilizing the entire screen... I believe that designing their own cast software was necessary to combat the problems Android was experiencing. To Enable a Disabled MiraCast you'd need --- You'll need root enabled. All you have to do is change one line on your build.prop. ( system / build.prop ) You have to change the line ``` persist.debug.wfd.enable=0 ``` To ``` persist.debug.wfd.enable=1 ``` If you're on stock or stock based ROM, you will edit the line. If you're Lineage based rom, you will have to add the line. Now you reboot and Miracast can be enabled. [Reference](https://forum.xda-developers.com/moto-z-play/how-to/how-to-enable-miracast-t3565852) To Add MiraCast is difficult if it wasn't disabled by the manufacturer, usually to enable ChromeCast you'd disable the older MiraCast, so if you're device has ChromeCast you should be able to enable it with the information above... However if it was never part of your system to begin with, you'd need to manually build it into your system... Outside the scope of this site. Upvotes: 1 <issue_comment>username_2: If Zillinium's [suggestion](https://android.stackexchange.com/a/204792/96277) to make changes into the "system / build.prop" does not make it fully function, you might need to also change the "/system/etc/wfdconfig.xml" file also. The following steps require both require root access and custom recovery TWRP. Pre N (Nougat) the long way. You could use the nano command to add and/or change values, but for simplicity and to stay in-bounds, just use a file explorer and text editor. 1. Go into the file `/system/etc/wfdconfig.xml` 2. Change the code: ``` ...     1 ... ``` Change 1 to 0 to make it look like this code: ``` ... 0 ... ``` 3. Go into the file `/system/build.prop`. Go down to this line of code and **AFTER** it: ``` persist.debug.wfd.enable=1 ``` Add a new line of code by creating this line: ``` persist.debug.wfd.appmonitoring=1 ``` 4. Save and exit. 5. Restart phone. 6. connect phone to computer. 7. Open an elevated command prompt and throw these commands: ``` adb shell su setprop persist.debug.wfd.appmonitoring 1 ``` 8. Verify the setprop `getprop persist.debug.wfd.appmonitoring` If 1 is returned, then you should be good to go. **Side note**: if this should put you into a bootloop, go into custom recovery TWRP. 9. Open a command prompt and throw these commands: ``` adb shell chmod 644 /system/build.prop ``` That should fix bootloop. For Android N (Nougat) the short way: From the custom recovery TWRP: 1. Open a elevated command prompt: ``` adb reboot bootloader ``` 2. Next, mount the /vendor partition from within TWRP` 3. Then throw the command: ``` adb shell 'echo persist.debug.wfd.enable=1 >>/vendor/build.prop' ``` 4. Reboot system from TWRP menu You should be good to go. Upvotes: 2
2018/12/05
1,172
4,032
<issue_start>username_0: I had to remove my Google account to sign out of Gmail, but when I try to log back in I see this screen and then it crashes: [![IMG: ](https://i.stack.imgur.com/0mKSA.png)](https://i.stack.imgur.com/0mKSA.png) Without this, my Keep, Gmail and even Play Store isn't working and I'm unable to sign into YouTube. I've tried restarting my phone, clearing app data for all Google apps. I thought this was a Google Play Services problem, so I tried to update it by installing via the latest APK but it always says that "the package is corrupt" This started when my Gmail app started crashing out of the blue. I tried restarting my phone which didn't help, so I thought I'd sign out and sign back in. I'm using Android 7 on Redmi Note 4<issue_comment>username_1: i can't possibly walk you through all the system modifications that are required but it's definitely possible with root access... Reasons for Google's changes.... MiraCast has never been fully supported by Android, it usually had serious problems trying to convert the screen into a standard 1080 or 720 resolution video, this usually caused just a phone shape video on the screen and not utilizing the entire screen... I believe that designing their own cast software was necessary to combat the problems Android was experiencing. To Enable a Disabled MiraCast you'd need --- You'll need root enabled. All you have to do is change one line on your build.prop. ( system / build.prop ) You have to change the line ``` persist.debug.wfd.enable=0 ``` To ``` persist.debug.wfd.enable=1 ``` If you're on stock or stock based ROM, you will edit the line. If you're Lineage based rom, you will have to add the line. Now you reboot and Miracast can be enabled. [Reference](https://forum.xda-developers.com/moto-z-play/how-to/how-to-enable-miracast-t3565852) To Add MiraCast is difficult if it wasn't disabled by the manufacturer, usually to enable ChromeCast you'd disable the older MiraCast, so if you're device has ChromeCast you should be able to enable it with the information above... However if it was never part of your system to begin with, you'd need to manually build it into your system... Outside the scope of this site. Upvotes: 1 <issue_comment>username_2: If Zillinium's [suggestion](https://android.stackexchange.com/a/204792/96277) to make changes into the "system / build.prop" does not make it fully function, you might need to also change the "/system/etc/wfdconfig.xml" file also. The following steps require both require root access and custom recovery TWRP. Pre N (Nougat) the long way. You could use the nano command to add and/or change values, but for simplicity and to stay in-bounds, just use a file explorer and text editor. 1. Go into the file `/system/etc/wfdconfig.xml` 2. Change the code: ``` ...     1 ... ``` Change 1 to 0 to make it look like this code: ``` ... 0 ... ``` 3. Go into the file `/system/build.prop`. Go down to this line of code and **AFTER** it: ``` persist.debug.wfd.enable=1 ``` Add a new line of code by creating this line: ``` persist.debug.wfd.appmonitoring=1 ``` 4. Save and exit. 5. Restart phone. 6. connect phone to computer. 7. Open an elevated command prompt and throw these commands: ``` adb shell su setprop persist.debug.wfd.appmonitoring 1 ``` 8. Verify the setprop `getprop persist.debug.wfd.appmonitoring` If 1 is returned, then you should be good to go. **Side note**: if this should put you into a bootloop, go into custom recovery TWRP. 9. Open a command prompt and throw these commands: ``` adb shell chmod 644 /system/build.prop ``` That should fix bootloop. For Android N (Nougat) the short way: From the custom recovery TWRP: 1. Open a elevated command prompt: ``` adb reboot bootloader ``` 2. Next, mount the /vendor partition from within TWRP` 3. Then throw the command: ``` adb shell 'echo persist.debug.wfd.enable=1 >>/vendor/build.prop' ``` 4. Reboot system from TWRP menu You should be good to go. Upvotes: 2
2018/12/05
545
2,083
<issue_start>username_0: I do have a Samsung Galaxy J5 2016, and I am trying to change its MAC address without rooting it. I've done a lot of internet search, and I've come across many useful guides and advice, such as <https://www.quora.com/How-can-I-change-my-Android-non-rooted-Mac-address>. Anyway, Terminal Emulator doesn't allow the operation indicated in the guide (ip link set...etc etc.): it outputs permission denied. More search gives as a result that you can't do this command without logging as superuser and, in turn, that you can't do that if you aren't on a rooted device. So I'm starting feeling as I'm chasing my tail... Can anybody please help?<issue_comment>username_1: Simply, you can't. Because of how the permissions work in Linux, what android is built on, you are required to use a root account to make those changes. The root account being `su`, which is only accessible when you have a rooted device. To my knowledge there is no way around that, even using alternate commands that might exist. Upvotes: 1 <issue_comment>username_2: it's possible to make root changes without root access on some models... MTK for example. If you have an MTK Device, Use Engineering Mode to write a new MAC Address 1. Open Dialer ( Phone ) 2. Type this number, replacing the letters for the numbers `*#*#ENGMODE#*#*` This is called a secret launch code, it'll launch Engineer(ing) Mode and you can change MAC with the guide [here](https://missingtricks.net/change-mac-address-android-device-mac-spoof/#3) Scroll down to the MTK Part. Other device's can use Terminal Emulator Some can use factory image flashing software Some ( Like your device manufacturer's ) can change the IMEI, MAC & Bluetooth Address using a pre-boot ... Used for factory address writing in the masses. It's possible without root, but a lot more difficult.... Try your Terminal Emulator commands running as a shell user ID ... To do this, just use ADB and connect to the shell with ``` adb shell ``` This gives you more permissions as you'll be running as shell user. Upvotes: 0
2018/12/06
855
3,380
<issue_start>username_0: The power button on my Nextbit Robin has stopped working. After some investigation, it would appear that the volume down button doesn't work, either, so, I'm 99% certain that it's a software issue (related to taking a screenshot?); however, in the unlikely 1% chance, I don't want to just shut it down (through battery drain?), as it might not turn back on again if the issue is hardware related instead (whereas if I leave it as-is, it might as well last for a while as long as it never gets into a shutdown state). It's possible to wakeup the phone by connecting or disconnecting it to a charger, and by installing a number of apps for the task, but it would appear that there is no way to actually reboot the phone, nor bring the Power-Off/Reboot menu that the power button normally brings. How do I reboot the device?<issue_comment>username_1: It would appear that the only way to reboot the device in the case where the phone is not rooted and when the power button is unavailable is through ***adb***. As per [StackOverflow](//stackoverflow.com/a/53646130/1122270), it would appear that Google provides an `adb` binary for OS X that doesn't depend on any other developer tools nor Java, so, the following set of steps would make it possible to reboot the phone: * Have **Developer options** menu enabled within the Android phone * Enable **USB debugging** within **Developer options** menu of Android * Connect Android device via a USB cable to an OS X machine * Execute the following commands within OS X in **Terminal.app**: ``` cd /tmp curl https://dl.google.com/android/repository/platform-tools_r28.0.1-darwin.zip -o apt.zip unzip apt.zip ./platform-tools/adb devices ./platform-tools/adb reboot ``` * Before executing the final `adb reboot` command above make sure to allow pairing between Android and OS X by allowing it at the **Allow USB debugging?** dialogue popup that would appear on the phone after running the `adb devices` command on the OS X machine. Upvotes: 2 <issue_comment>username_2: > > [It] would appear that there is no way to actually reboot the phone, nor bring the Power-Off/Reboot menu that the power button normally brings. > > > There is a way, that too without root access. [AutoInput](https://play.google.com/store/apps/details?id=com.joaomgcd.autoinput) can show the power menu. It requires [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm) installed. Setup both Tasker and AutoInput. Make sure both are "not optimized" under battery settings in your device. In addition, accessibility service of AutoInput needs to be enabled. Setup a task in Tasker and add this action: Plugin → AutoInput → Global Action → Configuration: 1. Action: Power Dialog 2. Password: <PASSWORD> You can test the task now with the play button at the left side of the bottom bar. It should work if AutoInput was setup correctly. You have various ways for ease of use for this task. * You can set up a widget on your home screen that would link to this task (you'd have to assign an icon to the task first). * You can setup a profile (a trigger) that would automatically run this action. * You can also assign this task to a HW button (AutoInput supports that). * You might also be able to add this shortcut into quick settings (for Android N and above I believe). Upvotes: 0
2018/12/06
733
2,848
<issue_start>username_0: I am trying to root my Samsung A7(2017). I have installed twrp to my phone but when I open it to install SuperSU it writes Internal Storage(0 MB) therefore I can not access to SuperSU. I am searching this topic for hours and tried many ways but couldn't solve it. How can I fix this problem?<issue_comment>username_1: It would appear that the only way to reboot the device in the case where the phone is not rooted and when the power button is unavailable is through ***adb***. As per [StackOverflow](//stackoverflow.com/a/53646130/1122270), it would appear that Google provides an `adb` binary for OS X that doesn't depend on any other developer tools nor Java, so, the following set of steps would make it possible to reboot the phone: * Have **Developer options** menu enabled within the Android phone * Enable **USB debugging** within **Developer options** menu of Android * Connect Android device via a USB cable to an OS X machine * Execute the following commands within OS X in **Terminal.app**: ``` cd /tmp curl https://dl.google.com/android/repository/platform-tools_r28.0.1-darwin.zip -o apt.zip unzip apt.zip ./platform-tools/adb devices ./platform-tools/adb reboot ``` * Before executing the final `adb reboot` command above make sure to allow pairing between Android and OS X by allowing it at the **Allow USB debugging?** dialogue popup that would appear on the phone after running the `adb devices` command on the OS X machine. Upvotes: 2 <issue_comment>username_2: > > [It] would appear that there is no way to actually reboot the phone, nor bring the Power-Off/Reboot menu that the power button normally brings. > > > There is a way, that too without root access. [AutoInput](https://play.google.com/store/apps/details?id=com.joaomgcd.autoinput) can show the power menu. It requires [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm) installed. Setup both Tasker and AutoInput. Make sure both are "not optimized" under battery settings in your device. In addition, accessibility service of AutoInput needs to be enabled. Setup a task in Tasker and add this action: Plugin → AutoInput → Global Action → Configuration: 1. Action: Power Dialog 2. Password: <PASSWORD> You can test the task now with the play button at the left side of the bottom bar. It should work if AutoInput was setup correctly. You have various ways for ease of use for this task. * You can set up a widget on your home screen that would link to this task (you'd have to assign an icon to the task first). * You can setup a profile (a trigger) that would automatically run this action. * You can also assign this task to a HW button (AutoInput supports that). * You might also be able to add this shortcut into quick settings (for Android N and above I believe). Upvotes: 0
2018/12/07
1,002
4,482
<issue_start>username_0: Owing to a recent [Motley Fool report](https://www.fool.com/investing/2018/12/05/cheetah-mobiles-ad-fraud-allegations-just-got-even.aspx) of Google's actions pertaining to Cheetah Mobile apps, it occured to me that I would like to either uninstall or disable (in case uninstall fails), the apps related to this company, and other companies, if need be. Now exposed as employing questionable techniques on even one app, it is unlikely I would ever trust any installed app from that company. What easy technique to recognize a company's apps are on my device and uninstall them, even if their app names, or their developer names, or their company names are obscure?<issue_comment>username_1: The easiest way is through the web for [Google Play](https://play.google.com). Using the seach bar, bring up the name of one of the suspected apps like [Clean Master](https://play.google.com/store/apps/details?id=com.cleanmaster.mguard) or any of the apps listed in the article like Kika. Using this page, click the hyperlink for the COMPANY, below the appname. This will bring up all apps for that company, and the card for each app that you have installed will have a green check mark in the bottom right of the card. Selecting in this fashion allows the user some confidence that all his apps from that specific company can be identified. Unfortunately, while the specific app card yields a pseudo-button "Installed", it does not allow uninstall or disable via the web interface. Using the list however, the user would search out, uninstall (or disable) the now-exposed apps directly from the device. `Settings > Apps > > Uninstall or Disable` Upvotes: 3 [selected_answer]<issue_comment>username_2: Android package identification is not easy. I can call a new application anything i want to, their is no designated spot to write the company name for searching. Ok for example, i could call my app `region.company.appname` as the guidelines encourage developers to use this format when naming application packages... `com.company.tester` for this example, COM is the region ( Commonwealth ) , Company is the company name and tester is the app name. To identify applications made using the same naming rules and using the same company name, you'd need to look at the package name for all application's and find the corresponding company name. This won't show you everything because the developer can easily call the app `anon.unknown` now the region has been removed, the company is Anon and the app name is unknown... This makes it extremely hard to recognize all package's by a specific developer. Back in the day, Google's Play Store only required the application to be signed by a developer key ( used for all apps ) however now developers need to create a new key for each application that doesn't share userID's. You could have previously checked the Key Hash for all applications and the one's using the same Key are from the same company ( developer ) ... however this has changed. In my experience, their isn't any regulation on leaving a footprint from your company.... If you wanted, you could make your company name the same as you application name ... For example, Facebook is by Facebook, The company may have been created specifically for the application, therefore the company is the same name, meaning each and every application will be made by development team for that application. So, other than relying on the developer to use the same naming rules for every application... It's not possible to find all applications made by a specific company... The company may have side projects that use their respective names as the identity of the creator. The only possible way is if the IDE ( Integrated Development Environment ) places some sort of digital fingerprint on the software using information from the hardware of the computer... this can still be avoided by using a different computer to develop on. So as far as i know, it's not entirely possible. The best alternative is to read the package names and find corresponding companies ( shared user ID's & package names ). If the application is installed in your System, you can't uninstall it without root access, so you'll need to Disable the app instead. System > Apps ( Samsung's it's More > Apps ) > ( Selected App ) > Disable. I hope the developer hasn't used different naming rules for each application etc .... good luck finding them all. Upvotes: 0
2018/12/08
1,467
5,028
<issue_start>username_0: I have a fairly serious problem. I lost all the numbers in the phone book, breaking the SIM card, but luckily I saw that most of them are stored on telegram. I tried with telegram desktop to export all contacts and the operation was successful. Now, how can I put them in the phone book? I hope there is a solution, even starting a new procedure from scratch. Solution here does not work [Sync Telegram Contact with Phone Contact](https://android.stackexchange.com/q/162046)<issue_comment>username_1: After exporting all the contacts with *Export Telegram data*, I created a Python script that extracted all the contacts from the generated website. The script, positioned directly inside the *Telegram Desktop* folder, is the following: ``` #FIRST FOLDER TO CHANGE pathToFile = 'DataExport_08_12_2018 (2)/lists/contacts.html' with open(pathToFile, encoding='utf-8') as f: lines = tuple(l for l in f.readlines()) with open('csvToConvert.csv', "w", encoding="utf-8") as outputFile: outputFile.write('nome, telefono\n') for i,l in enumerate(lines): if l.startswith(' ') and lines[i+4].startswith(' '): tel = lines[i+5].replace(' ','') if not tel.startswith('+39'): if "+" in tel and tel[1] == '3': outputFile.write(lines[i+1].replace('\n','') + ', ' + tel.replace('+', '+39')) else: if tel[0] == '0': outputFile.write(lines[i+1].replace('\n','') + ', ' + tel) elif tel.startswith('0039'): outputFile.write(lines[i+1].replace('\n','') + ', ' + tel) else: outputFile.write(lines[i+1].replace('\n','') + ', ' + tel) ``` Note that this script **is aimed to the Italian telephone numbers** (note the prefixes that are checked in some *if* clauses)! However, once the folder is modified and the script is executed, a file called *csvToConvert.csv* is generated. Subsequently, this file must be passed to a program called [CVS to VCard](http://www.softsea.com/download/CSV-to-vCard.html), which takes care of converting the *csv* file into a *vcard* file. Then, once the vcard file is generated, just enter it on google contacts ([*https://contacts.google.com/*](https://contacts.google.com/) *> more > import*), and you're done! Magically you will find all the contacts in the phone book of your android phone! I hope I have been helpful. Upvotes: 2 <issue_comment>username_2: @username_1's answer is great and put me in the right direction. However, the script does not work anymore, because the indention was changing for Telegram exports. Also I wanted a version that works for all country origins. My output CSV can also be imported into Google Contacts without the necessary step to convert it to the VCard. Here is my modified version: ``` import re pathToFile = 'lists/contacts.html' with open(pathToFile, encoding='utf-8') as f: lines = tuple(l for l in f.readlines()) with open('csvToConvert.csv', "w", encoding="utf-8") as outputFile: outputFile.write('Name,Group Membership,Phone 1 - Type,Phone 1 - Value\n') for i,l in enumerate(lines): if '' in l and '' in lines[i+4]: tel = re.sub('^00', '+', lines[i+5].replace(' ','').replace('\n','')) outputFile.write(lines[i+1].replace('\n','') + ',\* myContacts,,' + tel + '\n') ``` The data export can be found in [Telegram Desktop](https://desktop.telegram.org/) in *Settings > Advanced*. The script above needs to be located in the resulting *Data Export* folder and needs to be run by Python3. My final step was to merge the contacts using [*Merge +*](https://play.google.com/store/apps/details?id=com.contapps.android.merger&hl=en&gl=US) on my mobile after sync, because the script will make one entry per number, not per contact. Upvotes: 2 [selected_answer]<issue_comment>username_3: You can export the Telegram contacts via the desktop app by going to **Settings** > **Advanced** > **Export Telegram data**. Now select only contacts and export as JSON. Now you can transform this into a Google Calendar format CSV file using [jq](https://github.com/stedolan/jq) CLI-tool. ``` jq '[ # Rename fields to Google Contacts CSV format and format phone number starting 00 to + .contacts.list[] | .phone_number |= sub("^00"; "+") | .["Given Name"] = .first_name | .["Family Name"] = .last_name | del(.first_name, .last_name) | .["Phone 1 - Type"] = "Mobile" | .["Phone 1 - Value"] = .phone_number | del(.phone_number, .date, .date_unixtime)] # Convert array of objects to CSV, from https://stackoverflow.com/a/71505734/13994822 | (map(keys) | add | unique) as $cols | map(. as $row | $cols | map($row[.])) as $rows | $cols, $rows[] | @csv' \ -r "Downloads/Telegram Desktop/DataExport_[DATE]/result.json" \ | tee contacts.csv ``` This can then be imported at [Google Contacts](https://contacts.google.com) via the import button [![Import button symbol](https://i.stack.imgur.com/yYrpD.png)](https://i.stack.imgur.com/yYrpD.png). As of 2023-05-15 this is on top-right of the application UI. Upvotes: 0
2018/12/08
844
3,166
<issue_start>username_0: Is it possible to create create a launcher icon that will start a certain streaming video URL in an app registered to the specific media type? (or offer the app chooser menu, in case there are multiple apps matching the content filter). In my case it is a `M3U` playlist URL pointing to a [DASH](https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP) stream and I would like to open it directly in a default app for the content type (i.e. mxplayer). I am aware that it is possible to create a launcher shortcut from Chrome or other browser via Add To Desktop option, but in this case tapping the launcher will open the web browser first and then will redirect to whichever app can handle the content type. Can this be done in a way that does not require a web browser? In broader terms, the question is how to create a launcher to a URL or local file that can be tapped from the desktop and would open in whatever app(s) can handle the content type?<issue_comment>username_1: If you have a file manager (I use ES File Manager version 4.1.5.5) that can create shortcuts to the desktop, then it is possible to do what you ask. 1. From ES File Manager, press the file, select `More`. [![IMG: ](https://i.stack.imgur.com/dKATr.png)](https://i.stack.imgur.com/dKATr.png) 2. Select `Open As`. A window appears with options. Choose either `Audio` or `Video` [![IMG: ](https://i.stack.imgur.com/HbPAc.png)](https://i.stack.imgur.com/HbPAc.png) 3. A new window will appear with the options to select the app to open the file with. Select `Set as the default app`, then select your favorite app for playing the `m3u` streams. The app will open and play the stream. Close the streaming app. [![IMG: ](https://i.stack.imgur.com/RSs0y.png)](https://i.stack.imgur.com/RSs0y.png) 4. Select again the file, click `More` followes by `Add to Desktop`. 5. A shortcut will be created; clicking it will open the stream using the app selected during step 3. Upvotes: 2 <issue_comment>username_2: Stock android does not offer the possibility of creating custom desktop shortcuts since that's something handled by the launcher which is just an app like any other. While some launchers do offer to option to create buttons for any activity (e.g. Nova and others) they don't currently have the option of setting additional arguments for the shortcuts such as URLs or file names. After trying half a dozen of apps from the play store I have identified at least two apps which can create generic shortcuts which will keep working even after the apps are uninstalled: <https://play.google.com/store/apps/details?id=krow.dev.scheme>. With [Intents](https://play.google.com/store/apps/details?id=krow.dev.scheme) the configuration that worked with VLC player is: * **Action**: ACTION.VIEW (`android.intent.action.VIEW`) * **Package Name**: `org.videolan.vlc` * **Data** (for example <https://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/dash/nonuk/dash_low/aks/bbc_world_service.mpd>) Other shortcut creation apps I tried register the shortcuts to themselves and therefore uninstalling them will also delete the shortcuts. Upvotes: 2
2018/12/10
764
2,687
<issue_start>username_0: I have been getting redirect notices on my Samsung Google Chrome browser with a link to Messenger, e.g. here is the last link: `https://www.google.com/url?q=chrome-native://recent-tabs/&usg=AFQjCNGr_fE_CEo3dlMRGaW3TnfE3S3U6Q`. I once installed Messenger, but I have never used it nor do I even have a Facebook account. But now it makes it appear like I am using Play Store secretly, using Messenger, and my spouse believes I am secretly using Messenger. How can I stop the redirection?<issue_comment>username_1: If you have a file manager (I use ES File Manager version 4.1.5.5) that can create shortcuts to the desktop, then it is possible to do what you ask. 1. From ES File Manager, press the file, select `More`. [![IMG: ](https://i.stack.imgur.com/dKATr.png)](https://i.stack.imgur.com/dKATr.png) 2. Select `Open As`. A window appears with options. Choose either `Audio` or `Video` [![IMG: ](https://i.stack.imgur.com/HbPAc.png)](https://i.stack.imgur.com/HbPAc.png) 3. A new window will appear with the options to select the app to open the file with. Select `Set as the default app`, then select your favorite app for playing the `m3u` streams. The app will open and play the stream. Close the streaming app. [![IMG: ](https://i.stack.imgur.com/RSs0y.png)](https://i.stack.imgur.com/RSs0y.png) 4. Select again the file, click `More` followes by `Add to Desktop`. 5. A shortcut will be created; clicking it will open the stream using the app selected during step 3. Upvotes: 2 <issue_comment>username_2: Stock android does not offer the possibility of creating custom desktop shortcuts since that's something handled by the launcher which is just an app like any other. While some launchers do offer to option to create buttons for any activity (e.g. Nova and others) they don't currently have the option of setting additional arguments for the shortcuts such as URLs or file names. After trying half a dozen of apps from the play store I have identified at least two apps which can create generic shortcuts which will keep working even after the apps are uninstalled: <https://play.google.com/store/apps/details?id=krow.dev.scheme>. With [Intents](https://play.google.com/store/apps/details?id=krow.dev.scheme) the configuration that worked with VLC player is: * **Action**: ACTION.VIEW (`android.intent.action.VIEW`) * **Package Name**: `org.videolan.vlc` * **Data** (for example <https://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/dash/nonuk/dash_low/aks/bbc_world_service.mpd>) Other shortcut creation apps I tried register the shortcuts to themselves and therefore uninstalling them will also delete the shortcuts. Upvotes: 2
2018/12/11
279
991
<issue_start>username_0: A friend asked me to help fix her phone. She left it with her kid and they put it on safe mode. I restarted it and it went into a smaller screen display like this. [![IMG: ](https://i.stack.imgur.com/Gas7e.jpg)](https://i.stack.imgur.com/Gas7e.jpg) (Tap to enlarge) Without trying a factory reset anyone know how to resolve this?<issue_comment>username_1: My phone also has this feature. It is called one-handed operation. Go to Settings → Advanced Features. There you will find this option. Alternatively, you can search in settings. [![IMG: ](https://i.stack.imgur.com/kM413.jpg)](https://i.stack.imgur.com/kM413.jpg) Upvotes: 2 <issue_comment>username_2: I'm not sure if this will work for your specific device but an old LG G4 (VS986) I used to have had an option in "Developer Options" to set a custom resolution (DPI to be specific). I highly doubt your friend's kid was able to change this, especially if developer options was never unlocked. Upvotes: 0
2018/12/11
831
2,841
<issue_start>username_0: I would like to get rid of Bixby altogether and preferably reassign the Bixby hardware button to a different function. Is that at all possible and if so: how?<issue_comment>username_1: This [article](https://www.androidcentral.com/how-completely-disable-bixby) has a useful guide to disabling bixby. > > **Disable Bixby Voice** > > > Go to Bixby home. Click the three vertical dots then settings. Uncheck Bixby Voice > > > **Disable Bixby Button** > > > Go to Bixby home. Click the cog. Uncheck Bixby Key > > > **Remove Bixby from Home screen** > > > From home screen, hold down on empty space. Swipe right until you see Bixby home screen. Uncheck Bixby Home. > > > This other [article](https://saintlad.com/remap-bixby-button-on-galaxy-s9/) covers remapping Bixby button. You will have to keep the button enabled. Skip step two in the previous article. This one is longer, but basically you download an app that will remap the key to what ever action that can be done. **EDIT** As of Android Pie (9.0), this guide is no longer accurate to disable Bixby. The Bixby button can still be remapped using bxActions(free) or [Tasker beta](https://www.xda-developers.com/tasker-beta-remap-bixby-button/)(paid)(thanks beeshyams) and Bixby Home can be removed from the home screen. However, disabling Bixby completely will most likely require removing via ADB or possibly using [Package Disabler Pro+](https://play.google.com/store/apps/details?id=com.elmklmsamsung.batteryaddon)(Paid app). Upvotes: 4 [selected_answer]<issue_comment>username_2: Yes this can done. I recently [updated guide to remove Bixby](https://www.darpandodiya.com/code/guide-remove-bixby-bloatware-from-samsung-galaxy-phones/) using adb. Assuming you've adb installed on your machine, you can run following command to get packages related to Bixby. ``` adb shell pm list packages | findstr "bixby" or adb shell pm list packages | grep "bixby" ``` Next step is to uninstall those packages for the current user (that is you). An example for one of the packages: ``` adb shell pm uninstall -k --user 0 com.samsung.android.bixby.agent ``` Do this for all packages and you will have everything related to Bixby removed from your device. I just verified with my S10 Plus device and it works fine. One caveat is: The application is being uninstalled for the current user (`--user 0`) – not system wide. Root access it needed to do system wide un-installation. This could also mean that whenever you’ll upgrade or factory reset your device, the bloatware would kick in again. Also button remapping might also not be possible. If this sounds very technical to you, you may want to read the [guide](https://www.darpandodiya.com/code/guide-remove-bixby-bloatware-from-samsung-galaxy-phones/) for step by step instructions. Upvotes: 2
2018/12/12
357
1,635
<issue_start>username_0: I would like to know whether it is possible to be able to have a temporary root access to an android phone using a Termux or any other terminal in the same way that ubuntu does without rooting your phone.<issue_comment>username_1: Rooting phones is usually done using root exploit scripts which day by day Google releases patches. Most of the rooting tools and scripts focus on getting permanent root but temporary root is also achieveable. However, the question you have asked is to gain root access through an Android Application like Termux which stimulates a Terminal Emulator which is not possible yet. But you can gain temporary root access nowadays if your device is atmost 7.11(Nougat) using Dirty Cow exploit but you will need PC. However, it will be temporary root access. Upvotes: 1 <issue_comment>username_2: Ubuntu for PC is permanently rooted. It comes with root user as well as with the mechanism to allow a process to gain superuser privilege when requested so and authenticated by the user (that which you considered temporary root). Android devices, on the other hand, do not provide the mechanism to gain superuser access. That mechanism, often involves installing a `su` binary coupled with some daemons and hacks, provides the user a way to gain elevated privileges and manage that privilege on a per app basis. Even if you root a device, it is not like every app or process gets to have superuser access on its own. It is the user, through a superuser manager app such as SuperSU and Magisk, who manages whether to permit temporary or permanent access to superuser privilege. Upvotes: 2
2018/12/12
1,102
4,721
<issue_start>username_0: My Google activities log says I have been messaging people late at night and in the early morning, but I know for a fact I haven't. Plus I have a search on my Google maps I never did. These things are putting a strain on my marriage and I want answers to why this is happening to me. I rarely go anywhere due to me meaning a stay at home mom. I want answers and I want to be able to show my husband that I'm not lying to him about any of this. I'm also getting to were I don't want to do anything on my phone far as searches, texting or making calls.<issue_comment>username_1: I've had similar mysterious activity showing up on my account in the past (albeit, several years ago). It's important to remember that your Google account, and thusly your usage history, can be shared across multiple devices, including a mixture of desktop, laptop, mobile, even TV and assistant enabled devices like Google Home. I spent a moment going over security and reviewing my account - it sounds like you would benefit from the same. First, visit <https://myaccount.google.com/> Secondly, sign in to your Google account and you should see some options on the left side pane: [![Google myaccount Home](https://i.stack.imgur.com/T5AWh.png)](https://i.stack.imgur.com/T5AWh.png) * Under **Data & personalization**, you can review your privacy settings and also see location history. Clicking on Location History reveals a page where you can review which devices are contributing to your accounts history. Be sure to have only the devices you actively use as checked. [![review privacy data](https://i.stack.imgur.com/vHQui.png)](https://i.stack.imgur.com/vHQui.png) * Under **Security**, I highly recommend turning on 2-step verification. Also, make sure you have no security issues including any unidentified sign-ins from devices you don't recognize. You can revoke access to your Google account on a device-basis from this screen. [![review security data](https://i.stack.imgur.com/2m1z6.png)](https://i.stack.imgur.com/2m1z6.png) * Under **People and Sharing** you can view who is sharing content with you, including location history. You can also control which content you see, of course, including location sharing. In regards to your mobile devices, make sure you audit and remove any suspicious looking apps that you may not remember downloading. Finally, **reset your Google password**. This is the single best security practice and often the most overlooked. Upvotes: 1 <issue_comment>username_2: Your messaging activity is not normal... I'd suggest placing an SMS logger on the device to double check no application is sending messages without your permission, you can find them online ( try searching Parental Control ) I feel that you may be searching for an answer that doesn't exist, are you sure that your location is wrong... For example, You mention that the location is actually near you, this can be two things, The amount of satellites that are deciding the location.. ( On Android, the GPS is not super accurate, it's based on several methods of accumulating location based information to calculate your location - WiFi Device's your near ( connected or not ) - Radio tower your connected to, or multiple towers ( triangulation ) - NFC devices you've passed, that are identifiable by a location ) ... For example, if you passed a Free WiFi Hotspot, your location would be linked to the location of the hotspot owners address ) You will often have an incorrect location ( sometimes up to 100 klm out ) - ( It should say the accuracy of the location based on several algorithms ) So the GPS location might be the radio tower your Android is connecting too, It could also be a WiFi Hotspot that your device is recognizing or it could be your Device hasn't found enough satellites to calculate an accurate location yet ( it usually warms up and calculates the location within 1 meter accuracy at 3seconds - so pay attention if it's GPS based accuracy or Network Location based accuracy ). As for text messages ... It honestly sounds like you're lying at this point, but it is possible... Some applications can take control of your phone completely through sms commands, the device gets a message and the application hides it from the user, the message tells the app to send back the (eg. call log ) and the app sends a silent message with the information requested by the command SMS ) ... These apps are called SpyWare or MalWare ( Spying & Malicious ) you should open Setting's, Apps, and look through your apps, searching online for each one your unsure about. P.S Some apps send messages in the background for certain thing's like verifications via SMS etc.... Upvotes: 0
2018/12/12
282
1,107
<issue_start>username_0: My old Samsung Galaxy Tab running Android 4.2 would always show 3 word suggestions above the keyboard as I was typing. I thought it was very helpful. But my new tablet(Galaxy Tab A 8") running 8.1 doesn't have that. Can I get that back?<issue_comment>username_1: Downloaded the [Google keyboard app](https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latinand). It solved the problem for me Upvotes: 0 <issue_comment>username_2: Let it be set to default keyboard(Samsung Keyboard). Follow steps to turn on word's suggestions: **For Galaxy tab:** Follow the steps: 1. Open Settings - Scroll down to System - Language and input-Choose Samsung keyboard. 2. Under Smart typing choose *Predictive text* and enable it. **For Handsets:** 1. Open Settings-General Managment-Language and Input-On screen keyboard-Samsung Keyboard. 2. Now turn on 'Predictive text' option and again in this option turn of 'Auto replace'. Note: *Auto Replace* will enable the keyboard to replace predicted words by itself and this could create problem while typing. Upvotes: 2
2018/12/14
417
1,474
<issue_start>username_0: I am using a rooted Samsung S8+. But, Termux cannot gain root access. I tried `su`, `sudo` unsuccessfully. When I tried installing termux-sudo, I had the error `cat: sudo: no such a file or directory`. [![IMG: ](https://i.stack.imgur.com/MQ6ml.jpg)](https://i.stack.imgur.com/MQ6ml.jpg) [![IMG: ](https://i.stack.imgur.com/hMirv.jpg)](https://i.stack.imgur.com/hMirv.jpg) (Tap to enlarge)<issue_comment>username_1: Are you sure that's the correct order of those commands? I have a strong feeling that it should have been `sudo cat` instead of `cat sudo`. Upvotes: 1 <issue_comment>username_2: First, you probably need to use su rather than sudo. Where did you copy the sudo from? It looks like some incompatible executable, maybe copied from an x64 distro (guessing). Second, Termux overrides $PATH. You will need to provide full path or to make su available on $PATH. You might want a symlink (ln -s) of su (which might be located in /sbin/, /system/xbin or so). Upvotes: 1 <issue_comment>username_3: You have installed incompatible software. In your output, the line "Exec: exec format error" is the program loader complaining about an incompatible binary format. Your experiment failed because of wrong software type. Upvotes: 1 <issue_comment>username_4: First, install the needed packages. ``` pkg install proot proot-distro tsu fakeroot parted ``` Then, go to a new screen in the terminal and type ``` proot -0 login ``` Upvotes: 3
2018/12/16
782
3,003
<issue_start>username_0: I am a passionate Stack Exchange user and I have a lot of userscripts in my desktop Chrome browser, installed with Tampermonkey. I want to use them on my Android phone, is it possible?<issue_comment>username_1: Google Chrome on Android so far doesn't support plugins, of which Tampermonkey is necessary to run userscripts, so here I recommend [Firefox for Android](https://play.google.com/store/apps/details?id=org.mozilla.firefox "Firefox Browser fast & private"). You can install [Tampermonkey](https://addons.mozilla.org/en-US/android/addon/tampermonkey/) addon in Firefox and then start with your favorite scripts. Note that all userscripts are not compatible with Tampermonkey such as [SE-AutoReviewComments](https://github.com/Benjol/SE-AutoReviewComments) for which you need [USI- Unified Script Injector](https://addons.mozilla.org/en-US/android/addon/userunified-script-injector/) addon. ### Where can I find scripts to play with? [Stack Apps](https://stackapps.com) is a Q&A site for apps, scripts, and development with the Stack Exchange API. People discuss about developing around SE, and publish their projects there. You can find a lot of userscripts in the [scripts](https://stackapps.com/?tab=scripts) section. ### One of my scripts isn't working beeshyams asked me this question before, but I wasn't a Firefox user then, so I installed Firefox fresh and installed that userscript, and found nothing wrong. When you encounter some issues with userscripts, try removing and reinstalling them, as well as clearing/resetting your Firefox addon, and see if the issue resolves by itself. Usually this solves 99% of them. Upvotes: 5 [selected_answer]<issue_comment>username_2: Tampermonkey or any other userscript manager can no longer be added to Firefox as of writing this answer. It was never even possible with Chrome. However, You can instead install actively maintained android firefox fork [iceraven](https://github.com/fork-maintainers/iceraven-browser) that supports extensions like tampermonkey, greasemonkey etc. Upvotes: 1 <issue_comment>username_3: The situation changes all the time, I was using Firefox 68 for that but later versions drop add-on support. And using old version 68 is not very safe. But hopefully Kiwi Browser took the relay of Firefox for browsing with userscripts on Android: Since 2021 or so, **I've [been using for months](https://community.metabrainz.org/t/user-scripts-on-mobile/134406/15?u=username_3) without problems tons of userscripts with [Violentmonkey](https://violentmonkey.github.io) (open source)** and many userstyles with [Stylus](https://add0n.com/stylus.html) **with [Kiwi Browser](https://kiwibrowser.com)!** It can install and run also other extensions from the Chrome Store. Upvotes: 1 <issue_comment>username_4: It is possible with the help of **Xposed framework**. I am the author of `ChromeXt` which adds support of UserScripts to Android Chrome: <https://github.com/JingMatrix/ChromeXt>. Upvotes: 1
2018/12/16
549
2,082
<issue_start>username_0: [![IMG: ](https://i.stack.imgur.com/jGfKh.jpg)](https://i.stack.imgur.com/jGfKh.jpg) (Tap to enlarge) ``` Storage almost full ``` OK, nice of you to warn me, I'll take care of that later. ``` Storage almost full ``` OK, good to have a reminder. ``` Storage almost full ``` I guess I could have forgotten twice? ``` Storage almost full ``` Seriously though, do I really have to see it pop up ELEVEN TIMES during the span of a 10:46 Youtube video? Huawei p10 lite with Android 8.0.0 and EMUI 8.0.0 here. Isn't there a way to turn it off until I get to free up some space?<issue_comment>username_1: I do have such warning whenever my phone storage is below 600mb. I don't think there is any possible solution to stop the warning from popping up whenever you're making use of your phone. But I'll recommend you get a cleanup application. I'm using an infinix hot 5 and it comes with XManager. Whenever I receive such warning, what I usually do is make use of the cleanup option in the XManager to get data of what is eating up my memory space. After scanning you'll get to see what you don't need. After determining that you can go ahead and delete things you don need to free up your space. That's I would recommend you to do for until there is a better solution Upvotes: 0 <issue_comment>username_2: Search "notifications" in the settings, select the notification access, then draw over other apps, find the phone manager and turn it off bam the annoying pop-up is gone. Just leaving this here for people who search how to fix this, found about it myself while trying to solve the problem on my Huawei when websites didn't have the solution. For me the warning begins to pop-up when I have less than 100mb left in my internal storage and it won't go away until I delete something. It's very annoying when watching a video and it bothers you every 20 something seconds. You can even remove the icon in the status bar by going to apps, finding the phone manager, clicking on the notifications and disabling Display in the status bar! Upvotes: 2
2018/12/16
320
1,292
<issue_start>username_0: My phone is working normally and network connection is fine. While trying to send an SMS, I get a notification for 'Error 38: Unable to send sms'. The message remains unsent after multiple attempts. 1. There is no detectable interruption in network; I can use internet services, make calls and even receive SMS. 2. This is not an account balance issue. 3. Toggling between networks (2G/3G) does not help. Sometimes the issue resolves after a while. 4. My network is Airtel (India), handset is Xiaomi A1. Could someone help me understand what could be happening and how I can avoid/resolve this issue?<issue_comment>username_1: This is because your outgoing service is barred by your service provider. If you are from India then most of the service providers here stop the services if recharges are not done in proper interval as per company's policy. Upvotes: 0 <issue_comment>username_2: 1. Remove another messaging application like Truecaller, etc. Successfully solved SMSC (Short Message Service Center) error code 38. 2. Try inputting `*#*#4636#*#*` in the dialer and a pop-up menu will open. Select phone option and it will show the SMSC block. Input the cellular company's SMSC number and click update. Get the SMSC number from the service center. Upvotes: 2
2018/12/17
202
912
<issue_start>username_0: My Google Maps app has got broken. I think I can use the web version of Google Maps. However, Chrome is redirecting me out from the browser to the app. How to stop Google Chrome from redirecting me to the Google Maps app?<issue_comment>username_1: A few options - open the Maps app info and disable it is the easiest. I also just noticed that with the Xposed module XPrivacyLua if I block Chrome from being able to get applications no links are ever opened in another app. Upvotes: 0 <issue_comment>username_2: In case any one else runs into this problem, you can stop this behavior by going to Settings -> Apps -> Google Maps and under More settings and permissions -> Open by default and disabling Open supported links to stop it from launching the app. This works on both Android and Chromebooks to stop the Android app from launching any time a Google Map link comes up. Upvotes: 2
2018/12/18
509
2,106
<issue_start>username_0: Firewall apps use VPN to manage network (to allow or disallow apps to connect to the Internet via Wifi or Mobile Data), mainly is for phones that are not rooted. However, [this article](https://www.androidpolice.com/2018/05/07/apps-android-p-will-no-longer-able-monitor-network-activity) mentions: > > As XDA Developers explains, access to proc/net is going to be tightened up so that only **designated VPN apps** will be allowed to read TCP and UDP files (and in turn interpret network activity). > > > Even though I support that Android should have features to allow or disallow Apps to have Internet access, BUT this wonderful feature may not even applies to Android or Google apps itself. (Such as the data hungry Google Play Store and Google Play Services apps!) Thus, if only designated VPN apps are allowed, this means that phones which are not rooted will no longer be able to use Firewall apps that use VPN to manage network! This is totally unacceptable! If Android 9 (Android Pie) do not allow end-user to be able to control the network for the famous and notoriously data hungry Google Play Store and Google Play Services apps (that self update without permission from end-user), then it implies that **Google and Android have fail the city by disregarding end-user's concern on network usage!** Therefore, I would like to know if Android 9 will result in such unfair and despicable behaviors.<issue_comment>username_1: A few options - open the Maps app info and disable it is the easiest. I also just noticed that with the Xposed module XPrivacyLua if I block Chrome from being able to get applications no links are ever opened in another app. Upvotes: 0 <issue_comment>username_2: In case any one else runs into this problem, you can stop this behavior by going to Settings -> Apps -> Google Maps and under More settings and permissions -> Open by default and disabling Open supported links to stop it from launching the app. This works on both Android and Chromebooks to stop the Android app from launching any time a Google Map link comes up. Upvotes: 2
2018/12/20
670
2,501
<issue_start>username_0: I used to be able to use the [Google Now Launcher](https://play.google.com/store/apps/details?id=com.google.android.launcher&hl=de) on my old HTC U Ultra device. Now I got a new device with Android 8.0.0 and here I cannot install the program anymore. How can I fix that? Edit: I learned, that Google Now Launcher was replaced by Google Pixel Launcher which is not available on Play Store on this phone but can be downloaded from [apkmirror.com](https://www.apkmirror.com/apk/google-inc/pixel-launcher/pixel-launcher-8-1-0-4429924-release/).<issue_comment>username_1: If I'm getting correct, here is the direct download link of it through [apkmirror](https://www.apkmirror.com/apk/google-inc/pixel-launcher/pixel-launcher-8-1-0-4429924-release/pixel-launcher-8-1-0-4429924-android-apk-download/download/), you only need to confirm it when pop up comes from your download manager. Above one is latest version of Google Now Launcher and it was lastly updated in Nov,2017. Since then no official updates from Google. There could be another solution to your problem. If you have any problem downloading by searching here and there, you can avoid it and simply download it from playstore on any operable/compatible device then share it to your phone through any 'Sharing App'. Upvotes: 2 <issue_comment>username_2: * Google Now Launcher was Google's first public launcher, and it was shipped on Nexus phones as well as millions of other devices, which was a simpler launcher for Android Ecosystem. * The Google Now Launcher is now listed as incompatible with almost every Android device in Play store. * Google announced retirement of Google Now launcher in Feb 2017. * The current default launcher by Google is Pixel Launcher, which released for Pixel devices. You can download google now launcher from apkmirror website, and try to install it. The last build available is of Dec 6, 2017 [[link]](https://www.apkmirror.com/apk/google-inc/google-now-launcher/). * Pixel launcher is available on Play Store, but not available for every devices(mostly for pixel devices). But, you can download Pixel Launcher from this [link](https://www.apkmirror.com/apk/google-inc/pixel-launcher/pixel-launcher-8-1-0-4429924-release/). Download apk from apkmirror website which suits with your device's android version, architecture, screen DPI. This [FAQ](https://www.apkmirror.com/faq/) link may help you to find right apk for your device from apkmirror website Upvotes: 3 [selected_answer]
2018/12/20
1,420
5,689
<issue_start>username_0: I've been experiencing some strange problems maybe that be related with the DNS Network part in Android 6.0 Marshmallow, and could mention these two origins as the main likely sources of problems: • Due to recent Network changes, as the adding of a new Router on the Network, the same that might have caused some conflicts recently; • Maybe due or the low quality signal or an insatisfatory range on the space of my Home on my Wi-Fi Repeater, that insists in to fail sometimes recently, and also, maybe, needs to be resetted, for clean its cache, avoiding conflicts and mal-function. I could mention that in Google Chrome for Android, is common to occur these two error codes below: * "ERR\_ADDRESS\_UNREACHABLE"; . And this last error shown, after a power offing of Wi-Fi, and after yet of this action a Restart of the OS, for so then power on again the Wi-Fi, all DNS Network resolvings stayed going back to function correctly during a certain period of time: * "ERR\_NAME\_NOT\_RESOLVED" . \*( according to this webpage, DNS related: **<<https://forums.androidcentral.com/ask-question/557992-how-can-i-fix-err_name_not_resolved-my-sg4.html>>** ) **Note:** Only Incognito Mode on Google Chrome works Ok for now. The YouTube, Mozilla Firefox and Google Play all them are currently refusing to work correctly on my initial tests. **URL Address References:** **<<https://support.google.com/chrome/forum/AAAAP1KN0B0sv0YttC20cU/?hl=en>>** Browsing on the Web on my Smartphone since yesterday is being problematic. This page below, describes the main reasons for the DNS problems on Android 6.0 codenamed Marshmallow (or maybe serves to other versions too): **<<http://www.androidbeat.com/2015/12/how-to-fix-wi-fi-problems-android-6-0-marshmallow/>>** . Reading this Article above superficially initially, I could confirm that only a Restart resolved temporarily the problem (or an 'issue' how you may prefer to call it) for me at the moment, and I stayed knowing that only Incognito Mode is working correctly for now (using this Google Product Forums Reference): **[Chrome keeps telling me that site can't be reached?](https://support.google.com/chrome/forum/AAAAP1KN0B0sv0YttC20cU/?hl=en)** After, the same problems/issues back to occur again, as if nothing had been done in respect. Practically only Google, and some https Forum websites are loading and finishing its page loadings, these without any errors on the Google Chrome normal mode. My Android is configured with the DHCP Mode, so it's sounds like as strange that a conflict can still be there, if DHCP resolves the things automatically on the Network (as my understanding about these knowledges), without any intervention of the user. Doing on/off of my Wi-Fi on my Smartphone equiped with Android Marshmallow, normally would help on the DNS problem. I don't touched in any DNS parts since a long time ago, and I don't remember what I've did to fix DNS resolvings problems when it started to occur at that last time. The Advanced Configurations on Wi-Fi are hidden on my Android Smartphone (signal that these parts should not be altered, without any knowledge prior this -- I haven't altered anything there). As all the solutions on this page below are esgoted: **<<http://www.androidbeat.com/2015/12/how-to-fix-wi-fi-problems-android-6-0-marshmallow/>>** seems like or this is a inconsistence on Network DNS part (that I'm not aware how to resolve and diagnose), or a recent bug introduced by Google on Android recently (again?), as described on the above provided url address. Drastic solutions, in addition to the procedures that I already performed as "clean cookies on the web browsers" or "restart the mobile device", procedures like "restore the device to the original factory settings" will be totally avoided here. Any thoughts? Is there an App for Android that automatically finds and resolves DNS problems, or inconsistences on Android, available on Google Play Store? Don't knows about any logical solution, or trivial fix, because I'm a newbie when the subject is Network. And my Android is closed for alterations, so, despite as I'm experienced and familiar with Linux commands, I still can not properly use the Terminal Emulator on my Android from Alcatel, because many functions on the ROM from Alcatel Vendor are locked for access and alterations by the user, these customizations coming from the Manufacturer. Please ask me for more information, if do you see this as necessary. No more information I could provide here at the moment, except if asked by some of you here on this Forum.<issue_comment>username_1: **NEVERMIND** (for the moment). Maybe was the ISP that was having problems on the Network by some instability on the environment of the Internet Provider. Now the Internet access is correct. If the problems come back, I'll reopen this Topic. Never had seen this kind of problems happening before on my Mobile Internet Browsing experiences. Upvotes: 0 <issue_comment>username_2: Try the new [Cloudflare app "1.1.1.1"](https://play.google.com/store/apps/details?id=com.cloudflare.onedotonedotonedotone) It will give you privacy enhanced DNS which will circumvent your ISP. I am not associated with the app or its vendor. I recently learned that my mobile vendor provides my phone with its DNS results. I had been under the impression that Google DNS servers were always used by Android. Whether my mobile provider is providing DNS through proxy or DHCP, I don't know. I don't care. I don't want them seeing my requests. The "1.1.1.1" app prevents it. It would also provide you with highly reliable DNS independent of your mobile provider. Upvotes: 1
2018/12/20
2,638
9,128
<issue_start>username_0: Recently, I've figured out that if I delete files from `/sdcard/Download` it deletes files from `/storage/emulated/0/Download`. And if I add the files into `/sdcard/Download` it duplicates them in `/storage/emulated/0/Download`. So what is `/storage/emulated/0/`? For what purposes do we have it in our android file system?<issue_comment>username_1: `/storage/emulated/0/Download` is the actual path to the files. `/sdcard/Download` is a symlink to the actual path of `/storage/emulated/0/Download` However, the *actual* files are located in the filesystem in `/data/media`, which is then mounted to `/storage/emulated/0` (and often other mountpoints as well) A [Symlink](https://en.m.wikipedia.org/wiki/Symbolic_link) In computing, a symbolic link is a term for any file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution. Symbolic links were already present by 1978 in minicomputer operating systems from DEC and Data General's RDOS. Upvotes: 7 [selected_answer]<issue_comment>username_2: `/storage/emulated/0/` is actually `/data/media/0/` exposed through an emulated / virtual filesystem, not the actual one. This is with reference to my previous answer [here](https://android.stackexchange.com/a/203989/218526), but with more relevant details. **ANDROID STORAGE:** -------------------- On [Android 5](https://source.android.com/devices/storage/config-example#android_5_x_emulated): ``` /sdcard >S> /storage/emulated/legacy >S> /mnt/shell/emulated/0 /mnt/shell/emulated >E> /data/media ``` On [Android 6+](https://source.android.com/devices/storage/#runtime_permissions): ``` # for (Java) Android apps (running inside zygote virtual machine) # "/storage to VIEW" bind mount is inside a separate mount namespace for every app /sdcard >S> /storage/self/primary /storage/self >B> /mnt/user/USER-ID /mnt/user/USER-ID/primary >S> /storage/emulated/USER-ID /storage/emulated >B> /mnt/runtime/VIEW/emulated /mnt/runtime/VIEW/emulated >E> /data/media # for services/daemons/processes in root/global namespace (VIEW = default) /sdcard >S> /storage/self/primary /storage >B> /mnt/runtime/default /mnt/runtime/default/self/primary >S> /mnt/user/USER-ID/primary /mnt/user/USER-ID/primary >S> /storage/emulated/USER-ID /storage/emulated >B> /mnt/runtime/default/emulated /mnt/runtime/default/emulated >E> /data/media ``` \* `>S>` for symlink, `>E>` for emulated and `>B>` for bind mount \* `USER-ID` of current user in case of `Multiple Users` or `Work Profile`, normally `0` i.e. that of device owner \* `VIEW` is one of `read` (for apps with permission.READ\_EXTERNAL\_STORAGE) or `write` (permission.WRITE\_EXTERNAL\_STORAGE) or `default` (for processes running in root/global mount namespace i.e. outside zygote) \* There were minor differences on previous Android versions but the concept of emulation was same ever since implemented. \* For a little bit more details on Android's mount namespace implementation, see this [answer](https://android.stackexchange.com/questions/197959/partition-gets-unmounted-automatically-in-android-oreo/200449#200449). In short, `/sdcard` and `/storage/emulated/0` - which represent a FAT/vFAT/FAT32 filesystem - point towards `/data/media/0` (or `/mnt/expand/[UUID]/media/0` in case of [Adoptable Storage](https://source.android.com/devices/storage/adoptable)) through `FUSE` or `sdcardfs` emulation. Being not Android specific but generally Linux related, [symlink](http://man7.org/linux/man-pages/man2/symlink.2.html) and [bind mount](http://man7.org/linux/man-pages/man2/mount.2.html) (see "Creating a bind mount") are out of the scope of this question, as the question is about emulation part mainly. **EMULATION:** -------------- Why the emulation is here? Emulated filesystem is an abstraction layer on actual filesystem (`ext4` or `f2fs`) that serves basically two purposes: * Retain USB connectivity of Android devices to PCs (implemented through MTP now a days) * Restrict unauthorized access of apps/processes to user's private media and other apps' data on SD card. Read [Android's Storage Journey](https://android.stackexchange.com/a/218469/218526) for details, the summary is: Early Android devices were short on internal storage and relied on (physically) external SD cards that traditionally use FAT family of filesystem to ensure compatibility with most of the PCs (refer to Microsoft's dominance on PC world). When the internal storage grew in size, same filesystem was shifted to internal (still called "external") SD card. But the FAT/vFAT implementation had two major issues which were addressed by Google gradually: * Android devices were connected to PCs directly ([USB Mass Storage](https://android.googlesource.com/kernel/common/+/android-trusty-3.10/Documentation/usb/mass-storage.txt)) just as we connect a USB drive these days. UMS exposes the device at block level and disconnects the SD card from Android framework (un-mounts), thus making whole data unavailable to apps and possibly breaking many functionalities. * FAT (being Windows' favorite in development days) was never designed to enforce UNIX permissions (mode, uid, gid and likewise [symlinks](https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19/fs/sdcardfs/inode.c#792), and `ioctls` like `FS_IOC_FIEMAP`). So, all data on SD card was available to all apps (since every Android app is a UNIX/Linux user and has a uid) with no restrictions, hence raising serious privacy and security concerns. Both of these issues were addressed through emulation: * Actual SD card storage was moved to `/data` partition (or independent /sdcard partition on some devices previously) which holds `ext4` filesystem (gradually being replaced by `f2fs`), fully implementing UNIX permissions. * This design made using UMS impossible because whole `/data` partition could not be exposed to PC for 2 more reasons: `(1)` it contains a lot of settings and apps' data which is to be protected from other apps as well as human users. `(2)` Linux filesystems are not supported by Windows. So UMS was replaced with Media Transfer Protocol which is a client-server type extension to PTP - an already established protocol. [MTP](https://en.m.wikipedia.org/wiki/Media_Transfer_Protocol) doesn't expose block device but works through software stack. MTP host runs on Android as an app (`android.process.media`) fully sandboxed in Android framework, not capable of doing any escalated tasks. Now the apps (and MTP, which is also an app) interact with emulated storage instead of `/data/media`, achieving both purposes at the same time i.e. enforcing permission checks underneath and looking like FAT filesystem on upper surface. Google is now implementing emulation through [sdcardfs](http://androidxref.com/9.0.0_r3/xref/system/core/sdcard/sdcard.cpp#84) to overcome shortcomings of [FUSE](http://androidxref.com/9.0.0_r3/xref/system/vold/model/EmulatedVolume.cpp); one major being the input/output overhead i.e. to improve read/write speeds. **EXTERNAL STORAGE PERMISSIONS:** Concept of [Public and Private files on external storage](https://developer.android.com/training/data-storage/files#WriteExternalStorage) can be demonstrated using an example: Install Termux app. Create directories `/sdcard/Android/data/com.termux/test_dir` and `/sdcard/test_dir`. Create files `/sdcard/Android/data/com.termux/test_file` and `/sdcard/test_file`. Execute following commands: [![without_storage_perm](https://i.stack.imgur.com/v5HnY.png)](https://i.stack.imgur.com/v5HnY.png) \* You should have WhatsApp installed or select some other app's private folder. Now Force Stop the Termux app and grant [Storage permission](https://developer.android.com/reference/android/Manifest.permission.html#READ_EXTERNAL_STORAGE). Execute the commands again: [![with_storage_perm](https://i.stack.imgur.com/wLI8H.png)](https://i.stack.imgur.com/wLI8H.png) See the difference in permissions of same files and directories. This seems not to be simply possible without emulation on a native Linux filesystem when there are hundreds of apps (users) to be dealt with simultaneously. This is the filesystem emulation that lets the same file to be exposed with three different sets of permissions at same time independent of it's original permissions on actual filesystem: ``` # touch /data/media/0/test_file # stat -c '%a %u %g %n' /data/media/0/test_file 644 1023 1023 /data/media/0/test_file # stat -c '%a %u %g %n' /mnt/runtime/*/emulated/0/test_file 660 0 1015 /mnt/runtime/default/emulated/0/test_file 640 0 9997 /mnt/runtime/read/emulated/0/test_file 660 0 9997 /mnt/runtime/write/emulated/0/test_file ``` Also see [What is the “u#\_everybody” UID?](https://android.stackexchange.com/a/210159/218526) **Related:** * [Why is the 'storage/emulated/' directory inaccessible?](https://android.stackexchange.com/a/209067/218526) * [How can I make a symlink (or equivalent) inside /storage/emulated/0?](https://android.stackexchange.com/a/203989/218526) Upvotes: 5
2018/12/21
829
3,486
<issue_start>username_0: So, I just scrolled all the way back in a couple of chats and found that the earliest available message was mid-conversation. Everything before that is gone. It seems Whatsapp has been silently deleting old messages. This is highly disturbing to me because the oldest period of messages available right now relate to the last months of my now-deceased mother. A lot of **very important** messages pertaining to that period are now gone! Automatic backups to Google Drive have been on, but I just found that Google Drive won't let me download them on my own. The only options it gives me are to turn off the updates or delete the backup. It really pisses me off that Google gives Whatsapp more privilege to access my data than me. I tried the export chat feature of Whatsapp, but it doesn't export everything. In my most important chat, I can scroll all the way back to September 2017, but the exported file only has from December 13, 2018, a week ago, onwards. I tried the local backup, the Whatsapp directory in internal storage, but everything there is encrypted! What's it encrypted for, I wonder? So the user can't use it outside of Whatsapp! Great work Whatsapp team! I'm about to flip my bolted down desk! It seems the only option available to me is to screenshot everything manually from last year onwards (that's gotta be thousands of messages to scroll through and screenshot), but I hope that someone here can give me a better idea to get the plaintext. I don't shy away from complex solutions, and though I'm not an Android developer, I am a programmer with a lot of Linux experience.<issue_comment>username_1: What I ended up doing is loading a chat on <http://web.whatsapp.com> and hit `PgUp` until I got to the oldest available post. It was seriously slow to load the whole chat. I could load the whole thing in the app in one or two minutes of swiping. In the Whatsapp Web, though, it took many hours. I had to leave a process sending `PgUp` keypresses to the browser window in a loop for the whole night. In the morning, then, I opened up the web-inspector, found the that held all the chat's contents, right-clicked it, and selected "Copy Outer HTML". I pasted in a file, and that's it. That was in Firefox. I did the same thing in Chromium, just because, and found that Chromium does not copy the whole thing. It truncates :(. To get the whole contents of the tag, I had to select "Edit as HTML", put the text cursor inside the text field, hit `Ctrl`+`a`, and copy and paste to a file. That covers the text, and blurred out previews of images (encoded in base64 in the HTML). The media (pictures, audios and videos) are accessible in the local backup unencrypted. I copied that directory elsewhere lest Whatsapp decided to overwrite it with a backup where it deleted important media. That's apparently the easiest way to export a chat in Whatsapp. Maybe later, I'll provide instructions on how to cleanup what was pasted into something easier to read. The HTML is seriously ugly, though. There are no good class identifiers to easily restructure it to something more readable; they're all useless randomly generated strings. Upvotes: 2 <issue_comment>username_2: I assume you are trying to export everything, including the media. I think Whatsapp has some limit on the size of back-up it would let you export. Exporting it without media files got me the entire chat backed up. You can always backup the media files manually. Upvotes: 1
2018/12/21
628
2,403
<issue_start>username_0: I am trying all sorts of (non-root) security software that allows me to block internet for apps. so far every one needs some kind of fake VPN to gain access to traffic, I guess so no root is needed. I can't have this since I use an actual VPN which gets turned off if I use any of these security apps. is there no way to block internet for apps while using my VPN?<issue_comment>username_1: I don't think it's possible as per this answer: [In Android 6, how to deny an app permission to access the network?](https://android.stackexchange.com/questions/138311/in-android-6-how-to-deny-an-app-permission-to-access-the-network). To summarise the network permission is classified as 'normal' so it is automatically granted and can't be removed. However you can *try* to revoke the `INTERNET` permission using adb. `adb shell pm revoke com.name.app android.permission.INTERNET` I'm 99% sure it won't work, but can't test right now, on mobile. Unfortunately that means a VPN firewall or root + iptables firewall are your only options. Upvotes: 0 <issue_comment>username_2: You can try [NetGuard](https://play.google.com/store/apps/details?id=eu.faircode.netguard), the non-root firewall for Android smartphones. It can help you in restricting the net usage per app. Upvotes: -1 <issue_comment>username_3: This is possible since Android 8 (when Block connections without VPN feature was added), also you will have to use VPN app which supports Per-App VPN (which is supported since Android 5.0?) e.g. OpenVPN for Android from [F-Droid](https://f-droid.org/en/packages/de.blinkt.openvpn/) or [Google Play](https://play.google.com/store/apps/details?id=de.blinkt.openvpn&hl=en). Assuming you use OpenVPN for Android: 1. System settings → VPN → tap button with gear icon on the right side of OpenVPN for Android → enable both Always-on VPN and Block connections without VPN. 2. OpenVPN for Android → tap button with pencil icon on desired profile → swipe to ALLOWED APPS tab → select apps you want to exclude from using VPN → return to main screen → re/connect to VPN using this profile This was tested on MIUI device, but I think should be pretty much the same on majority of devices (except those whose manufacturers removed or hid Android's default functionality from ROM (like Huawei from EMUI)). Also per app internet control access is built-in by default in MIUI. Upvotes: 1
2018/12/22
973
3,948
<issue_start>username_0: I have a Lenovo Tab 4 10-inch tablet (Lenovo TB-X304F). Recently I had an error on it and had to perform a factory reset, and I'm experiencing problems reinstalling some apps I had installed before. I have never rooted this tablet. Before the factory reset I did install some non-Google Play apps, but since the factory reset I have only installed apps from the Google Play Store. The tablet and apps are up to date, and the tablet is running Android 8.1.0. Here is the most recent app problem. I purchased "Planescape: Torment" on November 11, and I installed it on my tablet around that time. However, now that I'm trying to install it again after performing the factory reset, I've had two errors, depending on the method I use to try to install it. If I try to install it using the Google Play app on my tablet, it says "Your order is processing, your item will be available in a few minutes." (And I did not purchase this recently; I purchased it well over a month ago.) It lists the app as being $9.99 when I view it, as though I hadn't bought it, but when I tap on the button as though I'm going to purchase it, Google Play asks for the standard app permissions and then shows that error. It does exactly the same thing when I try to install it from the library list of all of my apps in the Google Play app. [![Error message on tablet](https://i.stack.imgur.com/IXF02.jpg)](https://i.stack.imgur.com/IXF02.jpg) If I try to install it from the Google Play website, the website tells me it's already installed on my tablet, which is no longer true. It used to be installed; it is not now. [![Message in Web browser](https://i.stack.imgur.com/QPn7b.png)](https://i.stack.imgur.com/QPn7b.png) I've cleared the cache and the data from the "Google Play Store" app and the "Google Play services" app. I chatted with Google Customer Support and they had me uninstall updates to the Google Play Store and then update it again, but that made no difference. I have of course turned the tablet off and back on. The Google Play Store doesn't seem to have registered that the app was uninstalled, and I don't know how to trigger that, and I have no idea what to do about the message I'm getting in the Google Play app itself on my tablet. Does anyone know how I can resolve this and get my old apps reinstalled? Thanks!<issue_comment>username_1: Google Support had me try a number of things that didn't help, but when they had me remove my payment methods, that seemed to do it. I had already removed and added my Google accounts from my device, which I didn't think would help because it clearly wasn't a problem specific to my device. (I had realized I also couldn't install that game or other games I'd bought to my phone, a separate device, so it wasn't device-specific.) The last thing I did was remove my payment methods and cancel a subscription in Google Play, and then I could install my apps to my tablet and phone. I'm not sure how that fixed it, but it did. It seemed to "reset" my devices with Google Play, so to speak. If anyone knows how that resolved the issue, I'd love to hear. I'm glad it worked, but I don't know why it worked. Upvotes: 2 <issue_comment>username_2: I saw the "Your order is processing, your item will be available in a few minutes." message while trying to fix an order gone bad..... I was trying to purchase a "second phone line" in the Hushed app. The subscription/purchase had gone through Play store (where I was charged) but something went wrong on the handover to the app vendor or at the app vendor and the line did not appear. Each subsequent time I tried to purchase that item, I got the "Your order is processing, your item will be available in a few minutes." message. I ended up cancelling the subscription that existed on Google Play, then purchasing another subscription. So yes, I payed for the first month of the subscription twice, hardly an ideal fix. Upvotes: 0
2018/12/24
884
3,692
<issue_start>username_0: I downloaded a photo from facebook, and set it as the wallpaper on my phone, then decided I wanted to remove it again. The problem is, I have not yet been able to find a way to delete photos from the wallpaper and lock screen selection. I can understand that they might not want me deleting the stock ones, but it seems there is also no way to delete the ones I loaded. I am on the Oneplus 3T, if that makes any difference. Also, I deleted the photo from the downloads folder, but it still remains there as an option for a wallpaper or lock screen.<issue_comment>username_1: Normally, it is the home launcher app which changes the wallpaper in the device, both for home screen and lock screen. For default stock home launcher in OxygenOS, the custom image wallpapers are saved inside `/data/user/0/net.oneplus.launcher/files/` with prefix *wallpaper*. So, **without root access**, all you can do is bear that entry, or, clear data for your launcher app (which would remove all the settings and changes you've ever made in that launcher). To clear data, go into Settings app → Apps → choose Show system apps → locate your home launcher app → Storage → Clear data. For rooted devices only ----------------------- If you want to prevent that image to reappear in wallpaper selection view, you have to edit the database inside which its entry is stored and then delete that entry. Simply removing the wallpaper file from data directory doesn't always work. The database you're looking for is named `saved_wallpaper_images.db` located inside `/data/user/0/net.oneplus.launcher/databases`. You'd need tools to edit that database. You can pull it into your PC, edit it using a compatible software, push it back and then fix permissions. This is a messy solution. You can use sqlite3 inary compiled for your device's architecture and then use it within your device to edit out that database. You'd need to search on web some commands (common enough) to load a database, locate a table, and delete a row. This is again messy. There are some apps which claim to both read and write an app's database, such as [SQLite Editor](https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor). It didn't work in my case though. I have [My Android Tools (Pro)](https://www.appbrain.com/app/cn.wq.myandroidtoolspro) (not available in Play Store anymore) and I used it to remove the entries for wallpapers from the aforesaid database. It is quite easy to use. Select the app, select the database, select the table, then row and tap on delete icon. Upvotes: 2 [selected_answer]<issue_comment>username_2: Under Settings > Device care > Storage > User date > Files check the wallpaper file you want to delete. At bottom of screen is the trash barrel symbol. Press it then reboot the Android device. The wallpaper file is gone. Upvotes: 0 <issue_comment>username_3: I believe you should be able to just tap & hold the undesired picture in the selection screen, and then tap the trash icon that appears on the top right of the screen. Note this is on Android 11 on a Pixel phone Upvotes: 0 <issue_comment>username_4: Cussed out Samsung for not making this easy. If you have selected one or more image(s) to use as either lock screen or homepage images the solution is to move just one of the images to another location other than PICTURES then reboot. If you don't reboot the system will just complain that you have to select another image but you can't. Just reboot and that apparently clears the image list. Now it's just a matter of running the wallpaper tool, selecting the image(s) you want to use and the list is rebuilt. Pain in the wazoo but works. Upvotes: 0
2018/12/24
660
2,754
<issue_start>username_0: I have used international roaming many times before with my one plus 5T and my native Vodafone India providers roaming plan. But this time I landed in Germany and it did not work. I've been trying to debug and even on manual network selection most of the networks appear as "forbidden". Same networks used to latch on on earlier trips. My native Vodafone provider confirms that roaming is indeed active on my plan. I tried to reboot, reinsert the Sim but nothing works. One of the debug steps suggested involved steps in the Sim toolkit app. This app is somehow visible under apps but I cannot seem to find it anywhere. Ideas? How can I find where it is to use it. Even in network settings the sin toolkit option does not seem there. Other users seem to have it there. I cleared my cache but no help. Anything else I can try to fix this? I am on Android 8.1.0 and oxygen is version 5.1.7 Any tips are very welcome! I'm stuck here in Germany with no connectivity and my providers help desk is pretty useless. Eg. Would inserting the Sim into another device and then back into this one help? Are there roaming related settings that need to be pushed onto the Sim? [![enter image description here](https://i.stack.imgur.com/oqw70.jpg)](https://i.stack.imgur.com/oqw70.jpg)<issue_comment>username_1: I also faced the same problem with OnePlus5 mobile and with Vodafone IN. The local networks in Germany were showing as forbidden. The debug is to go to Sim Tool Kit -> International Roaming -> Select International from the options. Then try to manually search the network. This time also the networks may show up as forbidden, however click on the correct network and the settings will be completed automatically and you will be latched to International Roaming. Upvotes: 3 [selected_answer]<issue_comment>username_2: In case it helps others here's how I fixed the issue: Take any other phone, maybe borrow one from a German local (I had a backup Moto G with me) and insert your SIM card in the new phone. This action will somehow activate it. Then reinsert the SIM into the original One Plus 5T and magically everything works fine again. Upvotes: 1 <issue_comment>username_3: I had same problem with Airtel but in another country. But same SIM worked in same phone in some other countries. When I used to land in one particular country it won't latch to any network. I was having this problem for almost one year. I managed by inserting the SIM in a feature phone and it worked well. Finally I figured out what needs to be done to make it work in a smartphone. Please go to manual network selection and select your operator even if it shows as forbidden. It worked for me and might work for other also. Upvotes: 2
2018/12/24
2,309
8,041
<issue_start>username_0: I have a problem with audio streaming that I can not listen audio from Pulseaudio when using VNC with a Linux Desktop Environment. However it works if I export the audio to XSDL. But the problem is that after I exit the application the sound does not work in the background. I know that Pulseaudio only supports Xorg servers, so how to stream audio to VNC or any other application on Android and to run it in the background. I know that there is an application [Simple Protocol Player](https://play.google.com/store/apps/details?id=com.kaytat.simpleprotocolplayer) that listens to pulseaudio sound from Xorg Server, but it does not work for me and I do not know the reason.<issue_comment>username_1: There are two possibilities I know of, to play sound from a Linux environment on Android device: * Play through native ALSA libraries * Stream through PulseAudio + Forward to X Server (on UNIX or TCP socket) + Stream over IP (TCP or UDP) e.g. when using VNC First method works natively through ALSA kernel module/drivers while second and third work through `PulseAudio` libraries i.e. different [modules and protocols](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/) (`pulseaudio` package should be installed on Termux / Linux distro). Mostly Android OEMs base their sound architecture on ALSA, though [not necessary](https://source.android.com/devices/audio/): > > *"You can use Advanced Linux Sound Architecture (ALSA), Open Sound System (OSS), or a custom driver"* > > > In case of ALSA kernel lists devices in `/dev/snd/` which can be manipulated to direct sound towards sound card. Complete tutorial can be found [here](https://github.com/meefik/linuxdeploy/issues/223#issuecomment-339116666). It works, but not for all sound formats. It's because ALSA drivers loaded on Android devices can't be controlled (at least I could not) through standard Linux userspace tools in straightforward manner because they aren't compatible (refer to changes/additions in Linux kernel by Google/OEMs, the closed source proprietary HALs in userspace, and differences in [ALSA vs. TinyALSA](http://www.voidcn.com/article/p-vbcwmalz-bht.html)). Also access to `/proc/asound/` is not possible without root, see details in [this answer](https://android.stackexchange.com/a/217522/218526). ALSA project is [here](https://www.alsa-project.org/main/index.php/Asoundrc). Also there are more customized solutions that work with ALSA and PulseAudio both such as [Music Player Daemon](https://www.musicpd.org/). **When using X Server:** `XSDL Server` is the only well developed X server Android app I know of, no more developed unfortunately. It has a built-in PulseAudio server with `module-cli-protocol-tcp` already loaded, listening on standard port `4712` by default. Once the X Session is started on Linux, we can direct sound from Linux PulseAudio client libraries to XDSL PulseAudio server by setting the following environment variable on Linux: ``` $ export PULSE_SERVER=tcp:127.0.0.1:4712 ``` \* 127.0.0.1 indicates that Linux and XDSL are running on same device Or to set permanently, edit file: ``` # /etc/pulse/client.conf or ~/.config/pulse/client.conf default-server = tcp:127.0.0.1:4712 ``` Now any media player running in this environment that makes use of PulseAudio client libraries, will stream its audio to XDSL app. You can forward X session display and sound to X server running on a PC as well but that needs a more complicated setup. **When using VNC:** VNC protocol by default doesn't support sound. However, PulseAudio server can stream over TCP/UDP using different protocols. There are apps available for Android that can play [`simple protocol`](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index20h3) (e.g. *Simple Protocol Player*) and [`real-time transport protocol`](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index38h3) (e.g. *VLC*). For this we need to load the related PulseAudio module. To setup local PulseAudio daemon, first of all comment out following lines: ``` # /etc/pulse/default.pa #ifexists module-console-kit.so #load-module module-console-kit #.endif ``` Otherwise daemon will fail to start if `/usr/lib/pulse*/modules/module-console-kit.so` exists but `consolekit` package isn't installed (which is deprecated, replaced by `systemd-login` and no more present on many Linux repos). Ensure that `autospawn` is set to `yes` so that we don't need to start daemon manually and it is auto started by Desktop Environment. Not necessary if we start daemon manually. ``` # /etc/pulse/client.conf # Autospawn a PulseAudio server/daemon when needed autospawn = yes ``` Now start pulseaudio daemon and note the value of source, for me it's `auto_null.monitor`: ``` $ pulseaudio --start && pactl list | grep -A2 -i RUNNING $ DISPLAY=:0 pulseaudio --start ``` Load simple-protocol module: ``` $ DISPLAY=:0 pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1 ``` Or to set permanently, edit file: ``` $ echo 'load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1' >> /etc/pulse/default.pa ``` Following should be enabled in DE startup settings, necessary because some programs such as `emixer` on `Enlightenment` Desktop Environment works only if PulseAudio server in local X server is published: ``` $ DISPLAY=:0 start-pulseaudio-x11 ``` Start Simple Player app and match `bitrate` and `port` set in above command i.e. `48000` and `8000` in my case. Don't use `listen=127.0.0.1` if you want to listen on PC too. I have tested both of PulseAudio based solutions on `ArchLinuxARM` and `Ubuntu`, and they work without root access. However `SELinux` may restrict access to certain resources if running in non-root context. Also, in order to get network access and create sockets, you have to be member of [inet (3003)](http://androidxref.com/9.0.0_r3/xref/system/core/include/cutils/android_filesystem_config.h#147) group necessarily. All apps with [android.permission.INTERNET](http://androidxref.com/9.0.0_r3/xref/frameworks/base/data/etc/platform.xml#55) granted are member of this group. Upvotes: 3 [selected_answer]<issue_comment>username_2: Good news, I've been able to extract audio to Simple Protocol Player using the pulseaudio for Android on Termex but the problem is that this method does not work on the offical pulseaudio because it does not have access privileges for have root only if you have root on your system can you extract audio of Simple Protocol player **WARNING: If the audio does not work, check the link below because there are some notes I did not mention** on Termux ========= --- **Do this command :** `pactl list sources short` * *Visit the link below to find out the usefulness of this command before you complete reading* **And :** --- Download application * [Simple Protocol Player](https://play.google.com/store/apps/details?id=com.kaytat.simpleprotocolplayer) **And :** --- ``` echo -e "\n# Simple Protocol Player\n\nload-module module-simple-protocol-tcp source=OpenSL_ES_sink.monitor record=true port=12345 rate=44100" >> $PREFIX/etc/pulse/default.pa ``` **And Restart Termux :** --- close all windows in termux **And :** --- `pulseaudio -k` `pulseaudio --start` **or only :** --- `pulseaudio --start` **now install sox :** --- `apt install sox` **And Play sound :** --- `play [file.mp3]` For more information visit [Link](https://kaytat.com/blog/?page_id=301) Upvotes: 1 <issue_comment>username_3: `mpg123 myFile.mp3` (`pkg install mpg123`) will play an mp3 in Termux. To pause, press `ctrl+z`. To resume type `%` and press enter. Press `ctrl+c` while playing to quit. In addition to the `play` command, which you've mentioned, there's also `play-audio` (`pkg install play-audio`). Upvotes: 0
2018/12/24
2,239
7,732
<issue_start>username_0: I have an LG Android phone. When I turned it off last night, it turned itself back on again with the firmware update showing "Do not disconnect USB". But when I received it from my contract holders, there was no USB; so I used my regular charger. I've woken up this morning and it's still on 0% after about 10 hours. Can someone help or give me any tips and advice?<issue_comment>username_1: There are two possibilities I know of, to play sound from a Linux environment on Android device: * Play through native ALSA libraries * Stream through PulseAudio + Forward to X Server (on UNIX or TCP socket) + Stream over IP (TCP or UDP) e.g. when using VNC First method works natively through ALSA kernel module/drivers while second and third work through `PulseAudio` libraries i.e. different [modules and protocols](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/) (`pulseaudio` package should be installed on Termux / Linux distro). Mostly Android OEMs base their sound architecture on ALSA, though [not necessary](https://source.android.com/devices/audio/): > > *"You can use Advanced Linux Sound Architecture (ALSA), Open Sound System (OSS), or a custom driver"* > > > In case of ALSA kernel lists devices in `/dev/snd/` which can be manipulated to direct sound towards sound card. Complete tutorial can be found [here](https://github.com/meefik/linuxdeploy/issues/223#issuecomment-339116666). It works, but not for all sound formats. It's because ALSA drivers loaded on Android devices can't be controlled (at least I could not) through standard Linux userspace tools in straightforward manner because they aren't compatible (refer to changes/additions in Linux kernel by Google/OEMs, the closed source proprietary HALs in userspace, and differences in [ALSA vs. TinyALSA](http://www.voidcn.com/article/p-vbcwmalz-bht.html)). Also access to `/proc/asound/` is not possible without root, see details in [this answer](https://android.stackexchange.com/a/217522/218526). ALSA project is [here](https://www.alsa-project.org/main/index.php/Asoundrc). Also there are more customized solutions that work with ALSA and PulseAudio both such as [Music Player Daemon](https://www.musicpd.org/). **When using X Server:** `XSDL Server` is the only well developed X server Android app I know of, no more developed unfortunately. It has a built-in PulseAudio server with `module-cli-protocol-tcp` already loaded, listening on standard port `4712` by default. Once the X Session is started on Linux, we can direct sound from Linux PulseAudio client libraries to XDSL PulseAudio server by setting the following environment variable on Linux: ``` $ export PULSE_SERVER=tcp:127.0.0.1:4712 ``` \* 127.0.0.1 indicates that Linux and XDSL are running on same device Or to set permanently, edit file: ``` # /etc/pulse/client.conf or ~/.config/pulse/client.conf default-server = tcp:127.0.0.1:4712 ``` Now any media player running in this environment that makes use of PulseAudio client libraries, will stream its audio to XDSL app. You can forward X session display and sound to X server running on a PC as well but that needs a more complicated setup. **When using VNC:** VNC protocol by default doesn't support sound. However, PulseAudio server can stream over TCP/UDP using different protocols. There are apps available for Android that can play [`simple protocol`](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index20h3) (e.g. *Simple Protocol Player*) and [`real-time transport protocol`](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index38h3) (e.g. *VLC*). For this we need to load the related PulseAudio module. To setup local PulseAudio daemon, first of all comment out following lines: ``` # /etc/pulse/default.pa #ifexists module-console-kit.so #load-module module-console-kit #.endif ``` Otherwise daemon will fail to start if `/usr/lib/pulse*/modules/module-console-kit.so` exists but `consolekit` package isn't installed (which is deprecated, replaced by `systemd-login` and no more present on many Linux repos). Ensure that `autospawn` is set to `yes` so that we don't need to start daemon manually and it is auto started by Desktop Environment. Not necessary if we start daemon manually. ``` # /etc/pulse/client.conf # Autospawn a PulseAudio server/daemon when needed autospawn = yes ``` Now start pulseaudio daemon and note the value of source, for me it's `auto_null.monitor`: ``` $ pulseaudio --start && pactl list | grep -A2 -i RUNNING $ DISPLAY=:0 pulseaudio --start ``` Load simple-protocol module: ``` $ DISPLAY=:0 pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1 ``` Or to set permanently, edit file: ``` $ echo 'load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1' >> /etc/pulse/default.pa ``` Following should be enabled in DE startup settings, necessary because some programs such as `emixer` on `Enlightenment` Desktop Environment works only if PulseAudio server in local X server is published: ``` $ DISPLAY=:0 start-pulseaudio-x11 ``` Start Simple Player app and match `bitrate` and `port` set in above command i.e. `48000` and `8000` in my case. Don't use `listen=127.0.0.1` if you want to listen on PC too. I have tested both of PulseAudio based solutions on `ArchLinuxARM` and `Ubuntu`, and they work without root access. However `SELinux` may restrict access to certain resources if running in non-root context. Also, in order to get network access and create sockets, you have to be member of [inet (3003)](http://androidxref.com/9.0.0_r3/xref/system/core/include/cutils/android_filesystem_config.h#147) group necessarily. All apps with [android.permission.INTERNET](http://androidxref.com/9.0.0_r3/xref/frameworks/base/data/etc/platform.xml#55) granted are member of this group. Upvotes: 3 [selected_answer]<issue_comment>username_2: Good news, I've been able to extract audio to Simple Protocol Player using the pulseaudio for Android on Termex but the problem is that this method does not work on the offical pulseaudio because it does not have access privileges for have root only if you have root on your system can you extract audio of Simple Protocol player **WARNING: If the audio does not work, check the link below because there are some notes I did not mention** on Termux ========= --- **Do this command :** `pactl list sources short` * *Visit the link below to find out the usefulness of this command before you complete reading* **And :** --- Download application * [Simple Protocol Player](https://play.google.com/store/apps/details?id=com.kaytat.simpleprotocolplayer) **And :** --- ``` echo -e "\n# Simple Protocol Player\n\nload-module module-simple-protocol-tcp source=OpenSL_ES_sink.monitor record=true port=12345 rate=44100" >> $PREFIX/etc/pulse/default.pa ``` **And Restart Termux :** --- close all windows in termux **And :** --- `pulseaudio -k` `pulseaudio --start` **or only :** --- `pulseaudio --start` **now install sox :** --- `apt install sox` **And Play sound :** --- `play [file.mp3]` For more information visit [Link](https://kaytat.com/blog/?page_id=301) Upvotes: 1 <issue_comment>username_3: `mpg123 myFile.mp3` (`pkg install mpg123`) will play an mp3 in Termux. To pause, press `ctrl+z`. To resume type `%` and press enter. Press `ctrl+c` while playing to quit. In addition to the `play` command, which you've mentioned, there's also `play-audio` (`pkg install play-audio`). Upvotes: 0
2018/12/24
2,328
8,055
<issue_start>username_0: Tapping on the build number in the Play Store doesn't really update it anymore on my device; I have no idea why. I've been trying to sideload the apk which just installs the newer version into /data/app/ but after several reboots i still don't see the newer version. So yes, is it possible that I just delete the one from the /system/priv-app/ and push the newer version in it? Strangely, other Google apps that didn't come preinstalled just fails to install through the rom's old Play Store (version 5.5.12)and just comes up with a "-504" error. The same happens when trying to update preinstalled ones. My phone is on stock Android 5.0 from the manufacturer rooted with SuperSU 2.82.<issue_comment>username_1: There are two possibilities I know of, to play sound from a Linux environment on Android device: * Play through native ALSA libraries * Stream through PulseAudio + Forward to X Server (on UNIX or TCP socket) + Stream over IP (TCP or UDP) e.g. when using VNC First method works natively through ALSA kernel module/drivers while second and third work through `PulseAudio` libraries i.e. different [modules and protocols](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/) (`pulseaudio` package should be installed on Termux / Linux distro). Mostly Android OEMs base their sound architecture on ALSA, though [not necessary](https://source.android.com/devices/audio/): > > *"You can use Advanced Linux Sound Architecture (ALSA), Open Sound System (OSS), or a custom driver"* > > > In case of ALSA kernel lists devices in `/dev/snd/` which can be manipulated to direct sound towards sound card. Complete tutorial can be found [here](https://github.com/meefik/linuxdeploy/issues/223#issuecomment-339116666). It works, but not for all sound formats. It's because ALSA drivers loaded on Android devices can't be controlled (at least I could not) through standard Linux userspace tools in straightforward manner because they aren't compatible (refer to changes/additions in Linux kernel by Google/OEMs, the closed source proprietary HALs in userspace, and differences in [ALSA vs. TinyALSA](http://www.voidcn.com/article/p-vbcwmalz-bht.html)). Also access to `/proc/asound/` is not possible without root, see details in [this answer](https://android.stackexchange.com/a/217522/218526). ALSA project is [here](https://www.alsa-project.org/main/index.php/Asoundrc). Also there are more customized solutions that work with ALSA and PulseAudio both such as [Music Player Daemon](https://www.musicpd.org/). **When using X Server:** `XSDL Server` is the only well developed X server Android app I know of, no more developed unfortunately. It has a built-in PulseAudio server with `module-cli-protocol-tcp` already loaded, listening on standard port `4712` by default. Once the X Session is started on Linux, we can direct sound from Linux PulseAudio client libraries to XDSL PulseAudio server by setting the following environment variable on Linux: ``` $ export PULSE_SERVER=tcp:127.0.0.1:4712 ``` \* 127.0.0.1 indicates that Linux and XDSL are running on same device Or to set permanently, edit file: ``` # /etc/pulse/client.conf or ~/.config/pulse/client.conf default-server = tcp:127.0.0.1:4712 ``` Now any media player running in this environment that makes use of PulseAudio client libraries, will stream its audio to XDSL app. You can forward X session display and sound to X server running on a PC as well but that needs a more complicated setup. **When using VNC:** VNC protocol by default doesn't support sound. However, PulseAudio server can stream over TCP/UDP using different protocols. There are apps available for Android that can play [`simple protocol`](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index20h3) (e.g. *Simple Protocol Player*) and [`real-time transport protocol`](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index38h3) (e.g. *VLC*). For this we need to load the related PulseAudio module. To setup local PulseAudio daemon, first of all comment out following lines: ``` # /etc/pulse/default.pa #ifexists module-console-kit.so #load-module module-console-kit #.endif ``` Otherwise daemon will fail to start if `/usr/lib/pulse*/modules/module-console-kit.so` exists but `consolekit` package isn't installed (which is deprecated, replaced by `systemd-login` and no more present on many Linux repos). Ensure that `autospawn` is set to `yes` so that we don't need to start daemon manually and it is auto started by Desktop Environment. Not necessary if we start daemon manually. ``` # /etc/pulse/client.conf # Autospawn a PulseAudio server/daemon when needed autospawn = yes ``` Now start pulseaudio daemon and note the value of source, for me it's `auto_null.monitor`: ``` $ pulseaudio --start && pactl list | grep -A2 -i RUNNING $ DISPLAY=:0 pulseaudio --start ``` Load simple-protocol module: ``` $ DISPLAY=:0 pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1 ``` Or to set permanently, edit file: ``` $ echo 'load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1' >> /etc/pulse/default.pa ``` Following should be enabled in DE startup settings, necessary because some programs such as `emixer` on `Enlightenment` Desktop Environment works only if PulseAudio server in local X server is published: ``` $ DISPLAY=:0 start-pulseaudio-x11 ``` Start Simple Player app and match `bitrate` and `port` set in above command i.e. `48000` and `8000` in my case. Don't use `listen=127.0.0.1` if you want to listen on PC too. I have tested both of PulseAudio based solutions on `ArchLinuxARM` and `Ubuntu`, and they work without root access. However `SELinux` may restrict access to certain resources if running in non-root context. Also, in order to get network access and create sockets, you have to be member of [inet (3003)](http://androidxref.com/9.0.0_r3/xref/system/core/include/cutils/android_filesystem_config.h#147) group necessarily. All apps with [android.permission.INTERNET](http://androidxref.com/9.0.0_r3/xref/frameworks/base/data/etc/platform.xml#55) granted are member of this group. Upvotes: 3 [selected_answer]<issue_comment>username_2: Good news, I've been able to extract audio to Simple Protocol Player using the pulseaudio for Android on Termex but the problem is that this method does not work on the offical pulseaudio because it does not have access privileges for have root only if you have root on your system can you extract audio of Simple Protocol player **WARNING: If the audio does not work, check the link below because there are some notes I did not mention** on Termux ========= --- **Do this command :** `pactl list sources short` * *Visit the link below to find out the usefulness of this command before you complete reading* **And :** --- Download application * [Simple Protocol Player](https://play.google.com/store/apps/details?id=com.kaytat.simpleprotocolplayer) **And :** --- ``` echo -e "\n# Simple Protocol Player\n\nload-module module-simple-protocol-tcp source=OpenSL_ES_sink.monitor record=true port=12345 rate=44100" >> $PREFIX/etc/pulse/default.pa ``` **And Restart Termux :** --- close all windows in termux **And :** --- `pulseaudio -k` `pulseaudio --start` **or only :** --- `pulseaudio --start` **now install sox :** --- `apt install sox` **And Play sound :** --- `play [file.mp3]` For more information visit [Link](https://kaytat.com/blog/?page_id=301) Upvotes: 1 <issue_comment>username_3: `mpg123 myFile.mp3` (`pkg install mpg123`) will play an mp3 in Termux. To pause, press `ctrl+z`. To resume type `%` and press enter. Press `ctrl+c` while playing to quit. In addition to the `play` command, which you've mentioned, there's also `play-audio` (`pkg install play-audio`). Upvotes: 0
2018/12/24
2,370
8,101
<issue_start>username_0: There is a folder at internal memory: `.space/` Inside it has one folder that is a big hash name (probably sha1sum), and inside that folder there are lots of files (also named as a hash something like `60b725f10c9c85c70d97880dfe8191b3.space`) occupying 2.7GB of my smartphone precious internal memory. In hexa/chars/bytes, thru X-Plore File Manager, I saw that they begin with "PK", which means they are ZIP files. So, after renaming them to .ZIP, I saw many pictures inside them that were all about games, and the manifest.xml was Uber annoying to try to read. My conclusion, they were all unwanted, unasked, auto-downloaded .ZIP (.APK?) games. Now I need to stop the app doing that kind of thing on my precious cellphone's memory.<issue_comment>username_1: There are two possibilities I know of, to play sound from a Linux environment on Android device: * Play through native ALSA libraries * Stream through PulseAudio + Forward to X Server (on UNIX or TCP socket) + Stream over IP (TCP or UDP) e.g. when using VNC First method works natively through ALSA kernel module/drivers while second and third work through `PulseAudio` libraries i.e. different [modules and protocols](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/) (`pulseaudio` package should be installed on Termux / Linux distro). Mostly Android OEMs base their sound architecture on ALSA, though [not necessary](https://source.android.com/devices/audio/): > > *"You can use Advanced Linux Sound Architecture (ALSA), Open Sound System (OSS), or a custom driver"* > > > In case of ALSA kernel lists devices in `/dev/snd/` which can be manipulated to direct sound towards sound card. Complete tutorial can be found [here](https://github.com/meefik/linuxdeploy/issues/223#issuecomment-339116666). It works, but not for all sound formats. It's because ALSA drivers loaded on Android devices can't be controlled (at least I could not) through standard Linux userspace tools in straightforward manner because they aren't compatible (refer to changes/additions in Linux kernel by Google/OEMs, the closed source proprietary HALs in userspace, and differences in [ALSA vs. TinyALSA](http://www.voidcn.com/article/p-vbcwmalz-bht.html)). Also access to `/proc/asound/` is not possible without root, see details in [this answer](https://android.stackexchange.com/a/217522/218526). ALSA project is [here](https://www.alsa-project.org/main/index.php/Asoundrc). Also there are more customized solutions that work with ALSA and PulseAudio both such as [Music Player Daemon](https://www.musicpd.org/). **When using X Server:** `XSDL Server` is the only well developed X server Android app I know of, no more developed unfortunately. It has a built-in PulseAudio server with `module-cli-protocol-tcp` already loaded, listening on standard port `4712` by default. Once the X Session is started on Linux, we can direct sound from Linux PulseAudio client libraries to XDSL PulseAudio server by setting the following environment variable on Linux: ``` $ export PULSE_SERVER=tcp:127.0.0.1:4712 ``` \* 127.0.0.1 indicates that Linux and XDSL are running on same device Or to set permanently, edit file: ``` # /etc/pulse/client.conf or ~/.config/pulse/client.conf default-server = tcp:127.0.0.1:4712 ``` Now any media player running in this environment that makes use of PulseAudio client libraries, will stream its audio to XDSL app. You can forward X session display and sound to X server running on a PC as well but that needs a more complicated setup. **When using VNC:** VNC protocol by default doesn't support sound. However, PulseAudio server can stream over TCP/UDP using different protocols. There are apps available for Android that can play [`simple protocol`](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index20h3) (e.g. *Simple Protocol Player*) and [`real-time transport protocol`](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index38h3) (e.g. *VLC*). For this we need to load the related PulseAudio module. To setup local PulseAudio daemon, first of all comment out following lines: ``` # /etc/pulse/default.pa #ifexists module-console-kit.so #load-module module-console-kit #.endif ``` Otherwise daemon will fail to start if `/usr/lib/pulse*/modules/module-console-kit.so` exists but `consolekit` package isn't installed (which is deprecated, replaced by `systemd-login` and no more present on many Linux repos). Ensure that `autospawn` is set to `yes` so that we don't need to start daemon manually and it is auto started by Desktop Environment. Not necessary if we start daemon manually. ``` # /etc/pulse/client.conf # Autospawn a PulseAudio server/daemon when needed autospawn = yes ``` Now start pulseaudio daemon and note the value of source, for me it's `auto_null.monitor`: ``` $ pulseaudio --start && pactl list | grep -A2 -i RUNNING $ DISPLAY=:0 pulseaudio --start ``` Load simple-protocol module: ``` $ DISPLAY=:0 pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1 ``` Or to set permanently, edit file: ``` $ echo 'load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1' >> /etc/pulse/default.pa ``` Following should be enabled in DE startup settings, necessary because some programs such as `emixer` on `Enlightenment` Desktop Environment works only if PulseAudio server in local X server is published: ``` $ DISPLAY=:0 start-pulseaudio-x11 ``` Start Simple Player app and match `bitrate` and `port` set in above command i.e. `48000` and `8000` in my case. Don't use `listen=127.0.0.1` if you want to listen on PC too. I have tested both of PulseAudio based solutions on `ArchLinuxARM` and `Ubuntu`, and they work without root access. However `SELinux` may restrict access to certain resources if running in non-root context. Also, in order to get network access and create sockets, you have to be member of [inet (3003)](http://androidxref.com/9.0.0_r3/xref/system/core/include/cutils/android_filesystem_config.h#147) group necessarily. All apps with [android.permission.INTERNET](http://androidxref.com/9.0.0_r3/xref/frameworks/base/data/etc/platform.xml#55) granted are member of this group. Upvotes: 3 [selected_answer]<issue_comment>username_2: Good news, I've been able to extract audio to Simple Protocol Player using the pulseaudio for Android on Termex but the problem is that this method does not work on the offical pulseaudio because it does not have access privileges for have root only if you have root on your system can you extract audio of Simple Protocol player **WARNING: If the audio does not work, check the link below because there are some notes I did not mention** on Termux ========= --- **Do this command :** `pactl list sources short` * *Visit the link below to find out the usefulness of this command before you complete reading* **And :** --- Download application * [Simple Protocol Player](https://play.google.com/store/apps/details?id=com.kaytat.simpleprotocolplayer) **And :** --- ``` echo -e "\n# Simple Protocol Player\n\nload-module module-simple-protocol-tcp source=OpenSL_ES_sink.monitor record=true port=12345 rate=44100" >> $PREFIX/etc/pulse/default.pa ``` **And Restart Termux :** --- close all windows in termux **And :** --- `pulseaudio -k` `pulseaudio --start` **or only :** --- `pulseaudio --start` **now install sox :** --- `apt install sox` **And Play sound :** --- `play [file.mp3]` For more information visit [Link](https://kaytat.com/blog/?page_id=301) Upvotes: 1 <issue_comment>username_3: `mpg123 myFile.mp3` (`pkg install mpg123`) will play an mp3 in Termux. To pause, press `ctrl+z`. To resume type `%` and press enter. Press `ctrl+c` while playing to quit. In addition to the `play` command, which you've mentioned, there's also `play-audio` (`pkg install play-audio`). Upvotes: 0
2018/12/26
847
2,549
<issue_start>username_0: I saw a friend shooting video at 60 fps and then playing the videos back at 24 fps. Seeing the 60 fps video playback at 24 fps was quite amazing and impressive (dramatic almost slow motion effect)! He did all of this on what looked like an expensive DLSR device. My question is: **When you record a video at 60 fps, how can you play the video back at 24 fps?** I tried to edit the video on my pixel 2 but there wasn't anything there for changing the fps. Maybe I will try VLC player.<issue_comment>username_1: Using VLC player: * play the video * tap the screen to bring up the controls * click the three dots button * click the"playback speed" button * adjust to 45 - 50% * done It doesn't get you exactly the 24 fps but it's something! I would love to have a way to export the video at 24fps. Or better video editing for built-in Android apps. Upvotes: 3 <issue_comment>username_2: I personally use [Cyberlink Power Director](https://play.google.com/store/apps/details?id=com.cyberlink.powerdirector.DRA140225_01&hl=en) on Android for doing this, you need to slow it down to around %45 and then export the video at 24 FPS Export Steps with Power Director 1 - Select Save Video [![step 1](https://i.stack.imgur.com/trMvm.jpg)](https://i.stack.imgur.com/trMvm.jpg) 2 - Select Save to Device [![step 2](https://i.stack.imgur.com/43pnn.jpg)](https://i.stack.imgur.com/43pnn.jpg) 3 - Select Options [![options](https://i.stack.imgur.com/E6N0O.jpg)](https://i.stack.imgur.com/E6N0O.jpg) 4 - Select Frame rate [![framerate](https://i.stack.imgur.com/QTMho.jpg)](https://i.stack.imgur.com/QTMho.jpg) 5 - Select 24FPS [![24](https://i.stack.imgur.com/OZuCL.jpg)](https://i.stack.imgur.com/OZuCL.jpg) 6 - Optional Bit rate [![bits](https://i.stack.imgur.com/1HW9Q.jpg)](https://i.stack.imgur.com/1HW9Q.jpg) 7 - Save [![enter image description here](https://i.stack.imgur.com/f1bWM.jpg)](https://i.stack.imgur.com/f1bWM.jpg) 8 - Export [![port](https://i.stack.imgur.com/mqatv.jpg)](https://i.stack.imgur.com/mqatv.jpg) Upvotes: 2 <issue_comment>username_3: Frames get dropped, carried over as required. In effect the 60FPS is "strobed" to 24FPS. This is a common topic for home cinema buffs as 24FPS is a standard. You need to transcode, an android device is not the best for this. Search for `Video Transcoder`, maybe have a look at [Timbre](https://play.google.com/store/apps/details?id=xeus.timbre). Most people would upload to a workstation for anything serious or large. Upvotes: 1
2018/12/27
630
2,278
<issue_start>username_0: Shortly ago, my J7 Prime stopped recognizing my fingerprint. When I go to *Settings* -> *Lock screen and security* -> *Fingerprint Scanner* I get > > An error has occurred with the fingerprint sensor. If this message appears repeatedly, restart your device. > > > I tried a few options I found, and none worked: 1. Rebooting. 2. Going into Safe Mode. The same error appears. Plus, almost all my widgets in the home screen disappeared, so I had to redo it. 3. *Settings* -> *Apps* -> *Three dots* -> *Show system apps* -> *Fingerprint* -> *Clear Data* . The cache was already empty. Rebooting. 4. Logging off and into my Samsung account. 5. *Developer options* (this was already enabled) -> *OEM unlock* -> *Enable*. Reboot. *Developer options* -> *OEM unlock* -> *Disable*, and *Developer options* -> *Disable*. What I did not (and I cannot) try: 1. Rooting my phone (it is a corporate device). 2. Resetting my phone (same). **What can I do to fix the problem?** (other than taking it to the IT dept.)<issue_comment>username_1: There was a system update pending. After I updated the fingerprint sensor came back to life. (Note: Not only that... about 1.5GB were freed, which I very much needed. Unfortunately, Android's gluttony will promptly take care of it.) I cannot propose this as a general solution as: 1. I am not sure it will always work (although after the update there were a few glitches that got fixed, so I guess there are chances it will work). 2. This depends on the existence of a pending update, which will not always be available. Upvotes: 1 [selected_answer]<issue_comment>username_2: Most likely the problem is with the fingerprint scanner itself. He was either damaged or moved away from the water, and he burned Upvotes: 1 <issue_comment>username_3: ![enter image description here](https://i.stack.imgur.com/mD3Y1.jpg) I Fixed this issue. I have Note 9 Phone. You need to Remove and Reconnect your Battery.. I know its not Possible becouse Latest Phones Are Seeltype by itself. But samsung give option for simmulate pull battry and reconnect. Its not lost any data. Press Power button + Volume Down Button Same time and keep 30 Second Then phone will be restart and try again your fingerprints. Upvotes: 0
2018/12/27
704
2,646
<issue_start>username_0: ![](https://i.stack.imgur.com/fskvO.png) When i try to root my spice dream uno mi 498 without pc with kingroot it give me the error aboveplease prefer another app or give the solution I am begging please! Device: spice dream uno (android one) App: king root.apk Problem: not rooting Problem description: failed to root<issue_comment>username_1: You will need to use a PC Please have a look at this question recently asked, it brings clarity to the causes of a failure. [Why don't root apps work anymore ?](https://android.stackexchange.com/q/205706/157947) So after you understand that, you can unlock your bootloader and install a custom recovery, then flash a Systemless root like SuperSU or Magisk Please follow the complete guide for your device .. [Unlock Bootloader - Install CWM - Root with SuperSU guides](https://www.theandroidsoul.com/root-spice-dream-uno-easily-supersu-app/) Upvotes: 1 <issue_comment>username_1: OK, I've looked high and low, and this is all I could find... WORST METHOD Try using KingRoot v7.3 or above ... BEST METHOD From [mobilespecs.net/](http://mobilespecs.net/phone/root/Spice/Spice_Dream_UNO_Mi-498.html) **What are the dangers of getting root access?**  1. canceled the warranty 2. you will not receive updates over Wi-Fi 3. in some cases, the procedure for obtaining root access threatens the failure of your device (but most of the gadget can be revived). **To gain root via "Framaroot"** 1. Download the latest version from the page "Framaroot". 2. Install the program from the downloaded apk-file to your device. 3. Run the utility. In that case, if the device is supported by the program, on the main screen you will see a drop-down list of possible actions, which include options for the removal and root. In addition, below there is one or more exploits titles that are available for use. 4. Tapnite one of the available exploits and tooltip will appear after a few seconds, describing the results of his work. If one method does not work, try another. Sometimes it happens that in the preparation of the superuser "Framaroot" crash randomly. In this case, simply restart the program and try again. 5. Once you get a hint that the device successfully root, you must restart the device. I'm not sure if that is device specific however.. Other's say try Towelroot, KingoRoot etc.. You could try to use some sort of Universal Signature to sign an update package and the apply the update using the default OTA firmware via SD Card Update, but I'm sure that the universal signature vulnerability or whatever they called it, has been patched now. Upvotes: 0
2018/12/27
670
2,391
<issue_start>username_0: I am trying to drop files from my PC into the BlueStacks 4 Android emulator. I put them in: C:\ProgramData\BlueStacks\Engine\UserData\SharedFolder. I see some of them in sdcard/DCIM/SharedFolder. However, I only see three (random?) documents. All the maps are not transferred, all the other documents in those maps are not transferred either. I have plenty of storage left in BlueStacks. Please help!<issue_comment>username_1: Go to the sdcard/windows/bstsharedfolder, thats where your files should be,and use the built in Media manager, third party app dont seem to be working. Upvotes: 0 <issue_comment>username_2: I solved this! I had a similar problem. My shared folder is this same thing. I'm using Bluestacks 4, build 4.180.0.9002 and Windows 10 Ver.1909, build 18363.657. My media manager open... but I get stuck in a gray screen with no icons at all (it must the main screen of the app) None os the searches I did worked =( However found 1 tip that help: a folder named mnt (/ -> mnt) that have a path /sdcard/windows/bstsharedfolder... I made some tests... I put 1 picture in the C:\ProgramData\BlueStacks\UserData\SharedFolder\ and found it in the bluestacks file search. But when I see the FULL path... Surprise MTF: it was in mnt\windows\bstsharedfolder (NOT IN mnt\sdcard\windows\bstsharedfolder)! With the app EZ File Explorer I found in this 'mnt' folder, this another WINDOWS folder (before the sdcard folder of the tip above). SURPRISE! All the folders (bstsharedfolder, documents, pictures...) was there, WITH MY WINDOWS FILES! So, all I did was copy and past in this bstsharedfolder. Now C:\ProgramData\BlueStacks\UserData\SharedFolder\ has all my BST files that I need! Summing up: the 2 folders that share files between BST and Windows are: Windows: C:\ProgramData\BlueStacks\UserData\SharedFolder\ Bluestacks: mnt\windows\bstsharedfolder Note: I tried copy to the pictures folder (out: mnt\windows\pictures; in: C:\Users\YourUser\Pictures\BlueStacks) but it asked permitions. So the bstsharedfolder worked with no problems. Upvotes: 1 <issue_comment>username_3: If anyone is still struggling with this and needs a quick, non-permanent solution, you can also go into the "Media Manager" application in BlueStacks and select "Import from Windows". That seemed to grab everything and update the media cache without issue. Upvotes: 1
2018/12/28
769
2,833
<issue_start>username_0: Hi I'm using a stock LineageOS rom specifically android Pie (LineageOS 16) and I've been modifying system applications, such as SystemUI, framework, gallery, sms etc. before (on samsung ROMS) and so far I haven't got any problem aside from forgetting to set the correct permissions on each apk. Though when I switched to LineageOS, it seems that I can't simply modify the framework and systemui. I tried the usual way of decompiling and compiling an apk using apktool, then, to sign the apk with its previous/original key, I use the files from the "original" folder in the decompiled apk then build the apk again. Somehow, when I try to replace the apk in my phone, set the correct permissions, and reboot, it will result to bootloop. Did I miss anything? Do i need to sign it with another key? Do I need to disable signature-check on my Android?<issue_comment>username_1: Go to the sdcard/windows/bstsharedfolder, thats where your files should be,and use the built in Media manager, third party app dont seem to be working. Upvotes: 0 <issue_comment>username_2: I solved this! I had a similar problem. My shared folder is this same thing. I'm using Bluestacks 4, build 4.180.0.9002 and Windows 10 Ver.1909, build 18363.657. My media manager open... but I get stuck in a gray screen with no icons at all (it must the main screen of the app) None os the searches I did worked =( However found 1 tip that help: a folder named mnt (/ -> mnt) that have a path /sdcard/windows/bstsharedfolder... I made some tests... I put 1 picture in the C:\ProgramData\BlueStacks\UserData\SharedFolder\ and found it in the bluestacks file search. But when I see the FULL path... Surprise MTF: it was in mnt\windows\bstsharedfolder (NOT IN mnt\sdcard\windows\bstsharedfolder)! With the app EZ File Explorer I found in this 'mnt' folder, this another WINDOWS folder (before the sdcard folder of the tip above). SURPRISE! All the folders (bstsharedfolder, documents, pictures...) was there, WITH MY WINDOWS FILES! So, all I did was copy and past in this bstsharedfolder. Now C:\ProgramData\BlueStacks\UserData\SharedFolder\ has all my BST files that I need! Summing up: the 2 folders that share files between BST and Windows are: Windows: C:\ProgramData\BlueStacks\UserData\SharedFolder\ Bluestacks: mnt\windows\bstsharedfolder Note: I tried copy to the pictures folder (out: mnt\windows\pictures; in: C:\Users\YourUser\Pictures\BlueStacks) but it asked permitions. So the bstsharedfolder worked with no problems. Upvotes: 1 <issue_comment>username_3: If anyone is still struggling with this and needs a quick, non-permanent solution, you can also go into the "Media Manager" application in BlueStacks and select "Import from Windows". That seemed to grab everything and update the media cache without issue. Upvotes: 1
2018/12/28
426
1,467
<issue_start>username_0: The [official guide](https://developer.android.com/studio/debug/dev-options) says: > > On Android 4.1 and lower, the Developer options screen is available by default. On Android 4.2 and higher, you must enable this screen as follows: > > > 1. Open the Settings app. > 2. (Only on Android 8.0 or higher) Select System. > 3. Scroll to the bottom and select About phone. > 4. Scroll to the bottom and tap Build number 7 times. > 5. Return to the previous screen to find Developer options near the bottom. > > > I'm using Android 8.1 and there's no "System" option, but there's "About phone" right on the first Settings screen. However, inside "About phone", there's no "Build number". My phone is a Redmi 6, did they change the Android interface, or Android 8.1 interface is different, or what? ![Screenshot 1](https://i.stack.imgur.com/LGdi6l.png)] ![Screenshot 2](https://i.stack.imgur.com/b8uT2l.png)]<issue_comment>username_1: It is not a big secret that the Xiaomi uses MIUI which is a heavily modified Android OS. Just searching the net quickly gets you the result that on MIUI you have to tap the field `MIUI Version` 7 times. Anyway you could have found out that yourself by just tapping all available fields 7 times... Upvotes: 3 [selected_answer]<issue_comment>username_2: Try this one too: Settings->About phone->Software info->Build number. Now tap it 7 times, then you will be in developer mode. Good luck! Upvotes: 0
2018/12/29
416
1,508
<issue_start>username_0: I have Samsung Galaxy On Max and inserted two different carrier SIM cards that are Jio4g and Airtel. It has been written that this device is dual sim 4g. It was working fine till I was using Jio4g as my LTE network and for mobile data as well but when i recharged my Airtel sim card and switched it to 4g my Jio sim disabled(Jio doesn't have 3g/2g connectivity). So it means i can use only one sim as 4g enabled. On the basis of device model, it support 4g SIM on both slots but not at same time. It means it does have SoC that can handle LTE networks on both SIMs so, My concern is, Can Samsung provide some update so that users can use both SIM as 4g(LTE) simultaneously?<issue_comment>username_1: What you are looking for is something like DSDV i.e. Dual SIM Dual VoLTE. Unfortunately, your smartphone does not support it and it will not be possible for Samsung to push an OTA update to enable it. The chipset itself is not capable of connecting both SIM cards to 4G networks at the same time. One has to fall-back to 3G/2G. Upvotes: 2 <issue_comment>username_2: The problem is probably with Jio 4G and not with Samsung. As observed, Vodafone Airtel or Airtel and Idea 4G SIMs work perfectly fine with dual SIM. Reliance Jio won't remain active if mobile data is taken from another SIM card on the device. You **must** access internet services from Jio 4G to keep it enabled. If you want to use both of your SIM cards, then place JIO4G on SIM1 and Airtel on SIM2. Upvotes: 0
2018/12/29
589
2,476
<issue_start>username_0: On an Android (6.0), how can I archive old Google contacts where they do not show up in my contacts but they are listed in either: * the google contacts website under *other contacts* * archived in another app/cloud storage securely. Ideally moving them from the archive to my contacts list would be doable from a mobile app, or the archive service would have a mobile website where they are accessible. To clarify: I don't want to delete them forever or be inaccessible on mobile.<issue_comment>username_1: I have found one solution: have multiple accounts, your primary and backup/archive. Use the new Google contacts app to bulk select and move the contacts to the archive account. Then set either contacts app, either the stock app or the new cloud one, to only show the primary contacts. But Karthiks answer above is better. Upvotes: 1 <issue_comment>username_2: Just with one account also you can achieve this. 1. In contacts app, go to menu and create a new label like "Archive" 2. Tap on label and add contacts. 3. From menu go to settings, and in "contacts to display" select customized, and expand your google account, now here all labels will be shown. Select all labels except Archive. Now contacts moved to Archive label will not be shown in list. Upvotes: 2 <issue_comment>username_3: **Tip:** Using a computer may make it easier to do this. However, you can also do it on a mobile browser. 1. In your mobile phone, make sure you have synced your contact list to Google Contacts. 2. Open **"Google Contacts"** at <https://contacts.google.com/> preferably on a desktop or laptop. 3. Select any one contact by clicking the checkbox. 4. Open the **"Selection actions"** menu in the header toolbar and click **"All"**. 5. Go through your contact list and de-select the contacts you want to keep. The checkbox must be cleared for those contacts. 6. For the remaining contacts that are still checked, you are going to archive them. Click the *three dots* icon in the menu and click **"Hide from contacts"**. (This will move them into the *"Other contacts"* list.) 7. In your mobile phone, check the sync to make sure the archived contacts have disappeared from the phone's contact list. If you wish to add any contact back, just search for it in the **"Google Contacts"** website. Select the contact under **"Other contacts"** and click **"Add to contacts"**. This will bring the contact back into your phone's contact list. Upvotes: 1
2018/12/31
533
2,007
<issue_start>username_0: I'm using stock android 9.0. I'd like to be able to get a list of the devices (IP and/or MAC) that are connected to my phone when it's used as a Wi-Fi AP. Here are a few ways I tried but didn't work: * In the settings, there is an indicator of how many devices are connected (Network & internet / Hotspot & tethering / under Wi-Fi hotspot), but there is no list of them. * Fing only works when my phone is a client on a Wi-Fi network, not when it is an AP. * On Oreo, the `/proc/net/arp` file used to contain the list, but as of Pie, it doesn't (it's empty, even when something is connected). I'm looking for a solution that does not require root.<issue_comment>username_1: Use [Ksiri tool](http://karthiksiriapps.blogspot.com/p/ksiri-android-tools.html) to list devices connected to your hotspot. [![IMG: ](https://i.stack.imgur.com/lCsTT.jpg)](https://i.stack.imgur.com/lCsTT.jpg) you can also name the device connected. Naming is based on MAC address, so if connected device resets it's address, then you may have to name again. I was facing same issue on my Android Oreo, some tools on net available is filled with ads or asking for unnecessary permissions or root. Just for this simple listing of which devices are connected, ads and special permissions or rooting, not necessary, so I have created this app, which will not ask for any permissions and neither shows any ads and no need of root. This is the first step of "Ksiri Tools" that I have created, further if any tooling things comes up, I will add to same app. I have not released any of my apps on play store, as I feel it's unnecessary to pay Google. You can download apk file and install. While installing you will be clearly shown by Android that this app doesn't require any permissions. So safe to use. Upvotes: 0 <issue_comment>username_2: The solution is to enter `ip neighbor` into a terminal app, it displays both the IP and the MAC address of the connected devices. Upvotes: 3 [selected_answer]
2019/01/01
836
3,310
<issue_start>username_0: I am about to clean-install a Lineage ROM on my Android and I want to maximize the internal storage space left for the apps I want. What I understand so far is: * The GApps package will reside in the /system read-only partition. * Updates of apps from the GApps package will reside in the user partition. * Apps installed via the Play Store will reside in the user partition. I see the two following options: 1. Install a lean GApps package (e.g. OpenGApps pico) and then install the apps I want from Google's Play Store. 2. Install a GApps package which includes additional apps (e.g. OpenGApps mini). Question 1: Is there a drawback to making the /system partition as full as possible by selecting the biggest fitting GApps package? Question 2: If I need some Google apps such as *Maps* and *YouTube*, which option maximizes the space left available to install other apps, updates and user data? Additional information: * The device is a Motorola G 2015 (osprey) with 8Gb internal storage. * When comparing the [difference](https://github.com/opengapps/opengapps/wiki/Package-Comparison) between the mini and pico packages, the only apps I need from the mini package not included in the pico package are *Maps* and *Youtube*, all the rest is useless to me. * I can get the most recent OpenGApps package and it's ok for me to disable the update of apps such as Maps and Youtube if it results in more available user data space. (My aim is to extend the lifetime of my device by avoiding the lack of internal memory.) * I saw [this StackExchange answer](https://android.stackexchange.com/questions/123358/whats-the-difference-between-flashing-gapps-on-system-partition-vs-installing-f), but it didn't answer my question well enough.<issue_comment>username_1: whats the os version? install gapps from this site: [OpenGapps](https://opengapps.org) mini installs to the system partition, if the rom version is higher than 8.0 (android version) is (the most times) the system partition smaller try first gapps mini, if you get a error try pico (sorry for my bad english) Upvotes: 0 <issue_comment>username_2: > > Question 1: Is there a drawback to making the /system partition as full as possible by selecting the biggest fitting GApps package? > > > Whether you install the smallest or largest version of GApps, /system partition will remain the same, unaffected in term of its size. The partition size is fixed for the device by the manufacturer (Yes, if you are rooted it is possible to re-size the partition but it is not recommended). > > Question 2: If I need some Google apps such as Maps and YouTube, which option maximizes the space left available to install other apps, updates and user data? > > > When you install GApps from the recovery, they will be installed as system apps under /system partition. Then when you start your device, their data will be under /data partition as any other apps. Subsequent update and usage may (will) increase their sizes on the /data partition while /system will be same. Making new version or updates part of /system partition will allow to recoup some space from the /data partition. If you need Maps and Youtube, install GApps mini, then disable/uninstall apps that are not part of the pico or nano packages. Upvotes: 1
2019/01/03
1,016
3,489
<issue_start>username_0: A user can enable or disable background data usage by following the following steps: 1. From the Home screen, tap the app slider, then open "Settings". 2. Select "Data usage". 3. Select "Cellular data usage". 4. Select the app you want to limit background data on. 5. Toggle "Background data" to "On" or "Off" as desired. [![enter image description here](https://i.stack.imgur.com/kgXn8.jpg)](https://i.stack.imgur.com/kgXn8.jpg) The question is - is there anyway to do it on a mass scale for all apps so that a user do not need to keep repeating the five steps as described above? Example, a user just need to follow the following steps: 1. From the Home screen, tap the app slider, then open "Settings". 2. Select "Data usage". 3. Select "Background data usage", which will list all the apps. Each row will display the app name, the app version and a "On/Off" switch. If the app was "On" for background data, it will be a "On" for that switch. 4. Toggle "Background data" to "On" or "Off" as desired thru scrolling on the same page. (Step 3 should look something like the picture below, which the picture illustrate which WIFI to be "On" or "Off" as a metered Wifi network.) [![enter image description here](https://i.stack.imgur.com/FBfAj.png)](https://i.stack.imgur.com/FBfAj.png)<issue_comment>username_1: Not sure about GUI interface you want or a third party app that may do this for you, you can use CLI (terminal app or `adb shell`): ``` ~$ dumpsys netpolicy | grep '^[ ]*UID=.*METERED_BACKGROUND' UID=10173 policy=4 (ALLOW_METERED_BACKGROUND) UID=10176 policy=1 (REJECT_METERED_BACKGROUND) ``` File `/data/system/netpolicy.xml` can also be read directly with root access. ``` ~# awk '$2==10173 || $2==10176 {print $2,$1}' /data/system/packages.list 10173 com.whatsapp 10176 com.simplemobiletools.gallery.pro ``` Or: ``` ~$ pm list packages -U | sed 's/package://; s/uid://' | grep -E '10173$|10176$' com.whatsapp 10173 com.simplemobiletools.gallery.pro 10176 ``` It shows that `WhatsApp` has `Unrestricted data usage` allowed, while `Gallery` app is denied `Background data` usage at all. Rest of the apps have default behavior i.e. they can use background data but not in Data Saver mode. You can do some further scripting with [aapt](https://www.androidfilehost.com/?fid=6006931924117918698) tool to get e.g. app label / name. Upvotes: 2 <issue_comment>username_2: FWIW, in the UI, if you go to the Settings screen that lets you control special app access permissions (WiFi control, device admins, modify system settings, unrestricted data, etc.) under unrestricted data access, the toggle will not be available for any apps you've restricted background data on. I check here to see if I'm missing any apps that I had overlooked toggling individually. Upvotes: 0 <issue_comment>username_3: I was looking for the same thing to disable ads for offline apps. I'm not sure about 7.1 Nougat, but I just found background access control for Android 9 (Pie): **Settings => Wireless & networks => Data usage => Network access =>**... Here you can see the permissions for Wi-Fi and mobile data access. **However, that does not include background data!** To see background data and roaming data access you need 1 more step: **At the top, there's a downward pointing arrow next to network access - choose "Advanced network settings"**. This opens a new list with all apps and checkboxes only for background data and roaming data. Upvotes: 0
2019/01/03
461
1,823
<issue_start>username_0: On my Moto Z Play on the stock 8.0 Oreo ROM (rooted, of course), I find that the lowest brightness setting is still a bit too bright for my liking. This is in contrast with my dad's Galaxy S8+ which goes so dark. One solution that I liked was GravityBox. Unfortunately, that requires Xposed and Xposed breaks Messenger at the moment, and I can't live with the Lite version of Messenger. Xposed also isn't actively developed nowadays so the issue won't be fixed anytime soon. I'm looking for something that will achieve what GravityBox does, that is, lower the minimum brightness value for my ROM. I don't want any screen filter app that runs in the background all day, that just sucks. It isn't as effective as actually dimming the display, IMO. Can you guys help me out here?<issue_comment>username_1: Since your device is running on Android 8.0 Oreo, you can follow the instructions below to change the minimum brightness level on your device. 1. Download the Brightness Tweak from [here](https://forum.xda-developers.com/devdb/project/dl/?id=17614). 2. Go to Settings and allow installation from Unknown Sources. 3. Open the app and grant the SU permission. 4. On the next screen follow the on-screen instructions and complete the initial setup. 5. Once done, you will be greeted with a screen where you can set the minimum brightness level for your device. The minimum brightness level that you can go to is 1. Upvotes: 0 <issue_comment>username_2: If you need to do this by hand you can (with a root terminal): 1. Disable auto brightness -------------------------- ``` settings put system screen_brightness_mode 0 ``` 2. Set desired brightness ------------------------- ``` settings put system screen_brightness 1 ``` Where the value must be between 1 and 255 (inclusive) Upvotes: 1
2019/01/03
363
1,259
<issue_start>username_0: Android Studio claims Fire OS 5.3.6.4 is Android 5.1.1 API 22. I would really like to be using Nougat (which apparently Fire OS 6 is). Shouldn't I have the latest Fire OS on my tablet? Is there a way to do that? If not, I'll have to try rooting it. I hate these OEM blonked Android OS flavours!<issue_comment>username_1: Fire OS 6 for 7th generation tablets are not released yet, so it's not possible to install it yet. It is not sure whether Amazon will release it ever, or just keep maintaining the Lollipop Fire OS 5 version either. It might be best to just root it, you can install it later if they release it. (There is a way to go back to stock which will re-enable OTA updates. That will not leave any traces of rooting) Even with root you won't be able to install a clean Android ROM, because the bootloader is locked. (No custom recovery either) But, you'll still be able to remove bloat apps, change launcher, install Google apps, speed it up considerably by adding a swap partition, install Xposed, etc. Upvotes: 2 [selected_answer]<issue_comment>username_2: Amazon says 7th gen Fires should have Fire OS 6 now. <https://www.amazon.com/gp/help/customer/display.html/ref=hp_left_sib?ie=UTF8&nodeId=201016370> Upvotes: 0
2019/01/04
354
1,384
<issue_start>username_0: I have several Google accounts on my phone. I want to use only *one* of those with Google Maps. I must have accidentally used another one a few times, and now I keep getting notifications about it, should I do some more reviews and whatever. I've tried time and again and never managed to come any close to disabling Maps for some specific accounts without removing the account altogether from the phone Is there a way?<issue_comment>username_1: Fire OS 6 for 7th generation tablets are not released yet, so it's not possible to install it yet. It is not sure whether Amazon will release it ever, or just keep maintaining the Lollipop Fire OS 5 version either. It might be best to just root it, you can install it later if they release it. (There is a way to go back to stock which will re-enable OTA updates. That will not leave any traces of rooting) Even with root you won't be able to install a clean Android ROM, because the bootloader is locked. (No custom recovery either) But, you'll still be able to remove bloat apps, change launcher, install Google apps, speed it up considerably by adding a swap partition, install Xposed, etc. Upvotes: 2 [selected_answer]<issue_comment>username_2: Amazon says 7th gen Fires should have Fire OS 6 now. <https://www.amazon.com/gp/help/customer/display.html/ref=hp_left_sib?ie=UTF8&nodeId=201016370> Upvotes: 0
2019/01/05
451
1,744
<issue_start>username_0: Many apps can fake GPS location, but none can fake the high accuracy option provided by the internet. And I need this mocked as well. Many apps demand this option enabled When high accuracy is disabled, the mocking apps succesfully change my position But they don't work when High accuracy is enabled. My real location is detected **Edit:** When I say "provided by the internet", I mean aided by the internet AND/OR carrier/towers. I don't understand much of this part. And apparently, I got things wrong: non-accurate location being towers and accurate being the satellites. The phone is rooted and xposed, and Mock locations is enabled under developer **And lastly:** When I say High accuracy, I mean the option that can be enabled/disabled under Settings→Locations→Mode<issue_comment>username_1: Fire OS 6 for 7th generation tablets are not released yet, so it's not possible to install it yet. It is not sure whether Amazon will release it ever, or just keep maintaining the Lollipop Fire OS 5 version either. It might be best to just root it, you can install it later if they release it. (There is a way to go back to stock which will re-enable OTA updates. That will not leave any traces of rooting) Even with root you won't be able to install a clean Android ROM, because the bootloader is locked. (No custom recovery either) But, you'll still be able to remove bloat apps, change launcher, install Google apps, speed it up considerably by adding a swap partition, install Xposed, etc. Upvotes: 2 [selected_answer]<issue_comment>username_2: Amazon says 7th gen Fires should have Fire OS 6 now. <https://www.amazon.com/gp/help/customer/display.html/ref=hp_left_sib?ie=UTF8&nodeId=201016370> Upvotes: 0
2019/01/06
323
1,363
<issue_start>username_0: Google photos app has a "free up space" option where it will delete all photos that have been already backed up to Google photos from the local device folders. The problem with this is that the recent photos I need can be accessed faster so long as they are on the local device. Eg. No internet access needed unlike from Google photos. Is there a way to only delete those photos (which have been backed up to Google photos) but are older than a certain date? That way, say, photos more than a month old can be deleted ( this freeing up space) but the current photos stay available on the device for me to use easily. Any way to achieve this?<issue_comment>username_1: I've been using an Android app for 4+ years called [Sweet Home WiFi Picture Backup](https://play.google.com/store/apps/details?id=sweesoft.sweethome) that provides this functionality-- copies pictures to NAS, then allows delete if older than 3 months, but only after confirming the pictures exist on NAS. However, recently, I've found that the photos on phone are not actually getting deleted (appears the app sees them as deleted, but the Android OS and file explorer show them as still there). Your mileage may vary. Upvotes: 0 <issue_comment>username_2: Connect you phone to the computer via USB cable and use your favorite files management tool. Upvotes: 1
2019/01/07
274
1,002
<issue_start>username_0: I know that a malicious malware/spyware has been installed on my Samsung Galaxy S3 phone and I constantly get the message to close apps not in use because they drain my battery. But I do not have anything running. I have about 3-4 apps, others were turned off/updates uninstalled a long time ago. So the questions are not if my phone is infected - I know it is. The question is, how to find and remove it?<issue_comment>username_1: You can try using [AVG Antivirus](https://play.google.com/store/apps/details?id=com.antivirus) or maybe [Malwarebytes' Antimalware](https://play.google.com/store/apps/details?id=org.malwarebytes.antimalware) which I use a lot and it's really a good app. Upvotes: 1 <issue_comment>username_2: The app [List My Apps](https://play.google.com/store/apps/details?id=de.onyxbits.listmyapps) lists all the apps installed on a device (including malware). Use this to identify the suspicious app and try to uninstall it from system settings. Upvotes: 0
2019/01/08
915
3,366
<issue_start>username_0: **How can I delete a file with special characters from an un-rooted Android device?** I used a web site to download a YouTube video to my mobile phone. The video name contained special characters (emoticons and alike) and the Android browser downloaded the file right away, so I could not rename it. Now I'm stuck with a file that I cannot delete with the stock file manager of my phone. It is a Wiko device with some shady file manager app. I also tried AndroZip, which is usually more reliable. However, the file has a size of 0 bytes and I can neither delete, nor rename or move it. I do not get any error message, simply nothing happens. In AndroZip the file does not even show up, so I'm not sure whether the Wiko app cached the file name somewhere and, in fact, it does no longer exist, or if AndroZip cannot display the file due to the special character, even though it exists. Long story short: The device is not rooted and I want to get rid of that broken file. What can I do without resetting or rooting the entire device? Is there any helpful app that can handle special characters? Is there any safe mode option that would be of use?<issue_comment>username_1: I converted the file into a 240p MP4, downloaded it using Chrome, and I was able to delete the file using [Solid Explorer](https://play.google.com/store/apps/details?id=pl.solidexplorer2) easily. I was also able to delete it using [Termux](https://play.google.com/store/apps/details?id=com.termux). I installed it, enabled Storage permission for it from Settings app, launched it, and used these commands: ``` cd /sdcard/Download/ #I had downloaded it in Download folder. rm FILE_NAME # to type file name, I didn't actually type it. I used Hacker's Keyboard which comes with Tab key for auto-completion. I typed JER and pressed tab key to automatically load the full file name including emoji (which actually renders as a flame in Termux). ``` If you wish to keep your default keyboard, Termux provides two more means to use Tab autocompletion. Either use `Volume Up + T` to send a `Tab` to the shell, or use `Volume Up + Q` to display an additional button row on top of your keyboard, which contains frequently used commands such as `Esc`, `Ctrl`, `Alt` and `Tab` itself. Upvotes: 3 [selected_answer]<issue_comment>username_2: I just did it thanks to [username_1's answer](https://android.stackexchange.com/a/206216/44325): use Termux. Here is how to do it though: 1. First, type this to be able to use the `DIR` (`pwd`) command: ``` termux-setup-storage ``` * To show the current dir, use: ``` pwd ``` * To show the current dir's contents, use: ``` ls ``` 2. Change the directory to the folder you need to be deleted: * to go up one level, use ``` cd .. ``` * to go into a directory, use ``` cd yourdirnamehere ``` 3. Browse to the folder where the file you need to be deleted is located, e.g. mine was in `/storage/emulated/0/Download` 4. Delete * the file using ``` rm -rf yourfileorfoldertobedeleted ``` * or the whole folder using ``` rm -rf * ``` Just be careful not to delete something essential. Upvotes: 1 <issue_comment>username_3: I fixed it by transferring that 0-byte special character file to any `/android/data` folder and clearing that app's data. Then the files are gone. Upvotes: 1
2019/01/08
717
2,524
<issue_start>username_0: I have a Samsung Galaxy Tab Pro, and recently bought a blutooth keyboard for it. They keyboard works, but whenever i click on the area that i want to type something, the on screen keyboard shows up, and i cant use the blutooth one. How do i disable the screen keyboard and only use the blutooth one. Thanks!<issue_comment>username_1: I converted the file into a 240p MP4, downloaded it using Chrome, and I was able to delete the file using [Solid Explorer](https://play.google.com/store/apps/details?id=pl.solidexplorer2) easily. I was also able to delete it using [Termux](https://play.google.com/store/apps/details?id=com.termux). I installed it, enabled Storage permission for it from Settings app, launched it, and used these commands: ``` cd /sdcard/Download/ #I had downloaded it in Download folder. rm FILE_NAME # to type file name, I didn't actually type it. I used Hacker's Keyboard which comes with Tab key for auto-completion. I typed JER and pressed tab key to automatically load the full file name including emoji (which actually renders as a flame in Termux). ``` If you wish to keep your default keyboard, Termux provides two more means to use Tab autocompletion. Either use `Volume Up + T` to send a `Tab` to the shell, or use `Volume Up + Q` to display an additional button row on top of your keyboard, which contains frequently used commands such as `Esc`, `Ctrl`, `Alt` and `Tab` itself. Upvotes: 3 [selected_answer]<issue_comment>username_2: I just did it thanks to [username_1's answer](https://android.stackexchange.com/a/206216/44325): use Termux. Here is how to do it though: 1. First, type this to be able to use the `DIR` (`pwd`) command: ``` termux-setup-storage ``` * To show the current dir, use: ``` pwd ``` * To show the current dir's contents, use: ``` ls ``` 2. Change the directory to the folder you need to be deleted: * to go up one level, use ``` cd .. ``` * to go into a directory, use ``` cd yourdirnamehere ``` 3. Browse to the folder where the file you need to be deleted is located, e.g. mine was in `/storage/emulated/0/Download` 4. Delete * the file using ``` rm -rf yourfileorfoldertobedeleted ``` * or the whole folder using ``` rm -rf * ``` Just be careful not to delete something essential. Upvotes: 1 <issue_comment>username_3: I fixed it by transferring that 0-byte special character file to any `/android/data` folder and clearing that app's data. Then the files are gone. Upvotes: 1
2019/01/08
805
2,735
<issue_start>username_0: Running 8.1.0 on a Moto x4: I keep getting this notification: > > **Weather is running** > > > Tap for more information or to stop the app. > > > [![Weather is running notification](https://i.stack.imgur.com/klOtf.png)](https://i.stack.imgur.com/klOtf.png) If I tap and Force Stop the Weather app, it comes back before long. 1. How can I *really* keep the Weather app from running in the background? 2. Or, if I want it to run in the background, how can I prevent this notification from constantly appearing?<issue_comment>username_1: I converted the file into a 240p MP4, downloaded it using Chrome, and I was able to delete the file using [Solid Explorer](https://play.google.com/store/apps/details?id=pl.solidexplorer2) easily. I was also able to delete it using [Termux](https://play.google.com/store/apps/details?id=com.termux). I installed it, enabled Storage permission for it from Settings app, launched it, and used these commands: ``` cd /sdcard/Download/ #I had downloaded it in Download folder. rm FILE_NAME # to type file name, I didn't actually type it. I used Hacker's Keyboard which comes with Tab key for auto-completion. I typed JER and pressed tab key to automatically load the full file name including emoji (which actually renders as a flame in Termux). ``` If you wish to keep your default keyboard, Termux provides two more means to use Tab autocompletion. Either use `Volume Up + T` to send a `Tab` to the shell, or use `Volume Up + Q` to display an additional button row on top of your keyboard, which contains frequently used commands such as `Esc`, `Ctrl`, `Alt` and `Tab` itself. Upvotes: 3 [selected_answer]<issue_comment>username_2: I just did it thanks to [username_1's answer](https://android.stackexchange.com/a/206216/44325): use Termux. Here is how to do it though: 1. First, type this to be able to use the `DIR` (`pwd`) command: ``` termux-setup-storage ``` * To show the current dir, use: ``` pwd ``` * To show the current dir's contents, use: ``` ls ``` 2. Change the directory to the folder you need to be deleted: * to go up one level, use ``` cd .. ``` * to go into a directory, use ``` cd yourdirnamehere ``` 3. Browse to the folder where the file you need to be deleted is located, e.g. mine was in `/storage/emulated/0/Download` 4. Delete * the file using ``` rm -rf yourfileorfoldertobedeleted ``` * or the whole folder using ``` rm -rf * ``` Just be careful not to delete something essential. Upvotes: 1 <issue_comment>username_3: I fixed it by transferring that 0-byte special character file to any `/android/data` folder and clearing that app's data. Then the files are gone. Upvotes: 1
2019/01/08
1,010
3,209
<issue_start>username_0: I am looking to find if the Nokia 6.1 is able to run Lineage OS 16. I didnt find a Nokia section in the [official list of supported device](https://download.lineageos.org/). I looked online and find this list from [thedroidguru](https://thedroidguru.com/lineageos-16supported-devices-and-release-date/) (same list on [alldroidtips](https://alldroidtips.com/lineage-os-16/#List_Of_NokiaDevices_Getting_Lineage_OS_16)): > > List Of Nokia Devices Getting Lineage OS 16 > > > Nokia, or HMD Global, has already maintained a nice record when it > comes to providing Android updates. Though these devices did not > receive any support from LineageOS 15, it is expected that LineageOS > 16 would support the Nokia 8, Nokia 6 2017, Nokia 1, Nokia 2, Nokia 3, > Nokia 5. > > > As far as I know, the Nokia 6.1 is the name of the Nokia 6 2018. Is this list accurate? If the Nokia 6 2017 can run the rom, the 6.1 should be able to do so, shouldn't it? So, Does Lineage OS 16 runs on Nokia 6.1?<issue_comment>username_1: I converted the file into a 240p MP4, downloaded it using Chrome, and I was able to delete the file using [Solid Explorer](https://play.google.com/store/apps/details?id=pl.solidexplorer2) easily. I was also able to delete it using [Termux](https://play.google.com/store/apps/details?id=com.termux). I installed it, enabled Storage permission for it from Settings app, launched it, and used these commands: ``` cd /sdcard/Download/ #I had downloaded it in Download folder. rm FILE_NAME # to type file name, I didn't actually type it. I used Hacker's Keyboard which comes with Tab key for auto-completion. I typed JER and pressed tab key to automatically load the full file name including emoji (which actually renders as a flame in Termux). ``` If you wish to keep your default keyboard, Termux provides two more means to use Tab autocompletion. Either use `Volume Up + T` to send a `Tab` to the shell, or use `Volume Up + Q` to display an additional button row on top of your keyboard, which contains frequently used commands such as `Esc`, `Ctrl`, `Alt` and `Tab` itself. Upvotes: 3 [selected_answer]<issue_comment>username_2: I just did it thanks to [username_1's answer](https://android.stackexchange.com/a/206216/44325): use Termux. Here is how to do it though: 1. First, type this to be able to use the `DIR` (`pwd`) command: ``` termux-setup-storage ``` * To show the current dir, use: ``` pwd ``` * To show the current dir's contents, use: ``` ls ``` 2. Change the directory to the folder you need to be deleted: * to go up one level, use ``` cd .. ``` * to go into a directory, use ``` cd yourdirnamehere ``` 3. Browse to the folder where the file you need to be deleted is located, e.g. mine was in `/storage/emulated/0/Download` 4. Delete * the file using ``` rm -rf yourfileorfoldertobedeleted ``` * or the whole folder using ``` rm -rf * ``` Just be careful not to delete something essential. Upvotes: 1 <issue_comment>username_3: I fixed it by transferring that 0-byte special character file to any `/android/data` folder and clearing that app's data. Then the files are gone. Upvotes: 1
2019/01/08
880
3,346
<issue_start>username_0: In **Device Maintenance** system app on Samsung Galaxy Note8, there is a [**TopBuzz** cache shown when caches are being cleaned](https://android.stackexchange.com/questions/206172). **Also in the safe mode.** It reappears as a cleanup item every few minutes together with **System cache** item and they show 82 MB to clean up. [![enter image description here](https://i.stack.imgur.com/N5UZB.png)](https://i.stack.imgur.com/N5UZB.png) Since nothing like that is installed, I originally thought this is a sign of a malware, but after rebooting to the safe mode, the behavior continues and both items are re-appearing every few minutes in 82 MB size. **Is *TopBuzz* normal part of Note8 built-in software or is it possible that it somehow got into the phone later? How can I determine what is happening here?** Additional details: * The phone is not rooted. * Android 8.0.0. * 5 anti-virus scanners did not find any issue with **TopBuzz**. * I reviewed the entire app list in the safe mode and found nothing like that. * Despite the name on the above screenshot, I did not find a public or hidden cache called TopBuzz using *SD Maid* app. Any other caches shown by *SD Maid* contain only few kilobytes after cleanup, 82 MB is nowhere to be found. But TopBuzz + System cache still show that 82 MB size in Device Maintenance app. --- Update: Samsung support replied me that "TopBuzz is not a part of their device".<issue_comment>username_1: Samsung support has replied me that "TopBuzz is not a part of their device". So this is most likely a sign of an utilized exploit where [a malware can compromise even non-rooted device](https://android.stackexchange.com/questions/207046/can-a-malware-compromise-safe-mode-of-non-rooted-device). Upvotes: 0 <issue_comment>username_2: I have a Samsung Galaxy S8 and have the same problem as you with TopBuzz showing up in the storage clean but unable to find it anywhere in my phone. I tried the SD Maid app but that did not help. However, I did try Clean Master which I have used in the past with my old phones becuse it does work better than the built in storage clean (but uninstall it when im done with it because im sure that it slows down the phone to make you use it from time to time) and that appears to have fixed the problem. I ran Clean Master, then ran the system storage clean and did not see TopBuzz, ran Clean Master again for good measure and then uninstalled it. It has only been a few hours but I have ran the storage clean a couple times and have not seen TopBuzz at all. If you still have this problem try this out and let me know how it goes! Upvotes: 2 [selected_answer]<issue_comment>username_3: I'm almost a year late, but I've also recently noticed TopBuzz appearing on that Device Maintenance screen as well, starting a few days after I installed TikTok, about a month ago. Finally guessing at a connection between the two, I did a bit of Googling to discover that TopBuzz and TikTok are both products of the Chinese company, ByteDance (which seems very fond of MidWord-capitalization in their PortManteaus.) Thus, I'm guessing that TikTok downloads with a non-interactive TopBuzz client for producing in-app ads, creating an advert cache labeled TopBuzz. If anyone can come up with a method for verifying this, I'll add my findings. Upvotes: 0
2019/01/12
379
1,519
<issue_start>username_0: I want a repeating alert when battery is less than/over than x%. I have a pair of alerts (Using MacroDroid) that are triggered by a battery level change. One of less than 35%, and one of more than 85%. It nicely runs a media sound file to alert me. (Ding!) I want them to *repeatedly* alert me while they are above/below the limit. Currently it only seems to do it once: at the moment that the percentage level drops or increases past each limit. How could I make it sound every (say 5 minutes) when it is above or below the limits? I'm becoming obsessed with battery levels ever since I replaced my battery and I found it to be swollen like a rotten grapefruit! :) Edit: I've found some info that accessing the root (whatever that means) can give you access to the sys folder that can actuate the ability of the phone to either charge or not do so. I have done similar things with windows and the registry and feel confident doing these things with the Win OS in the Registry, but not with Android OS. If I access the sys folder and try to save changes it won't let me.<issue_comment>username_1: Use the trigger Regular interval only. Do not use with any other Trigger. Setup your action, the media tone that is, and use the constraint battery level. You may have to use a logic constraint here, such as AND constraint in MacroDroid specific category. Upvotes: 3 [selected_answer]<issue_comment>username_2: Try this ``` If (battery level [>/<]X%) -Do/while --media file ``` Upvotes: 0
2019/01/13
437
1,770
<issue_start>username_0: I have two instances of WhatsApp on my Note8. When I receive a message on my primary WhatsApp, I get notifications instantly as normal. However, on my dual WhatsApp, I don't get notifications unless I open the app. Sometimes, I get notifications come in all of a sudden as if the app has come alive and checked, but this is not consistent with the primary app. I've gone to *Settings->Notifications* and there is only one 'WhatsApp' app listed and notifications are enabled. However, this cannot be where the issue is as the notifications are fine for the primary app, just not the dual app. If I go to *Settings->Apps*, then here I do see both instances listed. And notifications are enabled for both. I've also checked the *Mobile data* settings for both, and they both have *Allow background data usage* enabled. I am not using *Data saver*. The only thing I've not tried is disabling *Optimise battery usage* for WhatsApp as this seems to be for both instances of the app, not either. But other than that possibility, I'm stumped. Any ideas welcomed.<issue_comment>username_1: I had problems with getting notifications for my dual Viber app and it seems that by default they are turned off. So, you need to go to *Notifications > Advanced* and there you could find and manage your dual messenger's notifications. ![enter image description here](https://i.stack.imgur.com/YjtCT.jpg) I'm not sure that the path will be the same for your device but for the record I'm using Samsung Galaxy S7 with Android 8.0.0 on it. Maybe that could help you with the issue. Upvotes: 0 <issue_comment>username_2: I think your phone power saving app is putting a dual messenger app to sleep. so please check that it's not in sleep app list. Upvotes: 1
2019/01/15
1,161
4,043
<issue_start>username_0: I am using LOS 14.1 unofficial (by dl12345 user from XDA) in my N910C. AutoRotate doesn't work and i found a solution which is working partly. What does mean partly? I added these to my build.prob with adb. ``` log.tag.launcher_force_rotate=VERBOSE lockscreen.rot_override=true ``` And I've set permission of build.prop like this. ``` chmod 644 build.prop ``` Then rebooted to System. I tested AutoRotate and it is working good even if i am in main (lock) screen. 2-3 days later i realized it is not working anymore mysterious. In the meanwhile i rebooted the device 1-2 times within 2-3 days. I started to look for a new fix and found this command. ``` ro.sf.hwrotation=360 ``` I deleted first two (2) commands and added this command to the build.prop with adb and set the permission like that. Rebooted to System and tested. It is working good and today i realized it is not working again. I started to think what is the problem? It is working some and not working anymore. I need your ideas and experiences. P.S: I don't want to use an app always for this. **EDIT:** I had edited and pushed build.prop 1 hour ago and had tested, it was working. I can enable user\_rotation to 0, 1, 2 and 3. It is working good but as you know rotating in every app even if in Settings or Phone (Calling). But Auto Rotation is not working. **EDIT2:** I enabled Auto Rotation with this command, didn't work. ``` root@kali:~/Downloads/platform-tools# adb shell settings put system accelerometer_rotation 1 ``` I enabled user\_rotation with this command, it is working. ``` root@kali:~/Downloads/platform-tools# adb shell settings put system user_rotation 1 ``` Results of rests: ``` Disabled Accelerometer, enabled user_rotation=working Enabled Acceleremoter, configured user_rotation with 0=not working Enabled Accelerometer, configured user_rotation with 1=not working ``` As a result when i enabled Auto Rotation, is not working **EDIT3:** I installed [this](https://play.google.com/store/apps/details?id=com.wered.sensorsmultitool) app and tested Accelerometer. I can rotate my phone 360 degree without enabling AutoRotate feature. I had thought my phone's accelerometer is broken, but not.<issue_comment>username_1: [Android 4.2](https://gist.github.com/alekswn/053003233c4033aa4d92) Auto rotate on: `adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:1` Auto rotate off: `adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0` Landscape: `adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1` Portrait: `adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0` [Android 8](https://source.android.com/devices/tech/display/rotate-suggestions) Auto rotate on: `adb shell settings put secure show_rotation_suggestions 1` Auto rotate off: `adb shell settings put secure show_rotation_suggestions 0` introduction mode can be reset by altering the associated Settings.Secure value. This accomplished easiest by running the following command from a privileged adb instance: `adb shell settings put secure num_rotation_suggestions_accepted 0` Upvotes: 1 <issue_comment>username_2: Im also running an unofficial LOS 14.1--7.1.2 (orig. 6.0), and I've learned that, while being debuggable &selinux-permissive, ANY little system change requires that /system/ be remounted -o rw. Once I ran the cmd via terminal prior to changes, I experienced NO more issues with substratum, exposed, etc. My Superuser's perms are 777, so I had assumed that also having a permissive kernel would grant god-like powers, but certain pid's & such keep me humble. Also maybe important (certainly is for my LG), build.prop changes persist only when done properly via my TWRP terminal, as that shows my default build.prop always, lurking to overwrite /revert my naive tweaks. Good lookin' out, TWRP. Upvotes: 0