date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2020/06/17
599
2,388
<issue_start>username_0: How do we verify that a phone call is going through WiFi? ========================================================= I am hoping that there is some special little icon like this one: [![enter image description here](https://i.stack.imgur.com/Y1qse.gif)](https://i.stack.imgur.com/Y1qse.gif) Cricket wireless is my provider and my phone is a Motorola moto g7 SUPRA. My carrier does support WiFi calling. I spent an hour on the phone with them trying to answer the question the above question. The device also supports WiFi calling and reports that WiFi calling has been correctly activated Our local cell towers went down today so I wanted to have another way to make phone calls that did not depend on an active cell tower. I set up WiFi calling on my phone and it confirmed that it was set up correctly and enabled. The WiFi also indicated that it was connected. It is a very strong connection because it is only ten feet way and direct line-of-sight. After I did this I still experienced the same issues that I had because of the bad cell tower. This would seem to indicate that the phone calls were not going through WiFi.<issue_comment>username_1: Had the same problem and it seems that since Android 10, apps can only access the clipboard if they are in the foreground. So the only way for the copy to work from Phone to Mac is to open the app on your phone after you've copied the text, and then paste on the Mac. Upvotes: 3 <issue_comment>username_2: I've found that Alt C works on Android 11 if you've recently opened it on your phone, or if you allow it to keep use battery in the background. For the latter, the ways to do this vary - here's an [example for Pixel phones](https://support.google.com/pixelphone/thread/6068458/how-to-keep-apps-running-in-the-background?hl=en). I haven't tested this thoroughly with Alt C. Upvotes: 0 <issue_comment>username_3: In Android 12, I faced the same issue where I was able to copy text from PC to phone but not able to copy text from phone to PC, it showed "couldn't paste text from realme", but later I found the way to copy text from phone to PC. Basically, when you copy text from your phone then you have to open the Alt-C app in order to sync with your PC, and when the app is open on your phone, then you try to paste it on your PC, then it will be paste. It worked for me in Android 12. Upvotes: 0
2020/06/17
460
1,717
<issue_start>username_0: I was trying to look at the battery usage of different apps and saw this weird app named "-5" on inspection it takes me to google photos which is weird since why will google photos use its name as "-5". I can't find any reasoning for this and want others to shed some light on this topic. I have also reported this weird behavior to google as well. [![enter image description here](https://i.stack.imgur.com/mBi6el.jpg)](https://i.stack.imgur.com/mBi6el.jpg)<issue_comment>username_1: Had the same problem and it seems that since Android 10, apps can only access the clipboard if they are in the foreground. So the only way for the copy to work from Phone to Mac is to open the app on your phone after you've copied the text, and then paste on the Mac. Upvotes: 3 <issue_comment>username_2: I've found that Alt C works on Android 11 if you've recently opened it on your phone, or if you allow it to keep use battery in the background. For the latter, the ways to do this vary - here's an [example for Pixel phones](https://support.google.com/pixelphone/thread/6068458/how-to-keep-apps-running-in-the-background?hl=en). I haven't tested this thoroughly with Alt C. Upvotes: 0 <issue_comment>username_3: In Android 12, I faced the same issue where I was able to copy text from PC to phone but not able to copy text from phone to PC, it showed "couldn't paste text from realme", but later I found the way to copy text from phone to PC. Basically, when you copy text from your phone then you have to open the Alt-C app in order to sync with your PC, and when the app is open on your phone, then you try to paste it on your PC, then it will be paste. It worked for me in Android 12. Upvotes: 0
2020/06/20
456
1,606
<issue_start>username_0: On the web version of the Play Store, the "Install" button is greyed out even though the message says: "This app is compatible with all of your devices." [![screenshot of the webpage](https://i.stack.imgur.com/pXNQU.jpg)](https://i.stack.imgur.com/pXNQU.jpg) What is the possible reason, and how to fix this?<issue_comment>username_1: I used an incognito window to sign in and it worked. So maybe something to do with browser cache. Upvotes: 1 <issue_comment>username_2: Just saw this workaround posted by a <NAME> on Google Play Help, and it worked perfectly for me "Had the same problem - I removed the missmatching ≷=US query parameter at the end of the browser URL and it worked. Maybe this helps." Upvotes: 3 <issue_comment>username_3: It turns out that even if the app is compatible, it might be blocked in your country. As mentioned [here](https://android.stackexchange.com/a/231498/344378), removing the country parameter on your url will help. For example, if the URL is `https://play.google.com/store/apps/details?id=com.dubox.drive&hl=en_AU≷=US` removing the `≷=US` like so: `https://play.google.com/store/apps/details?id=com.dubox.drive&hl=en_AU` This solved the problem for me. Hope this helps. Upvotes: 2 <issue_comment>username_4: I solved the greyed install application on Android emulator : 1. Choose an emulator configured with Google Apis **AND Google Play Store**. 2. Launch the Play Store application to install your desired application. With these settings I can install my chosen apps. *Hope this will aid someone!* Upvotes: 0
2020/06/21
518
1,754
<issue_start>username_0: Downloaded Sophos Intercept X today cause my Chrome browser kept opening to `https://web.bwanet.ca` all of a sudden + all my open tabs were gone. Is it due to Sophos? If so, is there a specific feature in the Sophos app that can stop future hijacks?<issue_comment>username_1: First it is totally unclear why the tabs are gone. Can be anything between a simple bug in the web browser or a sophisticated attack. And second nobody knows what bugs and vulnerabilities are hidden in the browsers you mentioned and additionally what bugs and vulnerabilities are introduced in the next version. Hence from my perspective the only answer you can get is `NO`. Nothing can prevent or stop unknown problems in a constantly updated software browsing constantly changing web sites. You can always protect yourself only against known problems. This also applies to software like Sophos Intercept X. Upvotes: 0 <issue_comment>username_2: Not sure about the Sophos download, but as far as `bwanet` is concerned, on several online forums (see below) people mention that if your phone is from Bell/Virgin, then that is who is "hijacking" your home page to `bwanet`. The solution is to go into your browser settings and change the home page Bell/Virgin sets upon every browser install. I gathered this from the following pages: * [r/virginmobile on Reddit (2021-01-20)](https://www.reddit.com/r/virginmobile/comments/l8pc82/virgin_canada_bwanetca/) * [Google Chrome Help (2019-09-02)](https://support.google.com/chrome/thread/13436358/my-chrome-browser-is-default-opening-in-web-bwanet-ca-seems-an-virus-of-broswer-hijack) * [Samsung Community (2021-12-21)](https://r1.community.samsung.com/t5/others/web-bwanet-ca/td-p/14469716) Upvotes: 1
2020/06/25
791
2,803
<issue_start>username_0: I bought a few days ago a Hauwei P30 lite, which comes with Android 9. In my case, I often connect to the Internet via the mobile network. When I configure the smartphone as a Wi-Fi hotspot (tethering), the smartphone apps are not allowed any more to the Internet (while the external devices exploiting that same hotspot for Internet connection are). In other words, If I use the smartphone as a mobile 4G+ modem, then no Android app has Internet connection. For example, after enabling the hotspot, my laptop connects flawlessly to the Internet through the smartphone hotspot, so I can open for example WhatsApp web, but I cannot use it because the WhatsApp app on the smartphone is not allowed to the Internet. I find that rather silly. My old 3G smartphone with Android 4.2.1 provides a hotspot while at the same time allowing Internet navigation from the smartphone, so that the WhatsApp scenario described above works flawlessly. The new smartphone with a 4G+ modem does not allow that. ???? For the record, I am settled in Italy.<issue_comment>username_1: from [reddit](https://www.reddit.com/r/Huawei/comments/8w82fj/huawei_p20_lite_cant_use_phone_internet_while) user PiGeek\_314 > > Go into Settings > Wireless & Networks > Mobile Network > Access Point Name > and Delete the "Hotspot APN" > > > or this for AT&T * Enable developer mode (Go to Settings -> System -> About phone, and click on the build number until the developer mode is enabled). * Enable USB debugging under Settings -> System -> Developer options * Connect the device with a USB cable to a computer with the Android SDK [platform tools](https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads) installed * Start an adb shell In the adb shell, type the following: ``` adb shell settings put global tether_dun_required 0 settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,http://mmsc.mobile.att.net,proxy.mobile.att.net,80,310,410,,default,dun,mms,supl,hipri,fota,xcap" ``` another method is to edit `build.prop` ``` net.tethering.noprovisioning=true ``` Note: you need a rooted device for this I am not sure how this solves your problem with losing internet connection. i have just copy & pasted this. other Huawei users claim this works. basically reason could be that different APNs exist and device (or just the app) is choosing the wrong entry Upvotes: 0 <issue_comment>username_2: Well, one of the system updates has upgraded my smartphone OS from Android 9 to 10. And that has fixed the problem. Now my smartphone can work flawlessly at the same time as a Wi-Fi hotspot for external devices while maintaining Internet connection for itself. Well done! I hope some of the next system updates will not revert the situation. :-) Upvotes: 2
2020/06/26
452
1,524
<issue_start>username_0: Nexus 7 2012 (grouper). Was running stock ROM (4.4.4), could connect via USB (e.g., as MTP for file transfer) and use `adb`). Installed Lineage OS 15 (8/O). (Couldn't install any GApps at all because the `system` partition is too small.) `fastboot` works as it should when booted into the bootloader. `abd` works when it's booted into recover. However, `adb` does not work when the tablet is started up and running LineageOS. Nor does it appear as a disc drive. In fact it doesn't even appear in Device Manager. Windows doesn't make its noise when the device is plugged in (it *does* make its noise when connecting it in the bootloader and in recovery). Developer options enabled: * *Android debugging* is on, * *Root access* is *ADB only*, * *Select USB Configuration* is *MTP*. It *has* to be something to do with LineageOS. Any ideas?<issue_comment>username_1: Just installed Lineage 14 (N/7) and it's working normally, so it must be a problem with LineageOS 15 (`lineage-15.1-20200522-UNOFFICIAL-grouper.zip` to be precise). Upvotes: -1 <issue_comment>username_2: I have same problem when I install Lineage 14 try tablet on another fresh windows pc that this tablet never connected before if tablet worked in MTP. Then try this steps: 1. Go to Windows Device Manager 2. Check `View hidden devices` from view 3. Find installed drivers from tablet and uninstall them all. This is demonstration gif: [![](https://i.stack.imgur.com/n2rVI.gif)](https://i.stack.imgur.com/n2rVI.gif) Upvotes: 2
2020/06/26
932
3,002
<issue_start>username_0: Upon reading [TikTok says it will stop accessing clipboard content on iOS devices](https://www.theverge.com/2020/6/26/21304228/tiktok-security-ios-clipboard-access-ios14-beta-feature), I wonder: How can I see which applications is reading the clipboard?<issue_comment>username_1: * Prior to Android 10, **all apps** could access clipboard by default without even asking for permission. Apps actually need a permission (that is automatically granted) to read the clipboard: `READ_CLIPBOARD` (from [XDA Developers](https://www.xda-developers.com/stop-apps-reading-android-clipboard/)) - thanks to [Andrew in comment](https://android.stackexchange.com/questions/226282/how-can-i-see-which-applications-is-reading-the-clipboard#comment295093_226283) * In Android 10, See [Privacy changes in Android 10](https://developer.android.com/about/versions/10/privacy/changes), access to clipboard is limited to OEM apps only that have `READ_CLIPBOARD_IN_BACKGROUND` permission, which are keyboards and "apps in focus" (not sure what latter means) > > Unless your app is the default input method editor (IME) or is the app that currently has focus, your app cannot access clipboard data on Android 10 or higher > > > * TikTok would need to ask and be granted the same signature as OS since this permission is [Signature permission](https://developer.android.com/guide/topics/permissions/overview) > > The system grants these app permissions at install time, but only when the app that attempts to use a permission is signed by the same certificate as the app that defines the permission. > > > Upvotes: 1 <issue_comment>username_2: We can do some scripting with AppOps. Create `/sdcard/clipboard_history.sh`: ``` for pkg in $( pm list packages | sed 's/package://' ) do ( appops get $pkg READ_CLIPBOARD; appops get $pkg WRITE_CLIPBOARD ) | grep -i time= | while read -r line do echo $line | grep ' allow; ' | sed 's/time=+//' echo $line | grep -v ' allow; ' | sed 's/time=+[^ ]*//; s/rejectTime=+//' done | sed 's/[0-9]*ms//; s/[:;]//g; s/_CLIPBOARD//; s/ago//g; s/$/& '"$pkg"'/' done | awk '{printf "%-10s%-14s%-20s%s\n",$1,$2,$3,$4}' ``` Run: ``` ~$ adb shell sh /sdcard/clipboard_history.sh WRITE allow 19h48m7s org.shadowice.flocke.andotp READ allow 2d1h46m12s dev.ukanth.ufirewall READ ignore 26m16s com.dv.adm.old READ deny 7h39m16s com.google.android.gms READ foreground-R 1d2h43m6s org.blackmart.market WRITE allow 6m48s com.termux READ foreground 16s com.google.android.inputmethod.latin READ allow 1m17s com.stackexchange.marvin WRITE allow 1m14s com.stackexchange.marvin ``` Similar answer here: [Is there a way to log calls to device vibrator?](https://android.stackexchange.com/a/215658/218526) Upvotes: 2
2020/06/27
1,308
5,338
<issue_start>username_0: An Access Point Name, APN, is a gateway between mobile networks and the public Internet. I've done research, and there's not much online about what the individual settings are or do. This is what I've managed to figure out so far, listed in the order they appear on an Android phone. Settings in **bold** I do not have a good answer for. Please tell me the setting's "full name" and what it does. If you know of a site that lists these out and describes them please share it. Thank you! --- 1. Name: User given label that doesn't actually affect anything. It can be anything. 2. **APN:** Stands for Access Point Name I guess? Usually, this is a short single word and ALL CAPS for some reason. No idea what this does. 3. **Proxy:** Is this for using a regular proxy server or something mobile specific? 4. **Port:** Port for the proxy? 80 by default? 5. Username: Credentials <PASSWORD>. 6. Password: <PASSWORD>. 7. Server: Found out this is for a WAP Gateway Server - kind of like a proxy except that it also translates/decodes web pages. 8. **MMSC:** A URL to send MMS messages to? What does MMSC stand for? 9. **MMS proxy:** Why does there need to be a proxy? Why not just send it to the MMSC directly? 10. **MMS port:** Why is this here, won't it always be 80? 11. **MCC:** Mobile Country Code - I believe this specifies to the cell phone towers which network to default to. Why would they need to know this? 12. **MNC:** Mobile Network Code - tells the towers what carrier is being used? 13. **Authentication type:** Port to send the Username & Password over? 14. **APN type:** So instead of IP port numbers mobile networks use "port names" to specify the data type. So if you put "default,mms" then those communication protocols will be used. Correct me if I'm wrong, please. 15. APN protocol: Whether to use IPv4 or IPv6. 16. APN roaming protocol: Roaming is using another carrier company's service. This specifies what IP type to use when doing so. 17. APN enable/disable: For when multiple APN's are on the phone. Allows one to pick a certain configuration. 18. **Bearer:** What does this do? 19. **MVNO type:** Mobile Virtual Network Operator - a reseller carrier that uses one of the larger (AT&T, Sprint, T-Mobile) carriers. This option can be either None, SPN, IMSI, GID, or ICCID. Tells the major carrier what the reseller is I think. 20. **MVNO value:** The number given to the reseller?<issue_comment>username_1: Found [this](https://tamingthedroid.com/what-apn-settings-mean) as part of a search that lead me here: Name (APN) ---------- A user-chosen name to apply to this APN configuration. This name has no effect at all on the connection, and is only used as a label. APN --- Specifies the Access Point Name (APN) your device should quote when communicating with your carrier. The APN is a short string of text. Proxy / Port ------------ Optional fields for specifying an HTTP proxy to use for all web traffic over this connection. No longer usually required for most carriers. Username / Password ------------------- In rare cases your carrier may require a username and password in order to access data. Usually left blank. Server ------ WAP Gateway Server, a feature not usually used in modern smartphones and devices. This field should usually be left blank. MMSC ---- Details of the Multimedia Messaging Service Center to use for sending and receiving of MMS messages. MMS proxy / MMS port -------------------- HTTP proxy details to be used only for communicating with the MMSC to send and receive MMS messages. MMS Protocol ------------ Specifies the protocol that your device should use for sending and receiving MMS messages. Usually does not need to be modified. MCC / MNC --------- Specifies the carrier network that the APN configuration should be used for. Stands for Mobile Country Code and Mobile Network Code. Authentication type Method used to supply your name and password to the server for your data connection. Usually not used. APN type -------- Specifies which types of data communication should use this APN configuration. Different types of communication may use different configurations. APN protocol / APN roaming protocol ----------------------------------- For devices that support IPv6 networking, this specifies whether to enable IPv4, IPv6 or both. This can be set independently for home and roaming networks. APN enable/disable ------------------ When having multiple general purpose APN configurations, allows you to choose which one is currently enabled. Bearer ------ An optional field allowing you to exclude this APN configuration based on the communication technology (eg LTE, eHRPD) currently being used. Mobile virtual network operator type / value Restrict use of this APN to certain MVNOs (mobile network resellers) or subscriber accounts. Mobile virtual network operator type / value -------------------------------------------- Restrict use of this APN to certain MVNOs (mobile network resellers) or subscriber accounts. Upvotes: 2 <issue_comment>username_2: Most of the major configuration is hard programmed into the sim. The only difference apn info makes I'd for reseller ultility that least thier service from another utility and thus have special apn settings for the tower. Upvotes: 0
2020/07/02
960
4,170
<issue_start>username_0: **My device**: I use Android 9 on samsung galaxy s9. **Background**: I believe there was a feature before (or maybe currently still, but I turned it off) about showing number of unread messages on apps like whatsapp, viber or the SMS app (and i guess gmail or facebook) or at the very least there's some kind of dot or something on a corner of the icon of such an app that indicates there exists at least 1 unread message (so the dot is an alternative to a specific number of unread messages). **My situation**: I do not have such number or dot on icons on apps on my device. If I get a message on whatsapp or viber or regular SMS but say I have to install some updates and so my phone has to turn off or restart, then the notification of this message is gone. **Question**: How do I see number or existence of unread messages on icons of apps such as viber and whatsapp and the SMS app? I have tried looking this up, but 1. I wasn't able to find any articles specifically on Android 9 and Samsung Galaxy S9. 2. The solutions proposed in articles I've found on Android 9 but a different phone or on different versions of Android have not worked for me. 3. I've tried looking up some apps on the play store, but I haven't downloaded any because of the reviews.<issue_comment>username_1: Found [this](https://tamingthedroid.com/what-apn-settings-mean) as part of a search that lead me here: Name (APN) ---------- A user-chosen name to apply to this APN configuration. This name has no effect at all on the connection, and is only used as a label. APN --- Specifies the Access Point Name (APN) your device should quote when communicating with your carrier. The APN is a short string of text. Proxy / Port ------------ Optional fields for specifying an HTTP proxy to use for all web traffic over this connection. No longer usually required for most carriers. Username / Password ------------------- In rare cases your carrier may require a username and password in order to access data. Usually left blank. Server ------ WAP Gateway Server, a feature not usually used in modern smartphones and devices. This field should usually be left blank. MMSC ---- Details of the Multimedia Messaging Service Center to use for sending and receiving of MMS messages. MMS proxy / MMS port -------------------- HTTP proxy details to be used only for communicating with the MMSC to send and receive MMS messages. MMS Protocol ------------ Specifies the protocol that your device should use for sending and receiving MMS messages. Usually does not need to be modified. MCC / MNC --------- Specifies the carrier network that the APN configuration should be used for. Stands for Mobile Country Code and Mobile Network Code. Authentication type Method used to supply your name and password to the server for your data connection. Usually not used. APN type -------- Specifies which types of data communication should use this APN configuration. Different types of communication may use different configurations. APN protocol / APN roaming protocol ----------------------------------- For devices that support IPv6 networking, this specifies whether to enable IPv4, IPv6 or both. This can be set independently for home and roaming networks. APN enable/disable ------------------ When having multiple general purpose APN configurations, allows you to choose which one is currently enabled. Bearer ------ An optional field allowing you to exclude this APN configuration based on the communication technology (eg LTE, eHRPD) currently being used. Mobile virtual network operator type / value Restrict use of this APN to certain MVNOs (mobile network resellers) or subscriber accounts. Mobile virtual network operator type / value -------------------------------------------- Restrict use of this APN to certain MVNOs (mobile network resellers) or subscriber accounts. Upvotes: 2 <issue_comment>username_2: Most of the major configuration is hard programmed into the sim. The only difference apn info makes I'd for reseller ultility that least thier service from another utility and thus have special apn settings for the tower. Upvotes: 0
2020/07/04
3,452
11,332
<issue_start>username_0: How can I configure [BlueStacks](https://www.bluestacks.com/) to have Android use dark mode? On Android 10 I can use: [![and](https://i.stack.imgur.com/DJK4h.png)](https://i.stack.imgur.com/DJK4h.png) but I can't see the option on Android on BlueStacks: [![enter image description here](https://i.stack.imgur.com/yn3ng.png)](https://i.stack.imgur.com/yn3ng.png)<issue_comment>username_1: The simple answer is you can't. BlueStacks 4.2 bases on Android Nougat - also known as Android 7.x and therefore there is no Dark Mode. Upvotes: 3 [selected_answer]<issue_comment>username_2: I know it's not the best solution, but if you are on Windows 7 or 10 (the script was only tested out on those, perhaps it works with other Windows versions newer than 7), by using this autohotkey script, written by teadrinker and other contributors, you will be able to draw multiple inverted color rectangles on the screen (as seen with the 1 and 2 regions in the 2 images below): ``` /* This script works on Windows 10 with 64 and 32 bit AHK and on Windows 7 with 64 bit AHK (but not 32 bit), if DWM is turned on (Aero theme). Use Shift + LButton hotkey to select a new area on the screen, where colors will be inverted Use Shift + RButton hotkey to delete the previously selected area Use F9 hotkey to hide/show selected areas and turn off/on Shift + LButton and Shift + RButton hotkeys */ /* ; try uncommenting this block, if the scrit doesn't work with some needed windows If !RegExMatch(DllCall("GetCommandLine", "Str"), " /restart(?!\S)") { If (A_PtrSize = 8) RunWait "C:\Program Files\AutoHotkey\AutoHotkeyU64_UIA.exe" /restart "%A_ScriptFullPath%" Else If A_IsUnicode RunWait "C:\Program Files\AutoHotkey\AutoHotkeyU32_UIA.exe" /restart "%A_ScriptFullPath%" Else RunWait "C:\Program Files\AutoHotkey\AutoHotkeyA32_UIA.exe" /restart "%A_ScriptFullPath%" } */ #NoEnv #UseHook SetWinDelay 0 SetBatchLines -1 toggle := true DllCall("Dwmapi\DwmIsCompositionEnabled", "UIntP", bool) if !bool { MsgBox, 64, DWM, DWM is turned off, this script will not work. Choose the Aero theme and launch the script again! ExitApp } F9:: toggle := !toggle Magnifier.ToggleShow() Return #If toggle +LButton:: SelectNewArea() { Magnifier.stop := true area := SelectedArea.Start(0x82FFC800) if !(area.w > 10 && area.h > 10) Return timer := ObjBindMethod(Magnifier, "CreateMagnifier", area) SetTimer, % timer, -10 } +RButton:: DeleteMagnifierUnderMouse() { DllCall("GetCursorPos", "Int64P", POINT) for k, gui in Magnifier.GUIs { if DllCall("PtInRect", "Ptr", gui.area.pRect, "Int64", POINT) { Gui, % gui.hGui . ":Destroy" break } } } class SelectedArea { Start(colorARGB) { area := {x: 0, y: 0, w: 0, h: 0} this.ReplaceSystemCursors("IDC_CROSS") this.Select(area, colorARGB) this.ReplaceSystemCursors("") Return area } Select(area, colorARGB) { this.hGui := this.CreateSelectionGui(colorARGB) Hook := new this.WindowsHook(WH_MOUSE_LL := 14, ObjBindMethod(this, "LowLevelMouseProc")) KeyWait, LButton Hook := "" WinGetPos, x, y, w, h Gui, Destroy for k in area area[k] := %k% } CreateSelectionGui(colorARGB) { Gui, New, +hwndhGui +Alwaysontop -Caption +LastFound +ToolWindow +E0x20 -DPIScale WinSet, Transparent, % colorARGB >> 24 Gui, Color, % Format("{:X}", colorARGB & 0xFFFFFF) Return hGui } ReplaceSystemCursors(IDC = "") { static IMAGE_CURSOR := 2, SPI_SETCURSORS := 0x57 , SysCursors := { IDC_APPSTARTING: 32650 , IDC_ARROW : 32512 , IDC_CROSS : 32515 , IDC_HAND : 32649 , IDC_HELP : 32651 , IDC_IBEAM : 32513 , IDC_NO : 32648 , IDC_SIZEALL : 32646 , IDC_SIZENESW : 32643 , IDC_SIZENWSE : 32642 , IDC_SIZEWE : 32644 , IDC_SIZENS : 32645 , IDC_UPARROW : 32516 , IDC_WAIT : 32514 } if !IDC DllCall("SystemParametersInfo", "UInt", SPI_SETCURSORS, "UInt", 0, "UInt", 0, "UInt", 0) else { hCursor := DllCall("LoadCursor", "Ptr", 0, "UInt", SysCursors[IDC], "Ptr") for k, v in SysCursors { hCopy := DllCall("CopyImage", "Ptr", hCursor, "UInt", IMAGE_CURSOR, "Int", 0, "Int", 0, "UInt", 0, "Ptr") DllCall("SetSystemCursor", "Ptr", hCopy, "UInt", v) } } } LowLevelMouseProc(nCode, wParam, lParam) { static WM_MOUSEMOVE := 0x200, WM_LBUTTONUP := 0x202 , coords := [], startMouseX, startMouseY, timer if !timer timer := ObjBindMethod(this, "LowLevelMouseProc", "timer", "", "") if (nCode = "timer") { while coords[1] { point := coords.RemoveAt(1) mouseX := point[1], mouseY := point[2] x := startMouseX < mouseX ? startMouseX : mouseX y := startMouseY < mouseY ? startMouseY : mouseY w := Abs(mouseX - startMouseX) h := Abs(mouseY - startMouseY) try Gui, % this.hGui . ":Show", x%x% y%y% w%w% h%h% NA } } else { if (wParam = WM_LBUTTONUP) startMouseX := startMouseY := "" if (wParam = WM_MOUSEMOVE) { mouseX := NumGet(lParam + 0, "Int") mouseY := NumGet(lParam + 4, "Int") if (startMouseX = "") { startMouseX := mouseX startMouseY := mouseY } coords.Push([mouseX, mouseY]) SetTimer, % timer, -10 } Return DllCall("CallNextHookEx", "Ptr", 0, "Int", nCode, "UInt", wParam, "Ptr", lParam) } } class WindowsHook { __New(type, callBack, isGlobal := true) { this.BoundCallback := new this.BoundFuncCallback(callBack, 3, "Fast") this.hHook := DllCall("SetWindowsHookEx", "Int", type, "Ptr", this.BoundCallback.addr , "Ptr", !isGlobal ? 0 : DllCall("GetModuleHandle", "UInt", 0, "Ptr") , "UInt", isGlobal ? 0 : DllCall("GetCurrentThreadId"), "Ptr") } __Delete() { DllCall("UnhookWindowsHookEx", "Ptr", this.hHook) this.BoundCallback := "" } class BoundFuncCallback { __New(BoundFuncObj, paramCount, options := "") { this.pInfo := Object( {BoundObj: BoundFuncObj, paramCount: paramCount} ) this.addr := RegisterCallback(this.__Class . "._Callback", options, paramCount, this.pInfo) } __Delete() { ObjRelease(this.pInfo) DllCall("GlobalFree", "Ptr", this.addr, "Ptr") } _Callback(Params*) { Info := Object(A_EventInfo), Args := [] Loop % Info.paramCount Args.Push( NumGet(Params + A_PtrSize*(A_Index - 2)) ) Return Info.BoundObj.Call(Args*) } } } } class Magnifier { static GUIs := [] CreateMagnifier(area) { static onExitSet := false this.show := true (!this.onDestroy && this.onDestroy := ObjBindMethod(this, "WM_DESTROY")) if !this.GUIs.Count() { this.MagInitialize() OnMessage(0x0002, this.onDestroy) } (!onExitSet && OnExit( ObjBindMethod(this, "Clear"), onExitSet := true )) Gui := new this.MagGui(area) this.GUIs[Gui.hGui] := Gui this.stop := false this.MainLoop() } MagInitialize() { if !this.hLib := DllCall("LoadLibrary", "str", "Magnification.dll") { MsgBox, 16, Error, Failed to load Magnification.dll Return } Return DllCall("Magnification\MagInitialize") } Clear() { if !this.hLib Return DllCall("Magnification\MagUninitialize") DllCall("FreeLibrary", "Ptr", this.hLib) this.hLib := "" OnMessage(0x0002, this.onDestroy, 0) } MainLoop() { while !this.stop { for k, gui in this.GUIs this.Update(gui) } } Update(gui) { area := gui.area params := A_PtrSize = 8 ? ["Ptr", area.pRect] : ["Int", area.x, "Int", area.y, "Int", area.r, "Int", area.b] DllCall("Magnification\MagSetWindowSource", "Ptr", gui.hMag, params*) if !DllCall("IsWindowVisible", "Ptr", gui.hGui) try Gui, % gui.hGui . ":Show", % "NA x" . area.x . " y" . area.y . " w" . area.w . " h" . area.h } ToggleShow(mode := "toggle") { static areas := [] Switch mode { case "toggle": this.show := !this.show if (this.show && areas.Count()) { timer := ObjBindMethod(this, "ToggleShow", "timer") SetTimer, % timer, 100 } if !this.show { this.stop := true Sleep 100 for k, gui in this.GUIs areas.Push(gui.area) this.GUIs := [] this.Clear() } case "timer": timer := ObjBindMethod(this, "CreateMagnifier", areas.Pop()) SetTimer, % timer, -10 if !areas.Count() SetTimer,, Delete } } WM_DESTROY() { if !this.GUIs.HasKey(A_Gui) Return this.GUIs.Delete(A_Gui) if !this.GUIs.Count() { this.stop := true this.Clear() } } class MagGui { __New(area) { this.area := area area.r := area.x + area.w area.b := area.y + area.h this.area.SetCapacity("RECT", 16) this.area.pRect := this.area.GetAddress("RECT") for k, v in ["x", "y", "r", "b"] NumPut(area[v], this.area.pRect + 4*(k - 1), "UInt") this.CreateGui() } __Delete() { try Gui, % this.hGui . ":Destroy" } CreateGui() { static MS_INVERTCOLORS := 0x0004 , exStyles := (WS_EX_TRANSPARENT := 0x00000020) | (WS_EX_COMPOSITED := 0x02000000) | (WS_EX_LAYERED := 0x00080000) area := this.area Gui, New, +hwndhGui -Caption -DPIScale +AlwaysOnTop +Owner +E%exStyles% Gui, Margin, 0, 0 Gui, Add, Custom, % "hwndhMag ClassMagnifier +" . MS_INVERTCOLORS . " w" . area.w . " h" . area.h this.hGui := hGui, this.hMag := hMag } } } ``` ![](https://i.imgur.com/CRwmGfN.png) ![](https://i.imgur.com/wmtMcqV.png) Here's a short video of it, but in this instance it was used only one rectangle: <https://streamable.com/m6ni9j> Please read the start of the script to see how to use it. You can further modify the script and make itself turn off / on when certain things show up on the bluestacks android screen, but you'll have to do your own research on how to do that. [Here](https://www.autohotkey.com/boards/viewtopic.php?f=76&t=100121) is the thread where the script was taken from. Upvotes: 0
2020/07/04
3,516
11,734
<issue_start>username_0: I have multiple Google accounts on my Android 10 (Samsung Galaxy M10s). Until today, I was using YouTube without signing in. Today I signed into YouTube with one Google account. Now I want to sign out from YouTube app but I don't find any such option. I searched on internet and found [Google Support Page](https://support.google.com/youtube/answer/3802431?co=GENIE.Platform%3DAndroid&hl=en-GB) which suggests to remove account from device in order to sign-out from YouYube app. What I did: Opened YouTube, go to manage accounts, removed the account from device, through which I have signed in YouTube; Then cleared the YouTube application data also. But what I found is YouTube just auto signed in with my another Google account. How do I sign out from YouTube?<issue_comment>username_1: The simple answer is you can't. BlueStacks 4.2 bases on Android Nougat - also known as Android 7.x and therefore there is no Dark Mode. Upvotes: 3 [selected_answer]<issue_comment>username_2: I know it's not the best solution, but if you are on Windows 7 or 10 (the script was only tested out on those, perhaps it works with other Windows versions newer than 7), by using this autohotkey script, written by teadrinker and other contributors, you will be able to draw multiple inverted color rectangles on the screen (as seen with the 1 and 2 regions in the 2 images below): ``` /* This script works on Windows 10 with 64 and 32 bit AHK and on Windows 7 with 64 bit AHK (but not 32 bit), if DWM is turned on (Aero theme). Use Shift + LButton hotkey to select a new area on the screen, where colors will be inverted Use Shift + RButton hotkey to delete the previously selected area Use F9 hotkey to hide/show selected areas and turn off/on Shift + LButton and Shift + RButton hotkeys */ /* ; try uncommenting this block, if the scrit doesn't work with some needed windows If !RegExMatch(DllCall("GetCommandLine", "Str"), " /restart(?!\S)") { If (A_PtrSize = 8) RunWait "C:\Program Files\AutoHotkey\AutoHotkeyU64_UIA.exe" /restart "%A_ScriptFullPath%" Else If A_IsUnicode RunWait "C:\Program Files\AutoHotkey\AutoHotkeyU32_UIA.exe" /restart "%A_ScriptFullPath%" Else RunWait "C:\Program Files\AutoHotkey\AutoHotkeyA32_UIA.exe" /restart "%A_ScriptFullPath%" } */ #NoEnv #UseHook SetWinDelay 0 SetBatchLines -1 toggle := true DllCall("Dwmapi\DwmIsCompositionEnabled", "UIntP", bool) if !bool { MsgBox, 64, DWM, DWM is turned off, this script will not work. Choose the Aero theme and launch the script again! ExitApp } F9:: toggle := !toggle Magnifier.ToggleShow() Return #If toggle +LButton:: SelectNewArea() { Magnifier.stop := true area := SelectedArea.Start(0x82FFC800) if !(area.w > 10 && area.h > 10) Return timer := ObjBindMethod(Magnifier, "CreateMagnifier", area) SetTimer, % timer, -10 } +RButton:: DeleteMagnifierUnderMouse() { DllCall("GetCursorPos", "Int64P", POINT) for k, gui in Magnifier.GUIs { if DllCall("PtInRect", "Ptr", gui.area.pRect, "Int64", POINT) { Gui, % gui.hGui . ":Destroy" break } } } class SelectedArea { Start(colorARGB) { area := {x: 0, y: 0, w: 0, h: 0} this.ReplaceSystemCursors("IDC_CROSS") this.Select(area, colorARGB) this.ReplaceSystemCursors("") Return area } Select(area, colorARGB) { this.hGui := this.CreateSelectionGui(colorARGB) Hook := new this.WindowsHook(WH_MOUSE_LL := 14, ObjBindMethod(this, "LowLevelMouseProc")) KeyWait, LButton Hook := "" WinGetPos, x, y, w, h Gui, Destroy for k in area area[k] := %k% } CreateSelectionGui(colorARGB) { Gui, New, +hwndhGui +Alwaysontop -Caption +LastFound +ToolWindow +E0x20 -DPIScale WinSet, Transparent, % colorARGB >> 24 Gui, Color, % Format("{:X}", colorARGB & 0xFFFFFF) Return hGui } ReplaceSystemCursors(IDC = "") { static IMAGE_CURSOR := 2, SPI_SETCURSORS := 0x57 , SysCursors := { IDC_APPSTARTING: 32650 , IDC_ARROW : 32512 , IDC_CROSS : 32515 , IDC_HAND : 32649 , IDC_HELP : 32651 , IDC_IBEAM : 32513 , IDC_NO : 32648 , IDC_SIZEALL : 32646 , IDC_SIZENESW : 32643 , IDC_SIZENWSE : 32642 , IDC_SIZEWE : 32644 , IDC_SIZENS : 32645 , IDC_UPARROW : 32516 , IDC_WAIT : 32514 } if !IDC DllCall("SystemParametersInfo", "UInt", SPI_SETCURSORS, "UInt", 0, "UInt", 0, "UInt", 0) else { hCursor := DllCall("LoadCursor", "Ptr", 0, "UInt", SysCursors[IDC], "Ptr") for k, v in SysCursors { hCopy := DllCall("CopyImage", "Ptr", hCursor, "UInt", IMAGE_CURSOR, "Int", 0, "Int", 0, "UInt", 0, "Ptr") DllCall("SetSystemCursor", "Ptr", hCopy, "UInt", v) } } } LowLevelMouseProc(nCode, wParam, lParam) { static WM_MOUSEMOVE := 0x200, WM_LBUTTONUP := 0x202 , coords := [], startMouseX, startMouseY, timer if !timer timer := ObjBindMethod(this, "LowLevelMouseProc", "timer", "", "") if (nCode = "timer") { while coords[1] { point := coords.RemoveAt(1) mouseX := point[1], mouseY := point[2] x := startMouseX < mouseX ? startMouseX : mouseX y := startMouseY < mouseY ? startMouseY : mouseY w := Abs(mouseX - startMouseX) h := Abs(mouseY - startMouseY) try Gui, % this.hGui . ":Show", x%x% y%y% w%w% h%h% NA } } else { if (wParam = WM_LBUTTONUP) startMouseX := startMouseY := "" if (wParam = WM_MOUSEMOVE) { mouseX := NumGet(lParam + 0, "Int") mouseY := NumGet(lParam + 4, "Int") if (startMouseX = "") { startMouseX := mouseX startMouseY := mouseY } coords.Push([mouseX, mouseY]) SetTimer, % timer, -10 } Return DllCall("CallNextHookEx", "Ptr", 0, "Int", nCode, "UInt", wParam, "Ptr", lParam) } } class WindowsHook { __New(type, callBack, isGlobal := true) { this.BoundCallback := new this.BoundFuncCallback(callBack, 3, "Fast") this.hHook := DllCall("SetWindowsHookEx", "Int", type, "Ptr", this.BoundCallback.addr , "Ptr", !isGlobal ? 0 : DllCall("GetModuleHandle", "UInt", 0, "Ptr") , "UInt", isGlobal ? 0 : DllCall("GetCurrentThreadId"), "Ptr") } __Delete() { DllCall("UnhookWindowsHookEx", "Ptr", this.hHook) this.BoundCallback := "" } class BoundFuncCallback { __New(BoundFuncObj, paramCount, options := "") { this.pInfo := Object( {BoundObj: BoundFuncObj, paramCount: paramCount} ) this.addr := RegisterCallback(this.__Class . "._Callback", options, paramCount, this.pInfo) } __Delete() { ObjRelease(this.pInfo) DllCall("GlobalFree", "Ptr", this.addr, "Ptr") } _Callback(Params*) { Info := Object(A_EventInfo), Args := [] Loop % Info.paramCount Args.Push( NumGet(Params + A_PtrSize*(A_Index - 2)) ) Return Info.BoundObj.Call(Args*) } } } } class Magnifier { static GUIs := [] CreateMagnifier(area) { static onExitSet := false this.show := true (!this.onDestroy && this.onDestroy := ObjBindMethod(this, "WM_DESTROY")) if !this.GUIs.Count() { this.MagInitialize() OnMessage(0x0002, this.onDestroy) } (!onExitSet && OnExit( ObjBindMethod(this, "Clear"), onExitSet := true )) Gui := new this.MagGui(area) this.GUIs[Gui.hGui] := Gui this.stop := false this.MainLoop() } MagInitialize() { if !this.hLib := DllCall("LoadLibrary", "str", "Magnification.dll") { MsgBox, 16, Error, Failed to load Magnification.dll Return } Return DllCall("Magnification\MagInitialize") } Clear() { if !this.hLib Return DllCall("Magnification\MagUninitialize") DllCall("FreeLibrary", "Ptr", this.hLib) this.hLib := "" OnMessage(0x0002, this.onDestroy, 0) } MainLoop() { while !this.stop { for k, gui in this.GUIs this.Update(gui) } } Update(gui) { area := gui.area params := A_PtrSize = 8 ? ["Ptr", area.pRect] : ["Int", area.x, "Int", area.y, "Int", area.r, "Int", area.b] DllCall("Magnification\MagSetWindowSource", "Ptr", gui.hMag, params*) if !DllCall("IsWindowVisible", "Ptr", gui.hGui) try Gui, % gui.hGui . ":Show", % "NA x" . area.x . " y" . area.y . " w" . area.w . " h" . area.h } ToggleShow(mode := "toggle") { static areas := [] Switch mode { case "toggle": this.show := !this.show if (this.show && areas.Count()) { timer := ObjBindMethod(this, "ToggleShow", "timer") SetTimer, % timer, 100 } if !this.show { this.stop := true Sleep 100 for k, gui in this.GUIs areas.Push(gui.area) this.GUIs := [] this.Clear() } case "timer": timer := ObjBindMethod(this, "CreateMagnifier", areas.Pop()) SetTimer, % timer, -10 if !areas.Count() SetTimer,, Delete } } WM_DESTROY() { if !this.GUIs.HasKey(A_Gui) Return this.GUIs.Delete(A_Gui) if !this.GUIs.Count() { this.stop := true this.Clear() } } class MagGui { __New(area) { this.area := area area.r := area.x + area.w area.b := area.y + area.h this.area.SetCapacity("RECT", 16) this.area.pRect := this.area.GetAddress("RECT") for k, v in ["x", "y", "r", "b"] NumPut(area[v], this.area.pRect + 4*(k - 1), "UInt") this.CreateGui() } __Delete() { try Gui, % this.hGui . ":Destroy" } CreateGui() { static MS_INVERTCOLORS := 0x0004 , exStyles := (WS_EX_TRANSPARENT := 0x00000020) | (WS_EX_COMPOSITED := 0x02000000) | (WS_EX_LAYERED := 0x00080000) area := this.area Gui, New, +hwndhGui -Caption -DPIScale +AlwaysOnTop +Owner +E%exStyles% Gui, Margin, 0, 0 Gui, Add, Custom, % "hwndhMag ClassMagnifier +" . MS_INVERTCOLORS . " w" . area.w . " h" . area.h this.hGui := hGui, this.hMag := hMag } } } ``` ![](https://i.imgur.com/CRwmGfN.png) ![](https://i.imgur.com/wmtMcqV.png) Here's a short video of it, but in this instance it was used only one rectangle: <https://streamable.com/m6ni9j> Please read the start of the script to see how to use it. You can further modify the script and make itself turn off / on when certain things show up on the bluestacks android screen, but you'll have to do your own research on how to do that. [Here](https://www.autohotkey.com/boards/viewtopic.php?f=76&t=100121) is the thread where the script was taken from. Upvotes: 0
2020/07/04
698
2,674
<issue_start>username_0: My **Gionee A1 plus** started acting strange a month ago. It would often restart whenever I received any *SMS notification* and then boot up just fine. I tried using an earphone and keeping the phone in silent mode, as reducing the notification sound levels didn't help. This fixed the problem for a few weeks until 2 days ago while using my camera, it suddenly decided to restart but got stuck in a **bootloop**(the boot logo kept popping up and disappearing again and again). I managed to turn it off by plugging it to a charger where it went to *charging mode*. After a bit of research, I entered the stock "**Android recovery mode**" and cleared the */cache partition* but that did not fix the issue. I panicked as I did not have a twrp or any other recovery tool installed. I didn't even have USB debugging enabled. However, after a bit more strolling I found that ***fastboot*** could detect my device(after *rebooting to bootloader*) and then ran the command `fastboot continue` and my phone booted up alright. But now my phone can't use the "Ultrafast charge mode" which makes the charging process 5 times longer and the battery drains really quick. What's more the phone restarting by itself has become often(I can't even use my camera) and its always the **bootloop**. I have to use ***fastboot*** to boot in again. I created a backup of my data and then did a **factory reset** on the device to no use. Do I need to flash a **stock ROM** to my device or am I missing something? I am inexperienced in this domain so please guide me on how to fix this issue. I have attached snaps of my *Recovery and Factory modes*. [![Recovery mode](https://i.stack.imgur.com/smFnI.jpg)](https://i.stack.imgur.com/smFnI.jpg) [![Hardware details](https://i.stack.imgur.com/FqdA2.jpg)](https://i.stack.imgur.com/FqdA2.jpg) [![fastboot commands](https://i.stack.imgur.com/BGKM6.jpg)](https://i.stack.imgur.com/BGKM6.jpg) **TLDR;** phone ends up in bootloop after suddenly restarting while in use, battery drains faster, no ultrafast charging, clearing cache and factory reset doesn't help.<issue_comment>username_1: Did it suddenly started to do weird things? Can you specify the cause. As per the mentioned details, you need to flash stock firmware from SPFlash Tool(as you have a MTK device). You can google for your firmware. And flash it while your phone is in download mode. I too have faced many bootlops while flashing roms. So I flash stock firmware and all good. Upvotes: 1 <issue_comment>username_2: It actually turned out to be a battery issue. After replacement, the phone works as good as new(or so it seems). Upvotes: 1 [selected_answer]
2020/07/05
506
1,880
<issue_start>username_0: I have an old Android 2.2.1. It doesn't have Play Store, nor any application as Messenger, WhatsApp, or Instagram. I can't download Google Chrome either. I'd like to download WhatsApp, but it isn't possible because when trying to install it, Google says: "there are no identifiant", but I'm connected. How to download and install this app from another place (or make the identifiant work from Google)?<issue_comment>username_1: You can find old versions of WhatsApp [here](https://www.apkmirror.com/uploads/?q=whatsapp). Just navigate to the last (around the last) page to find versions compatible with Android 2.2.1. **BUT** because those versions are too old, I am sure after you will be asked to update to a newer version. You should know that WhatsApp has stopped working on some versions of Android as stated [here](https://www.androidauthority.com/whatsapp-support-1065583/): > > Come Saturday, February 1, 2020 (tomorrow), WhatsApp will no longer work on devices running Android 2.3.7 Gingerbread and older or iPhones running iOS 8 and older. > > > > > Specifically, as of February 1, 2020, WhatsApp will no longer support devices running Android 2.3.7 Gingerbread and older. After February 1, users will no longer be able to create new accounts or reverify existing accounts on these older Android versions. > > > As stated above, even if you install the old version, you will not be able to create an account or re-verify it. Upvotes: 2 <issue_comment>username_2: Just get the older .apk file, then install it. While registering, you will get like "This version has gone absolute on Some date", just change your phone's date and time before the given date and try to register. I don't know whether that will work or not for registration, but it will surely work with already registered WhatsApp that has gone absolute. Upvotes: 1
2020/07/07
780
2,703
<issue_start>username_0: I am familiar with how iOS devices report hot spot use by treating it differently somehow. My understand is that Android is not crippled like this, and there is rightly no difference in traffic between hot spot data and data from the phone itself. So I was a bit shocked when I received a text from Verizon telling me I had used up almost all my paltry hot-spot "allowance" because this should not be possible that it discriminates traffic like that. How is this possible? I have used my hotspot a lot before and never received this message. I have read something about an "APN"s but there is only one, "VZWINTERNET" which can only be "reset to default" with no option to delete or create a new one.<issue_comment>username_1: See <http://forum.xda-developers.com/showthread.php?t=734138> for a discussion about how they might. Mechanisms other than APN change might include * Time to live * Request header * Data volume Upvotes: 0 <issue_comment>username_2: Your phone uses a different type of connection (DUN) to send tethered data but you can make the provider treat all traffic as if it is non-tethered: ``` adb shell settings put global tether_dun_required 0 ``` When enabling tethering on Android, the OS will first do a provisioning check with the carrier to determine if your plan allows tethering. You can remove this check: ``` adb shell su mount -o rw,remount /system_root cd /system_root/system/ echo net.tethering.noprovisioning=true >> /system_root/system/build.prop ``` However it will not be enough because carriers often spot tethering by looking at the TTL of your IP packages. > > Time to live (TTL) refers to the amount of time or “hops” that a packet is set to exist inside a network before being discarded by a router. It is decremented for each hop. A hop is any intermediate router the packet passes through. > > > When tethering, your phone acts as a router and your TTL is decreased by 1 before reaching your ISP, which is what betrays you. By default, Android and iOS have a TTL of 64 so you only need to set the TTL on your PC to 65. On GNU/Linux : ``` net.ipv4.ip_default_ttl=65 # persistent change echo 'net.ipv4.ip_default_ttl=65' | sudo tee /usr/lib64/sysctl.d/70-ttl.conf ``` On Windows: ``` netsh int ipv4 set glob defaultcurhoplimit=65 netsh int ipv6 set glob defaultcurhoplimit=65 ``` On MacOS: ``` sudo sysctl -w net.inet.ip.ttl=65 ``` For now it seems to be enough but keep in mind that your carrier has other ways to detect tethering (see [here](https://android.stackexchange.com/questions/47819/how-can-phone-companies-detect-tethering-incl-wifi-hotspot)) and will most likely use them in the future. Upvotes: 3
2020/07/09
442
1,936
<issue_start>username_0: I need to unlock my Google Pixel 2 XL without losing my data. I figured out the simple solution of doing a hard reset, but I can't lose all the important things on my phone because I need them for court and all of my clients of 20 years for work. I can't afford to buy any software, so I downloaded an app called Dr.Fone, but unfortunately it does not support Pixel at this time. I am not the most computer or tech-informed when it comes to these things, so I went to a local phone store and ask if they have software to do this and still no luck. I also tried to follow some YouTube tutorials and did not have luck there, either due to my lack of ability to obtain some of the resources or actions that they needed me to perform from the phone because I cannot get into the system. Is it possible to unlock Google Pixel 2 XL without losing data?<issue_comment>username_1: If you have saved the files of your clients or any other important files on the phone (internal) storage, then copy those files to an SD card or computer. Then, reset your device, in which it will delete every app and file on the phone storage. After setting up your device from the start, move all the important files on phone storage. Upvotes: 1 <issue_comment>username_2: Android devices always delete all user data when unlocking the bootloader. This is a requirement by Google which has to be implemented by each and every device. In the past there were a few devices that did not perform a full wipe or had other bugs, but as far as I remember Google Nexus/Pixel devices were never affected by such problems. Therefore I would not trust any software that claims to unlock the bootloader without data loss. The way to go is to make a backup of all data, unlock the bootloader and then restore the backup. If an app does not allow to make a backup, sometimes the app itself has an integrated backup function to do so. Upvotes: 2
2020/07/10
398
1,753
<issue_start>username_0: I have an Android smartphone. I wish to mute sound on Instagram stories, which can be achieved easily by using the volume buttons. However, in that case I need to unmute sound when I want to watch a video on YouTube or listen to a voice message on WhatsApp etc. and it's very annoying. I want my sound to remain unmuted, but to automatically mute when I open Instagram stories without me having to do this manually. How can this be achieved? Edit: I'm obviously thinking about other people's stories, I wish to mute sound while watching other people's stories. It's fairly easy to mute sound when I am uploading my own story and this question is not about that.<issue_comment>username_1: If you have saved the files of your clients or any other important files on the phone (internal) storage, then copy those files to an SD card or computer. Then, reset your device, in which it will delete every app and file on the phone storage. After setting up your device from the start, move all the important files on phone storage. Upvotes: 1 <issue_comment>username_2: Android devices always delete all user data when unlocking the bootloader. This is a requirement by Google which has to be implemented by each and every device. In the past there were a few devices that did not perform a full wipe or had other bugs, but as far as I remember Google Nexus/Pixel devices were never affected by such problems. Therefore I would not trust any software that claims to unlock the bootloader without data loss. The way to go is to make a backup of all data, unlock the bootloader and then restore the backup. If an app does not allow to make a backup, sometimes the app itself has an integrated backup function to do so. Upvotes: 2
2020/07/10
289
1,097
<issue_start>username_0: My device is showing 1.02 GB of free space in storage settings. But while installing app from play store, it says only 492 MB of space is available.. what should I do, please help..<issue_comment>username_1: Play Store suggests having *500mb of free space* for your phone to work properly. So when have low on storage you can't install large apps even through apks. Upvotes: 1 <issue_comment>username_2: When you download an app from the Play store, you are getting the .apk file, which is an archive file (like a zip file). If you have a 500mb app, it will require 500mb to download the .apk and then a further 500mb+ to extract and install. There will be a temporary period, during installation where you need a total of 500+500mb, 1,000mb to get the app installed. After installation is complete, the .apk archive is deleted, and you will again have 500mb free. Try moving some data off your phone, onto your workstation, so you have plenty of space, then install the app. Once it is installed, and the apk deleted, move the data back from your workstation. Upvotes: 0
2020/07/11
336
1,099
<issue_start>username_0: The text on screen is: "Þöŵéŕ öƒƒ one two Ŕéšţåŕţ one two Ļöçķðöŵñ one two" [![enter image description here](https://i.stack.imgur.com/13Ur5.jpg)](https://i.stack.imgur.com/13Ur5.jpg)<issue_comment>username_1: Play Store suggests having *500mb of free space* for your phone to work properly. So when have low on storage you can't install large apps even through apks. Upvotes: 1 <issue_comment>username_2: When you download an app from the Play store, you are getting the .apk file, which is an archive file (like a zip file). If you have a 500mb app, it will require 500mb to download the .apk and then a further 500mb+ to extract and install. There will be a temporary period, during installation where you need a total of 500+500mb, 1,000mb to get the app installed. After installation is complete, the .apk archive is deleted, and you will again have 500mb free. Try moving some data off your phone, onto your workstation, so you have plenty of space, then install the app. Once it is installed, and the apk deleted, move the data back from your workstation. Upvotes: 0
2020/06/30
946
4,098
<issue_start>username_0: This is a follow up question related to [this answer](https://security.stackexchange.com/a/234017/236881). In short: I am importing the self signed Root CA certificate into android system via `Settings -> Security -> Trusted Credentials -> install from SD` path slightly differs on different android versions. Then point any browser (tested with Firefox, chrome and opera) to the secure (java script based) resource and I receive a socket error. The resource is an index.html with js web-socket logic to securely connect to a mosquitto broker. If I on the other hand point the browser to `"https://myserver:"` I receive a privacy warning, can continue unsafe and this somehow sets a cookie or other storage thing thus I am able to do future requests over the js based secure resource. It feels, that browsers on android do not make use of the system's user imported CA certificates although they are listed in the trusted certificates "user" tap and in the trusted credentials area. Tested with android 7.1.2 and 10. All desktop browsers work fine, tested on ubuntu / mint & raspi. How to accomplish browser based TLS requests on android without accepting unsafe privacy risks? **Additional test:** I've tested the same thing on a ios 13.3 IPhone 7, importing the CA certificate, putting the secure resource on a proper web space since local file access isn't possible on ios. Worked out of the box. So it seems to be a real android issue. It might make sense to put this question to an android space. Could someone make a suggestion please? **Further research:** [Here](http://wiki.cacert.org/FAQ/ImportRootCert#Android_Phones_.26_Tablets) is a detailed explanation, on how to get a custom certificate into the system's certificate section. But to be honest, that's not a usual way to go. Root access is not for ordinary mortals plus it might not work for more recent android versions. User certificates are for android applications written by your own. You can have a view lines of property settings in app.config to work with your self signed user certificates. Chrome browser and others on the other hand are kind of system applications or applications from vendors not being made to be aware of specific user certificates. And that's the only valid reason, why it will not know of certificates in the user section. It only knows of system certificates. So the only way remaining, seems to be making your own application or somehow recompile a whole browser application configuring it to look for user certificates. This is quite cumbersome and unsatisfying, since the web would give you all you need on any device, except android of course, which forces a detour.<issue_comment>username_1: Firefox on Android ================== You don't have to add your custom root CA certificate to Android to let Firefox trust it. Similar to the Desktop Firefox versions Firefox maintain an own root CA certificate store you can add certificates to. The only difference to the desktop version is that there is not management UI for adding certificates. Instead you simply have to download a root CA certificate (DER format not PEM format) using Firefox Mobile then a dialog appears where you can mark the certificate as trusted for identifying web sites and/or mark the certificate as trusted for identifying e-mail users (pretty useless on Firefox on Android but it can be selected). [![enter image description here](https://i.stack.imgur.com/8ioSZm.png)](https://i.stack.imgur.com/8ioSZm.png) Upvotes: 0 <issue_comment>username_2: This worked for me on Firefox 97.3.0: 1. Install the self-signed CA certificate into Android (for me, this was under Settings -> Biometrics and security -> Other security settings -> Install from device storage -> CA certificate). My certificate had to be DER format. 2. Open up Firefox Settings -> About Firefox 3. Click on the logo 5 times (until "Debug menu enabled" popup appears) 4. Go back to Settings - there should be a "Secret Settings" option now. Choose that. 5. Enable "Use third party CA certificates" Upvotes: 2
2020/07/13
476
1,971
<issue_start>username_0: Does anyone know what the left-most status icon is here? The one that looks like an upside down signal status. It only shows up randomly from time to time, and I've tried toggling on/off different settings (such as night light) to try to make it go away, but nothing has been successful. Rebooting my phone gets rid of it, until the next time it randomly shows up in a few days or weeks. Moto G Power running Android 10, with all current updates. [![enter image description here](https://i.stack.imgur.com/QKvgs.png)](https://i.stack.imgur.com/QKvgs.png)<issue_comment>username_1: Firefox on Android ================== You don't have to add your custom root CA certificate to Android to let Firefox trust it. Similar to the Desktop Firefox versions Firefox maintain an own root CA certificate store you can add certificates to. The only difference to the desktop version is that there is not management UI for adding certificates. Instead you simply have to download a root CA certificate (DER format not PEM format) using Firefox Mobile then a dialog appears where you can mark the certificate as trusted for identifying web sites and/or mark the certificate as trusted for identifying e-mail users (pretty useless on Firefox on Android but it can be selected). [![enter image description here](https://i.stack.imgur.com/8ioSZm.png)](https://i.stack.imgur.com/8ioSZm.png) Upvotes: 0 <issue_comment>username_2: This worked for me on Firefox 97.3.0: 1. Install the self-signed CA certificate into Android (for me, this was under Settings -> Biometrics and security -> Other security settings -> Install from device storage -> CA certificate). My certificate had to be DER format. 2. Open up Firefox Settings -> About Firefox 3. Click on the logo 5 times (until "Debug menu enabled" popup appears) 4. Go back to Settings - there should be a "Secret Settings" option now. Choose that. 5. Enable "Use third party CA certificates" Upvotes: 2
2020/07/15
586
1,956
<issue_start>username_0: I want to know what is the size of the navigation bar in pixel using ADB. Using `adb shell wm size` gives the complete screen size instead of only the navigation bar. Is there any way to get it?<issue_comment>username_1: Enter this one-liner: ``` adb shell dumpsys window windows| sed -n '/Window .*NavigationBar.*:/,/Window .*:/p'| grep 'Requested' ``` Alternatively, if you don't have Linux/Mac, try this: ``` adb shell dumpsys window windows | toybox sed -n '/Window .*NavigationBar.*:/,/Window .*:/p'| grep 'Requested' ``` What's happening in that one liner is this: 1. we use *dumpsys* to output all the details of all the windows displayed on the screen (irrespective of the screen on or off) 2. we filter the content using *sed* to show only those lines which have information about Navigation Bar 3. we *grep* the information we need. You can alternatively try grepping for `grep mSystemDecorRect`. I don't know which one is more reliable in all circumstances. Expected output example: ``` Requested **w=1080 h=126** mLayoutSeq=10835 # if 'mSystemDecorRect' was grepped, then: mSystemDecorRect=[0,0][1080,126] mLastClipRect=[0,0][1080,126] ``` **w**: width, **h**: height, of your navigation bar respectively. **Note:** for some reason if the one-liner fails to work or gives unexpected output, filter it like this. Get the dump using that first dumpsys command, then find the entry for your NavigationBar, and within that, look for the size. Tested on OnePlus 6 running Android 10. Credits: Fiximan of Unix & Linux for [sed](https://unix.stackexchange.com/a/264977) command. Upvotes: 3 [selected_answer]<issue_comment>username_2: On OnePlus 3 running Android 9, replace `NavigationBar` with `StatusBar` instead. ``` adb shell dumpsys window windows| sed -n '/Window .*StatusBar.*:/,/Window .*:/p'| grep 'Requested' ``` It will return this ``` Requested w=1080 h=63 mLayoutSeq=3640 ``` Upvotes: 0
2020/07/21
885
2,968
<issue_start>username_0: I have a phone (Samsung Galaxy A320F (AKA "A3 (2017)") with the stock ROM that contains a 64-bit armv8l kernel (Linux 3.18.14) and 32-bit userspace with 32-bit Android 8.0.0 platform. Some Android applications provide only 64-bit NDK-based libraries, which makes them incompatible with this setup. I've tried transferring a few ELF64 binaries to the phone, like `gdb`, `strace`, `gphoto2` along with `libc.so.6`, `ld-linux-aarch64.so.1` and other parts of glibc. They run fine, so I'm confident in the kernel's ability to handle such binaries. Now I'd like to try and make the Android platform 64-bit capable. In particular, I'm interested in making the 64-bit-only APK able to communicate with the display, touchscreen and a USB device attached to the phone. I have root access (via Magisk), so in principle, I can hack the system however I like. My question is now: what components actually make the Android platform 32- or 64-bit? Is it just the VM, or maybe some additional libraries? Or does there have to also be a 64-bit part of the HAL? How many of these components could be taken from e.g. Lineage OS without actually installing the complete Lineage OS? Has anyone even tried to do a similar mod?<issue_comment>username_1: Enter this one-liner: ``` adb shell dumpsys window windows| sed -n '/Window .*NavigationBar.*:/,/Window .*:/p'| grep 'Requested' ``` Alternatively, if you don't have Linux/Mac, try this: ``` adb shell dumpsys window windows | toybox sed -n '/Window .*NavigationBar.*:/,/Window .*:/p'| grep 'Requested' ``` What's happening in that one liner is this: 1. we use *dumpsys* to output all the details of all the windows displayed on the screen (irrespective of the screen on or off) 2. we filter the content using *sed* to show only those lines which have information about Navigation Bar 3. we *grep* the information we need. You can alternatively try grepping for `grep mSystemDecorRect`. I don't know which one is more reliable in all circumstances. Expected output example: ``` Requested **w=1080 h=126** mLayoutSeq=10835 # if 'mSystemDecorRect' was grepped, then: mSystemDecorRect=[0,0][1080,126] mLastClipRect=[0,0][1080,126] ``` **w**: width, **h**: height, of your navigation bar respectively. **Note:** for some reason if the one-liner fails to work or gives unexpected output, filter it like this. Get the dump using that first dumpsys command, then find the entry for your NavigationBar, and within that, look for the size. Tested on OnePlus 6 running Android 10. Credits: Fiximan of Unix & Linux for [sed](https://unix.stackexchange.com/a/264977) command. Upvotes: 3 [selected_answer]<issue_comment>username_2: On OnePlus 3 running Android 9, replace `NavigationBar` with `StatusBar` instead. ``` adb shell dumpsys window windows| sed -n '/Window .*StatusBar.*:/,/Window .*:/p'| grep 'Requested' ``` It will return this ``` Requested w=1080 h=63 mLayoutSeq=3640 ``` Upvotes: 0
2020/07/22
436
1,816
<issue_start>username_0: I installed LineageOS on my OnePlus One (bacon) a few months ago. With Covid-19 lockdown it was weeks before I noticed that the SIM card isn't being detected. I thought it might be damaged, but EE sent me a replacement, and inserting it changed nothing. Could it be an absent LineageOS driver? Is that likely? If so, where would I get it from? Perhaps there is a problem with the SIM connectors? As there is the "NO SIM card" message, I assume that no other diagnostic software can communicate with the SIM when it is in such a state.<issue_comment>username_1: I think I found a solution to this. In my case, the SIM stops working every time I place the SIM into another device and back into my Oneplus One (Lineage OS). It works perfectly until I remove the SIM card, put it into another device, and then back. I have tried factory data reset, different custom OS, stock OS, Ubuntu Touch, nothing worked. After having tried hundreds of different variations, here's the recipe: 1. Flash Lineage OS recovery 2. Install Lineage OS (all with SIM inserted) 3. After install, boot into the system. SIM won't be detected at this point 4. Go back to the recovery mode (Vol. Down + Power for several minutes) 5. Format cache data ONLY 6. Boot back into the OS. Sometimes the SIM will start working even at this point but if not, just do a factory data reset now (initiated from the OS settings) and the SIM will be working perfectly I don't know if anyone else will find this useful or maybe it's just pure luck and it is indeed totally random whether it works or not, but I have done this a few times after having succeeded to test stability, and so far this method works every time. Upvotes: 3 [selected_answer]<issue_comment>username_2: I got it fixed by creating the APN manually Upvotes: 1
2020/07/24
498
1,790
<issue_start>username_0: I'm on Android Lollipop. Due to ghost touch, the native PDF viewer is selected default. [![](https://i.stack.imgur.com/3Enijm.png)](https://i.stack.imgur.com/3Enij.png) [![](https://i.stack.imgur.com/c6tS7m.png)](https://i.stack.imgur.com/c6tS7.png) I also checked Reset Default Apps in the Settings menu, but there's only e-mail and messaging. [![](https://i.stack.imgur.com/BEAwNm.png)](https://i.stack.imgur.com/BEAwN.png) [![](https://i.stack.imgur.com/zndSKm.png)](https://i.stack.imgur.com/zndSK.png)<issue_comment>username_1: I think I found a solution to this. In my case, the SIM stops working every time I place the SIM into another device and back into my Oneplus One (Lineage OS). It works perfectly until I remove the SIM card, put it into another device, and then back. I have tried factory data reset, different custom OS, stock OS, Ubuntu Touch, nothing worked. After having tried hundreds of different variations, here's the recipe: 1. Flash Lineage OS recovery 2. Install Lineage OS (all with SIM inserted) 3. After install, boot into the system. SIM won't be detected at this point 4. Go back to the recovery mode (Vol. Down + Power for several minutes) 5. Format cache data ONLY 6. Boot back into the OS. Sometimes the SIM will start working even at this point but if not, just do a factory data reset now (initiated from the OS settings) and the SIM will be working perfectly I don't know if anyone else will find this useful or maybe it's just pure luck and it is indeed totally random whether it works or not, but I have done this a few times after having succeeded to test stability, and so far this method works every time. Upvotes: 3 [selected_answer]<issue_comment>username_2: I got it fixed by creating the APN manually Upvotes: 1
2020/07/29
365
1,547
<issue_start>username_0: In Android, it is simple to view the modified date and for any file or folder. Just about any decent file manager (such as Solid Explorer) includes this functionality. But how do you view the *creation* date and time (aka timestamp) for a file or folder in Android?<issue_comment>username_1: I think I found a solution to this. In my case, the SIM stops working every time I place the SIM into another device and back into my Oneplus One (Lineage OS). It works perfectly until I remove the SIM card, put it into another device, and then back. I have tried factory data reset, different custom OS, stock OS, Ubuntu Touch, nothing worked. After having tried hundreds of different variations, here's the recipe: 1. Flash Lineage OS recovery 2. Install Lineage OS (all with SIM inserted) 3. After install, boot into the system. SIM won't be detected at this point 4. Go back to the recovery mode (Vol. Down + Power for several minutes) 5. Format cache data ONLY 6. Boot back into the OS. Sometimes the SIM will start working even at this point but if not, just do a factory data reset now (initiated from the OS settings) and the SIM will be working perfectly I don't know if anyone else will find this useful or maybe it's just pure luck and it is indeed totally random whether it works or not, but I have done this a few times after having succeeded to test stability, and so far this method works every time. Upvotes: 3 [selected_answer]<issue_comment>username_2: I got it fixed by creating the APN manually Upvotes: 1
2020/08/09
675
2,367
<issue_start>username_0: I would like to install my termux environment (usr folder) to an SD card. is this possible? I have seen this post [Can I install packages to external SD card on Termux in Android?](https://android.stackexchange.com/questions/199259/can-i-install-packages-to-external-sd-card-on-termux-in-android). From what I understand the problems mentioned there is only if you want to install individual packaged to the SD card. I'm looking to install the whole usr folder.<issue_comment>username_1: If your device is rooted, you can do it, but it is a little tricky. (You may need to use another terminal app or work in failsafe of termux). 1. Create an `ext4` partition on the SD card. (This can be a 2nd partition). 2. Make a new folder where you want to mount the new partition on. (For example in your home folder add a folder called `ext4-fs`) 3. In termux mount the partition (I'm assuming a 2nd partition). You need to know the path to the device. I have found it to be `/dev/block/mmcblk1p2` but this may be different on your device. `mount /dev/block/mmcblk1p2 /data/data/com.termux/files/home/ext4-fs`. 4. Copy the `usr` folder from termux `/data/data/com.termux/files/usr` to the new mounted partition. **From here on you will need to use commands that are in `/system/bin/`. (And may need to use failsafe mode or an other terminal app).** 5. Rename the `usr` folder to something like `usr-old`. `/system/bin/mv /data/data/com.termux/files/usr /data/data/com.termux/files/usr-old`. 6. Make symlink to the `usr` folder that's now on the new partition. `ln -s /data/data/com.termux/files/home/ext4-fs/usr /data/data/com.termux/files/usr`. This will now be your termux usr folder which is linked to the folder on the sd card. (You can force a symlink even if `usr` already exists with `ln -sfn`) Now you can delete the old `usr` folder (That we renamed `usr-old`). Now termux uses the symlinked folder that is on your SD card for all that needs the `usr` folder which is the whole termux environment. **Every time you take out the SD card and reinsert it you will need to remount the partition.** Upvotes: 4 [selected_answer]<issue_comment>username_2: The problem was SELinux. I resolved by installing "The SELinux Switch" and then putting in the "permissive" mode. Now I can mount with root and access in Termux WITHOUT root! Upvotes: 1
2020/08/10
1,830
6,288
<issue_start>username_0: First main question: is it possible to switch(not only on or off) the state of the mobile data and wifi using adb? (for example for wifi: if you don't know the state of the wifi now. you send several commands and then you are sure that the wifi state changed.) if this is not possible then the question is how to find out the state of wifi and mobile data using adb? second: is it possible to switch the state of the wifi-hotspot and the usb-modem via abd? **what can I do:** I'm use ``` adb shell svc data enable/disable adb shell svc wifi enable/disable ``` To turn on/of wifi and mobile data. But I don't know a way to switch the state with one command like "adb shell svc data toggle". Maybe there is a command that returns the state of the Wi-Fi or mobile data? Like `adb shell svc data state`. and it returns "on" or "off". is there a way to switch it when the phone is locked? I also use such commands to switch the wifi-hotspot and usb-modem (unlike first two commands above the screen may be off, but the phone must be unlocked): ``` adb shell am start -n com.android.settings/.TetherSettings adb shell input keyevent 20 adb shell input keyevent 20 adb shell input keyevent 20 adb shell input keyevent 66 ``` first line opens the settings page. keyevent 20 - simulates key press `down`, keyevent 66 - `enter`. it's for usb-modem. for wifi-hotspot i use same first line,key20 key66 key20 key66. i have samsung a50(android 10) and ubuntu 20. the modem state switching bash script is located at /usr/local/bin so I can run it from the console just by writing the filename.<issue_comment>username_1: By knowing the *state* I suppose you meant whether at X point of time the Wi-Fi or mobile data is enabled or disabled. This information can be obtained from the dump of *connectivity* service. Run this command to get the status of mobile data and Wi-Fi: ``` adb shell dumpsys connectivity | sed -e '/[0-9] NetworkAgentInfo.*CONNECTED/p' -e '/Tether state:/,/Hardware offload:/p' -n ``` Example output: ``` 1 NetworkAgentInfo [**WIFI** () - 178] CONNECTED/CONNECTED 5 NetworkAgentInfo [**MOBILE** (LTE) - 191] CONNECTED/CONNECTED Tether state: **rndis**0 - **TetheredState** - lastError = 0 **wlan**0 - AvailableState - lastError = 0 Upstream wanted: true Current upstream interface(s): [rmnet_data1] Hardware offload: ``` Here: * **WIFI** means device is connected to a Wi-FI * **MOBILE** means mobile data is enabled * **rndis** is interface name of USB tethering * **wlan** is interface name of Wi-Fi hotspot * **TetheredState** means tethering for the respective interface is enabled In your output: * if **WIFI** term with *CONNECTED* status is missing, than device is not connected to a Wi-FI * if **MOBILE** term with *CONNECTED* status is missing, than mobile device is disabled * if **TetheredState** is shown for rndis or wlan or both, than respectively, it means USB tethering and Wi-Fi hotspot is/are enabled. --- To **check whether Wi-Fi radio is enabled or disabled**, run this command: ``` adb shell dumpsys wifi | sed -n 1p ``` Example output if Wi-Fi is enabled: ``` Wi-Fi is **enabled** ``` `enabled` would shows as `disabled` if Wi-Fi radio is disabled. --- Similarly, to **check if cellular radio has telecom network access**, or if it is disabled, run this command: ``` adb shell dumpsys telephony.registry | grep mServiceState | grep -o "mDataRegState=[()0-9A-Z_]*" ``` Example output: ``` mDataRegState=0(**IN\_SERVICE**) mDataRegState=0(**IN\_SERVICE**) ``` Here: * **IN\_SERVICE** means your cellular radio or radios (if multiple SIM cards are supported) is connected to a network. * **OUT\_OF\_SERVICE** would mean not connected to telecom's network * **POWER\_OFF** would mean device is in Airplane mode. --- Combining all these information would help your fully ascertain: * the state of Wi-Fi radio and its connectivity * the state of cellular radio and its internet connectivity * the state of USB and Wi-Fi tethering --- Now, you already know how to enable/disable mobile data, USB tethering, and Wi-Fi using *svc* utility. While I don't know how to *easily* turn on hotspot, disabling the hotspot is pretty easy. First, enable the Wi-Fi using svc, and then disable it with svc too. The aforesaid two commands should be sufficient to ascertain the connected status of mobile data, Wi-Fi, Wi-Fi hotspot, and USB tethering. **Note:** this solution was tested on a OnePlus 6 running Android 10. Upvotes: 2 <issue_comment>username_2: Mobile data: ``` adb shell settings get global mobile_data adb shell settings get global mobile_data_always_on ``` Wifi: ``` adb shell settings get global wifi_on ``` Airplane mode: ``` adb shell settings get global airplane_mode_on ``` Upvotes: 2 <issue_comment>username_3: **get state:** ``` adb shell settings get global airplane_mode_on # 0|1 - dis/en abled adb shell settings get global mobile_data # 0|1 - dis/en abled adb shell settings get global wifi_on # 0|1 - dis/en abled adb shell settings get global bluetooth_on # 2|1 - dis/en abled adb shell settings get global cell_on # 2|1 - dis/en abled ``` **change state:** ``` airplane enable adb shell settings put global airplane_mode_on 1 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE disable adb shell settings put global airplane_mode_on 0 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE mobile data adb shell svc data enable adb shell svc data disable wifi adb shell svc wifi enable adb shell svc wifi disable bluetooth eanable adb shell settings put global bluetooth_disabled_profiles 1 disable adb shell settings put global bluetooth_disabled_profiles 0 ``` **to toggle** use bash script that checks state and then switch on/off like: ``` #!/bin/bash function toggle_data { if [[ $(adb shell settings get global mobile_data) == "1" ]]; then adb shell svc data disable else adb shell svc data enable; fi } function toggle_wifi { if [[ $(adb shell settings get global wifi_on) == "1" ]]; then adb shell svc wifi disable else adb shell svc wifi enable; fi } toggle_wifi toggle_data exit 0; ``` Upvotes: 4 [selected_answer]
2020/08/12
456
1,892
<issue_start>username_0: On a Chrome or other Chromium browser (Brave, Kiwi..) on Android When I click "add to home screen" from the Brave/Chrome menu, on some sites the icon that is added does not open website but instead opens a custom app created for the website (so called "PWA"). I want to create a simple website link that opens the website in a browser (so I can use search / see the url from the address bar and so on). How can I do that with Brave or Chrome?<issue_comment>username_1: One thing you can do is set your homepage. Go to Settings on Chrome. Tap on Homepage. There will be two options, one is called Chrom'e Homepage and the other option is a text box for URLs. You can put HTML content in there for example the following line will create a page with Google as hyperlink. You can create a whole pretty dashboard using this method. ``` data:text/html,[Google](https://google.com) ``` The other option is to just bookmark the websites you visit. Then when you start searching in the address bar Chrome will show links from bookmarks. Doesn't always work though. Upvotes: -1 <issue_comment>username_2: After tedious search I was finally able to do it. Simply put - with Brave/Chrome it seems that it is not possible to add a non-PWA shortcut when PWA-version is defined at the web pages web manifest. HOWEVER there are separate apps on the app store (I don't link to any specific one here but search for example "create shortcut launcher") that allow you to create "custom" shortcuts. With these apps you can create a simple URL shortcut and define which browser is used to open it. This solves my problem and this question. To get the corect icon you have to separately download and set the icon which is quite tedious so if anyone solves how to do this with chrome/chromium then please respond and I will change the accepted answer. Upvotes: 3 [selected_answer]
2020/08/13
520
1,732
<issue_start>username_0: In Android 10, if you take a photo with the stock camera/photos app (which identifies itself as either "Camera" or "Photos" in the app switcher¹) and then view it afterwards, one of the "buttons" is a trash can. If you tap it, the phone prompts you with, > > Move to trash? It will be removed from all folders. > > [Trashcan] Move to trash > > > Where is the "trash" that this is being moved to, and how do I access it? ![](https://i.stack.imgur.com/LNnjA.jpg) (The device is a Pixel 3a purchased directly from Google, so it should be free of the sort of junk many carriers load onto phones.) ¹The app whose icon is: ![](https://i.stack.imgur.com/3Z4dj.png)<issue_comment>username_1: According to [How can i find my recycle bin on Android? - Google Photos Community](https://support.google.com/photos/thread/91704?hl=en) > > ... trash bin and the files inside it are **not actually present on your Android device**, which is why you can't find the files. > > > (Emphasis added) By implication, they are stored on cloud and that is where you restore them from if needed. You can locate them at <https://photos.google.com/trash> as mentioned in [How to recovery the google photos deleted from trash - Google Photos Community](https://support.google.com/photos/thread/406055?hl=en). I guess if you turn off sync for photos, deleted photos should be directly deleted without moving to Trash and obviously you won't find them at the location linked above. Upvotes: 1 <issue_comment>username_2: > > Where is the "trash" that this is being moved to, and how do I access it? > > > Latest version of Photos App, *Version 5.71.0.416067338*: **Photos App -> Library -> Trash** Upvotes: 0
2020/08/13
327
1,285
<issue_start>username_0: Why would [this android phone app](https://play.google.com/store/apps/details?id=com.littlelf.smarthome) for [this IP camera](https://www.amazon.co.uk/gp/aw/d/B082QRM9F4) need location services to be turned on before it gets set up? Surely that's a security risk. If the camera company's database is ever hacked, an attacker would have both the exact location of the property and the means to view the property to see who was around! Is there any technical reason why location is required for an app to set up an IP camera? (Another data point: The Google Home app also requires location permission to set up the Home Hub device). Is it safe to turn on location services and allow the app to determine my location during setup of the camera?<issue_comment>username_1: No, there is no need for geo information to set up or connect to a IP cam. The risk is only in providing data to a company even if it doesn't need it, depending on how they will use it. It depends on the company... Upvotes: 1 <issue_comment>username_2: I found a way to work around the location requirement, by installing a [Fake GPS app](https://play.google.com/store/apps/details?id=com.lexa.fakegps) and configuring my android device to use it in the android developer menu. Upvotes: 0
2020/08/25
422
1,515
<issue_start>username_0: I have been using All the Internet on my computer and now I want to make it my main search provider in Firefox on my Galaxy S20. Does anyone know how to change your main search provider so it would now be alltheinternet.com ? I would love to be able to have it on both my computer and on my phone.<issue_comment>username_1: You can configure a different/custom search engine as follows: 1. Open Firefox 2. Click on the 3-dots-symbol (top right corner) 3. Click "Settings" 4. Click "Search" 5. Select another search engine as standard (by just clicking on it) or add a custom one (which is the last possible action in the list of available options) Upvotes: 0 <issue_comment>username_2: You can manually add a search provider to Firefox this way: 1. Open Firefox app 2. Click on the 3-dots-menu (in the new Firefox version in the lower right corner: [![enter image description here](https://i.stack.imgur.com/yt2RQm.png)](https://i.stack.imgur.com/yt2RQm.png) 3. Select `Settings` 4. Select `Search` 5. Select `Add search engine` 6. Select the option `Other` and enter the following values: * Name: `All the Internet` (adapt to your preferences) * Search string: `https://www.alltheinternet.com/?q=%s` [![enter image description here](https://i.stack.imgur.com/0Z3Knm.png)](https://i.stack.imgur.com/0Z3Knm.png) 7. Save the entered values using the check mark in the top right corner 8. Mark the entry "All the Internet" in he search engine list as default search engine. Upvotes: 1
2020/08/27
801
2,782
<issue_start>username_0: In the Authenticator app you can hit transfer accounts -> Export Accounts. It will present with you a QR Code. What exactly is this QR Code? Can it be used to backup Google Authenticator? I am looking to hard reset my phone and I am looking for a way to backup and restore Authenticator.<issue_comment>username_1: [Get verification codes with Google Authenticator - Android - Google Account Help](https://support.google.com/accounts/answer/1066447?co=GENIE.Platform%3DAndroid&hl=en) explains how the QR codes are used: * They are used to transfer authentication codes on to new device or in your case after factory reset. QR code needs to be **scanned** to restore account(s). Screenshots **may not work**. It's better to use a scanner as [explained here](https://android.stackexchange.com/questions/34793/scan-barcode-and-qr-code-from-the-mobile-screen-itself) * You need to generate one QR code per account, if you are using multiple accounts. * They don't backup the authenticator app itself, you need to install the app on the new device or use [Google cloud backup to restore app](https://android.stackexchange.com/a/190311/131553). Note that the restored app from cloud only restores preferences and not codes. Neither, is using `adb` to backup a [good idea](https://android.stackexchange.com/a/209255/131553). If your device is rooted, of course, you can backup fully and restore using [titanium-backup](/questions/tagged/titanium-backup "show questions tagged 'titanium-backup'"). * > > What exactly is this QR Code? > > > This [blog](https://news.ycombinator.com/item?id=6325894) explains (it's beyond me) > > > > > > The QR codes simply divulge a URI with the secret key for generating tokens. They look like: `otpauth://totp/[keyname]?secret=[secretkey]` > > > > > > > > > * Note that you are better off using [Authy app](https://www.authy.com/) as recommended in [Google help page](https://support.google.com/accounts/thread/14557666?hl=en&msgid=14559928) for [reasons](https://authy.com/blog/authy-vs-google-authenticator/) : + Recovery backups are encrypted. + Multi device support. + Better password protection. + Recognise all Google codes - **Most importantly** you can backup and restore easily. Upvotes: 1 <issue_comment>username_2: The QR code contains all your private keys for generating the 2fa login code for each of the accounts you chose to export, so yes you can use it to backup and transfer to a new device. I would test that the screen shot works properly, and be very careful with the screen shot backup. You can even extract the actual private keys from the QR code, i.e. with this script, <https://scito.ch/content/extract-secret-keys-google-authenticator-qr-export> Upvotes: 4 [selected_answer]
2020/08/27
628
2,393
<issue_start>username_0: I really don't like google lens. I've been searching for ways to turn it off. Searching on line usually brings up an answer like this: > > On your Android phone, you go into your settings/apps and click on the 3 dots at the top right of the screen. Choose show system. Scroll down to the Lens, Qlens (or both depending on your phone) and then click Force Stop and Disable (if available). This should stop the service from running until you click on it again or it updates. > > > The problem is, when I do that on my Andriod phone there is ***no*** Lens nor Qlens listed among the apps (even after clicking show System Apps). I did find one thing that says to "Disable" (or Uninstall, but Uninstall is not an available option, but disable more-or-less the same) the Google App, and re-enable it. **This works, but only for about 1 day**, after which Google Lens magically re-appears. For three days now I have Disabled the Google App once a day. ***Is there any way to permanently get rid of Google Lens? It's horrible.***<issue_comment>username_1: This link shows how to disable the feature. It's hard to follow at first, just replay it a few times. Basically type chrome://flags in your chrome browser, which give you a "search flags" prompt, type in lens, then disable each of the items that appear. Type Relaunch (to relaunch Chrome); close Chrome; Lens will still be there. Re-boot phone; Lens is gone! <https://youtu.be/6PlEuLNPxqY> Good luck. Upvotes: 3 <issue_comment>username_2: I discovered an approach that, at least for two weeks now, seems to have worked. I tried a twist on this approach which I had mentioned above: > > I did find one thing that says to "Disable" (or Uninstall, but Uninstall is not an available option, but disable more-or-less the same) the Google App, and re-enable it. This works, but only for about 1 day, after which Google Lens magically re-appears. For three days now I have Disabled the Google App once a day. > > > The "twist" is **I did NOT re-enable the Google App**. This seems to have permanently removed Google Lens (Yay!!), and I have not noticed any other functionality missing from my phone since I did *not* re-enabled the Google App. Yay!! * Update: It's been over three months and Google Lens has ***not*** come back since I implemented this approach! Very satisfied. Upvotes: 3 [selected_answer]
2020/08/28
387
1,428
<issue_start>username_0: I am working on a project, and it all starts with the share menu on Android. I'd like to be able to take the (in this case) URLs that are shared from various apps, and send them directly to a webhook. Basically, I'd like for there to be an option on the share screen, along with Gmail, WhatsApp etc. for 'webhook', that would ping the webhook directly without any further interaction. I'd rather not build my own app for this... What I've tried: * IFTTT - doesn't seem to support this, even with the Android app * Tasker - I already have it but it doesn't seem to do this, I think there's another paid plugin that might do what I want, but I've struggled with config * IFTTT again, I can get what I want with a roundtrip via email etc., but I'd rather not... Is what I want possible? Do I need to make my own app?!?<issue_comment>username_1: Most automation apps could probably support such an task, in [Automate](https://play.google.com/store/apps/details?id=com.llamalab.automate) (free) it would be: 1. Flow beginning block; start of a task 2. Content shared block; await "shared" URL 3. HTTP request block; call the webhook with URL from #2 4. (loop back to #2) Upvotes: 1 <issue_comment>username_2: I ended up using <https://play.google.com/store/apps/details?id=ch.rmy.android.http_shortcuts> Android HTTP Request Shortcuts - which achieved exactly what I wanted. Upvotes: 1 [selected_answer]
2020/08/28
875
3,761
<issue_start>username_0: My Google Location history is amazingly helpful and informative, and generally accurate. I have all settings set to highest so I can always get the best location accuracy. I've read several posts about how Google estimates my location, using cell towers, wifi SSIDs/BSSIDs, etc and it all makes sense. But when I go on my daily hike, the accuracy is 'way off' by a few miles. I take photos on my hike and their Geo-location tagging is accurate to within a few feet, so I know the location information is available with GPS. The following screen shot gives an example. The red line was drawn by me and represents my hike. The blue lines are the estimation by Google Location. My hike follows a ridgeline that surrounds a residential neighborhood. Obviously, my phone's location sensor is latching onto either cell-towers or wifi access points in the neighborhood. [![enter image description here](https://i.stack.imgur.com/iep9b.png)](https://i.stack.imgur.com/iep9b.png) Is there any way I can tell my phone to use GPS to report location, rather than wifi or cell tower, during a hike? If I launch google maps during the hike, will that cause my accuracy to improve? I often take photos at various locations along the hike (and these are accurately geo-tagged) but this doesn't seem to help the location map below. I did notice that, if I use a 'hiking app' such as 'map my walk' or 'strava', the location as reported to Google is very accurate. So do I need to launch 'any app that uses GPS' to make the GPS location available to Google? Also, I've read that I can click on 'blue dots' on the map to see where it's getting the location information from, but I see no blue dots no matter how much I zoom in. Thanks!<issue_comment>username_1: Without using a third-party app, you are going to have to keep the Google Maps app open at all times. I use Google Timeline along with Google Fit for daily exercise walk tracking. In the pocket, screen off, I get what you get, nearby areas or generalized activity around my home. When I have the Google Maps app open, screen on, I can get walking tracks down every street such that when I look at it in Timeline/Google Fit it looks like I'm tracing the neighborhood blocks. If I go into a shop and forget to bring the Google Maps app into the foreground, even when I'm listening to a podcast, the location will jump to when I finally remember to bring forth the Google Maps app. And as expected it does drain the battery more. I'm using a Pixel 2 with Android 10. Reducing battery usage has been theme with the newer versions of Android so I'm in agreement with Robert, unless you have something trying to getting GPS location data, the lower accuracy location data will be used. I would expect walking directions (like driving directions) which has the Google Maps app in the foreground all the time have the most accurate location data. One compromise is to open the Google Maps app at some moderate frequency (say 5 minutes) and allow it to get a GPS lock. While the detail of your track not be as accurate as "on all the time" the positions recorded would at least be more aligned with your path. Upvotes: 3 [selected_answer]<issue_comment>username_2: There's a trick: open Google Maps, press Go button, then select a very far away destination that you are not going to arrive, then confirm to find a route. Google map will keep running on background without screen on. Also turn off the navigation voice to avoid the sound they would make. By doing that, Maps will always track your current location even if you are not really going to that destination and all location data will be saved. I use that trick often and it's way more accurate than default location report. Upvotes: 2
2020/09/04
868
3,100
<issue_start>username_0: Recently, Microsoft launcher has started to give web search suggestions when I click on my home button and search for an app. I only want to find apps, but in addition to installed app results the launcher now also gives internet search suggestions. I want to disable that because I do not use it for that functionality. I guess this is MS's way of pushing Bing, but I still would like to disable it. Is that possible?<issue_comment>username_1: It's Microsoft pushing ads for its apps, yet again ================================================== * Microsoft did this in July last year. See this XDA blog [Microsoft is abusing Android’s share sheet by inserting ads for its apps](https://www.xda-developers.com/microsoft-abusive-android-app-sharing-ads/) with [reddit](https://www.reddit.com/r/Android/comments/c9n2ll/microsofts_your_phone_companion_adds_a_onedrive/) and [Android Police](https://www.androidpolice.com/2019/07/08/microsoft-android-share-menu-ads/) links. * Microsoft is back to it's dirty tricks again, this time by inserting “Bing Search” option in the long-press context menu as reported in XDA in July, this year (annual schedule?) [Microsoft Outlook is inserting Bing Search into Android's long-press menu](https://www.xda-developers.com/microsoft-outlook-long-press-menu-bing-search/). Also by [Android Police](https://www.androidpolice.com/2020/07/13/microsoft-caught-sneaking-bing-search-onto-phones-with-the-outlook-app/) [![enter image description here](https://i.stack.imgur.com/vXXugl.jpg)](https://i.stack.imgur.com/vXXugl.jpg) Solutions ========= * Find another launcher and uninstall Microsoft Launcher. Or [change search engine](https://android.stackexchange.com/questions/229202/disable-bing-web-search-in-microsoft-launcher) in settings, if you want to continue using the launcher. * Uninstall Microsoft Edge. XDA blog says that launcher triggers these ads *only* when Edge is installed (but some users have reported in comments that they don't have Edge installed but get this Bing search). * Report to Play Store - use [Report Inappropriate Apps](https://support.google.com/googleplay/android-developer/contact/takedown). Play Store has a very aggressive policy wherein developers are not allowed to even link their *own* apps.[This may cause app to be removed from Play Store](https://forum.xda-developers.com/showpost.php?p=83429487&postcount=15855) **Related (app violations)** * [Is Android showing app ads in share menu now?](https://android.stackexchange.com/questions/219841/is-android-showing-app-ads-in-share-menu-now/219845#219845) * [Is it allowed to offer incentives for 5 star ratings on the Google Play app store?](https://android.stackexchange.com/questions/219620/is-it-allowed-to-offer-incentives-for-5-star-ratings-on-the-google-play-app-stor) Upvotes: 2 [selected_answer]<issue_comment>username_2: The real solution ================= Just disable app's network access. Go to settings - > apps - > find Microsoft launcher - > disable network access It is indeed a really well made launcher. Cheers Upvotes: 0
2020/09/08
697
2,802
<issue_start>username_0: I have a French contact (phone number +33 ...) who went to Japan and got a mobile number there (+81 ...). We discussed via Whats App and Signal and now he is back in France. **I would like to remove his Japanese phone numbers but I simply cannot.** This is how I see his contact before the edition: [![enter image description here](https://i.stack.imgur.com/i7pDM.jpg)](https://i.stack.imgur.com/i7pDM.jpg) As you can see there is one French and two Japanese numbers. I then click on the edit icon and I see: [![enter image description here](https://i.stack.imgur.com/LfhoG.jpg)](https://i.stack.imgur.com/LfhoG.jpg) **The Japanese numbers are not present.** There are nowhere to be found, I clicked on "show more fields", but these are just empty extra fields. I remove the conversations from Signal (it was registered with the Japanese number, this is visible in the screenshot) - nothing. Note that I cannot actually edit a contact in Signal, it just mentions that this (Signal) contact is in my contacts - with the possibility to open the contact and what I get is the first screenshot. I tried to edit the contact on the phone to add something and somehow influence the Japanese numbers - nothing. I tried a similar edit the contact on a PC via contacts.google.com - nothing. I tried to use the Samsung contact app - same problem. After using Android extensively for 10+ years, this is the first time I see that. Any ideas would be greatly appreciated. OS is Android 10, phone is Samsung Galaxy 9+.<issue_comment>username_1: Short on ideas I decided to delete this contact. Right after it was deleted, **ANOTHER** contact with the same name appeared out of nowhere, holding the two Japanese numbers (and only this, plus the first name, plus the family name). I then deleted that second (invisible so far) contact and recreated one for my friend (with only the French number). It worked and I have one single contact. This is really a mystery to me: I had **one** contact for that user previously, and the other one only appeared when I erased the first one. I exclusively store contacts in google (not in the SIM or anywhere else) so this is not a traditional "merged contact" view. My wild guess is that Signal must have kept is somehow and presented it in a merged view. That said - it is not possible to edit anything contact-wise in Signal, it always drives you back to the main contact entry (the first screenshot in my question). I will put it on the shelf with other unsolved mysteries in my 25 years career in IT. Upvotes: 2 [selected_answer]<issue_comment>username_2: Go to the contact with the bogus number. Click the 3 dots in the upper right. Select "add/remove linked contact". Remove the contact with the bogus number. Good luck. Upvotes: 0
2020/09/16
282
1,085
<issue_start>username_0: How can one alphabetically sort the contacts on the WhatsApp chat list? Right now, the list is completely random, making it difficult to locate a specific chat by its author (contact name)<issue_comment>username_1: There doesn't seem to be any way to sort them alphabetically in the chat list. Currently the Whatsapp chat list is by chat date, meaning the most recent ones will come up. If you click on the bottom right green button you can access the contacts list, and those contacts are sorted alphabetically. [![enter image description here](https://i.stack.imgur.com/6oiu3.jpg)](https://i.stack.imgur.com/6oiu3.jpg) Upvotes: 1 <issue_comment>username_2: Whatsapp doesn't officially added this feature.. but if you really want to sort them then download Whatsapp business. You can use label to organize things.. Just like this.. (items are the people actually) [![enter image description here](https://i.stack.imgur.com/1DMyh.jpg)](https://i.stack.imgur.com/1DMyh.jpg) I too use whatsapp business and really love its auto reply function.. Upvotes: 0
2020/09/18
442
1,618
<issue_start>username_0: I was wondering if there was a way to block all non-contact callers on my Samsung Galaxy A20 operating system Android 10. I have been through the settings and the only option I have is block contacts or block unknown callers I'm not sure if that just means private calls or non-contact collars. I'm unable to find a solution on YouTube so I'm hoping somebody on here can help.<issue_comment>username_1: One way that I know how to do this is though [Android's Do Not Disturb feature](https://support.google.com/android/answer/9069335?hl=en#:%7E:text=To%20turn%20Do%20Not%20Disturb,it%20to%20silence%20your%20phone). You basically keep your phone in "do not disturb" mode always, then manually set who is allowed to interrupt you. Some of the options for who can interrupt you are: * **Conversations:** + All conversations + Priority conversations. To choose which conversations are priority conversations, tap Settings. + None * **Calls:** + Anyone, contacts or starred contacts + Repeat callers. To let a call through if the same person calls twice in 15 minutes, turn on Allow repeat callers. * **Messages:** + Anyone, contacts or starred contacts + None + Reminders + Events --- Basically, this is essentially a white-list approach as opposed to a black-list approach. There may be third-party apps that can accomplish what you are asking, but the above is a stock built-in to Android option for you. Upvotes: 1 <issue_comment>username_2: I use an Android app called Calls Blacklist. Settings - Blocking - Unknown Numbers (Block all numbers except Contacts) Upvotes: -1
2020/09/20
883
2,956
<issue_start>username_0: `fastboot version 30.0.4-6686687` Trying to temporarily boot TWRP recovery image `twrp-3.4.0-0-lake.img` on my unlocked Motorola `Moto G7 Plus`. Phone is connected via USB `Type-C to Type-C` cord from the box to my laptop running Linux (`Manjaro 20.0.3`) Live USB system. When I run `./fastboot boot twrp-3.4.0-0-lake.img` or `./fastboot boot boot.img` (same file, renamed) with and without `sudo`, it always gets stuck at `Sending 'boot.img' (30080 KB)` doing nothing. `Bootloader logs` section of `fastboot` mode shows `cmd: download:01d60000`. The PC I use now is the only PC that helped me to actually unlock the bootloader. Other PCs I have were not able to send correct `fastboot` commands (for example, `oem help` transformed to `oem helpersion`, and `oem get_unlock_data` cut to `oem get_unlock`). Those PCs had regular USB `Type-A` `3.0` ports, so I connected them to my phone with corresponding 3rd-party cable. It might be of insufficient quality though. All files are located near to the root of extrenal SSD connected to another Type-C port, so the absolute paths to `TWRP` image and `fastboot` executable should not be too long. `Type-C` cords are new and OK. Motorola doesn't distribute Linux drivers for their devices. What else could be wrong here? Please help. Any advice is appreciated. Will update this post later with my own findings as well for people who could stumble a similar problem. Update 1 ======== Tried `fastboot boot boot.img` on another PC. It is also running Linux (`Ubuntu 20.04`). Connection is from `Type-A` to `Type-C`. Wire is good. No noticeable changes. Main issue persists. Update 2 ======== Was able to perform `fastboot.exe boot boot.img` on another PC under Windows 10. Don't know why it worked. Specs are different than laptops', but cable is the same. Might be a driver issue.<issue_comment>username_1: SOLUTION: connect the phone using a USB hub (even same port) :P ...worked for me. Source: <https://forum.xda-developers.com/t/yet-again-fastboot-is-stuck-on-sending-boot-img.4166479/post-86491327> Upvotes: 1 <issue_comment>username_2: An updated version of `platform-tools` works fine. Perhaps this was a bug. To get latest `platform-tools` you can: * `git clone --branch sdk-release --single-branch https://android.googlesource.com/platform/bootable/recovery` and build it; + Check [this repo](https://github.com/anatol/android-platform-tools-build "building info") for some building instructions; * Download pre-built binary executables at [releases page](https://developer.android.com/studio/releases/platform-tools "SDK Platform Tools release"); * Update package with your distro's package manager: + Ubuntu-based: `apt upgrade android-sdk-platform-tools` + Arch-based: `pacman -S android-tools` > > **Note**: keep your system up to date too! USB drivers & other system parts could affect functionality of this case. > > > Upvotes: 1 [selected_answer]
2020/09/20
733
2,593
<issue_start>username_0: I have tried going through many reference links for my below issue, but all of them are at least the pre-Marshmallow age so couldn't find a proper solution. I have a Redmi 2 Prime mobile (2014 model) and I have flashed it with LineageOS 17.1 version (Android 10) (exact version is `lineage-17.1-20200711-nightly-wt88047-signed.zip`) along with OpenGApps pico version (`open_gapps-arm-10.0-pico-20200725.zip`). The device came up fine, most other things which I have checked also is working fine, except for Indic language support. I am specifically looking for Malayalam (South Indian language). When I try to add it in languages section, it shows the name of language itself as garbage (see item 2 in screenshot). I tried adding GBoard and Google Indic keyboard, but when I select Malayalam->English, it says 'Your device does not support this language' (can be seen above the space bar of keyboard). When I add Malayalam language (by typing in English and selecting the only option that comes), Google Play services is shown to check for some language support online but quickly stops and nothing happens. I checked accessing a web page in this language in Google Chrome and it rendered nicely. But when I checked Malayalam version of Wikipedia, it is the same junk (both in Wikipedia and the Google search results for it) Could someone help me with what I should try to get this fixed [![](https://i.stack.imgur.com/7oodo.png)](https://i.stack.imgur.com/7oodo.png)<issue_comment>username_1: SOLUTION: connect the phone using a USB hub (even same port) :P ...worked for me. Source: <https://forum.xda-developers.com/t/yet-again-fastboot-is-stuck-on-sending-boot-img.4166479/post-86491327> Upvotes: 1 <issue_comment>username_2: An updated version of `platform-tools` works fine. Perhaps this was a bug. To get latest `platform-tools` you can: * `git clone --branch sdk-release --single-branch https://android.googlesource.com/platform/bootable/recovery` and build it; + Check [this repo](https://github.com/anatol/android-platform-tools-build "building info") for some building instructions; * Download pre-built binary executables at [releases page](https://developer.android.com/studio/releases/platform-tools "SDK Platform Tools release"); * Update package with your distro's package manager: + Ubuntu-based: `apt upgrade android-sdk-platform-tools` + Arch-based: `pacman -S android-tools` > > **Note**: keep your system up to date too! USB drivers & other system parts could affect functionality of this case. > > > Upvotes: 1 [selected_answer]
2020/09/20
650
2,059
<issue_start>username_0: I use [Iriun 4K Webcam for PC and Mac](https://play.google.com/store/apps/details?id=com.jacksoftw.webcam) to use your Android phone's camera as a wireless or USB webcam in Windows 7 SP1 x64 Ultimate. It is supposed to support resolutions up to 4K. (Max resolution depends on the phone). I use a Samsung Galaxy S9 with Android 10. However on Windows 7 SP1 x64 Ultimate it says that the resolution of Iriun is 640x480: [![enter image description here](https://i.stack.imgur.com/qnbgk.png)](https://i.stack.imgur.com/qnbgk.png) I don't see any option on the phone: [![](https://i.stack.imgur.com/YqrrJ.png)](https://i.stack.imgur.com/YqrrJ.png) and <https://iriun.com/> ([mirror](https://web.archive.org/web/20200920212032/http://web.archive.org/screenshot/https://iriun.com/)) seems to have no documentation. How can I change the resolution of Iriun 4K Webcam? --- Skype doesn't allow me to change the webcam resolution (clicking on "webcam setting" doesn't do anything): [![enter image description here](https://i.stack.imgur.com/ZyMHb.png)](https://i.stack.imgur.com/ZyMHb.png)<issue_comment>username_1: had the same problems with you by the version of 2.5.7 but I figured out the version of 2.5.4 has worked to change its resolution. maybe upgrade problems? Upvotes: 0 <issue_comment>username_2: Turns out you have to change the resolution in whatever program you're using the webcam with and Iriun will sync with that resolution. For example I use OBS and in OBS you can change the res in Sources>Video Capture Device. If you're using Skype, Discord or whatever, you're gonna have to change the res in the settings. Once you do that the Iriun window will also change it's resolution to whatever you selected. Hope this helps. Upvotes: 0 <issue_comment>username_3: Upgrading Iriun 4K Webcam from 2.5.7 to [2.5.8](https://archive.org/details/iriun-4k-webcam) on Windows fixed the issue: [![enter image description here](https://i.stack.imgur.com/ULqKc.png)](https://i.stack.imgur.com/ULqKc.png) Upvotes: 2 [selected_answer]
2020/09/21
556
2,241
<issue_start>username_0: Between the 11th and the 13th of September 2020 something has changed around the method used to log into Google accounts from new Huawei devices after installing Google Mobile Services (GMS). Before, the method involved installing GMS-related apps and signing into the relevant Google accounts using browser sign-in (a legacy sign-in method kept for old android versions). However, it seems like just after Huawei announced Harmony OS, that backdoor was closed. **Is there any way to sign into Google accounts for GMS from a new Huawei device (such as a P40 pro)?** > > **Disclaimer 1:** I hope no one gets offended by this question being asked... I think that from a consumer perspective it is legit to try to find solutions to the side effects of what effectively seems to be a trade war. > > > At the end of the day, there are hundreds of thousands of users > affected by this situation and they are not the ones to blame for any conflict between governments and/or companies. > > > > > **Disclaimer 2:** The consequences of the ban get to an absurd level, is not just not having Google Play Store, but for example not being able to log into your Google account from your browser to sync passwords, history and bookmarks... Hope this helps people not experiencing the ban understanding the extent of it. > > ><issue_comment>username_1: You should change your phone identification to any other smartphone brand and to change IMEI codes as well but let me tell you that it's against the law and I do not encourage it. But in your place, I will simply sell it on any online platform and buy another smartphone with not a banned brand such as Samsung or Nokia. Upvotes: 1 <issue_comment>username_2: It's not just that. Google will eventually close every door you open. It's not some startup company you dealing with. If you manage to find a way, small group of people will make use of this opportunity. After that, many users will not be able to install GMS. And you are back to square one. Upvotes: 0 <issue_comment>username_3: With root, you can fake your device as something else using [MagiskHide Props Config](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf) and bypass this. Upvotes: 0
2020/09/23
536
2,051
<issue_start>username_0: I have an encrypted android running LineageOS 15. When it said that there was an OTA update, I choose to download and install this new update. In the first moment it seemed to be alright but when the phone restarted itself the recovery (TWRP) appeared again... and again... It is in a bootloop mode and there is nothing I can do without loss my data and I can't do nothing to copy my date due to the full disk encryption. The encryption was made, I think, with the fingerprint and even if it was done with a password I cannot decrypt the entire disk (with the command `adb shell twrp decrypt`) because my TWRP version doesn't support the decryption.<issue_comment>username_1: Searching a lot over the web I saw [this](https://android.stackexchange.com/questions/173019/lineage-os-encrypt-phone-bootloop) question and by reading the entire post, and in particularly this answer <https://android.stackexchange.com/a/176124/77853> I brought back my phone to life and without losing anything ! What I had to do was (as suggested in the answer) **repair the /data partition plus the /system partition** ! Upvotes: 1 <issue_comment>username_2: Hey you could have downloaded the lower version of twrp. My phone also went into bootloop when i flashed twrp version 3 but when i flashed version 2 it worked perfectly. But anyway since you have found the solution ,to anyone who reads this answer you must first flash lower versions of twrp. Upvotes: 1 <issue_comment>username_3: I had same problem and I'll write tips how i fixed this situation. You can fix it by just dirty-flash any rom. Flash any rom by using external storage or by adb sideload(Advanced -> ADB Sideload -> Run "adb sideload ROM-FILENAME.zip") You will see lock screen after reboot.After login,you can decrypt data in TWRP. *If you see some error/crash after android bootup due to dirty-flash,install magisk and create backup by [Migrate](https://play.google.com/store/apps/details?id=balti.migrate&hl=en_US&gl=US) and restore it after clear data.* Upvotes: 2
2020/09/25
716
2,630
<issue_start>username_0: I somehow destroyed Google Play Services while clearing cache n search history cause Play Store kept hanging up indefinitely when trying to download apps. My Google account then kept pinging the phone for play services updates; to remedy the loop I had to remove my Google account. Now I can't access Play Store to attempt repair of Play Services because it requires I sign in. I try that, phone starts process of adding Google account. Can't add my Google account because Play Services is gone, (according to the Fix Play Services app noted below). Catch 22. It's a Sony Xperia Z3v D6708. Android Version 5.1.1 (If system information like latest system update or kernel version are helpful I'd be happy to add a screenshot of the About Phone page.) It is a Verizon phone, I have data and web access. Is Play Services recoverable/reinstallable via internet? Without Play Store access? I downloaded from Play Store a couple "Fix Play Services" apps on a friend's phone, extracted the apk and bluetoothed to my XPeria. Fix Play Services says Play Services is not installed. Apologies, I'm a little elderly, I'm on a fixed income and buying a new phone is out of the question. When posting this question this post came up: [Install Google Play Services without Google Play Store](https://android.stackexchange.com/questions/209781/install-google-play-services-without-google-play-store) This appears to be a very similar issue, a bigger problem to recover than I thought. I've never rooted a phone. Can I get help with this somewhere? Or advice? Thank you in advance.<issue_comment>username_1: I once had a similar problem but in my case i caused because i tampered with the system. Have you tried downloading playservices from an external site. If the playservices you downloaded doesnt work correctly (in my case it gave me the "force stopped" error), you need to install a new firmware which will fix all bugs. Link to playservices package (apk): <https://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-20-36-15-release/google-play-services-20-36-15-020300-333172415-android-apk-download/> Use the flash stock firmware method if the above fails link to stock firmware : <https://androidfilehost.com/?fid=95784891001602913> how to flash firmware full guide : <https://flash-guide.com/download-flash-official-stock-rom-sony-xperia-z3v-d6708/> Hope this will help Upvotes: 1 <issue_comment>username_2: Download [ApkPure](https://apkpure.com/apkpure/com.apkpure.aegon/download?from=aegon). Install it. Open it. Search google play services install it. Done! Upvotes: 0
2020/09/25
460
1,727
<issue_start>username_0: My phone (Samsung S7 running Android 8.0.0) recently updated to Chrome version 85, and with it came tab groups. I am sure this is a welcome thing for many, but I rarely have more than 8 tabs open at any time. Thus the ability to group tabs makes little sense for me. Unfortunately, I can't seem to avoid it. When holding on a link, "Open in new tab" has become "Open in new tab in group", and there is no option to open it just as a separate tab. This makes my regular tab cleaning a lot more cumbersome, as now I suddenly have two or three groups where I want to remove one or two tabs each, rather than just four tabs I want to close. Is there a way to remove tab grouping, or at least a way to hide it away so that I don't have to bother with it during casual internet browsing? At the very least, I can't find anything even remotely relevant in the settings, and a rudimentary internet search has only provided news of the feature, not any details on removing it.<issue_comment>username_1: Paste `chrome://flags/#enable-tab-groups` in address bar and Tab groups options, choose *default* and re-launch Chrome by tapping the option at bottom. Tested on Chrome version `85.0.4183.127` (if that doesn't work for you try *disable* option). ( If you type `Chrome://flags`, you will get a scary warning, ignore that, changing flag properties is harmless-you can always reset flags, if you wish) Upvotes: 3 [selected_answer]<issue_comment>username_2: With the help of [username_1' answer](https://android.stackexchange.com/a/229748/44325), I ended up disabling 4 sections to get mine back to "normal." * Tab Grid Layout * Tab Groups * Tab Groups Continuation * Tab Groups UI Improvements Upvotes: 0
2020/09/26
524
1,967
<issue_start>username_0: I work on Android Studio while using actual device for ADB using ADB over tcp/ip through command prompt (no additional software). But, this new device gets offline the moment screen turns off. I've tried turning off everything related to Battery Optimization or Wifi. Although, there's no such specific setting to let the Wifi awake after device sleeps like my old phone Huawei. I'd also posted this over the official forum of Realme about a week ago but no one has replied so far. Link - [Wifi gets turned off after screen lock - ADB issues](https://c.realme.com/in/post-details/1307578558197006336). So, Device's status in ADB devices goes to offline the very moment screen locks and then I've to do the process of ADB Wifi all over again and I don't want to use cable all the time because it affects battery through that 0.5/0.9 mA slow charging through motherboard. It is already slow enough that battery gets discharged even after continuous charging. I use ADB Wifi for more than 14 hours per day hence I need a stable solution. So, my question is how to keep the device's Wifi on even after screen lock? I know it's device specific because of the custom changes to the ROM but I really need something.<issue_comment>username_1: Paste `chrome://flags/#enable-tab-groups` in address bar and Tab groups options, choose *default* and re-launch Chrome by tapping the option at bottom. Tested on Chrome version `85.0.4183.127` (if that doesn't work for you try *disable* option). ( If you type `Chrome://flags`, you will get a scary warning, ignore that, changing flag properties is harmless-you can always reset flags, if you wish) Upvotes: 3 [selected_answer]<issue_comment>username_2: With the help of [username_1' answer](https://android.stackexchange.com/a/229748/44325), I ended up disabling 4 sections to get mine back to "normal." * Tab Grid Layout * Tab Groups * Tab Groups Continuation * Tab Groups UI Improvements Upvotes: 0
2020/09/27
212
716
<issue_start>username_0: With smartphones and the Raspberry Pi both being ARM devices, is it possible to run Android on a Raspberry Pi?<issue_comment>username_1: Yeah ofc.. Check this out... [Google Android on your Raspberry Pi with emteria OS](https://magpi.raspberrypi.org/articles/android-raspberry-pi) Upvotes: 0 <issue_comment>username_2: Yes. If you happen to have a Raspberry pi 4 4GB or 8GB, you can try out an unofficial built of LineageOS 17.1 for Raspberry pi 4. One of my favorite YouTubers [Leepspvideo](https://www.youtube.com/user/leepspvideomade) made a tutorial on installing Android 10 LineageOS on A Raspberry pi. Here's a [tutorial](https://youtu.be/3i2h9JgPPME) you can check out. Upvotes: 1
2020/09/28
274
991
<issue_start>username_0: I used to use a virtual US number for registering and using WhatsApp Business (for people i don't trust and don't want to give my personal number) But now whenever I try to register a new virtual number, it says it's an invalid number for USA. I have tried 2ndLine, text+ and few more apps.. Can anyone explain what's happening and provide a solution if possible.. Thanks in advance<issue_comment>username_1: Yeah ofc.. Check this out... [Google Android on your Raspberry Pi with emteria OS](https://magpi.raspberrypi.org/articles/android-raspberry-pi) Upvotes: 0 <issue_comment>username_2: Yes. If you happen to have a Raspberry pi 4 4GB or 8GB, you can try out an unofficial built of LineageOS 17.1 for Raspberry pi 4. One of my favorite YouTubers [Leepspvideo](https://www.youtube.com/user/leepspvideomade) made a tutorial on installing Android 10 LineageOS on A Raspberry pi. Here's a [tutorial](https://youtu.be/3i2h9JgPPME) you can check out. Upvotes: 1
2020/09/29
216
793
<issue_start>username_0: I'm using the latest version of BlueStacks. I have installed my Instagram account on BlueStacks. It is for the time that I work on my PC instead of my phone. All the videos are showing upside-down. ![](https://i.stack.imgur.com/ZnFIom.png) Is there any way to fix it?<issue_comment>username_1: I had the same issue, reinstalling Instagram fixed it Upvotes: 0 <issue_comment>username_2: the new update is finally here that fixes it, so install it in the about section in settings, and you should be good to go. Upvotes: 1 <issue_comment>username_3: Some people said to try the cog icon in the top-right corner, press Settings, go to Engine, and press "Use advanced graphics engine mode (Beta)". Note: this does not exist on MSI App Player (Bluestacks 4). Upvotes: 0
2020/10/02
538
1,984
<issue_start>username_0: According to the physical keyboard configuration on my android phone, there are a number of keyboard shortcuts that involve the "search" key. E.g. "+⏎" for home. I've included a screenshot below showing the complete list. I am running LineageOS 16.0 (Android 9); the screenshot comes from the "Physical keyboard" configuration (System -> Languages & input -> Physical keyboard). What key is Android expecting for the "" key? I have a keyboard configured with a "Search" key. Using `evtest` on my Linux box, I can see the keyboard is sending the `KEY_SEARCH` keycode: ``` Event: time 1601635686.628475, type 1 (EV_KEY), code 217 (KEY_SEARCH), value 1 ``` This comes from the "USB-HID Keyboard Consumer Control" device. When connected to my phone, none of the shortcuts involving the search key appear to work. I am wondering if I just need to remap the search key to send something different? [![enter image description here](https://i.stack.imgur.com/TQUxEm.png)](https://i.stack.imgur.com/TQUxEm.png)<issue_comment>username_1: I've just connected my physical keyboard to my phone for the first time and was also shown that list of shortcuts. I too wonder what the Search key is on my keyboard. As I read you message I thought.... Maybe it's the key normally labeled as "Win" or "OS" etc. It's often considered a special key. Tried it.. Eg Win+C and yup, in opened up my Contacts app! :-) Upvotes: 1 <issue_comment>username_2: The Search key here in Android refers to the OS key(Windows/Command/Super keys), so you would use the OS key + other combinations to activate the shortcut. On some ROMs, such as One UI, this search key is replaced by "OS". ![](https://i.stack.imgur.com/rfPrt.png) I guess why this is called the Search key is because when you press on it(OS key), it will activate the Search app(e.g. Google) and on newer systems, this is configured to activate the default assistant app(e.g. Google Assistant) Upvotes: 3 [selected_answer]
2020/10/04
533
2,192
<issue_start>username_0: As of October 2020 I can't seem to find a working add-on/extension for Firefox on Android. [Tampermonkey's page](https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/) says the add-on is not compatible with Android, but I think it used to work fine a while back. Is there any way to install userscripts on a current version of Firefox for Android (including beta or developer editions)? If current versions don't support such extensions, and the only way is to install an older package (not recommended due to potentially unpatched vulnerabilities, I know), which is the latest package version I can use Tampermonkey (or a similar) extension with?<issue_comment>username_1: End of August Mozilla has pushed a [new major version of Firefox for Android](https://blog.mozilla.org/blog/2020/08/25/introducing-a-new-firefox-for-android-experience/) that bases on a new web engine. For an unknown reason for this new version they only allow a very small set of hand selected addons. May be the engine changes were so big that most of the addons now have problems? It seems like the developers at Mozilla are trying to bring back the full addon support in the [next version which is scheduled for October 22th](https://blog.mozilla.org/addons/2020/09/29/expanded-extension-support-in-firefox-for-android-nightly/). According to the Mozilla blog the current [Firefox Nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) version should already include the mentioned full addon support. May you give this version a try - hopefully it will be able to run Tampermonkey addon again. As you have already pointed out installing the old Firefox Android version is a bad idea because of a extreme severe vulnerability which allows to remote control Firefox by any device in the same subnet. Therefore the only chance I see is to try out the nightly version or wait until October 22th for the final version. Upvotes: 3 <issue_comment>username_2: You can instead install an actively maintained Android Firefox fork [Iceraven](https://github.com/fork-maintainers/iceraven-browser) that supports extensions like Tampermonkey, Greasemonkey, etc. Upvotes: 0
2020/10/06
1,058
3,374
<issue_start>username_0: My goal is to record my screen. Coming from a Huawei, I would have in the upper area icons an option with "Screen Record". I'm now using a Galaxy A30s with Android 10 and these are the only options available [![Page one](https://i.stack.imgur.com/Ncc7Al.jpg)](https://i.stack.imgur.com/Ncc7Al.jpg) and [![Page two](https://i.stack.imgur.com/CWDbml.jpg)](https://i.stack.imgur.com/CWDbml.jpg) So, no screen record. If I go to Settings and search for "screen record", [![No results found](https://i.stack.imgur.com/Y3SGWl.jpg)](https://i.stack.imgur.com/Y3SGWl.jpg) If I search under apps, [![No current option](https://i.stack.imgur.com/SnDjHl.jpg)](https://i.stack.imgur.com/SnDjHl.jpg) How should I do it? --- Edit ---- As pointed by [Robert](https://android.stackexchange.com/users/2241/robert), I tried to enable the screen recorder via adb but didn't get the desired result. 1. [Download Platform Tools](https://developer.android.com/studio/releases/platform-tools) and unzip the folder in location of your choice 2. Open Command Prompt in that location [![Platform Tools](https://i.stack.imgur.com/V7RoG.png)](https://i.stack.imgur.com/V7RoG.png) 3. Connect the phone with the computer allowing USB Debugging 4. Run adb shell settings put global settings\_screenrecord\_long\_press true [![adb screenrecord_long_press](https://i.stack.imgur.com/sNBQe.png)](https://i.stack.imgur.com/sNBQe.png) and this opens up the following in the phone [![Allow or not cancel](https://i.stack.imgur.com/2qMg3.jpg)](https://i.stack.imgur.com/2qMg3.jpg) 5. Click "Allow" and run the command again [![No error this time](https://i.stack.imgur.com/yO7hS.png)](https://i.stack.imgur.com/yO7hS.png) and appears to be working. 6. Long press power button. This is what I see [![Long press power button](https://i.stack.imgur.com/crY1E.jpg)](https://i.stack.imgur.com/crY1E.jpg) So, still no option to record screen. I restarted the phone as well just in case but that wasn't enough either.<issue_comment>username_1: You can install a screen recorder app from google play store. There are many different ones available. Just do a search on "screen recorder". For instances, * [ADV Screen Recorder](https://play.google.com/store/apps/details?id=com.blogspot.byterevapps.lollipopscreenrecorder) * [AZ Screen Recorder](https://play.google.com/store/apps/details?id=com.hecorat.screenrecorder.free) * [Mobizen Screen Recorder](https://play.google.com/store/apps/details?id=com.rsupport.mvagent) * [Screen Recorder & Video Recorder](https://play.google.com/store/apps/details?id=videoeditor.videorecorder.screenrecorder) * [Super Screen Recorder](https://play.google.com/store/apps/details?id=com.tianxingjian.screenshot) Upvotes: 1 <issue_comment>username_2: According to [Android 11 announcement page](https://www.android.com/android-11/), we can expect a Built-in screen recording > > Screen recording lets you capture what’s happening on your phone. And > it’s built right into Android 11, so you don’t need an extra app. > Record with sound from your mic, your device or both. > > > Considering Samsung releases new OS updates relatively fast, I'll just wait until December 2020 or so in order to update the Android version and then won't have to uncomfortably download an app from the store for this job. Upvotes: 1 [selected_answer]
2020/10/06
701
2,612
<issue_start>username_0: My friend has just dug out an old Samsung Galaxy Tab2 7.0. It looks like it hasn't been used in a long time, and hasn't been updated in years. It doesn't support TLS 1.2 and is missing updates to Trusted Root CAs. If I open Play Store it goes into a loop of "Unfortunately, Google Play Store has stopped" messages and I have to reboot it. I've tried clearing all the cache data for Play Store and Play Services apps, but it hasn't helped. I did some searching about support for TLS 1.2 on Android 4.2.2 (which is what it's running) and found that it supports TLS 1.2 but is disabled by default. But every post I find about enabling this refers to doing so in the API while building an app, rather than on the device itself. Does anybody have any thoughts/ideas on how I can get some updates installed onto this device so that it'll start talking TLS1.2 ? Is there any http only site that I could download some updates from for example ? I did try going into About > Check for Updates but it says that it's already got the latest. I'm not too sure if this is just because it can't talk to any updates server or if it's correct. Seems like there'd have to be some way of supporting TLS 1.2 on these older devices ? Thanks in advance<issue_comment>username_1: You can install a screen recorder app from google play store. There are many different ones available. Just do a search on "screen recorder". For instances, * [ADV Screen Recorder](https://play.google.com/store/apps/details?id=com.blogspot.byterevapps.lollipopscreenrecorder) * [AZ Screen Recorder](https://play.google.com/store/apps/details?id=com.hecorat.screenrecorder.free) * [Mobizen Screen Recorder](https://play.google.com/store/apps/details?id=com.rsupport.mvagent) * [Screen Recorder & Video Recorder](https://play.google.com/store/apps/details?id=videoeditor.videorecorder.screenrecorder) * [Super Screen Recorder](https://play.google.com/store/apps/details?id=com.tianxingjian.screenshot) Upvotes: 1 <issue_comment>username_2: According to [Android 11 announcement page](https://www.android.com/android-11/), we can expect a Built-in screen recording > > Screen recording lets you capture what’s happening on your phone. And > it’s built right into Android 11, so you don’t need an extra app. > Record with sound from your mic, your device or both. > > > Considering Samsung releases new OS updates relatively fast, I'll just wait until December 2020 or so in order to update the Android version and then won't have to uncomfortably download an app from the store for this job. Upvotes: 1 [selected_answer]
2020/10/09
776
2,270
<issue_start>username_0: I am trying to root my Mi A2 android phone. I am following [this](https://www.youtube.com/watch?v=CSziEe_k3HM) tutorial. When I try fastboot boot path/to/twrp/image the phone gets stuck on the boot screen. What am I doing wrong? Is it because a) I don't have required drivers or because b) I have to disable force encryption? If a) I have to install new drivers what are they, where do I get them and how do I install them? If it is b) about disabling force encryption then how to do it?<issue_comment>username_1: A low or dead battery can cause this issue. Before flashing always make sure the phones battery is at least 70% Upvotes: 1 <issue_comment>username_2: The twrp-3.3.1-0 works for me, so download the twrp-3.3.1-0-jasmine\_sprout.img and twrp-installer-3.3.1-0-jasmine\_sprout.zip from [here](https://eu.dl.twrp.me/jasmine_sprout/) and issue the following commands on fastboot/bootloader mode ``` fastboot set_active b fastboot flash boot twrp-3.3.1-0-jasmine_sprout.img fastboot reboot recovery ``` or just ``` fastboot boot twrp-3.3.1-0-jasmine_sprout.img ``` enable side-loading mode in advance options in twrp recovery mode and issue ``` adb sideload twrp-installer-3.3.1-0-jasmine_sprout.zip ``` and download Disable\_Dm-Verity\_ForceEncrypt\_03.04.2020.zip from [here](https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip) and get Magisk-v21.0.zip and MagiskManager-v8.0.0.apk from [here](https://magisk.me/) or [here](https://github.com/topjohnwu/Magisk/releases) and then in twrp recovery mode, select Wipe->format Data and select partition 'a' on reboot tab on twrp menu but do not reboot. Now activate sideload from advance menu and issue ``` adb sideload Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip adb sideload Magisk-v21.0.zip ``` and then rebooting into system should enable root on your phone. I used this [link](https://magisk.me/root-mi-a2-a2-lite-magisk-install-twrp-recovery/) for the answer. Also you can look into these links, [link1](https://www.thecustomdroid.com/xiaomi-mi-a2-lite-android-10-update/), [link2](https://www.thecustomdroid.com/root-xiaomi-mi-a2-a2-lite-android-pie-magisk/) and [link3](https://miui.blog/mi-a2/guide-flash-twrp-xiaomi-mi-a2/). Upvotes: 2
2020/10/13
1,151
4,519
<issue_start>username_0: I've got a Pixel phone from Google, but it really doesn't matter, I guess the question would apply to any AOSP-based device. They state that they provide 3 years of version updates and security patches. I've got an update notification on my phone that it's ready to update to the next Android version (11), but the point is that I don't want to switch, I want to stay on my beloved old version that I'm used to, yet still I want to get security patches to keep my phone safe and bug-free. When looking at [Android security bulletin page](https://source.android.com/security/bulletin/2020-09-01) I see a list of bugfixes and the Android versions they apply to, and some of them span as far as 4 versions back, which practically means the manufacturer is theoretically able to release a patch for my Android version. Thus, I'd like to understand: What's the Android release lifecycle when it comes to pushing new Android versions and releasing security patches? What role does Google Play system update play in this? My current situation: Android 10, security patch level - Aug 5, Google Play system update - Sep 1. When clicking on [Pixel security bulletin link](https://source.android.com/security/bulletin/pixel/2020-09-01), nowhere is mentioned that the security patch would apply specifically to version 10 or 11, it just lists the bugfixes. Does this mean that it's assumed the user would be running the latest Android version, and the patches are built against that latest version he was supposed to have, and he won't be able to receive those unless he upgrades the Android version?<issue_comment>username_1: **Security patches are (almost) always applied to the latest Android version.** It may be easier to imagine the Android version as codebase A and the security patch as codebase B. Each Android version can apply each relevant security patch if it's compatible, e.g. * Device X on Android 10 with September 2020 security patch (end of Android version + security update) * Device Y on Android 10 with October 2020 security patch (end of Android version update, still get security update) * Device Z on Android 11 with October 2020 security patch (still get both Android version + security updates) However, the final ROM image is baked from a specific Android version codebase with a collection of security patches, which will be delivered through OTA or flashing the image file manually. Thus, *end-users cannot selectively apply a newer security patch without updating the Android version.* This was the case back when Google's Nexus-line devices generally only provided 2 years of Android version updates but 3 years of security patch updates; a year-long security patch update without a new Android version. However, custom ROMs with older Android versions can still apply the latest security patches if supported. For example: LineageOS 17.1 (based on Android 10) for [Google Pixel](https://download.lineageos.org/sailfish) (build 20201010) has applied [security level for Oct 5, 2020](https://review.lineageos.org/c/LineageOS/android_build/+/288897/) (which has been applied on AOSP version 8.0, 8.1, 9, 10, and 11). ![a list of changes for LineageOS 17.1 build 20201010 for Google Pixel, including an update to the text for security patch level to ](https://i.stack.imgur.com/Bx8eU.png). --- Regarding Google Play system update, it's not related to the Android version and security patch. Upvotes: 2 <issue_comment>username_2: Google provides security updates for older AOSP major versions, but they do not provide updates for Pixel phones. You can see this easily in the [list of available Firmware images for Pixel devices:](https://developers.google.com/android/images) Take for example the [Pixel 3a](https://developers.google.com/android/images#sargo): * The available Android 9 releases are dated from March 2019 to August 2019 * The available Android 10 releases are dated from September 2019 to August 2020 * The available Android 11 releases are dated from September 2020 to October 2020 (now) As these are all factory images available for the Pixel 3a you can see that there are no (security) updates for Android 9 based images after Android 10 has been released and the same is true for Android 10 which stops after Android 11 has been released. The provided images are not OTA updates received by regular bootloader locked devices, but I would assume that Google does provide the same versions as full firmware images and OTA updates. Upvotes: 3
2020/10/14
429
1,840
<issue_start>username_0: On my Android phone I have installed the Gboard keyboard. After some small use, I see that it has accumulated 20 MB of data! Why can a keyboard app accumulate 20MB of data?<issue_comment>username_1: Remember that current keyboards are a bit different from keyboards from 10-15 years ago. Back then, their main purpose was just typing and writing. With time, emojis and gifs images became features also provided by keyboards, plus learning from your habits. If you have a file explorer that is able to read/view `/data/data/com.google.android.inputmethod.latin/cache`, there is a folder named `image_manager_disk_cache`. It contains many files. You can copy some files found there to another folder. Then change their extension to `jpg` for example. You will notice they are images. That folder (at least in my case) is close to 30 MB. My example might not be conclusive as I have not given links to official Google or GBoard documentations or sources. However from my checking the folders, I think the images are the reason why GBoard is taking so much spaces. Upvotes: 3 <issue_comment>username_2: Keep in mind that GBoard provides a lot of language specific functionalities like automatic word correction or offline speech recognition. It seems like GBoard downloads these language specific data on first use. For example the directory `com.google.android.inputmethod.latin/files/superpacks/delight` seems to contain the offline language specific speech recognition data file(s). Therefore a user data of 20MB seems to be reasonable even if GBoard has not been used for a long time. Most of this storage space seems to be occupied by language specific downloaded data. Upvotes: 3 <issue_comment>username_3: Depending on its detailed content, a keyboard app could accumulate every stroke you make. Upvotes: -1
2020/10/13
1,464
5,366
<issue_start>username_0: I am writing from my Android. On my laptop, it's pretty simple to choose to open a PDF file directly in the browser rather than opening it in an external program. The problem comes when I try to open it on Android. I am usually asked to download it and it will open with PDF Viewer. I would like it to open directly in Chrome because - moreover -- I'd like to get a link to the PDF file. Usually, on Android, you can link the website and then the receiver will have to download the PDF so that he can view it. I would like to be readable directly in the browser.<issue_comment>username_1: You can use a Google Docs page to view PDF files in the browser. To do this, visit the page <https://docs.google.com/viewerng/viewer?url=http://yourfile.pdf>, where `http://yourfile.pdf` is the path to the PDF file you want to view (credits to [this answer](https://stackoverflow.com/a/43266525/4284627)). Unfortunately, there is as far as I know no way to do this automatically in Chrome (you can always paste the URL manually every time you want to open a PDF file but that's not very practical). However, if you use a browser that supports extensions, it's possible to use an extension to automatically redirect PDF files to this URL. Unfortunately, you can't do this on any well-known browsers (Chrome and Edge for Android don't support extensions at all, and Firefox for Android only supports a very limited set of extensions), but there are less well-known browsers where you can do this. The one I use is [Kiwi](https://play.google.com/store/apps/details?id=com.kiwibrowser.browser) (I have no association with its author). Once you've installed Kiwi (or another browser that supports Chrome extensions), install [the Redirector extension](https://chrome.google.com/webstore/detail/redirector/ocgpenflpmgnfapjedencafcfakcekcd) (I have no association with its author). Next, click on the three dots on the top right, scroll down, click "Redirector", then click on the "Edit Redirects" button, and then click on "Create new redirect": ![](https://i.stack.imgur.com/MVtf5.png) ![](https://i.stack.imgur.com/pTGky.png) ![](https://i.stack.imgur.com/t0hPG.png) That will open a popup with five text boxes and two checkboxes. Enter the following information: 1. The first box is just a description, you can enter whatever you want, for example `Open PDF in browser`. 2. The second box is an example URL to a PDF file, you can enter the URL to whatever PDF file you want. 3. In the third box, enter `(^https?://[^?]+\.pdf($|\?).*$)`. This is a regular expression that matches URLs of PDF files. If you know regular expressions, you may want to note that the parentheses that enclose the whole regular expression are necessary to capture the whole URL so that the `$1` in the next box works as expected. 4. In the fourth box, enter `https://docs.google.com/viewerng/viewer?url=$1`. This is the URL that PDF files will be redirected to, `$1` represents the URL of the original PDF file. 5. Check the box labelled "Regular Expression". 6. The last box is just another description Again, enter whatever you want, for example, `Redirects PDF files to a Google docs page that shows the PDF in the browser`. When you're done entering all that, it should look like this: ![](https://i.stack.imgur.com/1SP1W.png) Now click Save and you're done. Now all PDF files will be opened in the browser like this: ![](https://i.stack.imgur.com/sMRUM.png) To get a link to the original PDF file, copy the URL from the title bar and remove the `https://docs.google.com/viewerng/viewer?url=` part from the beginning. Upvotes: 2 <issue_comment>username_2: I just installed opera on the phone, make it the default browsing app, now whenever i have a link with pdf it asks me gently whether to open it from within or download it. Upvotes: 0 <issue_comment>username_3: Another implementation of this idea is to use a Tasker profile I created. Instructions and profile import are available [here](https://taskernet.com/shares/?user=AS35m8kP%2BMilwuZpIDD1UVTyoB7%2Fgv%2BVNHyzFdrdoxv0s%2FIcH5GAyDgoRr4ASUMw1Sreh9A%3D&id=Project%3AGoogle+Drive+Viewer). The instructions are also copied below. — Google Drive Viewer allows files to be viewed (without downloading) in Google Chrome for Android. Setup * The following apps are required: Tasker, AutoShare, and AutoTools * Set up the AutoShare command + Open AutoShare + Main Menu - Manage Commands - plus sign - New Command = View File - Browsing for files = Direct URL - URL = https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Google\_Drive\_icon\_%282020%29.svg/1280px-Google\_Drive\_icon\_%282020%29.svg.png - Priority = 1 + Main Menu - Share Targets - ensure “AutoShare Command” is checked * Import the project into Tasker using the button below (this page must be viewed on your Android device for the button to appear) Usage * Long-tap a file link in Chrome * Tap “Share link” - “AutoShare Command” - “View File” * If a file can’t be natively previewed in Google Drive, you may be able to connect an app that can preview the file Settings * By default, the file will open in a new tab. To adjust this setting, open the “Google Drive Viewer” task in Tasker and set %newtab (line 1) as follows: + true: file will open in a new tab + false: file will open in the same tab currently being used Upvotes: 2
2020/10/20
3,503
10,621
<issue_start>username_0: When I run `tsu` (which is Termux's version of su), my current working directory gets prefixed with "(unreachable)", as you can see from the transcript of my session. ``` [u0_a116 …/~]$ tsu [root …/home]# pwd (unreachable)/data/data/com.termux/files/home [root …/home]# ``` I did some digging and found what seems to me is the culprit. `tsu` is a script that sets up an environment for the root user and then runs su to give you root privilege with the new environment. This is what the command that tsu is running looks like after opening all the variables. `/sbin/su -c PATH=/sbin/.magisk/busybox env -i PATH=/data/data/com.termux/files/usr/bin:/data /data/com.termux/files/usr/bin/applets:/system/bin:/system/xbin:/sbin:/sbin/bin ANDROID_DATA=/data TMPDIR=/data/data/com.termux/files/home/.suroot/.tmp PREFIX=/ data/data/com.termux/files/usr TERM=xterm-256color LD_PRELOAD=/data/data/com.ter mux/files/usr/lib/libtermux-exec.so ANDROID_ROOT=/system HOME=/data/data/com.ter mux/files/home/.suroot /data/data/com.termux/files/usr/bin/bash` This causes a problem when I try to run a script that is using relative paths. (I'm running a script to setup a full linux distro with proot in Termux). If I take out the 'env -i` from the command then I get the current working directory *without* the prefixed "(unreachable)". This does not setup the new environment, it leaves the old environment intact as if I would have selected --preserve option.<issue_comment>username_1: I have had the same problem. I resolved it with a work around. I added to the environment the following. PWD=$(echo $PWD | cut -c 14-) I added the following lines to the tsu script at line numbers 239 - 241 ``` # Following line added to fix the problem of pwd starting with (unreachable) ENV_BUILT+=" PWD=$(echo $PWD | cut -c 14-)" ``` --- Following is the the full code of the updated tsu script --- ``` #!/data/data/com.termux/files/usr/bin/bash # Copyright (c) 2020, <NAME>. https://github.com/cswl # This software is licensed under the ISC Liscense. # https://github.com/cswl/tsu/blob/v8/LICENSE.md ### tsu _TSU_VERSION="8.5.1" log_DEBUG() { __debug_wrapper() { :; }; } gather_debug_info() { echo "Environment: " env echo "============================" dpkg --print-architecture echo "Android version:" getprop ro.build.version.release echo "Android device:" getprop ro.product.manufacturer getprop ro.product.model uname -a } >>"$LOG_FILE" # Allow debugging with a long option if [[ "$1" == '--dbg' ]]; then _TSU_DEBUG=true printf -v LOG_FILE "%(%Y%m%d)T" LOG_FILE="./tsu_debug_$LOG_FILE" gather_debug_info set -x shift fi ## Support for busybox style calling convention. ## This works because we don't actually `readlink` the script location. _TSU_CALL="${BASH_SOURCE[0]##*/}" if [[ "$_TSU_CALL" == "sudo" ]]; then _TSU_AS_SUDO=true fi show_usage() { cat <<"EOF" tsu A su interface wrapper for Termux Usage: tsu tsu [ -s SHELL ] [-p|-a] [USER] tsu --dbg [ -s SHELL ] [-p|-a] [-E] [USER] tsu -h | --help | --version Options: --dbg Enable debug output -s Use an alternate specified shell. -p Prepend system binaries to PATH -a Append system binaries to PATH -h --help Show this screen. This package also provides a minimal sudo which is enough to run most programs as root sudo command https://github.com/cswl/tsu EOF } show\_usage\_sudo() { cat <<"EOF" sudo - run commands as root or another user usage: sudo command usage: sudo [-E] [-u USER] command Options: -E Preserve environment variables from the current shell. -u USER Switch to USER instead of root.. EOF } # Defaults in Termux and Android TERMUX\_FS="/data/data/com.termux/files" TERMUX\_PREFIX="$TERMUX\_FS/usr" TERMUX\_PATH="$TERMUX\_PREFIX/bin:$TERMUX\_PREFIX/bin/applets" ROOT\_HOME="$TERMUX\_FS/home/.suroot" ANDROID\_SYSPATHS="/system/bin:/system/xbin" EXTRA\_SYSPATHS="/sbin:/sbin/bin" #ANDROID\_ASROOT\_SYSPATHS="/bin:/xbin" # Some constants that may change in future. BB\_MAGISK="/sbin/.magisk/busybox" # Options parsing # Loop through arguments and process them log\_DEBUG TSU\_AS\_SUDO if [[ "$\_TSU\_AS\_SUDO" == true ]]; then # Handle cases where people do `sudo su` if [[ "$1" == "su" ]]; then unset \_TSU\_AS\_SUDO fi \_is\_pos() { for e in -u --user -E --preserve-enviroment; do [[ "$e" == "$1" ]] && return 1; done return 0 } for arg in "$@"; do # It is important to break as soon as we see a positional argument # Otherwise `sudo id -u` or `sudo some\_cmd -E` wont work as expected if \_is\_pos "$arg"; then break; fi case $arg in -u | --user) SWITCH\_USER="$2" shift shift ;; -E | --preserve-enviroment) ENVIRONMENT\_PRESERVE=true shift ;; esac done fi log\_DEBUG \_TSU\_AS\_SUDO if [[ -z "$\_TSU\_AS\_SUDO" ]]; then for arg in "$@"; do case $arg in -p | --syspre) PREPEND\_SYSTEM\_PATH=true shift ;; -a | --sysadd) APPEND\_SYSTEM\_PATH=true shift ;; -s | --shell) ALT\_SHELL="$2" shift shift ;; --version) echo "tsu - $\_TSU\_VERSION" exit ;; -h | --help) show\_usage exit ;; \*) POS\_ARGS+=("$1") shift ;; esac done SWITCH\_USER="${POS\_ARGS[0]}" fi declare -A EXP\_ENV env\_path\_helper() { # We will try to match the default behavior of normal linux su # Unless the user specifically asks to preserve the enviroment, # We create a fresh new one. log\_DEBUG "${FUNCNAME[0]}" log\_DEBUG SWITCH\_USER if [[ -z "$SWITCH\_USER" ]]; then ## By default we start a fresh root shell with HOME set to that of the root home # Creat root $HOME if it doesnt exsists yet [[ -d "$ROOT\_HOME" ]] || mkdir "$ROOT\_HOME" NEW\_HOME="$ROOT\_HOME" EXP\_ENV[PREFIX]="$PREFIX" EXP\_ENV[TMPDIR]="$ROOT\_HOME/.tmp" EXP\_ENV[LD\_PRELOAD]="$LD\_PRELOAD" log\_DEBUG \_TSU\_AS\_SUDO if [[ "$\_TSU\_AS\_SUDO" == true ]]; then # sudo copies PATH variable, so most user binaries can run as root # tested with `sudo env` version 1.8.31p1 NEW\_PATH="$PATH" EXP\_ENV[SUDO\_GID]="$(id -g)" EXP\_ENV[SUDO\_USER]="$(id -un)" EXP\_ENV[SUDO\_USER]="$(id -u)" else NEW\_PATH="$TERMUX\_PATH" fi # Android versions prior to 7.0 will break if LD\_LIBRARY\_PATH is set log\_DEBUG "LD\_LIBRARY\_PATH" if [[ -n "$LD\_LIBRARY\_PATH" ]]; then SYS\_LIBS="/system/lib64" EXP\_ENV[LD\_LIBRARY\_PATH]="$LD\_LIBRARY\_PATH:$SYS\_LIBS" else ASP="${ANDROID\_SYSPATHS}:${EXTRA\_SYSPATHS}" # Should we add /system/\* paths: # Some Android utilities work. but some break log\_DEBUG "PREPEND\_SYSTEM\_PATH" if [[ -n "$PREPEND\_SYSTEM\_PATH" ]]; then NEW\_PATH="$ASP:$NEW\_PATH" else NEW\_PATH="$NEW\_PATH:$ASP" fi fi else # Other uid in the system cannot run Termux binaries NEW\_HOME="/" NEW\_PATH="$ANDROID\_SYSPATHS" fi # We create a new environment cause the one on the # user Termux enviroment may be polluted with startup scripts EXP\_ENV[PATH]="$NEW\_PATH" EXP\_ENV[HOME]="$NEW\_HOME" EXP\_ENV[TERM]="xterm-256color" [[ -z "$\_TSU\_DEBUG" ]] || set +x ## Android specific exports: Need more testing. EXP\_ENV[ANDROID\_ROOT]="$ANDROID\_ROOT" EXP\_ENV[ANDROID\_DATA]="$ANDROID\_DATA" ENV\_BUILT="" for key in "${!EXP\_ENV[@]}"; do ENV\_BUILT="$ENV\_BUILT $key=${EXP\_ENV[$key]} " done # Following line added to fix the problem of pwd starting with (unreachable) ENV\_BUILT+=" PWD=$(echo $PWD | cut -c 14-)" [[ -z "$\_TSU\_DEBUG" ]] || set -x } root\_shell\_helper() { log\_DEBUG "${FUNCNAME[0]}" if [[ -n "$SWITCH\_USER" ]]; then ROOT\_SHELL="/system/bin/sh" return fi # Selection of shell, checked in this order. # user defined shell -> user's login shell # bash -> sh log\_DEBUG "ALT\_SHELL" if [[ "$ALT\_SHELL" == "system" ]]; then ROOT\_SHELL="/system/bin/sh" elif [[ -n "$ALT\_SHELL" ]]; then # Expand //usr/ to /usr/ ALT\_SHELL\_EXPANDED="${ALT\_SHELL/\/usr\//$TERMUX\_PREFIX\/}" ROOT\_SHELL="$ALT\_SHELL\_EXPANDED" elif [[ -x "$HOME/.termux/shell" ]]; then ROOT\_SHELL="$(readlink -f -- "$HOME/.termux/shell")" elif [[ -x "$PREFIX/bin/bash" ]]; then ROOT\_SHELL="$PREFIX/bin/bash" else ROOT\_SHELL="$PREFIX/bin/sh" fi } log\_DEBUG \_TSU\_AS\_SUDO if [[ "$\_TSU\_AS\_SUDO" == true ]]; then if [[ -z "$1" ]]; then show\_usage\_sudo exit 1 fi CMD\_ARGS=$(printf '%q ' "$@") log\_DEBUG ENVIRONMENT\_PRESERVE [[ -n "$ENVIRONMENT\_PRESERVE" ]] || env\_path\_helper STARTUP\_SCRIPT="$CMD\_ARGS" else root\_shell\_helper env\_path\_helper STARTUP\_SCRIPT="$ROOT\_SHELL" fi SU\_BINARY\_SEARCH=("/system/xbin/su" "/system/bin/su") # On some systems with other root methods `/sbin` is inacessible. if [[ -x "/sbin" ]]; then SU\_BINARY\_SEARCH+=("/sbin/su" "/sbin/bin/su") else SKIP\_SBIN=1 fi # Unset all Termux LD\_\* enviroment variables to prevent symbols missing , dlopen()ing of wrong libs. unset LD\_LIBRARY\_PATH unset LD\_PRELOAD ### ----- MAGISKSU # shellcheck disable=SC2117 if [[ -z "$SKIP\_SBIN" && "$(/sbin/su -v)" == \*"MAGISKSU" ]]; then # We are on Magisk su su\_args=("/sbin/su") [[ -z "$SWITCH\_USER" ]] || su\_args+=("$SWITCH\_USER") su\_cmdline="PATH=$BB\_MAGISK " if [[ -n "$ENVIRONMENT\_PRESERVE" ]]; then su\_args+=("--preserve-environment") su\_cmdline+="$STARTUP\_SCRIPT" else su\_cmdline+="env -i $ENV\_BUILT $STARTUP\_SCRIPT" fi su\_args+=("-c") exec "${su\_args[@]}" "${su\_cmdline}" ##### ----- END MAGISKSU else ##### ----- OTHERS SU for SU\_BINARY in "${SU\_BINARY\_SEARCH[@]}"; do if [[ -x "$SU\_BINARY" ]]; then su\_args=("$SU\_BINARY") [[ -z "$SWITCH\_USER" ]] || su\_args+=("$SWITCH\_USER") # Let's use the system toybox/toolbox for now su\_cmdline="PATH=$ANDROID\_SYSPATHS " if [[ -n "$ENVIRONMENT\_PRESERVE" ]]; then su\_args+=("--preserve-environment") su\_cmdline+="$STARTUP\_SCRIPT " else su\_cmdline+="env -i $ENV\_BUILT $STARTUP\_SCRIPT" fi su\_args+=("-c") exec "${su\_args[@]}" "${su\_cmdline}" fi done fi ##### ----- END OTHERS SU # We didnt find any su binary set +x printf -- "No superuser binary detected. \n" printf -- "Are you rooted? \n" if [[ -n "$\_TSU\_DEBUG" ]]; then echo "-------------------------------------" echo "tsu ran in debug mode." echo "Full log can be found in tsu\_debug.log" echo "Report any issues to: https://github.com/cswl/tsu " fi exit 1 ``` Upvotes: 0 <issue_comment>username_2: Go to Magisk settings if you are rooted device with Magisk and set "Mount Namespace Mode" to "Inherit Namespace" and reboot device. If you are using SuperSU, go to SuperSU settings and enable "Mount Namespace Separation" mode. Upvotes: 1
2020/10/21
272
1,010
<issue_start>username_0: I recently spotted a "crossed circle" system notification icon on my Fire HD 10. [![enter image description here](https://i.stack.imgur.com/LnFx5.png)](https://i.stack.imgur.com/LnFx5.png) What does it mean?<issue_comment>username_1: Circle with slash means you tapped the volume button and then selected "None". It means you are in silent mode. In some devices it's also when there's no cellular network. Upvotes: 0 <issue_comment>username_2: It means hands-free Alexa. You can change that on and off at the notification bar. Upvotes: 0 <issue_comment>username_3: When this sign (circle with line through)is on it means that Alexa does not work, go to settings and activate Alexa and it disappears. Note :- this is on a Kindle Fire Tablet. Upvotes: 0 <issue_comment>username_4: It means that you have not turned on the "hands free" feature of the Alexa app. Instead of just speaking to Alexa, you will first have to long press the home button to make her listen to you. Upvotes: 2
2020/10/21
297
1,060
<issue_start>username_0: I have Verizon Fios Router that has following network * Fios-95QSI-5G * Fios-95QSI My laptop detects and connect to 5GHz Wifi, but not my Android Samsung. How do I fix this? Below are the specifics * Samsung Galaxy J3 Prime (SM-J327T1) * Android Version 7<issue_comment>username_1: Circle with slash means you tapped the volume button and then selected "None". It means you are in silent mode. In some devices it's also when there's no cellular network. Upvotes: 0 <issue_comment>username_2: It means hands-free Alexa. You can change that on and off at the notification bar. Upvotes: 0 <issue_comment>username_3: When this sign (circle with line through)is on it means that Alexa does not work, go to settings and activate Alexa and it disappears. Note :- this is on a Kindle Fire Tablet. Upvotes: 0 <issue_comment>username_4: It means that you have not turned on the "hands free" feature of the Alexa app. Instead of just speaking to Alexa, you will first have to long press the home button to make her listen to you. Upvotes: 2
2020/10/23
685
2,262
<issue_start>username_0: How to disable heads-up notifications (pop-up notifications)? (These are the notifications that show at the upper part of the screen and obstruct the view.)<issue_comment>username_1: Go to Settings > Applications & Notifications> Notifications. Upvotes: 0 <issue_comment>username_2: First of all you'll have to install adb on your pc and then connect your phone and run the commands Installing ADB -------------- 1. Download adb installer from [HERE](https://www.youtube.com/redirect?q=https%3A%2F%2Fgoo.gl%2FWTNmSn&v=496EBFITOAs&event=video_description&redir_token=<KEY>IQW94c1<PASSWORD>%3D%3D) on your pc 2. Run the setup and do as directed to install adb. See [THIS](https://www.youtube.com/watch?v=496EBFITOAs) video for reference Connecting device and running command ------------------------------------- 1. To use ADB with your Android device, you must enable a feature called USB debugging. Open your phone’s app drawer, tap the Settings icon, and select “About Phone”. Scroll all the way down and tap the “Build Number” item seven times. You should get a message saying you are now a developer. 2. Head back to the main Settings page, and you should see a new option near the bottom called “Developer Options”. Open that, and enable “USB Debugging”. 3. Later on, when you connect your phone to your computer, you’ll see a popup entitled “Allow USB Debugging?” on your phone. Check the “Always allow from this computer” box and tap OK. Select connection type to MTP from charge only if this doesn't pop up. Take a look at [THIS](https://www.google.com/amp/s/www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/amp/) if you're stuck somewhere.. Everything mentioned above is demonstrated here with pictures 4. Now open command prompt and type `adb devices`. You'll see a device listed there. 5. Enter `adb shell settings put global heads_up_notifications_enabled 0` to distable it. And if you want to enable it back again enter `adb shell settings put global heads_up_notifications_enabled 1` Upvotes: 2
2020/10/23
788
2,596
<issue_start>username_0: My Nokia 7.2 Android 10 phone has the following strange problem that is 100% reproducible: 1. Sits there doing nothing for 10 or 20 minutes. 2. Receives a phone call but does not ring. 3. Receives another phone call soon without ringing. 4. Receives another phone call soon without ringing. 5. Receives another phone call and rings finally. It will continue to ring if a phone call is received soon. Again, the above can be reproduced reliably. Could anyone offer a tip on how to fix this?<issue_comment>username_1: Go to Settings > Applications & Notifications> Notifications. Upvotes: 0 <issue_comment>username_2: First of all you'll have to install adb on your pc and then connect your phone and run the commands Installing ADB -------------- 1. Download adb installer from [HERE](https://www.youtube.com/redirect?q=https%3A%2F%2Fgoo.gl%2FWTNmSn&v=496EBFITOAs&event=video_description&redir_token=<PASSWORD>%3D%3D) on your pc 2. Run the setup and do as directed to install adb. See [THIS](https://www.youtube.com/watch?v=496EBFITOAs) video for reference Connecting device and running command ------------------------------------- 1. To use ADB with your Android device, you must enable a feature called USB debugging. Open your phone’s app drawer, tap the Settings icon, and select “About Phone”. Scroll all the way down and tap the “Build Number” item seven times. You should get a message saying you are now a developer. 2. Head back to the main Settings page, and you should see a new option near the bottom called “Developer Options”. Open that, and enable “USB Debugging”. 3. Later on, when you connect your phone to your computer, you’ll see a popup entitled “Allow USB Debugging?” on your phone. Check the “Always allow from this computer” box and tap OK. Select connection type to MTP from charge only if this doesn't pop up. Take a look at [THIS](https://www.google.com/amp/s/www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/amp/) if you're stuck somewhere.. Everything mentioned above is demonstrated here with pictures 4. Now open command prompt and type `adb devices`. You'll see a device listed there. 5. Enter `adb shell settings put global heads_up_notifications_enabled 0` to distable it. And if you want to enable it back again enter `adb shell settings put global heads_up_notifications_enabled 1` Upvotes: 2
2020/10/24
710
2,361
<issue_start>username_0: For example, say I have a sentence that I want to end with a period then have returned to a new line, but the contents of that sentence itself *include* `period` and `new line` as literals. Is it possible to use voice-only commands to write such a message?<issue_comment>username_1: Go to Settings > Applications & Notifications> Notifications. Upvotes: 0 <issue_comment>username_2: First of all you'll have to install adb on your pc and then connect your phone and run the commands Installing ADB -------------- 1. Download adb installer from [HERE](https://www.youtube.com/redirect?q=https%3A%2F%2Fgoo.gl%2FWTNmSn&v=496EBFITOAs&event=video_description&redir_token=<KEY>Zt<KEY> <PASSWORD>9N<PASSWORD>ZFVFN<PASSWORD>V<PASSWORD>cw%3D%3D) on your pc 2. Run the setup and do as directed to install adb. See [THIS](https://www.youtube.com/watch?v=496EBFITOAs) video for reference Connecting device and running command ------------------------------------- 1. To use ADB with your Android device, you must enable a feature called USB debugging. Open your phone’s app drawer, tap the Settings icon, and select “About Phone”. Scroll all the way down and tap the “Build Number” item seven times. You should get a message saying you are now a developer. 2. Head back to the main Settings page, and you should see a new option near the bottom called “Developer Options”. Open that, and enable “USB Debugging”. 3. Later on, when you connect your phone to your computer, you’ll see a popup entitled “Allow USB Debugging?” on your phone. Check the “Always allow from this computer” box and tap OK. Select connection type to MTP from charge only if this doesn't pop up. Take a look at [THIS](https://www.google.com/amp/s/www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/amp/) if you're stuck somewhere.. Everything mentioned above is demonstrated here with pictures 4. Now open command prompt and type `adb devices`. You'll see a device listed there. 5. Enter `adb shell settings put global heads_up_notifications_enabled 0` to distable it. And if you want to enable it back again enter `adb shell settings put global heads_up_notifications_enabled 1` Upvotes: 2
2020/10/25
728
2,972
<issue_start>username_0: I didn’t have access to my phone for a month, I’m afraid that I could have installed any software or hardware spyware. Is it possible to check it somehow by logs? Does the Android system keep logs for all operations in the system?<issue_comment>username_1: Unfortunately Android does not maintain any persistent long-term log files by default. There are some log buffers available that can be read via `adb logcat`. However the logs logcat can display to you are written to a fixed size log buffer (usually between 64k and 256k). If the buffer is full the first entries are overwritten. Depending on the log traffic per minute this buffer usually last about some minutes up to may be some hours on a device that does not log very much (some devices really do create many log entries). Some apps my do so, but if the logs are saved in the app private directory you need a rooted device to access them Also check the `sdcard/Android` folder and sub-folders for logs, but don't expect too much. Therefore in your case all you can do is to perform a factory reset and if possibly try to re-install the device from a firmware image from your device manufacturer (if the manufacturer provides them). Then it is up to you if you trust your device or not. Upvotes: 3 <issue_comment>username_2: Here is some ADB commands that can help: **Dump each app and it data usage** ``` for package in $(pm list packages | cut -f2 -d":"); do echo $package; pm dump $package | grep "Mobile network"; done; ``` **Monitor Application** ``` for package in $(dumpsys package | grep "Package \[" | cut -d "\[" -f2 | cut -d "\]" -f1); do echo $package $(dumpsys package $package | grep firstInstallTime) done; ``` That will list install date of all the applications on the device. You can replace "firstInstallTime" with "lastUpdateTime" to get last update time. Some applications monitor and store the phone state in a database or a log file, you can also backup the apps in the device and try to find some useful information in these backups. Hope it can help! Upvotes: 3 <issue_comment>username_3: No. === It's not possible to use native Android logging to definitively say that your phone was not compromised when it was out of your physical control for a month. If a device is out of your physical control for that long, you pretty much have to assume that anyone determined enough could have tampered with *anything* on it, including tampering with the logs to make it look like the phone was not tampered with. If you include hardware tampering, then really the sky is the limit. On top of that, the native system logs aren't really designed to record tampering anyway, but just to help developers with debugging. That said, you do have to weigh the threat level here. It's one thing if you have a normal life and your phone was left with a friend for a month vs. if you are in a spy film and your phone was captured by the villain. Upvotes: 2
2020/10/26
484
1,930
<issue_start>username_0: Project Mainline (officially ["Modular System Components"](https://source.android.com/devices/architecture/modular-system)) introduced a set of OS components that Google can update via *Google Play system updates*. Some of these modules are mandatory for OEMs to support depending on the version of Android that the phone ships with, but **some of these modules are optional. OEMs can choose to add support for more modules when updating to a new version of Android, as well.** As the title states, **how can an Android user determine which of these modular system components their phone actually supports?**<issue_comment>username_1: *Note: user IrfanLatif answered this question in a comment under the original post.* Each "Modular System Component" is stored as a single `.apex` file in `system/apex/` or `vendor/apex`. The name of each file in this directory indicates which module it is. For instance, `system/apex/com.google.android.tzdata.apex` is the time zone data module (<https://source.android.com/devices/architecture/modular-system/timezone>). I was able to see these files using a file explorer app, no root access necessary. Upvotes: 2 [selected_answer]<issue_comment>username_2: You can run `/system/bin/pm get-moduleinfo --installed` to list all installed modules with their package name and package label. Running `/system/bin/pm get-moduleinfo --all` lists all available modules (possibly some that are not installed) currently known for that Android release Upvotes: 2 <issue_comment>username_3: Try this app of mine: [Mainline Module Info/Updater](https://play.google.com/store/apps/details?id=io.simplicity.trainspotting) In addition, I was able to get more details about specific module through adb shell: `dumpsys package [mainline package name]` Screenshot of the app: [![screenshot](https://i.stack.imgur.com/BYNyUl.png)](https://i.stack.imgur.com/BYNyUl.png) Upvotes: 1
2020/10/28
463
1,755
<issue_start>username_0: I lost my old android phone. Decided to try out an iphone just to get literate. I'm wondering what the process is for transferring my contacts from my old android phone (which i don't have access to) to my new iphone. I'm using Verizon as a provider, so might be able to leverage their cloud, though I am not sure if that's an option. I'm wondering if anyone else has done this before, and / or knows of a standard way to go about it.<issue_comment>username_1: *Note: user IrfanLatif answered this question in a comment under the original post.* Each "Modular System Component" is stored as a single `.apex` file in `system/apex/` or `vendor/apex`. The name of each file in this directory indicates which module it is. For instance, `system/apex/com.google.android.tzdata.apex` is the time zone data module (<https://source.android.com/devices/architecture/modular-system/timezone>). I was able to see these files using a file explorer app, no root access necessary. Upvotes: 2 [selected_answer]<issue_comment>username_2: You can run `/system/bin/pm get-moduleinfo --installed` to list all installed modules with their package name and package label. Running `/system/bin/pm get-moduleinfo --all` lists all available modules (possibly some that are not installed) currently known for that Android release Upvotes: 2 <issue_comment>username_3: Try this app of mine: [Mainline Module Info/Updater](https://play.google.com/store/apps/details?id=io.simplicity.trainspotting) In addition, I was able to get more details about specific module through adb shell: `dumpsys package [mainline package name]` Screenshot of the app: [![screenshot](https://i.stack.imgur.com/BYNyUl.png)](https://i.stack.imgur.com/BYNyUl.png) Upvotes: 1
2020/10/29
388
1,507
<issue_start>username_0: I'm really paranoid about my privacy idk why. Recently I installed Whatsapp Aero which is super cool but unfortunately its developer is expert in making spyware apps too. I found this [Bouncer app](https://play.google.com/store/apps/details?id=com.samruston.permission&hl=en_IN&gl=US) which provides permissions temporarily. But this app is paid and not open source again. I tried shelter app to isolate it but due to the dual app feature in my phone i can't a add work profile. Can anyone suggest me how can i monitor what the app does in background OR make an script which grants and revokes permissions through adb OR any alternative to Bouncer? I'm gonna buy the bounce app if i'm outta options. The developer deserves it :) P.S. My device is not rooted.<issue_comment>username_1: I suggest using [Android Mobile Device Hardening](https://github.com/SecTheTech/AMDH) which: * list installed apps and their dangerous permissions * revoke dangerous permissions for all Apps * list applications that are device admin Upvotes: 2 <issue_comment>username_2: Most of the benefits are avaialble with a modified device (Custom ROM Flashed). Your phone is faster and better without Google Apps. Root acceess gives you the added benefits of apps like [App Ops](https://play.google.com/store/apps/details?id=rikka.appops) and [Storage Isolation](https://play.google.com/store/apps/details?id=moe.shizuku.redirectstorage). These are precisely the apps that you are looking for. Upvotes: 1
2020/10/30
231
903
<issue_start>username_0: I have a project that requires me to test it on a Sony device. Unfortunately, I don't have a physical device. Is there a Sony emulator for Android Studio?<issue_comment>username_1: I suggest using [Android Mobile Device Hardening](https://github.com/SecTheTech/AMDH) which: * list installed apps and their dangerous permissions * revoke dangerous permissions for all Apps * list applications that are device admin Upvotes: 2 <issue_comment>username_2: Most of the benefits are avaialble with a modified device (Custom ROM Flashed). Your phone is faster and better without Google Apps. Root acceess gives you the added benefits of apps like [App Ops](https://play.google.com/store/apps/details?id=rikka.appops) and [Storage Isolation](https://play.google.com/store/apps/details?id=moe.shizuku.redirectstorage). These are precisely the apps that you are looking for. Upvotes: 1
2020/10/30
457
1,707
<issue_start>username_0: I'm joining a Zoom call on my laptop, but I also want to join the same call on my Android device in order to share my Android device's screen and to use my Android device's camera. I don't want to hear other people's voices coming from both my laptop and my phone, I only want to hear their voices coming from my laptop. So I need to turn off the volume on my Android phone. If I press the Volume down button, Zoom won't let me decrease the volume all the way to zero. I expected they developed the app this way to help users who don't realise that the volume on their device is set to zero. However, in my use-case, this is proving annoying, as I'm now hearing the same voices coming from my phone and from my laptop. **How do I turn off sound on an Android device when on a Zoom call?**<issue_comment>username_1: The only solution I have found for this so far is to plug in some headphones into the phone, without wearing the headphones. That way, I don't hear the sound output by the Zoom app on the phone. Upvotes: 0 <issue_comment>username_2: When you're joining a meeting, you can find an option "Call via Device Audio" under the button menu "Join Audio". If you don't enable it, you can't hear the participants' voice. [![enter image description here](https://i.stack.imgur.com/RnqjU.png)](https://i.stack.imgur.com/RnqjU.png) Or You may disconnect the audio from the **more** options present at the right- bottom (the dots) [![enter image description here](https://i.stack.imgur.com/h9lkE.png)](https://i.stack.imgur.com/h9lkE.png) [![enter image description here](https://i.stack.imgur.com/deiIl.png)](https://i.stack.imgur.com/deiIl.png) Upvotes: 3 [selected_answer]
2020/10/31
308
1,103
<issue_start>username_0: I am using a Motorola phone which has a dedicated Google Assistant button, but I don't use the assistant much. Is it possible to customize the button and use it for some other activity?<issue_comment>username_1: The only solution I have found for this so far is to plug in some headphones into the phone, without wearing the headphones. That way, I don't hear the sound output by the Zoom app on the phone. Upvotes: 0 <issue_comment>username_2: When you're joining a meeting, you can find an option "Call via Device Audio" under the button menu "Join Audio". If you don't enable it, you can't hear the participants' voice. [![enter image description here](https://i.stack.imgur.com/RnqjU.png)](https://i.stack.imgur.com/RnqjU.png) Or You may disconnect the audio from the **more** options present at the right- bottom (the dots) [![enter image description here](https://i.stack.imgur.com/h9lkE.png)](https://i.stack.imgur.com/h9lkE.png) [![enter image description here](https://i.stack.imgur.com/deiIl.png)](https://i.stack.imgur.com/deiIl.png) Upvotes: 3 [selected_answer]
2020/11/03
1,128
4,195
<issue_start>username_0: In Android 10 I had grayscale display turned on. This was achieved by dragging editing the dropdown shade to add the Grayscale tile. I just updated to Android 11. The display is still in grayscale, but the Grayscale tile is removed, so there doesn't seem to be any way to turn it off! I sometimes want to when using the camera, but then switch back to grayscale for day-to-day use. How can I toggle grayscale in Android 11? Moreover, is there a quick way to do so? The old way (pre-Android 10) involved turning on developer mode and changing a deeply embedded developer setting. --- **EDIT**: There is a new Bedtime Mode tile. When I turned it on and off, color was restored. Turning bedtime mode on goes into grayscale, but also sets Do Not Disturb. So I can turn on grayscale only be entering bedtime mode and then turning *off* Do Not Disturb. This is less than ideal. Also, bedtime mode only lasts till the following morning. Is there a way to either (a) recover turning on grayscale *without* bedtime, or (b) change bedtime mode to last until turned off?<issue_comment>username_1: Try this app.. <https://play.google.com/store/apps/details?id=com.vegardit.grayswitch> Grant it the write secure settings permission through adb and change the settings accordingly. And if you don't want to use a 3rd party app then try these commands.. ``` adb shell settings list secure (if not in this then try the other 2) adb shell settings list system adb shell settings list global ``` and see if there is a option of grayscale. If there is then.. `adb shell settings put global 0` to disable and `1` to enable back. Upvotes: 0 <issue_comment>username_2: Actually you can **schedule** and **customize** the **Bedtime mode**. If you long press the Bedtime mode tile, it'll open the Bedtime mode screen. [![enter image description here](https://i.stack.imgur.com/TMgJJ.png)](https://i.stack.imgur.com/TMgJJ.png) 1. In the schedule option, select all the days and in the time select **00.00** to **23.59**, so as to keep it on almost the whole day(max. possible time - 23hrs 59 mins a day). 2. If you tap the **Customize** option, you can see a way to turn off the DND mode. That's it, done! Now you can simply tap the **Bedtime** tile and it'll remain on Once you've done this, you need not turn off DNS, while enabling Bedtime mode, as it's customized now. --- A small point: Bedtime mode turns off an hour before if you've set an alarm, say you set an alarm at 5.00 a.m. Then, the screen turns back colorful at 4.00 a.m. And if you set an alarm daily at that time, schedule bedtime from say, 5.05 to 5.04 or so Upvotes: 2 <issue_comment>username_3: This guy in reddit has a great approach: <https://www.reddit.com/r/GooglePixel/comments/9w4xc8/easy_toggle_between_monochrome_and_color_display/> He shares that the Accessibility feature in Android has the ability to easily toggle monochrome in Android 11, even if there's no shortcut available from the pull-down menu. On my Pixel 3, I go to Settings, Accessibility, look for Color Correction, and turn that on to get black and white. Then scrolling down in the Color Correction menu, under Options, select "Color correction shortcut" to either swipe up with two fingers to toggle between monochrome and color, or hold both volume buttons. Enjoy! Upvotes: 1 <issue_comment>username_4: You can turn on grayscale permanently from the developer options. Go to settings -> about phone -> software information -> click on build number repeatedly until you unlock developer options. Then go back into settings -> developer options and find "simulate color space" under hardware accelerated rendering. You can choose monochromancy there and it will greyscale your phone everywhere without turning off or relying on bedtime mode. Upvotes: 1 <issue_comment>username_5: [![Screenshot](https://i.stack.imgur.com/50Flz.jpg)](https://i.stack.imgur.com/50Flz.jpg) Going along with the first answer **@username_2** You can an add a quick toggle. So when it's clicked, it just goes into greyscale only, leaving out the no audio and time restraints. This is a Xiaomi Redmi 10, Android 11 Upvotes: 1
2020/11/03
425
1,637
<issue_start>username_0: If an Android user debug build comes with adb root access by default, does it contain the su binary to achieve this? If not, is it any different from rooting your phone?<issue_comment>username_1: No, adb does not require a `su` binary to get root permissions. On a regular build, it is just the other way around: `adbd` is started by the Android system itself with root permissions. Up to a certain point, it uses these root permissions (open port and so on), and then adbd drops the root permissions. On an Android user debug build, it comes with adb root access. `adbd` does not drop the root permissions, hence every command executed via adb is also executed with root permissions. Upvotes: 2 <issue_comment>username_2: I just built a `userdebug` version of AOSP 10.0 for my Pixel 4 XL; it does contain an `su` binary in `/system/xbin/su`. It differs from what many mean by "rooting" in that it doesn't let you actually run `su` from on the phone itself (say, within Termux). It can only be executed by root or a member of the `shell` group, which is what is used while running an adb shell session. However, it still is a way to run things as root; it merely requires an adb connection to do so. If your USB cable doesn't carry data or your USB port is broken/faulty, you wouldn't be able to run things as root anymore (unless you had already set up `adb` on the device to run over TCP). I later put Magisk on my otherwise-AOSP ROM and now have two `su` binaries; the Magisk one is installed in `/sbin/su`. Magisk's `/sbin/su` will let me run things as root without an adb connection active. Upvotes: 1
2020/11/11
461
1,705
<issue_start>username_0: I lost Pocket and other options in Android Chrome share... [![](https://i.stack.imgur.com/sgvSW.jpg)](https://i.stack.imgur.com/sgvSW.jpg) How do I get them back? Apologies, as I think I'm missing something obvious and I'm being stupid.<issue_comment>username_1: No, adb does not require a `su` binary to get root permissions. On a regular build, it is just the other way around: `adbd` is started by the Android system itself with root permissions. Up to a certain point, it uses these root permissions (open port and so on), and then adbd drops the root permissions. On an Android user debug build, it comes with adb root access. `adbd` does not drop the root permissions, hence every command executed via adb is also executed with root permissions. Upvotes: 2 <issue_comment>username_2: I just built a `userdebug` version of AOSP 10.0 for my Pixel 4 XL; it does contain an `su` binary in `/system/xbin/su`. It differs from what many mean by "rooting" in that it doesn't let you actually run `su` from on the phone itself (say, within Termux). It can only be executed by root or a member of the `shell` group, which is what is used while running an adb shell session. However, it still is a way to run things as root; it merely requires an adb connection to do so. If your USB cable doesn't carry data or your USB port is broken/faulty, you wouldn't be able to run things as root anymore (unless you had already set up `adb` on the device to run over TCP). I later put Magisk on my otherwise-AOSP ROM and now have two `su` binaries; the Magisk one is installed in `/sbin/su`. Magisk's `/sbin/su` will let me run things as root without an adb connection active. Upvotes: 1
2020/11/13
518
2,025
<issue_start>username_0: Ok, the problem is my camera's protective glass cover has wore down and now some dust has entered, causing the camera's output to become blurred. This is causing me a lot of issues currently, especially when I need to scan some QR code. For example, now I can't login to WhatsApp on my PC, cuz I need to scan their QR code with my phone. What I want is, use another phone's camera instead of my phone's camera, just like the DroidCam functionality, where you use your phone's camera instead of your PC's camera. Are there any apps designed for this purpose?<issue_comment>username_1: No, adb does not require a `su` binary to get root permissions. On a regular build, it is just the other way around: `adbd` is started by the Android system itself with root permissions. Up to a certain point, it uses these root permissions (open port and so on), and then adbd drops the root permissions. On an Android user debug build, it comes with adb root access. `adbd` does not drop the root permissions, hence every command executed via adb is also executed with root permissions. Upvotes: 2 <issue_comment>username_2: I just built a `userdebug` version of AOSP 10.0 for my Pixel 4 XL; it does contain an `su` binary in `/system/xbin/su`. It differs from what many mean by "rooting" in that it doesn't let you actually run `su` from on the phone itself (say, within Termux). It can only be executed by root or a member of the `shell` group, which is what is used while running an adb shell session. However, it still is a way to run things as root; it merely requires an adb connection to do so. If your USB cable doesn't carry data or your USB port is broken/faulty, you wouldn't be able to run things as root anymore (unless you had already set up `adb` on the device to run over TCP). I later put Magisk on my otherwise-AOSP ROM and now have two `su` binaries; the Magisk one is installed in `/sbin/su`. Magisk's `/sbin/su` will let me run things as root without an adb connection active. Upvotes: 1
2020/11/14
197
831
<issue_start>username_0: When I lose my device (or think I did) I would like my partner to be able to locate it. However, I cannot find any such setting in the "Find my Device" app. Is there maybe an alternative application that allows this?<issue_comment>username_1: you must add the account of your partner on the devices and then open Find my Device app and login whit that account on the app and give some permissions, sorry i don't comment instead of answer because it is not complete the answer but i don't have that privilege jet ! :P I hope it helps ! Upvotes: 1 <issue_comment>username_2: It's a bit of a workaround, but I use the Automate app to turn the ringer volume up to maximum when my phone receives an SMS with a specific text from my partner's phone. Then she can ring my phone and it's easy to find. Upvotes: 2
2020/11/16
520
1,934
<issue_start>username_0: I've installed "Automate" Android App which I thought that I can use it easily. But it turned out I don't understand at all on how to use it. I've read a simple tutorial on [how to create "Hello World"](https://www.techrepublic.com/article/how-to-automate-tasks-and-workflows-on-android-with-the-automate-app/) with this app, but I can't find any where else a tutorial on how to do the things I want with this app. I've read the ["Automate" documentation](https://llamalab.com/automate/doc/index.html), but I still don't understand at all. My Android Camera phone will directly put the taken photo into DCIM/Camera folder. So what I want is : * A. Either "automate" the newly taken photo into DCIM/whatever folder * B. Or "automate" to move the newly taken photo from DCIM/Camera folder into DCIM/whatever folder. I've read in this site a question which is similar to mine : [How can I save taken photos and recorded videos out of DCIM folder?](https://android.stackexchange.com/questions/33570/how-can-i-save-taken-photos-and-recorded-videos-out-of-dcim-folder) But the question is about external-sd card and the answer is using Tasker App. So if it's possible to do it with Automate App, I wonder how do I do it. Any kind of respond would be greatly appreciated. Thank you in advanced. ---<issue_comment>username_1: you must add the account of your partner on the devices and then open Find my Device app and login whit that account on the app and give some permissions, sorry i don't comment instead of answer because it is not complete the answer but i don't have that privilege jet ! :P I hope it helps ! Upvotes: 1 <issue_comment>username_2: It's a bit of a workaround, but I use the Automate app to turn the ringer volume up to maximum when my phone receives an SMS with a specific text from my partner's phone. Then she can ring my phone and it's easy to find. Upvotes: 2
2020/11/17
557
2,123
<issue_start>username_0: Device: OnePlus7, Android 10 **What happened** * Device was rooted with October security patch updated, custom kernel installed and Magisk Manager hidden (to prevent root detection by an app). All working fine. No problem. * Updated Magisk Manager to 8.0.3 successfully but it shows Magisk not installed [![enter image description here](https://i.stack.imgur.com/JCluvm.jpg)](https://i.stack.imgur.com/JCluvm.jpg) * But device is properly rooted and all rooted apps work fine. * I can see the hidden Magisk Manager in app drawer but tapping it doesn't help. Nothing happens. It tries to open, shows Magisk logo and disappears. * I can't access the Manager menu to see if I can fix something from there. **What I tried** * Flashed Magisk again from laptop. No use. * Restored stock kernel from backup made by kernel manager app. No use. * As suggested by [Didgeridoohan's guide](https://www.didgeridoohan.com/magisk/ManagerIssues) tried these + Cleared data of Manager. Uninstalled and installed Magisk Manager. No luck. + Uninstalled manager, installed canary manager and set channel to update to canary hoping that may help. Doesn't help. Device still properly rooted * Saw this [Github issue](https://github.com/topjohnwu/Magisk/issues/2014), Not applicable. **Things to try** * Flash Magisk uninstall zip and root again. * Try manual patching of boot image and flash * Dirty flash stock ROM - not possible because device is rooted and would result in boot loop. * **Any other simpler option?**<issue_comment>username_1: you must add the account of your partner on the devices and then open Find my Device app and login whit that account on the app and give some permissions, sorry i don't comment instead of answer because it is not complete the answer but i don't have that privilege jet ! :P I hope it helps ! Upvotes: 1 <issue_comment>username_2: It's a bit of a workaround, but I use the Automate app to turn the ringer volume up to maximum when my phone receives an SMS with a specific text from my partner's phone. Then she can ring my phone and it's easy to find. Upvotes: 2
2020/11/19
1,104
4,141
<issue_start>username_0: I want to check and play with different ROM's at my mobile phone. My phone is unlocked and rooted. Here is scenario: 1. I installed LineageOS 17.1(microG) and made backup using TWRP. I check all options for backup except cache(boot, data, recovery,system, system image,efs) 2. Next I want to install Ubuntu Touch custom ROM and I will make a backup. 3. Then I will install /e/ foundation OS ROM and I will make backup. Questions: 1. What would be good practices for making backups and restoring if I want to play between those systems recording all the changes at ROM(new apps,settings) along the way? 2. Let's say I want to back to Ubuntu Touch ROM from /e/ ROM. Which minimal options at TWRP backup should I check to get my previous state(fully functioning) at Ubuntu Touch ROM? 3. Should I back up all options at TWRP all the time? Remark: I don't expect LineageOS apps works at UbuntuTouch nor /e/ OS. I will install apps separatelly for each ROM. There is no need to share data between ROM's although if it is possible let me know.<issue_comment>username_1: Without getting into specifics of which ROM you are currently using and which one you want to flash, TWRP isn't a good idea. Reasons : * TWRP is used to make a nandroid image and as you can see from the [nandroid tag wiki help](https://android.stackexchange.com/tags/nandroid/info), you may run into serious issues if the directory structure of the ROM is different. Restoring a section of TWRP backup may also cause problems (read the linked page for details). * What may be a user app in one ROM, may well be a system app (having elevated privileges) and this may cause trouble. * Google dependencies : You may be running Gapps on Lineage and this may not be possible in other ROMs. * I am not familiar with Ubuntu but I doubt you would be able to run most user apps from LineageOS on that. There would be more reasons, but these occurred to me on reading your question. You are better off making individual backups of apps using [titanium-backup](/questions/tagged/titanium-backup "show questions tagged 'titanium-backup'") and restoring these as per your need. Recently, I was doing some research on backup apps since Titanium failed for me on Android 11,and I came across this app, specifically designed for frequent ROM flashers and this may fit your need better. See [Migrate-custom migration tool](https://play.google.com/store/apps/details?id=balti.migrate&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dmigrate+app+play+store) > > Move apps, data, contacts, SMS etc from one custom ROM to another. > > > Interestingly, it claims to restore app permissions too. XDA thread [here](https://forum.xda-developers.com/android/apps-games/app-migrate-custom-rom-migration-tool-t3862763/post78060823#post78060823) and Telegram [here](https://t.me/migrateApp.). You need TWRP to use this app. I haven't tried this app (don't need it) nor am I affiliated with it. Upvotes: 2 <issue_comment>username_2: Your approach should work **if you wipe partitions** before performing the restore. By default, TWRP performs "file-based backups" (think of "a tarball of all the file systems") – so if the target storage is empty, the restore should be fine. TWRP also offers "image copies", but as [Irfan Latif](https://android.stackexchange.com/users/218526/irfan-latif) pointed out probably not for all file systems. You could also create file system images using `dd` **when booted to TWRP** (backing up a "live system" leads to inconsistent backups as the file system changes while being backed up – always make sure that does NOT happen; booting to recovery is one way to ensure that). Those images you could store to the SD card – or directly write them off-device to your computer. Shameless self-promotion: For the `dd` approach, you might wish to take a look at my tool [Adebar](https://codeberg.org/izzy/Adebar) – which would create you the needed backup script, pulling images of all partitions directly to your computer (you will want to modify the generated script to restrict it to the partitions needed). Upvotes: 2
2020/11/20
277
1,025
<issue_start>username_0: I'm using a Xiaomi RedMi 3S phone, whose MIUI environment includes a "Notes" app. The app itself does not have an export feature. Can I somehow locate/extract the note data - for all notes - into text files, or some other readable format? Note: I don't know where this data is stored.<issue_comment>username_1: Choose an option: 1. Simple copy-paste. 2. Share/send note option - whichever exists - thereby sharing (exporting) it to the app (and hence format) you prefer. 3. Screenshot, because that's a readable format too, logically speaking. Don't know what the version of notes is in your Redmi 3s. Probably very outdated. Otherwise in newer apps, you have a not so good export feature. Upvotes: 0 <issue_comment>username_2: Solved it in the following way: 1. Synced notes with Xiaomi Cloud 2. Logged in to Xiaomi Cloud with my browser 3. Intercepted network requests with the help of BurpSuite 4. Parsed JSON-bodies with Python 5. Exported to Excel 6. TODO: Upload to Google Keep Upvotes: 2
2020/11/21
674
2,787
<issue_start>username_0: I wrongly click the button to book a update for Android System. How can I cancel it before Nov 22 after 02:00 [![enter image description here](https://i.stack.imgur.com/daHVsl.png)](https://i.stack.imgur.com/daHVsl.png)<issue_comment>username_1: You can not cancel the update itself because it has already been applied. Modern Android devices have the system partition twice (called A/B partition). One that is currently active and one that can be used for installing updates "seamless" (so called by Google). Which partition is currently active on next boot can be changed. The screen you show means that an update has been downloaded and installed on the non-active partition. The only step left is rebooting into the updated partition. I am not sure if you do the reboot but not switch to the updated partition. No matter even if you would manage to do so I assume that the system would start to download and re-apply the update again on the other partition and then ask for rebooting into it to finish the update. ### Prevent updates via Developer options Edit: Even if it is too late for you I stumbled over a settings that might be helpful in similar situations: On a Pixel 3a running Android 11 I saw in the **Developer options** and entry called **Automatic system updates** - Apply updates when device restarts Therefore if you have such an option and disable it while there is already a pending update plus a scheduled reboot you can cancel the update installation. If you decide later to install the update you can do that by manually triggering it in the Android system settings. [![enter image description here](https://i.stack.imgur.com/iCxvtm.png)](https://i.stack.imgur.com/iCxvtm.png) Upvotes: 3 [selected_answer]<issue_comment>username_2: Reboot into bootloader/fastboot mode. ``` $ fastboot getvar all | grep current-slot $ fastboot --set-active=a $ fastboot reboot ``` You can set the active slot to be `a` or `b` depending on which slot is currently used, from the output of the first command. For example, if you see `(bootloader) current-slot:b`, you set `a` as active instead. You can rerun the first command to verify that the change was made successfully. Once you reboot, you will see a notification saying that the update has failed, which is what you want. Upvotes: 2 <issue_comment>username_3: There is one simple solution to this thing, I have not experimented on Google Pixel. If the Install later option is showing then you can choose the option to stop the software from being upgraded or the download files will be present in the download folder. From thereafter file gets downloaded you can go there and delete the file before installing it. I have done this experiment on the Samsung Galaxy Phone. Upvotes: 0
2020/11/24
1,892
7,410
<issue_start>username_0: Some apps, like Facebook, LinkedIn, Tinder, etc., seem to have a mechanism to remember which Android phone installed their app. So if a user is banned on these apps, the next time somebody creates an account on the same Android phone, that account is flagged or even banned automatically. What is the way to make sure the app forgets that my Android phone was used previously with a banned account? I tried to clear the cache and delete app data, then uninstall the re-install the app, but it still remembers! I tried it on different IP addresses, but the same issue is there. Does the app have access to the IMEI of the phone!?? I am on Android v10.<issue_comment>username_1: I don't know exactly how each app implements this but I wold assume that they use the `ANDROID_ID`. Each app gets an ID that does not change. `ANDROID_ID` is a [random number](https://stackoverflow.com/a/29890124/150978) generated on first boot after factory reset. On old devices all apps (with the appropriate permission) can get access to this ID. The ID is the same for all apps. On modern devices each app gets an app-unique ID that is derived from the `ANDROID_ID`. This means the ID the app sees does not change no matter how often you(un)install the app. Only if the `ANDROID_ID` changes the app will see a new ID. Therefore you can perform a factory reset, that force creation a new `ANDROID_ID`. As far as I remember restoring a backup should also restore the old `ANDROID_ID`. On rooted devices you can directly manipulate the system wide respectively the app-specific `ANDROID_ID`: * [How to get app specific ANDROID\_ID on Android Oreo?](https://stackoverflow.com/a/58311243/150978) Upvotes: 2 <issue_comment>username_2: **tl:dr;** addressing OP's question - sorry, no way AFAIK. From Android 10 onwards normal apps can't access [IMEI number](https://developer.android.com/training/articles/user-data-ids). *Revised answer with additional inputs from Izzy (thanks)* How do apps (Google or third party) identify you? ================================================= Apps identify a device using: * Some or all of *device identifiers*, mainly Android ID, GSF Android ID, build serial number, and advertising ID. I know of one paid app which tracks IMEI too (before Android 10). It depends on the developer as to how badly they want to identify you and prevent installation of apps. See this excellent write up by [Izzy](https://android.stackexchange.com/users/16575/izzy) (a moderator here) for more details [Android Identifiers: How Android devices and their users are identified](https://android.izzysoft.de/articles/named/Identifiers-1). It is rare that an app depends only on one type of identification. I have observed over the last three years that shopping , banking, social media & social media related apps are particularly nasty and use every trick in the book. * In addition to this apps come packaged with trackers and loggers (all utilities which are used to log user activity on an app or logcat in general), which identify the user and their browsing patterns , in addition to **[fingerprinting user by device identification](https://www.appsflyer.com/product/mobile-ecosystem/)**. These can be used for benign purposes in theory but in practice can extend to key logging features that can track what you type. Have a look at *[Staggering variety of clandestine trackers found in popular Android apps](https://theintercept.com/2017/11/24/staggering-variety-of-clandestine-trackers-found-in-popular-android-apps/)*. What happens to this data? ========================== Those identifiers are stored on third-party servers (analytics companies and other "big data collectors" such as Facebook, Google, Amazon, Microsoft, etc.) – so once collected, there's no chance you can delete that. Some offer an opportunity to sign out, but there is no way you can have that data deleted. Even if it is legally possible under [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) (which I doubt), it is not a trivial task to get this implemented across hundreds of trackers/loggers. How can I prevent from being tracked/ identified? ================================================= **Root is a must for full control over this menace (see [rooting](/questions/tagged/rooting "show questions tagged 'rooting'"))** That's the unfortunate part. Without root you can only choose apps with care and probably try some hacks which in the long run aren't effective or at best partially useful. * **Choose the apps you want to install with care**: Up to a degree, apps like [TrackerControl](https://apt.izzysoft.de/fdroid/index/apk/net.kollnig.missioncontrol) or [Warden](https://apt.izzysoft.de/fdroid/index/apk/com.aurora.warden) can help. Ideally, you avoid apps including trackers; [Exodus Privacy](https://reports.exodus-privacy.eu.org/en/) is a good helper for that – and [Izzy's app listings](https://android.izzysoft.de/applists) use such services to "mark" apps, making it easier for you to sort the wheat from the chaff. * **Feed them faked information:** This approach is better than denying permissions because it doesn't result in malfunctioning apps or apps that crash. Highly recommend you to use [XPrivacyLua](https://github.com/M66B/XPrivacyLua/blob/master/README.md) being the most effective *broad spectrum* measure. This requires [EdXposed](https://android.stackexchange.com/questions/tagged/edxposed) to be installed from Android 8 and above (see the *restrictions* section to see what can be faked). If you are on earlier versions [Xprivacy](https://github.com/M66B/XPrivacy) by the same developer does the job with [Xposed](https://android.stackexchange.com/questions/tagged/xposed-framework). Even XPrivacyLua can't help in instances when the app code is obfuscated. The Warden app mentioned above can also "nuke" your device, making it free from trackers and loggers. It also gives you flexibility to tackle apps on individual basis. The Warden App Manager uses a static list of [trackers](https://gitlab.com/AuroraOSS/AppWarden/-/blob/master/app/src/main/assets/trackers.json) and [loggers](https://gitlab.com/AuroraOSS/AppWarden/-/blob/master/app/src/main/assets/loggers.json) compiled by French non-profit [Exodus Privacy](https://exodus-privacy.eu.org/en/). While Android has been showing greater concern for privacy and [PII](https://en.wikipedia.org/wiki/Personal_data) information over the last few versions, this problem is not significantly mitigated even in Android 11 (no prizes for guessing why. Google is probably the biggest data aggregator). Upvotes: 4 <issue_comment>username_3: You might need to use a completely different Google account to sign into your phone. It would be interesting to see if a friend is able to log in to their account using your phone; but before risking getting their account banned keep reading. If the problem revolves around creating a new account using your phone's app and having that account banned then you should try using a different device such as a computer or a display phone at the store to create a new account and then log into that account on your phone. It would be a little short-sighted for a company to ban a device outright because if you sell it then you would have to disclose to the buyer which apps are banned on the device which in turn devalues your device. Upvotes: 2
2020/11/24
1,773
6,894
<issue_start>username_0: I have bought 20 Samsung s6 and after every 4 of them got stuck on Samsung logo, I keep them on charging for 2 days. Nothing work for me.<issue_comment>username_1: I don't know exactly how each app implements this but I wold assume that they use the `ANDROID_ID`. Each app gets an ID that does not change. `ANDROID_ID` is a [random number](https://stackoverflow.com/a/29890124/150978) generated on first boot after factory reset. On old devices all apps (with the appropriate permission) can get access to this ID. The ID is the same for all apps. On modern devices each app gets an app-unique ID that is derived from the `ANDROID_ID`. This means the ID the app sees does not change no matter how often you(un)install the app. Only if the `ANDROID_ID` changes the app will see a new ID. Therefore you can perform a factory reset, that force creation a new `ANDROID_ID`. As far as I remember restoring a backup should also restore the old `ANDROID_ID`. On rooted devices you can directly manipulate the system wide respectively the app-specific `ANDROID_ID`: * [How to get app specific ANDROID\_ID on Android Oreo?](https://stackoverflow.com/a/58311243/150978) Upvotes: 2 <issue_comment>username_2: **tl:dr;** addressing OP's question - sorry, no way AFAIK. From Android 10 onwards normal apps can't access [IMEI number](https://developer.android.com/training/articles/user-data-ids). *Revised answer with additional inputs from Izzy (thanks)* How do apps (Google or third party) identify you? ================================================= Apps identify a device using: * Some or all of *device identifiers*, mainly Android ID, GSF Android ID, build serial number, and advertising ID. I know of one paid app which tracks IMEI too (before Android 10). It depends on the developer as to how badly they want to identify you and prevent installation of apps. See this excellent write up by [Izzy](https://android.stackexchange.com/users/16575/izzy) (a moderator here) for more details [Android Identifiers: How Android devices and their users are identified](https://android.izzysoft.de/articles/named/Identifiers-1). It is rare that an app depends only on one type of identification. I have observed over the last three years that shopping , banking, social media & social media related apps are particularly nasty and use every trick in the book. * In addition to this apps come packaged with trackers and loggers (all utilities which are used to log user activity on an app or logcat in general), which identify the user and their browsing patterns , in addition to **[fingerprinting user by device identification](https://www.appsflyer.com/product/mobile-ecosystem/)**. These can be used for benign purposes in theory but in practice can extend to key logging features that can track what you type. Have a look at *[Staggering variety of clandestine trackers found in popular Android apps](https://theintercept.com/2017/11/24/staggering-variety-of-clandestine-trackers-found-in-popular-android-apps/)*. What happens to this data? ========================== Those identifiers are stored on third-party servers (analytics companies and other "big data collectors" such as Facebook, Google, Amazon, Microsoft, etc.) – so once collected, there's no chance you can delete that. Some offer an opportunity to sign out, but there is no way you can have that data deleted. Even if it is legally possible under [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) (which I doubt), it is not a trivial task to get this implemented across hundreds of trackers/loggers. How can I prevent from being tracked/ identified? ================================================= **Root is a must for full control over this menace (see [rooting](/questions/tagged/rooting "show questions tagged 'rooting'"))** That's the unfortunate part. Without root you can only choose apps with care and probably try some hacks which in the long run aren't effective or at best partially useful. * **Choose the apps you want to install with care**: Up to a degree, apps like [TrackerControl](https://apt.izzysoft.de/fdroid/index/apk/net.kollnig.missioncontrol) or [Warden](https://apt.izzysoft.de/fdroid/index/apk/com.aurora.warden) can help. Ideally, you avoid apps including trackers; [Exodus Privacy](https://reports.exodus-privacy.eu.org/en/) is a good helper for that – and [Izzy's app listings](https://android.izzysoft.de/applists) use such services to "mark" apps, making it easier for you to sort the wheat from the chaff. * **Feed them faked information:** This approach is better than denying permissions because it doesn't result in malfunctioning apps or apps that crash. Highly recommend you to use [XPrivacyLua](https://github.com/M66B/XPrivacyLua/blob/master/README.md) being the most effective *broad spectrum* measure. This requires [EdXposed](https://android.stackexchange.com/questions/tagged/edxposed) to be installed from Android 8 and above (see the *restrictions* section to see what can be faked). If you are on earlier versions [Xprivacy](https://github.com/M66B/XPrivacy) by the same developer does the job with [Xposed](https://android.stackexchange.com/questions/tagged/xposed-framework). Even XPrivacyLua can't help in instances when the app code is obfuscated. The Warden app mentioned above can also "nuke" your device, making it free from trackers and loggers. It also gives you flexibility to tackle apps on individual basis. The Warden App Manager uses a static list of [trackers](https://gitlab.com/AuroraOSS/AppWarden/-/blob/master/app/src/main/assets/trackers.json) and [loggers](https://gitlab.com/AuroraOSS/AppWarden/-/blob/master/app/src/main/assets/loggers.json) compiled by French non-profit [Exodus Privacy](https://exodus-privacy.eu.org/en/). While Android has been showing greater concern for privacy and [PII](https://en.wikipedia.org/wiki/Personal_data) information over the last few versions, this problem is not significantly mitigated even in Android 11 (no prizes for guessing why. Google is probably the biggest data aggregator). Upvotes: 4 <issue_comment>username_3: You might need to use a completely different Google account to sign into your phone. It would be interesting to see if a friend is able to log in to their account using your phone; but before risking getting their account banned keep reading. If the problem revolves around creating a new account using your phone's app and having that account banned then you should try using a different device such as a computer or a display phone at the store to create a new account and then log into that account on your phone. It would be a little short-sighted for a company to ban a device outright because if you sell it then you would have to disclose to the buyer which apps are banned on the device which in turn devalues your device. Upvotes: 2
2020/11/27
1,007
3,778
<issue_start>username_0: There are apps that can do this but they are not exactly Bothie. The app allows the user to first take a picture from rear camera and then from the front camera (but not simultaneously). Nokia first came up with this idea in 2017. [More about Bothie](https://www.lifewire.com/what-is-a-bothie-4158927) I am just wondering if this is a hardware feature or software. I can handle the software issue(with root) i think. And if this is not possible then can you please explain why and how it works (totally optional)? Because if this is possible then people will be able to take videos from both cameras (poor cameraman will also be included in the clip).. and that would be pretty cool IMO =) Every little opinion or googling is accepted. Thanks in advance : )<issue_comment>username_1: This is what I could gather from answers on Stack Overflow. I have no development background, so corrections are welcome. * Camera could have only have one object as mentioned [here](https://stackoverflow.com/q/24360809). But this was depreciated from [Android 5.0](https://developer.android.com/reference/android/hardware/Camera.html#open%28%29). So, devices running KitKat and below, *cannot* have this feature. * It seemed to be possible on some devices to open both front and rear camera as mentioned [here](https://stackoverflow.com/a/25144412). However, it is not possible on all devices due to **[hardware & Software restrictions (see comments)](https://stackoverflow.com/a/30444841)** > > The Android camera APIs generally allow multiple cameras to be used at the same time, but most devices do not have enough hardware resources to support that in practice - for example, there's often only one camera image processor shared by both cameras. > > > * The link in your question is the best I could find for a clear explanation.Nokia, Samsung, LG seem to have started this trend on some of their devices. Such devices either need [Dual Camera Mode](http://www.lg.com/us/mobile-phones/VS980/Userguide/246.html) or [Dual Sight Mode](https://www.lifewire.com/nokia-8-dual-sight-4159343). There wasn't much I could find about these OEM specific technologies. The [Frontback Camera](https://play.google.com/store/apps/details?id=com.dualcamera.frontback.camerainstantly.front.camera) app mentioned in the link, works on Pixel 4a Android 11. **Note** that the pictures were very grainy and not worth the result IMO. OP tried [apps mentioned here](https://stackoverflow.com/questions/30377081/access-both-back-and-front-cameras-simultaneously/30444841#30444841) and they didn't work. This leads me to conclude that it is both a hardware & Software feature and apps can be poor substitute. I doubt if trying on other devices would show better results. Neither have I come across any rooted or Xposed modules that can do this, so it is best to buy the devices that support this natively, if you want this feature badly. Upvotes: 2 [selected_answer]<issue_comment>username_2: In short, if you want to check if your device is compatible.. Download two 3rd party camera apps.. Grant them the permission.. Split screen and try to open both the camera apps.. If one of the app crashes when you open the second app then there is some hardware restrictions in your device. Upvotes: 0 <issue_comment>username_3: I was also searching a dual camera for my vlog but could find nowhere. However, I want to give you some good news. Such camera is possible and I had found it on POCO X3 NFC MIUI camera. My friend uses this phone and dual camera works at a same time. I wasn't able to transfer that app through shareMe app, so I couldn't use that app for my mobile. I thoroughly searched on google and haven't found anyone. If you have found, do let me know. Upvotes: 1
2020/11/29
213
849
<issue_start>username_0: I find using the power-button + down-volume button extremely cumbersome especially when taking time sensitive screenshots. Is it possible to do this using a shortcut key on a bluetooth keyboard?<issue_comment>username_1: 1. Download [Button Mapper app](https://play.google.com/store/apps/details?id=flar2.homebutton&hl=en_US) 2. decide a key to use to take screenshots(which you don't use usually). 3. Open the key mapper app and record the key in it(the UI is self explanatory) 4. Set the function of the key to take screenshots. Done PS - remember to turn battery optimization off for the app otherwise if the system closes the app then no hardware buttons will work and you'll have to reboot. Upvotes: 1 <issue_comment>username_2: There's `prtscr` button on physical keyboard that you can use to screenshot. Upvotes: 0
2020/12/01
409
1,708
<issue_start>username_0: I have a very strange situation that I have not found yet something in the internet that could lead me to solve this issue. I paired my physical bluetooth keyboard (**Keychron K2**) with my phone (**Huawei P30 Lite with Android EMUI Version 10.0.0** which I think is Android 10) and I have found the way to control almost everything, but when I access to a chat application like WhatsApp, I am able to select the available chats in the application but when I type Enter to go into selected chat, it does not go to that chat, it highlights the chat like it was selected but not with the intention to go into it... If I leave the enter pressed, this will show me available options/actions that I could use with that specific chat like delete the conversation, pin message, etc. This behavior occurs also with Telegram. Is there any body with some hints regarding how I could be able to access to an specific chat selected to start chatting with my keyboard without having to use the native touchscreen control to start using the application? Thank you!<issue_comment>username_1: 1. Download [Button Mapper app](https://play.google.com/store/apps/details?id=flar2.homebutton&hl=en_US) 2. decide a key to use to take screenshots(which you don't use usually). 3. Open the key mapper app and record the key in it(the UI is self explanatory) 4. Set the function of the key to take screenshots. Done PS - remember to turn battery optimization off for the app otherwise if the system closes the app then no hardware buttons will work and you'll have to reboot. Upvotes: 1 <issue_comment>username_2: There's `prtscr` button on physical keyboard that you can use to screenshot. Upvotes: 0
2020/12/03
601
2,077
<issue_start>username_0: I uninstalled the DocumentsUI only to know it wasn't "just" a files manager. My `/system/priv-app/DocumentsUI` is empty. Putting any 3rd party DocumentsUI.apk in it results in bootloop. I have a custom rom (Aosp extended). Flashing the `/system` again would fix the problem I think. Just want to make sure if this will make the condition worse or am I going alright?<issue_comment>username_1: This answer was before the edit but holds Flashing `/Data` would result in: * Losing your user data. * Worse, it's not going to solve your problem. **Solutions** * Dirty flash the ROM ( flash `/system` without wiping `/Data`) * As suggested by Irfan in [comments](https://android.stackexchange.com/questions/231625/i-deleted-the-documentsui-by-mistake-where-can-i-get-it#comment304531_231625), Extract the file from ROM's zip file and put in proper place with proper permissions. Second option requires a good understanding of Android. For me, dirty flashing would be fastest and simplest. Upvotes: 1 <issue_comment>username_2: The way I did it was a little different.. I made a full twrp backup. Wiped everyhing. Flashed the stock rom. Copied the `DocumentsUI.apk` from twrp. Wiped again. Restored the backup. Placed the copied apk into `/system/priv-app/DocumentsUI`. Everything worked perfectly! Upvotes: 3 [selected_answer]<issue_comment>username_3: You have to root for this Install any root browser (x-plorer , cx file manager etc. open /system/priv-app/DocumentsUIGoogle 3.copy all apk files to any internel storage folder Install all these apk files at once using any split apk installer ( Recommended -com.smartpack.packagemanager ) download link - <https://play.google.com/store/apps/details?id=com.smartpack.packagemanager> 5.Reboot Note :- if you are unable to find these apk files then use attached files vvvvv <https://mega.nz/folder/R1UxBbYJ#BD6jRT52rADTGA09x6EBcA> Note 2 => if you don't have any DocumentsUIGoogle folder then create one and put all apk files into it then install all these apks using package manager. Upvotes: 0
2020/12/03
356
1,393
<issue_start>username_0: I intend to close my Google account for personal reasons. No part of it will I leave operable. But, I use an Android phone. I am not asking about Google apps here. I am asking if the phone will still work for making phone calls. Mind you if I have it my way there will be no Google account for me to login to. I am dumping Google in it's entirety.<issue_comment>username_1: Yes, you can use it *only* to make and receive calls and text messages. Equivalent of not signing into a new device but inserting SIM. I have seen people do this (without signing into Google account) , using it like a non-smartphone. Somewhat related [Can I use an Android One device without a Google account? Isn't there a compulsion?](https://android.stackexchange.com/q/224520/131553) Upvotes: 1 <issue_comment>username_2: I have personally used Android phones without any Google account, or even connecting them to the internet. Many key features will still work: * Telephone calls * Voicemail (call to retrieve messages) * SMS messages * Still camera * Video camera * Audio recording (if there is a pre-installed audio recording app) * Creating contacts * Calendar (including creating events) * Alarm clock * Flashlight * Bluetooth connections (speakers, headphones, etc.) In fact, without Google slowing down Android, it is a much faster and efficient operating system. Upvotes: 0
2020/12/03
1,195
4,624
<issue_start>username_0: I'm looking for phones with stock Android. I was able to find articles on the internet, but they mention mostly new phones, and I'm more interested in older (cheaper) versions. I have Google Pixel (one) and from what I read, it's the one with "vanilla" Android. But there are some preinstalled apps on it - like Google Play Music, Google Play Movies, which I cannot uninstall (without rooting). I neither need nor use them and consider them bloatware. Is it possible to find a phone from a manufacturer which does not have even such Google apps? Or they just must be there?<issue_comment>username_1: **tl:dr;** Google phones have the purest Android. They come with Google apps In Android ecosystem, phones launched by Google are *stock* Android (aka vanilla). It's the purest form of Android because Google developed the OS and tightly integrated with the hardware (earlier Nexus and now Pixel). They come with Google apps, you *can't avoid them*, unless you root your device and uninstall. If you are looking for a phone that is running Android LineageOS -XDA launched a phone that ran [LineageOS /Ubuntu out of box](https://www.xda-developers.com/pro1-x/amp/). Such devices are more of an exception to the rule (running LineageOS out of the box, as you mentioned in the last paragraph of the question, though LineageOS doesn't qualify as pure Android) Upvotes: 5 [selected_answer]<issue_comment>username_2: How about looking for models supported by [LineageOS](https://download.lineageos.org/)? This is a ROM you can flash to your device, and you can even use it without the Google Apps (or flash them later) > > Although they are not included in LineageOS as such due to legal > issues,[44] users can flash the normal Google apps, including the > Google Play Store and Play Apps, with a Zip package, usually referred > to as gapps, while installing LineageOS. > > > You'll need to make sure that you can unlock your phone's bootloader/root the device (double check before you buy it). Upvotes: 4 <issue_comment>username_3: The question has quite deep implications. Android is not an OS, it is an "ecosystem". There is [Android Open Source Project](https://source.android.com/). This is the "base" of the Android OS. Hardly usable and you will not find pure AOSP on any factory phone. Vendors get AOSP and build over it to make some phone firmware that fits their business model (it may as well be useful for the user, but this is completely optional). Then, there is [Lineage OS](https://lineageos.org/) - a community-built Android OS made for selected phone models. In general, it is built just like the vendors' firmwares, except for not having a real business model and driven more or less by the contributors' understanding of usability. LineageOS comes without any Google apps (not even Google Play, so you cannot directly get apps from it). But you can use [OpenGApps](https://opengapps.org/) to get either the bare minimum of Google stuff (like "pico" package with Google Play only), something more, or a full-blown Google suite. There are also great sources to obtain open-source apps, such as [F-Droid](https://f-droid.org/). Or you may skip this step and use some other means to get apps (a lot of limitations apply). It's worth mentioning that neither Google nor phone vendors are happy with people installing LineageOS (or other similar packages). This breaks their business model. The process of replacing the phone vendor's software is intentionally made complex and challenging. In most cases, it also voids phone's warranty. There are also a niche phone vendors that ship phones with LineageOS. Upvotes: 4 <issue_comment>username_4: In addition to the Pixel phones from Google, [Android One](https://www.android.com/one/) phones also enjoy a clean interface and receive timely software updates and security patches. Currently, Nokia and Motorola phones are the most prominent Android One phones (see, e.g., [Best Android One Phones in 2020](https://www.androidcentral.com/best-android-one-phones). Some phone brands like OnePlus and Realme keep their Android flavor light but I would not call them vanilla Android. Upvotes: 0 <issue_comment>username_5: Sony Xperia Phones have a very close to Stock Android UI eg [Sony Xperia 1 II](https://www.sony.co.uk/electronics/smartphones/xperia-1m2) You can learn more about the latest update to Android 11 for the aforementioned phone in the following Youtube Video: [Sony Xperia 1 II Update Android 11 | 15 New Features](https://www.youtube.com/watch?v=am0Tbs-2CtE). Hope this helps & Merry Christmas ! Upvotes: 0
2020/12/05
1,494
4,801
<issue_start>username_0: I have an ASUS ZenFone Max Pro (X00T/X00TD) It is/was discharged and powered off. When i plug it in for charging, it is cycling in start of chaging: 1. vibration 2. the icon of empty battery 3. The bootloader is unlocked... text 4. the icon of empty battery 5. empty screen 6. and then starts again from vibration I tried to clean the phone's connector, even wiped and stracthed the connector a littlebit, and changed cable, charging source. (One cable is in the 1A charger, another cable is connected to PC.) It doesn't get better. I tried to leave it in the cycling, i hoped it gets some power. **Does the phone charge always when connected to power, or it just start the charging process after it shows the charging animation (which i don't reach)?** I tried to step in Fastboot mode. It stays in this mode, no cycling. **Does the phone charge in fastboot mode?** I tried to step in Recovery mode. 1. vibration 2. powered by android 3. The bootloader is unlocked... text 4. powered by android 5. empty screen and turns off In fastboot mode i tried to flash stock recovery, and also TWRP and RedWolf recovery. The flashing process works, but i still cannot get in recovery mode, to see something more, maybe about battery or i dont know. Of course the phone does not turn on. The same as when i try to get in recovery mode. 1. vibration 2. powered by android 3. The bootloader is unlocked... text 4. powered by android 5. empty screen and turns off I did not do anything special nowadays with the phone. Bootloader unlocking and rooting was years ago, nor i did upgrade, so nothing special. I just used the phone, it discharged, and i'm in this state. **What can i do? Is it something with charging, or it has enough power after connected in fastboot mode, but the problem is something with the software?** One more thing: maybe i "pressed" the buttons randomly in my pocket. **Is it possible that in an unlucky situation i got into the recovery mode and pressed something away in recovery menu?** Please help. edit #1: Is it possible to turn off the charging screen, charging vibration, screen turning on from fastboot mode? Maybe flash something on or similar? Because then it won't use the slowly charging power. edit #2: So the sumary now: 1. My phone is fully charged. 2. It does not boot into normal. 3. It does not boot into recovery, nor by hardware keys, nor by command from fastboot. I tried to flash TWRP, RedWolf and the original recovery too. 4. Fastboot mode works normally. Parameters: ``` D:\Mobil>fastboot getvar all (bootloader) CPU:SDM636 (bootloader) platform:sdm636 (bootloader) secret-key-opt:*censored* (bootloader) build-type:user (bootloader) unlocked:yes (bootloader) off-mode-charge:1 (bootloader) charger-screen-enabled:1 (bootloader) battery-soc-ok:yes (bootloader) battery-voltage:4286 (bootloader) version-baseband: *this is empty, i didn't delete it* (bootloader) version-bootloader:ZB601KL-0x01-20181019151150 (bootloader) variant:SDM EMMC (bootloader) partition-type:cache:ext4 (bootloader) partition-size:cache: 0x15E00000 (bootloader) partition-type:userdata:ext4 (bootloader) partition-size:userdata: 0xCEB7FBE00 (bootloader) partition-type:system:ext4 (bootloader) partition-size:system: 0x100000000 (bootloader) secure:yes (bootloader) serialno:*censored* (bootloader) product:QC_Reference_Phone (bootloader) max-download-size:536870912 (bootloader) kernel:uefi all: finished. total time: 0.031s D:\Mobil>fastboot oem device-info ... (bootloader) Verity mode: true (bootloader) Device unlocked: true (bootloader) Device critical unlocked: false (bootloader) Charger screen enabled: true (bootloader) Bootloader version: ZB601KL-0x01-20181019151150 OKAY [ 0.016s] finished. total time: 0.016s ``` But: ``` D:\Mobil>fastboot boot stock_recovery.img downloading 'boot.img'... OKAY [ 1.859s] booting... FAILED (remote: unknown command) finished. total time: 1.859s ``` So booting failed. But i don't know why.<issue_comment>username_1: Good news! This gets the voltage of the battery: ``` fastboot getvar battery-voltage ``` It says it's 4,32 V. If i remember right, this is around a fully charged battery. So probably it charged up when i left in Fastboot state for some hours. And the cycle/loop meant not that it cannot charge, but rather it does not need to charge. Bad news! Then what the heck is with my phone? Upvotes: 1 <issue_comment>username_1: Believe it or not... The solution was very stupid. I cleaned the phone inside, especially the bottom part. Around the connectors, lot of dirt and drying moisture got in. Just enough for - probably - some short circuit. I don't know why was it okay for fastboot mode, and not okay for recovery and normal boot. Upvotes: 3 [selected_answer]
2020/12/05
669
2,240
<issue_start>username_0: At the quick settings dropdown are some items that have no icon and just a label . They cannot be re-arranged and are obviously useless. Please have a look at the Screenshot [![screenshot](https://i.stack.imgur.com/VyqFOl.jpg)](https://i.stack.imgur.com/VyqFOl.jpg). I would like to know how I can find the apps or files that are responsible for those and/or a way how to get rid of them. It is an Android Oreo with some EMUI on top.<issue_comment>username_1: **How can I find apps responsible for creating these tiles?** * Check in the manifest of each app for [Tile Service](https://developer.android.com/reference/android/service/quicksettings/TileService). It will have `android:name=".MyQSTileService"` & `android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">` & service as `action android:name="android.service.quicksettings.action.QS_TILE"`. Since you don't know which app created this checking the manifest is going to be painfully slow. I used this app [apk analyser](https://play.google.com/store/apps/details?id=sk.styk.martin.apkanalyzer&hl=en) to check for service and found for example `eu.faircode.email.ServiceTileUnseen` (it's an email app and the tile corresponds to unseen mails). **How to hide them?** I am not conversant with EMUI but here are things you can try to get them out of sight: * [Customize tiles](https://www.huaweicentral.com/emui-10-tip-how-to-customize-shortcut-switches/) by + swiping down from the Status bar to open the notification panel. + Touch the pencil icon on the top right corner. + Drag Icons from the top part to the bottom part * Or use an app like [Quick Settings](https://play.google.com/store/apps/details?id=it.simonesestito.ntiles&hl=en_US&gl=US&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Demui+quick+setting+tiles&pcampaignid=APPU_1_YSPMX8L5Hp-a4-EP2e-4qAM) to delete those bothersome tiles Upvotes: 0 <issue_comment>username_2: Do you use [Automate app](https://play.google.com/store/apps/details?id=com.llamalab.automate&hl=en_GB)? Those are for making a custom quick settings functions. You can customize them from the app by adding a "quick settings" block and defining its action. Upvotes: 3 [selected_answer]
2020/12/06
617
2,121
<issue_start>username_0: I want to block an app from using mobile data even when that app is in foreground. How can I do that? I can find an option to disable mobile data when in background and an option to disable WiFi for an app but I want to disable mobile data for a specific app completely. I am using a Galaxy A71 phone with Android 10.<issue_comment>username_1: **How can I find apps responsible for creating these tiles?** * Check in the manifest of each app for [Tile Service](https://developer.android.com/reference/android/service/quicksettings/TileService). It will have `android:name=".MyQSTileService"` & `android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">` & service as `action android:name="android.service.quicksettings.action.QS_TILE"`. Since you don't know which app created this checking the manifest is going to be painfully slow. I used this app [apk analyser](https://play.google.com/store/apps/details?id=sk.styk.martin.apkanalyzer&hl=en) to check for service and found for example `eu.faircode.email.ServiceTileUnseen` (it's an email app and the tile corresponds to unseen mails). **How to hide them?** I am not conversant with EMUI but here are things you can try to get them out of sight: * [Customize tiles](https://www.huaweicentral.com/emui-10-tip-how-to-customize-shortcut-switches/) by + swiping down from the Status bar to open the notification panel. + Touch the pencil icon on the top right corner. + Drag Icons from the top part to the bottom part * Or use an app like [Quick Settings](https://play.google.com/store/apps/details?id=it.simonesestito.ntiles&hl=en_US&gl=US&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Demui+quick+setting+tiles&pcampaignid=APPU_1_YSPMX8L5Hp-a4-EP2e-4qAM) to delete those bothersome tiles Upvotes: 0 <issue_comment>username_2: Do you use [Automate app](https://play.google.com/store/apps/details?id=com.llamalab.automate&hl=en_GB)? Those are for making a custom quick settings functions. You can customize them from the app by adding a "quick settings" block and defining its action. Upvotes: 3 [selected_answer]
2020/12/08
864
2,897
<issue_start>username_0: I am running an AVD through Genymotion. Also, I have installed Kali Linux VM in my windows laptop. I am trying to connect to the android through the terminal > > adb connect 192.168.104.103 > > > and it connects successfully. Then I have tried to install an application with > > adb install test.apk > > > and it is also installed successfully. **BUT**, when I am trying to execute the command pull I am getting the error: > > adb: error: failed to get feature set: no devices/emulators found > > > ``` adb connect 192.168.104.103 already connected to 192.168.104.103:5555 adb devices List of devices attached device 192.168.104.103:5555 ./adb pull /data/data/com.android/providers.userdictionary/databases/user_dict.db adb server version (39) doesn't match this client (41); killing ... * daemon started successfully adb: error: failed to get feature set: no devices/ emulators found adb devices List of devices attached adb server version (41) doesn't match this client (39); killing ... * daemon started successfully adb devices List of devices attached adb connect 192.168.104.103 connected to 192.168.104.103:5555 adb devices List of devices attached device 192.168.104.103:5555 ./adb pull /data/data/com.android/providers.userdictionary/databases/user_dict.db adb server version (39) doesn't match this client (41); killing ... * daemon started successfully adb: error: failed to get feature set: no devices/ emulators found ``` [![enter image description here](https://i.stack.imgur.com/npfcV.png)](https://i.stack.imgur.com/npfcV.png)<issue_comment>username_1: According to username_2's instructions problem solved: > > The console output shows that you have two different and incompatible > adb versions installed. Usually Genymotion comes with an own adb > version, make sure that you are not using this potentially outdated > version. Better to have only one adb version (the newer one) > installed. Then such problems can not occur. > > > Upvotes: 3 [selected_answer]<issue_comment>username_2: Genymotion is designed to work without Android SDK installed, therefore it contains it's own version of `adb`. If two different versions of adb are installed on the same computer and used alternating then this leads to the problem that `adb server version doesn't match this client`. If you have Android SDK installed as well as Genymotion there is a very simple fix: In Genymotion program open the **Settings** dialog and select the section **ADB**. Now enter the path to your installed Android-SDK and close the settings dialog. Afterwards Genymotion uses the adb version from Android-SDK instead of it's own version. As long as you don't have a third or fourth version of adb installed this should fix the problem. [![enter image description here](https://i.stack.imgur.com/9CGSJ.png)](https://i.stack.imgur.com/9CGSJ.png) Upvotes: 1
2020/12/10
792
2,586
<issue_start>username_0: Using Gmail version 86.0.04240.198 on my Samsung Galaxy A30s with Android 10. From [the documentation](https://support.google.com/mail/answer/12516?co=GENIE.Platform%3DAndroid&hl=en) we can read > > You can't mark all messages as read from the Gmail app. > > > I know this is a task that can be done in a computer but that's not an option for me ATM. I tried going to [gmail.com](https://gmail.com) and from there activate "Desktop mode" but I was getting a responsive view with less functionality.<issue_comment>username_1: The way I've solve it was to 1. Open Google Chrome. 2. Activate Desktop mode. 3. Navigate to [Google.com](http://google.com/). 4. Search for Gmail. [![enter image description here](https://i.stack.imgur.com/AM0Hzl.jpg)](https://i.stack.imgur.com/AM0Hz.jpg) 5. Click in the Gmail. In my case was the first item in the result list. 6. Once in Gmail, click in the select all button which then opens up a message saying to select all (note that the image from this step was taken after the one in step 7, that's why you don't see a number of unread messages in the Inbox which shows up slightly in red) [![enter image description here](https://i.stack.imgur.com/LUx2zl.jpg)](https://i.stack.imgur.com/LUx2z.jpg) 7. Click in that message to select all, then go to the three dots and "Mark as read". Once it's done, you'll get a snack bar in the bottom right informing it's finished. [![enter image description here](https://i.stack.imgur.com/h2Ihyl.jpg)](https://i.stack.imgur.com/h2Ihy.jpg) Now there's no unread messages [![enter image description here](https://i.stack.imgur.com/rqVIbl.jpg)](https://i.stack.imgur.com/rqVIb.jpg) *Note*: in my case then going to the Gmail app I could see that the emails were all marked as read even though the browser wasn't showing right away. Upvotes: 3 [selected_answer]<issue_comment>username_2: Another workaround can be using Outlook's app. All one needs to do is configure the email in Outlook, according to one's requirements, in order to have access to the email account in Outlook. Then, access that email and filter the mails by pressing the button on the top right ![](https://i.stack.imgur.com/zvpepm.jpg) Filter by `Unread` ![](https://i.stack.imgur.com/6ea0am.jpg) This will only show the unread emails ![](https://i.stack.imgur.com/2XdGSm.jpg) Now select all the emails and a top menu will appear ![](https://i.stack.imgur.com/YXNZPm.jpg) Press the three dots in the top right corner and select `Mark Read` ![](https://i.stack.imgur.com/8QGfLm.jpg) Upvotes: 1
2020/12/11
1,018
3,493
<issue_start>username_0: When I was playing with settings on my Nokia 6.1 Plus running a stock ROM Android 10 with bootloader unlocked and rooted with Magisk v21+, I noticed that **Firebase App Indexing** that comes under **Google Account Preferences** was collecting all of my *personal* data. Of course, **GMS** was the culprit. Here's the proof: This was the message that I received from the bank for the transaction that I made yesterday. [![](https://i.stack.imgur.com/gNSril.jpg)](https://i.stack.imgur.com/gNSri.jpg) Every message that I sent and received had been collected in this given format. Also, many apps that use Firebase API sent these kinds of information. I'm a guy who thinks about user privacy all-day, so I've used: * [Nuked\_Script](https://forum.xda-developers.com/apps/magisk/module-tool-atteryerformancerivacy-t4131715) Magisk script that is used to disable trackers and ad services. * AFWall+ for Firewall (root). * Bouncer - Temporary App Permissions. * AdAway for nullifying ads (root) - ads on Gmail, Twitter, Instagram still exist though * Bromite webview and browser (Webview Switcher module). When I turned the developer options off, Firebase App Indexing options also turned off (*I mean **hidden***). So, does it mean that it stopped collecting my data? I still doubt that. How can I stop this from happening? P.S: I'm used to using Google Apps. But I don't want to give them such personal data.<issue_comment>username_1: The way I've solve it was to 1. Open Google Chrome. 2. Activate Desktop mode. 3. Navigate to [Google.com](http://google.com/). 4. Search for Gmail. [![enter image description here](https://i.stack.imgur.com/AM0Hzl.jpg)](https://i.stack.imgur.com/AM0Hz.jpg) 5. Click in the Gmail. In my case was the first item in the result list. 6. Once in Gmail, click in the select all button which then opens up a message saying to select all (note that the image from this step was taken after the one in step 7, that's why you don't see a number of unread messages in the Inbox which shows up slightly in red) [![enter image description here](https://i.stack.imgur.com/LUx2zl.jpg)](https://i.stack.imgur.com/LUx2z.jpg) 7. Click in that message to select all, then go to the three dots and "Mark as read". Once it's done, you'll get a snack bar in the bottom right informing it's finished. [![enter image description here](https://i.stack.imgur.com/h2Ihyl.jpg)](https://i.stack.imgur.com/h2Ihy.jpg) Now there's no unread messages [![enter image description here](https://i.stack.imgur.com/rqVIbl.jpg)](https://i.stack.imgur.com/rqVIb.jpg) *Note*: in my case then going to the Gmail app I could see that the emails were all marked as read even though the browser wasn't showing right away. Upvotes: 3 [selected_answer]<issue_comment>username_2: Another workaround can be using Outlook's app. All one needs to do is configure the email in Outlook, according to one's requirements, in order to have access to the email account in Outlook. Then, access that email and filter the mails by pressing the button on the top right ![](https://i.stack.imgur.com/zvpepm.jpg) Filter by `Unread` ![](https://i.stack.imgur.com/6ea0am.jpg) This will only show the unread emails ![](https://i.stack.imgur.com/2XdGSm.jpg) Now select all the emails and a top menu will appear ![](https://i.stack.imgur.com/YXNZPm.jpg) Press the three dots in the top right corner and select `Mark Read` ![](https://i.stack.imgur.com/8QGfLm.jpg) Upvotes: 1
2020/12/11
1,189
4,634
<issue_start>username_0: I can't connect to campus WiFi anymore after installing latest ROM with december 2020 security patches. The configuration is PEAP/MSCHAPV2. Under CA certificate, we usually choose "Do not validate" but now CA certificates is set to "Use system certificates" and can't be changed. "Use system certificates" setting requires Domain name which I don't know and have never needed to use before in any ROM. [![See the screenshot.](https://i.stack.imgur.com/AlBjzl.png)](https://i.stack.imgur.com/AlBjzl.png) Is there any workaround to choose "Do not validate" in "CA certificate"?<issue_comment>username_1: Have you asked the IT department from your campus ? Looks like if you 'just' enter the correct domain, it should work with the system certificates. If so, then you would end up with a more secure WiFi connection. The article where Yogesh is pointing at, is more an advertisement than independent information. Obvious that securew2 is writing to use their products instead of another solutions. The root of the problem is a user unfriendly way to connect to a Wifi network in Android. In many other OS's you need to 'trust' a certificate, which is needed for a safe connection. Before December update, Android gave 2 options: 1st solution is to import a certificate on a smartphone. Which manually is a hell, or by using an app. (Like securew2, connect this with the site were the article is hosted) 2nd option was to 'not validate' the certificate, and just trust any certificate presented. This however is of course less secure, but a lot more user friendly and can be explained. The risk is that if someone (with bad intentions) set up a network with the same 'name'/SSID, the android phone connects regardless, without warning you are connecting to a rogue network. To address the security problems in the second option Android has removed the do not validate option and (according to your screenshot) it seems to be replaced by using system certificates (with a domainname check). I am curious If you can connect when you would use the correct domain name. Upvotes: 1 <issue_comment>username_2: "Do not validate" has been removed by Android. You need to use the domain name of the server certificate being used by the authentication server. Upvotes: 1 <issue_comment>username_3: On a rooted phone, first try to connect to the WiFi network (although it will fail), then turn off WiFi entirely. Now, modify `/data/misc/apexdata/com.android.wifi/WifiConfigStore.xml`. Find the entry for your WiFi network, and set `DomSuffixMatch` (which is what the UI shows as 'Domain') and `CaPath` to empty strings. Maybe set other similar entries to blank strings also, for example `CaCert`. Here's what my `WifiEnterpriseConfiguration` section looks like: ``` ... ... ... ``` Now, reboot your phone, verify that your changes in `WifiConfigStore.xml` were saved, and try to connect to the WiFi network. It should be possible to write an app to do this, without requiring root. [Docs for WifiEnterpriseConfig](https://developer.android.com/reference/android/net/wifi/WifiEnterpriseConfig), and [example usage on stackoverflow](https://stackoverflow.com/a/19236537) Of course this is insecure (anyone could create a fake WiFi network and steal your credentials), but any https connection within the network is still OK. (Tested on Pixel 3, LineageOS 18.1, Android 11) Upvotes: 2 <issue_comment>username_4: To add to [XMB5's answer](https://android.stackexchange.com/a/241685/44325), you can do this on a rooted phone using the following commands: ``` adb shell su sed -i 's%.\*%%' /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml sed -i 's%.\*%%' /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml reboot ``` (I included `CaPath` and `DomSuffixMatch` because only these two seem to be required to get past the UI) **Note:** This clears the domain and CA certificate of all saved networks. You probably don't need to worry, unless you have multiple enterprise networks with 802.1X authentication saved. In that case, you can run this script, and then reconfigure the other networks through UI. Upvotes: 2 <issue_comment>username_5: Well you can try to fill in the last part of your email addresses for domain - so everything after the "@". like my last part of email address is **isbstudent.comsats.edu.pk** As written in one of the guides, normally you would enter the domain address of the authentication server / the common name which is part of the certificate of the server... It worked for me!!!![enter image description here](https://i.stack.imgur.com/roVBb.jpg) Upvotes: 0
2020/12/11
870
2,761
<issue_start>username_0: Using WhatsApp version 2.20.207.12, YouTube version 15.47.36 on my Samsung Galaxy A30s with Android 10. Previously (I remember this working in November) when I shared a link from YouTube in WhatsApp I'd get a preview containing an option to play the video [![](https://i.stack.imgur.com/UZtJEm.jpg)](https://i.stack.imgur.com/UZtJEl.jpg) and clicking play would just play the video there [![](https://i.stack.imgur.com/SJm2bl.jpg)](https://i.stack.imgur.com/SJm2b.jpg) Recently, anytime I share a link from YouTube in WhatsApp, the message sent will only contain a link. This also happens if I use WhatsApp Web [![](https://i.stack.imgur.com/9a3fKl.png)](https://i.stack.imgur.com/9a3fK.png) I'm ok with not being able to play directly in WhatsApp, but how could I get a preview with at least a title pointing that the message is a video and showing its title?<issue_comment>username_1: The best solution I could find was to adapt the URL copied in the share button > > <https://youtu.be/bDPczGUovzE> > > > to > > <https://youtube.com/embed/bDPczGUovzE> > > > This is basically substituting `youtu.be` with `youtube.com/embed` leaving the last part (in this video, `bDPczGUovzE`) untouched. So now we can see already a preview before even sending [![enter image description here](https://i.stack.imgur.com/qfyrml.jpg)](https://i.stack.imgur.com/qfyrm.jpg) Once sending it we'll see [![enter image description here](https://i.stack.imgur.com/k0H0dl.jpg)](https://i.stack.imgur.com/k0H0d.jpg) --- Edit ---- As of today this issue is already fixed and Beta users of WhatsApp can already take advantage of it. [![enter image description here](https://i.stack.imgur.com/1jQHZl.jpg)](https://i.stack.imgur.com/1jQHZ.jpg) Upvotes: 5 [selected_answer]<issue_comment>username_2: Kudos for @username_1's answer. Optionally, on computer, you can right-click / save the YouTube video thumbnail / drag it into Whatsapp Web (which will include it as a figure) and paste the original link in the figure description. Upvotes: 2 <issue_comment>username_3: Created a preview generator for this purpose , here is a link (only works for youtu.be links) : boxcubegames.github.io/ytpgen Upvotes: 2 <issue_comment>username_4: I actually asked this to their support team since this happens for last 3-4 weeks. Their reply was this > > Hi, > > > Thanks for your message. > > > We're aware of the issue and are working on fixing it in a future update of WhatsApp. > > > If you have any other questions or concerns, please feel free to contact us. We'll be happy to help! > > > My assumption is it's something related to some disagreement between Google and Facebook regarding to watching content from preview. Upvotes: 3
2020/12/12
435
1,652
<issue_start>username_0: Earlier I used to toggle between tabs by swiping left or right and clicking on the tab I wanted to open. But know if I click on the change tabs icon, I can only see the list like this attached image. How to get back to toggling tabs? [![IMG: ](https://i.stack.imgur.com/D9T62.png)](https://i.stack.imgur.com/D9T62.png)<issue_comment>username_1: It sounds like you had multiple windows open in your browser and you would have to load each page you want to switch from in a new tab and restore them each this is something that I have been through thanks I hope I have been able to help you Upvotes: 0 <issue_comment>username_2: **Check if some Android accessibility settings are enabled.** [Android accessibility settings](https://support.google.com/accessibility/android/answer/6006564?hl=en#) can affect an app's behavior. In Chrome's case, some settings (e.g. Switch Access) change the behavior of the tab switcher: from showing the stacked preview tabs to a simpler list shown in the question. ![](https://i.stack.imgur.com/1hAmFm.png) ![](https://i.stack.imgur.com/VHbiZm.png) Left: "Switch Access" disabled | Right: "Switch Access" enabled When offending settings are enabled, Chrome will also add a new menu entry under **Settings - Accessibility - Simplified view for open tabs**. Toggling this will change the behavior of the tab switcher without needing to disable the global Android accessibility settings. ![](https://i.stack.imgur.com/CGIEWl.png) --- **Note**: it is still possible to switch to another tab by swiping *the address bar* to the left/right, even with accessibility settings enabled. Upvotes: 1
2020/12/14
1,007
4,301
<issue_start>username_0: I'm researching on how to protect my phone from being able to be reseted by thieves. Doing some research online I figured out that the main method of putting a stolen phone to work again is to do a factory reset through rebooting and using some combinations of volume + power buttons to activate the factory reset. I'd like to know how this reset works. I've seen that on a Moto G 2nd gen, it had options like 'factory reset' or 'recover from SD card'. First of all, this program, let's call program `A` that starts when you press the volume + power is running from firmware or kernel? Can it be erased? I'd guess it's firmware, but it'll only accept a new system from an SD card if it's signed. So, the option a thief would use is the factory reset. Supposing that I cannot block the program `A` from running and neither modifying it to supress the factory reset option, is it possible that I can make it factory reset to a custom OS, not the installed one? This custom OS could not work or have some monitoring programs.<issue_comment>username_1: that's egg hen dilemma. you can't do modifications on locked bootloader. unlocked bootloader allows thief to do everything he like Your data is protected of being stolen (by encryption, and encryption key is wiped on factory reset). Your device is protected against re-using by thief as long as FRP factory reset protection is enabled (and you have bonded google play account). It doesn't protect your data from erasing and factory reset is still possible, but thief requires your google password in order to use the phone again. unlocking bootloader will disable FRP after factory reset, as long as FRP is activated, thief cannot finish initial setup, therefore can't enable OEM unlocking in developers options and has no availbility to unlock bootloader. however certain hacks are possible to by-pass FRP, but that doesn't concern your data security the more interesting is overcome encryption - as long as your lock screen credentials are part of encryption, your data is secure. But if your device is running FDE encryption with default\_password, attack (on locked bootloader) is possible for devices where OEMs leaked programmers/tools for raw access Upvotes: 0 <issue_comment>username_2: Android recovery is part of `boot.img` located in `/boot` partition. Hold key press signal for bootloader and recovery mode are hardcoded in android bootloader (ABL). ABL listens to keypress signal and boots bootloader or recovery mode. In Qualcomm Snapdragon devices, if ABL is corrupted, then Qualcomm's Extended Bootloader (XBL) fallsback to EDL mode for flashing device partitions. See the bootflow of device with Qualcomm's SoC: [![Qualcomm Boot Sequence](https://i.stack.imgur.com/Limnh.png)](https://i.stack.imgur.com/Limnh.png) In this image, it shows kernel boots recovery which is not the case anymore. In A/B slots, recovery is part of `boot.img` so it can be directly booted by ABL. Android has weak implemented physical security. Someone with physical access can access bootloader and recovery mode by hard restart of the device and pressing key combinations. Hard restart is hardwired to the SoC. By pressing power button for 15 seconds, SoC reboots and this feature is independent of the OS but reboot policy like hold press delay timer is hardcoded in firmware of SoC. If factory reset protection (FRP) has no unpatched vulnerabilities, it will prevent reuse of stolen device after factory reset without authenticating your account. But OEMs implement it poorly and its bypassing methods become quickly available. A good security design is when an unauthorised person shouldn't even have authorisation to factory reset the device. Android 8+ devices are fully capable of authentication for bootloader mode and recovery mode. Modern android devices are equipped with TEE which wakes on boot and in Qualcomm devices, it is awaken by XBL. TEE can perform biometric authentication or can use PIN authentication of screen lock even if the host OS is not loaded yet. Why AOSP and OEMs are not enforcing it doesn't have a justifying execuse. Whether your bootloader is locked or unlocked, there's no anti-erasure protection. But atleast with bootloader locked, fully patched FRP can't be bypassed. Upvotes: 1
2020/12/16
508
2,024
<issue_start>username_0: This is a tablet I've had for years, and suddenly it decided that tabs in Chromes cannot be selected, exited, or added (The only change I can do is the new tab button option on the 3 dots, but I can't switch back from it, or I close out of Chrome and reopen it, then I can do only one of those things, but not more).<issue_comment>username_1: Do you have Samsung Note 4?? Follow this.. 4 Ways to Fix Can’t Close Tabs in Samsung Note 4 ------------------------------------------------ 1. Firstly, go to Settings in your Samsung Note 4 and head over to Developer Options. Then click on Input and uncheck show touches. After doing this, try again and this time you will be able to close tabs on Note-4. Note: If you don’t have developer options, you can get them by going to the Settings page and heading over to About Phone​ and then tapping Build Number 7 times. 2. If you are using Chrome, head over to Chrome settings and then turn off combine tabs. This step will restart Google Chrome and you will be able to tap on the number box and close the tabs. 3. Another great fix to solve the can’t close tabs in Note 4 problem is to Go to Settings -> developer options and unchecking ‘allow mock locations’. This will fix the issue and you will be able to close all the opened tabs. 4. Go to Developer options and go to the Apps section. Here, you will see an option “ Do Not Keep Activities” Uncheck this box and you will be able to close tabs in Samsung Note-4. If that doesn’t work, you can also check this box and then try again. [Source](https://innov8tiv.com/fix-cant-close-tabs-samsung-note-4-tabs-wont-close-solved/amp/) Upvotes: 0 <issue_comment>username_2: I had this issue too on my Galaxy Tab A. I found a workaround. It's not the fix just a workaround. Please enable rotation of display btw. landscape and portrait. Each time you encounter this issue so you cannot close any Chrome Tabs any longer just rotate your display. That's it! Regards and stay healthy! username_2 Upvotes: 2