text:
Frame stutters appear just when touching/swiping the screen on Android EMUI 8
I have heard about intensive apps causing frame stutters on Android, but this isn't apparently. I'm using a Huawei P10 Lite with Android EMUI 8 (Oreo), and the stutters in this case only happen when I touch/swipe on the screen. For example, if I swipe fast and then release my finger, the screen momentum effect on android just works fine, as it is 60fps, but when I physically touch the screen, doesn't matter the number of fingers I have on it, it just stutters, like if the framerate dropped to about 20 or 30 fps idk. However, I tried installing one of those control center dropdown menus for android, specifically the "Mi Control Center: Notifications and Quick Actions" by Treydev Inc; I did it because the dropdown menu was the first thing where I noticed the issue. It didn't work, and it seemed to drain my battery a bit, so I just removed it, and weird enough so did the stutter issue. For a while it seemed to be gone, and I tried rebooting the phone to make it sure, but after booting it back, the problem returned. I don't think it's any of the apps I have installed, as I only use duolingo, termux, duckduckgo and like. The phone isn't rooted, and no launchers or 'customization' apps are being used. If it's a video, android scroll momentum or anything, it just works fine, only when the screen is touched. Thanks in advance.

Also I have a P10 lite in the same configuration. I did not experience your problem, instead I experienced another one: the screen in a miniaturized form goes into a corner and is locked. It happens rarely and a screen turn off/turn on solves it.

Ok, this is quite an old one. I just did factory reset , partially due to the amount of junk files I had, and It worked back again. I still don't know what it is, but if anyone has a solution for those who have the same problem and don't wanna start again, I'll leave this post open to answers.

Did a factory reset fix the issue?

Yes, I did (for other reasons too), but as I say, there will be people that wouldn't want to do so just for that, so I am still looking from time to time for an answer. I marked it as solved cause technically it's solved, but I am looking for a better answer. Feel free to post one if you or someone has it!


text:
How do you search for specific apps installed on Android?
How do you search for specific apps from installed apps on Android and the list them out? I need to search all apps installed on the device to check if three specific apps are among them. If yes, then I need to list all/any found installed.

You can use free and open source  AM Pre-release app. You can search for any installed app by its name and package name. You can sort apps by label, package name, user apps, system apps, disabled, last update, etc. At first run the app would ask you to setup adb or grant root access. Simply deny it or skip the step. It is optional.

Alternatively, you can also use another free and open source Permissions Manager X app developed by a fellow member of our community, Irfan Latif. The app offers search by name, package name, permissions. You can also exclude apps based on user/system app type and type of permissions.

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

sort: votes


text:
Is it possible to control and transmit electromagnetic radiation of allowed frequency with Android device?
I understand the following things about smartphones

A smartphone has various hardware that functions wirelessly by transmitting and receiving electromagnetic waves.
Things like Wifi, Bluetooth, and phone calling all work by transmitting and receiving electromagnetic waves.
The frequencies that this hardware can emit are fixed. It cannot work in all frequencies. It can work in only part of the frequency spectrum.

Let us take the following example.
I want to use a smartphone to emit an electromagnetic wave of a particular frequency, say X Hz.
If this particular frequency is supported by the hardware, is it possible to control/emit this signal of this particular frequency, like using any apps?

Welcome to Android Enthusiasts! Take note that questions directly asking for app recommendations are off-topic. Instead, we prefer the asker to just state the underlying problem that they want to solve and not putting any restriction for apps-only. Otherwise, you might be interested in our sister site, Software Recommendations Stack Exchange instead.

A Wifi or Bluetooth devices works in 2.4GHz band but each chip is limited to Wifi or Bluetooth specific signals. Only a SDR (Software Defined Radio) can emit signals defined by software. If you want to generate frequencies defined by software I would recommend to look into decent SDR hardware boards. An Android device is as far as I know not good as SDR hardware.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Chrome update on android makes the application freeze. I need help transporting its hundreds of tabs
Chrome updates are the worst. I've lost my tabs before when it updated, and the whole thing deleted my tabs after several times of lagging a minute after opening the app.
I fixed it by reverting to the old version, disabling updates, and being happy with the base app, along with disabling the google play services since I don't grab any other apps. But recently I had to acquire an app for something at work, and I forgot to disable google play services in time.
Now the update is causing it to lag again. I open it, I can't go to multiple tab views because it's loading, and when it finally loads, the whole thing freezes and crashes.
I have a few options I think, none of them quite certain, but beggars can't be choosers, if I want to preserve the many many tabs I have.
1: disable flags. Figure out what flags were added by the update to chrome, and disable them. Maybe this will make it bloated and less likely to crash and freeze, because the old chrome was sure just fine with the amount of tabs I had.
2: find a way to transfer/save all of my tabs before resetting the app (because the bookmarks and active tabs will all disappear when I revert updates and reinstall the old chrome.
So far, I've found this: https://dev.to/piczmar_0/when-you-never-close-tabs-on-your-mobile-chrome-browser-2boj
But I am having a LOT of trouble figuring out how to follow the instructions. I have no experience coding, and I don't know what they mean by "adb" or "bash". I've managed to set the phone to develop mode and download the android studio application, but that's the extent of things. I am just utterly confused.
Can anyone help guide me how to do it?
EDIT: I am using a windows 10 laptop.

Highly related/possible dupe: How can I export the list of open Chrome tabs?

Go to chrome://history/syncedTabs on another computer. All of your tabs should show.

Note: this would only work if only the Chrome was allowed to use sync feature prior to occurrence of the problem.


text:
Recovering a deleted text message on Android
I accidentally deleted a very important text message that I received that included a link. I need to locate this text message. Is this possible on my Android Alcatel chatr wireless (cell provider) phone?

not without root access. depending on phone model chipset and/or android version there might be a workaround to create raw backup of userdata partition. SQLite browser may show deleted messages from mmssms.db (if database not flushed yet)

for example Alcatel 1 is mediatek chipset (mtk-su exploit or preloader mode) while Alcatel 1B is qualcomm chipset (edl mode). latter one most likely file-based-encryption which makes impossible to decrypt raw backup


text:
Nexus 5 not appearing in fastboot devices menu
I'm attempting to flash Android 4.4.4 KitKat onto my old Nexus 5, but when I run the fastboot devices command, it does not show my device's serial number. When I try doing the ADB sideload command though, it works. The "flash-all.bat" file doesn't work either as it says <waiting for device>. I am currently using platform-tools version 31.0.0.

Fastboot only works when you boot into bootloader mode. If adb sideload works you are most likely in recovey and not bootloader mode.

@Robert I am in bootloader mode. It still doesn't appear. The bootloader is also unlocked too.

Check device manager if the fastboot drivers are correctly installed.

Fixed it. Thought I already had the Google USB Drivers already installed but guess not.

drivers have to be installed separately for each boot mode


text:
How do I add an Outlook email signature on new Nokia 8V?
Recently upgraded on Verizon to the new Nokia 8V android phone.  I can't find anyway to add/change my Outlook email signature.
Any help is appreciated

In the Outlook Help PDF for Windows, the path is New Email > Signature, perhaps the same mechanism? Notably, the PDF for Android-based Outlook, and iOS-based Outlook are both devoid of signature instructions. Perhaps Mobile versions don't allow it?

To add a signature (text not html) on Outlook, simply go to Settings -> Signature.


text:
My RCA Voyager Tablet is in a bootloop and I can't get into recovery mode
Can anyone help me please, My RCA Voyager Tablet is in a bootloop and it keeps showing the logo screen. I was trying to install the trwp for my tablet but I think I accidentally put the worng trwp file into my RCA tablet. I tried to go into recovery mode but nothing happened and I tried flashing it but I couldn't find any firmware file for my model ( my model is rct6873W42) I also tried connecting my computer to my tablet and it's not detecting my RCA Voyager Tablet. I hope someone can please help? P.s I also think it's brick but I am not completely sure.


text:
Private DNS over HTTPS rather than over TLS
The private DNS feature on Android Pie and above doesn't give you the option to select DNS-over-HTTPS (DoH) rather than DNS-over-TLS (DoT). I often connect to a network that doesn't allow traffic on port 853 which is used by DoT. The only solution I found is an app from the Play Store (called Nebulo) that allows you to use DoH but works through a (fake) VPN. Is there a way I can use DoH without a VPN, and possibly without external apps?

If you are using Cloudflare there's also 1.1.1.1 Android app. It also uses VPN. The only other way is to run a DNS forwarder on phone but it requires root: How to run DNSCrypt as init.d script?


text:
DNS over internal VPN?
I'm currently renting a server where I installed PiHole and PiVPN. PiHole is a DNS sinkhole that I use for blocking ads, and the PiVPN allows all my devices thanks to OpenVPN to get all my traffic through a personal VPN to reach my PiHole.
On PC it's great, even for laptops, because battery life is enough to support the "keepalive packets" that allow OpenVPN to stay connected to my server even if I'm not using the internet directly.
However, on Android, it's the main problem, since I'm using a VPN 24/7, and my battery is melting like snow in the sun. So the question is the following: How can I set up an internal VPN that redirects DNS queries to my PiHole (my server got an IP address that corresponds to my personal DNS-PiHole)?
I know some applications can work like "that", like AdAway (for non-root smartphones) or NetGuard.
I'm by the way rooted, and already using AdAway which is making the job, but it's more for technical challenge battery management.

Is your PiHole server reachable without VPN? Because if not one "internal VPN" wouldn't be enough, you would need a second VPN to just reach your PiHole server (e.g. just for DNS traffic to the PiHole server). Finally the main question remains: what do you gain by using your PiHole server instead of AdAway or similar apps like Blokada?

If root is available, I prefer running dnscrypt on the device than relying on VPN.

Hi there, I don't even know how to do that (I mean, running a script on Android), I guess it's with adb command ?
I read as well that each time you reboot your device, you will have to re-over-write DNS again, I'm wrong ?

From the OP's (now deleted) comment (with copyedit),

I finally find what I need, "DNS Change" or "DNS Override" are making the job. My problem is solved I guess, even if I don't like using apps which aren't open source.


text:
Source code for Android programs and applications
How do I view the libraries, directories, source files, etc... for Android programs and apps. Obviously file viewer doesn't show nearly what I am looking for. 8ts all open source, so why can't I access them?

no, it's not open source. you can find source code for open source apps only https://www.wikipedia.org/wiki/F-Droid

Open source does not mean that the source is included in the Android app. An APK files never contains the code in compiled form. Some time sit means that the source code can be downloaded somewhere on the net.
Usually nowadays you can find the source code of an open source on on one of the three most popular platforms:

https://Github.com
https://gitlab.com
https://sourceforge.net

Typically the project page is linked on the [Google Play] store web page of the app.


text:
Hand shields bluetooth antenna in Google Pixel 4a 5G?
Is it a reported issue with the Google Pixel 4a 5G, that the bluetooth connection of the device is disturbed when having it in your hand?
My headphones work flawless if the pixel sits on my desk, but stuttering begins when it is in my hand..
I wonder whether the issue is specific to my device.

Of course your body can weaken a radio signal, especially when your hands come close to the antenna. I would recommend to check tear-down videos of your device to learn where the antenna is located and make some tests if holding the device in different ways have an effect on your problem.

It shouldn't though. Bluetooth and wifi operating frequency is 2.4GHz. They easily pass through walls.

I know, this is why I was surprised myself @defalt. And indeed the issue was not with the hand.

If you're having troubles with your new Google Pixel 4a 5G from late 2020 in 2021 or later I recommend downloading the latest Google connectivity apps and update your system to  the latest Android version.
I was forced to set-up my device offline, the original version must have had some kind of bug with the bluetooth. After installing the updates everything worked.
I was able to determine, that the issue is software related after conducting a few tests. It turns out, that not holding the phone but turning on its screen is causing the stuttering.


text:
Wifi WPA Enterprise - In android 11 under 'Online Certificate Status', what is the difference between the various options?
Recently I noticed that my Note 10 would no longer associate with my wifi but all other phones would.  I have since resolved the issue by rerolling my certificates but cannot get the options 'Require status for all certificates' or 'Require status for untrusted certificates' to work.  'Request Status' does work as well as 'Don't validate'
'Require status for all certificates' fails with on the freeradius end with -
(36) eap: Expiring EAP session with state 0xb8be52eabb005f50
(36) eap: Finished EAP session with state 0xb8be52eabb005f50
(36) eap: Previous EAP request found for state 0xb8be52eabb005f50, released from the list
(36) eap: Peer sent packet with method EAP TLS (13)
(36) eap: Calling submodule eap_tls to process data
(36) eap_tls: Continuing EAP-TLS
(36) eap_tls: [eaptls verify] = ok
(36) eap_tls: Done initial handshake
(36) eap_tls: <<< recv TLS 1.1  [length 0002]
(36) eap_tls: ERROR: TLS Alert read:fatal:internal error
(36) eap_tls: TLS_accept: Need to read more data: error
(36) eap_tls: ERROR: Failed in __FUNCTION__ (SSL_read): error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error
(36) eap_tls: TLS - In Handshake Phase
(36) eap_tls: TLS - Application data.
(36) eap_tls: ERROR: TLS failed during operation
(36) eap_tls: ERROR: [eaptls process] = fail
(36) eap: ERROR: Failed continuing EAP TLS (13) session.  EAP sub-module failed
(36) eap: Sending EAP Failure (code 4) ID 190 length 4

'Require status for untrusted' hangs with android eventually giving up with this on the freeradius end -
(5) eap_tls: [eaptls start] = request
(5) eap: Sending EAP Request (code 1) ID 243 length 6
(5) eap: EAP session adding &reply:State = 0xcff1ecc3cf02e118
(5)     [eap] = handled
(5)   } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) Post-Auth-Type sub-section not found.  Ignoring.
(5) # Executing group from file /etc/raddb/sites-enabled/default
(5) Sent Access-Challenge Id 247 from 192.168.45.251:1812 to 192.168.45.37:33524 length 0
(5)   EAP-Message = 0x01f300060d20
(5)   Message-Authenticator = 0x00000000000000000000000000000000
(5)   State = 0xcff1ecc3cf02e118ed54fc1c4b664912
(5) Finished request
Waking up in 4.9 seconds.
(5) Cleaning up request packet ID 247 with timestamp +19
Ready to process requests

What do I need to implement or correct so these two options will work as well?

"Certificate status request" is the official TLS terminology for OCSP stapling.
The Android option is very likely a direct mapping to the corresponding wpa_supplicant option (just like the "Domain" field is domain_suffix_match, and so on).

I have a (possibly) related issue: on Android 13, the 'request' option works, but the 'require' fails, which makes me think the certificate is not actually validated. I believe this can be due to the domain *.ruw.mydomain.com containing a *: do you know whether this can be the issue?

OCSP doesn't validate hostnames (that's already done as part of the normal checks) – the purpose of OCSP is to verify that the certificate hasn't been revoked and nothing else. If "require" fails, that sounds like the EAP TLS server isn't set up to respond to the OCSP-stapling requests.

I see, thanks. Perhaps then I have not noticed this issue with wpa_supplicant on linux as i'm not explicitely enforcing ocsp there.


text:
Restoring browser history in Android
In an unrooted Android tablet, is there any way to restore web browser history searches that have been cleared?
It is Chrome web browser, and it's not linked to a Google account. Android version 6.0

Unless you are able to perform disk forensics on the storage medium, this is unlikely, since as far as the application/OS is concerned, it has been deleted.


text:
Why doesn't dictation work on GBoard in incognito mode?
My impression was that GBoard dictation works completely locally.
https://ai.googleblog.com/2019/03/an-all-neural-on-device-speech.html
If that's the case, how come it does not work when I go incognito on Chrome? It crosses out the microphone icon in the top right of the keyboard. Did they just forget to disable that feature after they made it work offline?

Since this is about the internal decision of GBoard, this is probably better to be asked on Google Support instead. One thing is that GBoard's incognito mode (which is automatically enabled when using Chrome's incognito mode) also prevents GBoard itself from remembering and learning any words you enter. Possibly it's a side effect of that.

I don't see how to ask questions on https://support.google.com/gboard


text:
I want to make static IP on my tablet using usb-c to ethernet port
I have Huawei Meta Pad t10s tablet & usb-c to pd rj45 adapter to connect it to ethernet not WIFI and it connect to internet automatically but I want to connect to server with another Gateway and need to enter static IP but can't find the way in the software of the tablet.
can any one help me to find solution to this situation?

If you have access to the router/DHCP server, you can do a DHCP reservation on the MAC of the USB to ethernet adapter.  This means that even though the port is set to DHCP, it will always get the same address.


text:
USB 3.1 gen 2 flash drive only works when connected through 2 adapters at the same time
Okay, this is a very specific question with very specific hardware, so I understand if there isn't an answer.
I recently bought a USB 3.1 gen 2 flash drive with read and write speeds of 400MB/s, because it'll speed up my backup process a ton. The flash drive works great on my laptop, desktop, and on other phones. For some reason it just has issues with my OnePlus 7 Pro. If I use a standard USB 3.0 hub to connect it, it doesn't work when connected to the 3.0 port (but works if I connect it to a 2.0 port on the same hub). When I say it doesn't work, I mean it's only recognized half the time at best, so I have to plug it in a few times before my phone sees it, it sometimes randomly disconnects and reconnects, and the transfer speeds are way off. For some reason, files can't be read at all when trying to copy from the drive, and the write speeds are incredibly slow, though at least it can write. When I connect to that 2.0 port, I get standard USB 2.0 speeds for read and write, which are far lower than I'd like, given how fast the flash drive actually is. I've also tried using a straight USB type C to USB 3.1 gen 2 type A cable, and it has the same issues. Both of these methods work on other phones without issue. Also note that I don't have these issues with any other flash drives, but this is the first one I have that uses USB 3.1 gen 2, whereas the best one I had before was USB 3.0 (or as it's now called, USB 3.1 gen 1).
Here's where it gets really weird.
I was trying to troubleshoot every possible scenario, so I decided to try plugging a USB 3.0 type A USB hub into my USB 3.0 type C USB hub (the one I mentioned previously) and then plug my flash drive into the USB type A hub, and somehow it fixed all the issues. Suddenly I was getting reads and writes that were capped at the speed of my phone's flash memory, it recognized the flash drive the first time I plugged it in every time, and it never disconnected randomly. The same thing happened when I changed out the USB type C hub for the direct cable as well. Below I've added a crude attempt at making what I'm saying more clear:
Phone > USB-C hub > flash drive    does not work
Phone > USB-C to USB 3.1 gen 2 adapter > flash drive    does not work
Phone > USB-C hub > USB A hub > flash drive works
Phone > USB-C to USB 3.1 gen 2 adapter > USB A hub > flash drive    works
When I try to transfer files to and from the flash drive through TWRP, the same issues are present.
I'm using a custom ROM (crDroid) with a stock kernel on Android 11, so I'm going to see shortly if flashing completely back to stock firmware fixes the issue, and will update this post if it does (see edit). I could also grab some system logs if that would help, but I haven't been able to find anything useful through MatLog (at least not that I really understand).
If anyone has any idea why adding another USB hub in would fix whatever issue is going on, I'd greatly appreciate your response even if there is no solution, as it doesn't make any sense to me as is.
EDIT: I've confirmed that flashing back to stock does not solve the issue. I flashed every partition manually with OOS 10 images, and even tried MSM tool, but the problem persists. This means that it may be an issue with my specific model as a whole, but I do not have another OnePlus 7 Pro to test it with. I suppose it could be a hardware issue specific to my individual phone, but I'm unable to determine that myself. In any case, there is some bad interaction caused on my phone's end, and it may be caused in part by an issue with the flash drive.
THEORY: My current best theory is that there's some issue with the way that my phone is interpreting the USB 3.1 gen 2 protocol, and somehow adding another USB hub in there helps to "sanitize" it or something of the sort. Since I do not have another USB 3.1 gen 2 flash drive, I'm unable to tell if this is specific to this singular flash drive, or if my theory about the protocol interpretation is correct in the slightest. If anyone knows more about USB protocol, then I'd love to hear what you have to say. I have no idea if my theory makes sense in reality, but it's the only explanation I could think of that made any sense to me.

Has the hub an own power supply? May be the flash drive requires too much power the OnePlus 7 Pro can't provide?

@Robert No, it does not have a power supply, and given that it works fine on the USB 2.0 port on the USB-C hub (which is also powered entirely by the phone), I can't imagine that it's a power issue. That was the first thing that came to mind for me too because of the random disconnects, but I don't think that it would be fixed by adding another hub (which should actually drain a bit more power).

When using USB2 most USB sticks requires much less power than when using USB3.0+ therefore it could be a power issue. You can easily see the power issue by touching the stick when connected to a PC. When connected to USB3 most sticks are getting much hotter than on USB2.

@Robert I should clarify that when I use the second hub (which provides no external power), it's transferring at USB 3.0 speeds, so it should be drawing the same amount of power as it would be if I were to have simply plugged it into the first hub.


text:
Access connected Android phone camera from Chrome browser on my Macbook
I know there are programmatic ways to request media from another device's camera, but is there any simple way I can access my phone camera from my (localhost) web app?
I connected my phone to my laptop via USB, but it's not showing up on Camera settings

(You can see that my laptop camera is the only option)
I've tried installing an app called Iriun, but it only transfers video to its own desktop app, not to Chrome.

If you have the Iriun app open on your computer, it will appear as a camera in the browser.  You just need to iterate through all of the available cameras.
function getCamAndMics(){
     // List cameras and microphones. in the menu

     navigator.mediaDevices.enumerateDevices()
     .then(function(devices) {
         devices.forEach(function(device) {
             console.log(device.kind + ": " + device.label +" id = " + device.deviceId);
             var audioSelect = document.getElementById("audioPicker-select");
             var cameraSelect = document.getElementById("cameraPicker-select");
             if(device.kind=="audioinput"){
                 //add a select to the audio dropdown list
                 var option = document.createElement("option");
                 option.value = device.deviceId;
                 option.text = device.label;
                 audioSelect.appendChild(option);
             }else if(device.kind =="videoinput"){
                 //add a select to the camera dropdown list
                 var option = document.createElement("option");
                 option.value = device.deviceId;
                 option.text = device.label;
                 cameraSelect.appendChild(option);

             }
         });
     })
     .catch(function(err) {
         console.log(err.name + ": " + err.message);
     });

}

You can see this with https://record.a.video - just make sure you have Iriun running on your computer when you use the website. Sample code from https://github.com/dougsillars/recordavideo


text:
Forbid phone from using Mobile Data
TL/DR:
How do I forbid the phone from using ANY mobile data ?

If I use a single byte of mobile data, my plan charges me.
Turns out, the phone used data by itself some days ago.
And NO, before you ask: it did NOT turn on the mobile data function.
Yet, I was charged.
The standard network usage graph is useless to spot what app used the data, and certainly won't tell how it used data without enabling the mobile data function.
Guess all I can do is forbid the phone altogether to access mobile data
Is there a way to do that ?
A prompt, with password, would be great
Thank you all for the solutions so far

Rarely, it DOES turn on mobile data itself, but it stays that way, so I can see and revert.
(Happens in some reboots, or when I unplug the SIM, while handling the SD card, etc)

The carrier said it's the phone's fault, obviously

I can't remember the last time I HAD to use mobile data. So, if the solution makes it hard to enable it, won't be a problem.

I'm gonna try and sabotage my APNs

The main problem is VoLTE which means that voice calls are transmitted via data. Therefore als long as VoLTE is activated there will always be a data connection and thus data traffic as the MNOs are tooo dumb to correctly distinguish between VoLTE data and user created data. But without VoLTE for voice the phone would have to switch back to 3G or 2G if they still exist in your country. The other way would be to use VoLTE and if your MNO tries to charge you "fight" against it. That may mean to contradict the invoice every month if they charge you for data.

It can be done by:

Setting "data limit" to "0 MB" (Settings-> Network and Internet -> Mobile network -> "YOUR_MOBILE_NETWORK" -> Data warning and limit)
Setting 2G as preferred Network (Settings-> Network and Internet -> Mobile network -> "YOUR_MOBILE_NETWORK" -> Advanced -> Preferred network type)
Using ADB:

adb shell settings set global mobile_data 0
adb shell settings set global mobile_data_always_on 0

Found those settings. Varies from phone to phone, apparently. But found it. Problem is: now I have a constant warning saying "data limit reached" (translated by me)

Update: that doesn't work, unfortunately. Right now I received a message warning that I "used" mobile data, even with this option of 0 MB there

If the SIM is plugged in, data will be used. The Android OS does lots of things in the background that use data, even if you disable data.
Some things that will use dara:
Synchronise (turn it off)
App Background Data (all apps off, OS will still xfer)
Location (will instantly try many methods to get accurate location data)
Bluetooth (Nearby devices names/mac addresses get recorded and transmitted over internet)
Maybe Aeroplane Mode would cut down a lot.
It is very frustrating, but almost every setting you can "turn on/off" Android will quietly ignore your choice, and do it in the  background anyway.
Only a rooted device could put in place a root user level firewall to only allow traffic on device wifi, deny all others (3G, 4G, LTE)

Yes! Rooted and Xposed. Also, I do have AFWall installed

Oh excellent. I'm not sure how network devices interfaces are presented to the root user. If it is like Linux, you could shut-down the IP interfaces. They probably initialise during start-up via a script. Comment out anything starting data interfaces (leave yourself a comment about why you made the change).
And use your firewall rules to DENY ALL data on those interfaces.
As @St0m suggests, use Android tools to disable mobile data. There might be more Android specific 'features' to turn off, or that can help shut-down network traffic.


text:
how can i mirror phone screen with a brocken black screen?
my phone fell a few times and alas the screen is now unfunctional. there is a line straight down the middle, on one side it is black and on the other, it is purple/white/green, my point, that I cant use it for anything.
now, how can I mirror my screen onto another device so that I can backup everything I have on my device and be able to transfer it (and also still be able to use my old device until/)when I get a new device.
USB debugging is already activated on my phone but whenever I try to adb, I am told that I need to grant permission on my phone (which of course is impossible, being that I have no access to my screen).
now, I understand that I can purchase an external screen and connect it to my device via usb c and I don't need to go through this whole hocus pocus of usb debugging and screen mirroring, rather it can connect automatically, but that requires me to purchase a screen, etc.
is there any way I can do that exact same thing with a screen that I already have at how, for example, my laptop screen, or maybe I just got this whole thing wrong?
If you cant help me with the above, then please help me with this, how can I back up my data. i downloaded dr.fone, but the doctor broke the news to me that he can't help my phone if i don't permit him to do so, which will require me to grant permission on my phone.
or any other option for me to acquire my data thank you!!
p.s. i am running windows 10 20h2 and Linux mint.

The number of phones that support external screens is not very high. You can try USB-C to DisplayPort or HDMI connectors and try it out. But even if it works input is still the problem. USB mouse and keyboard can be connected but usually not at the same time as the monitor adapter.  Another problem is that the ADB authorization dialog is only shown while the USB connection to your PC is established. If you disconnect the PC connection (e.g. to switch to an USB keyboard) the authorization dialog also closes.


text:
How to block a specific URL phonewide
My first thought was blocking them using AdAway or AFWall, but ironically, an adblock and a firewall are useless
Most of the URLs are pictures. I can easily get their URL
I ask to block it phonewide because my browser doesn't support custom adblocking
Didn't even try adding some lines to the phone Hosts, because my adblock overwrites it.

A replacement for the AdAway is very well on the table (if not VPN-based), but for the AfWall, only if it's as lightweight, as well organized, free, and again, not VPN-based
My browser is Opera. Not changing that.

In case AdAway can be used:  If the URL needs to be a line of a host source,  how should it be formatted ?
Thank you ahead

Adaway is not content blocker. It is hosts blocker. You add only hosts (domain names and addresses). It has no capability (AFAIK) to block content sourced from a domain. To block content, you need something granular. In case of a browser, say Firefox, you can use Ublock Origin extension. For apps, I don't know what would work.

Changed the whole thread to put more options on the table

You can run tinyproxy server on your Android device. It supports FilterURLs option. To force redirect all traffic towards this local server, you can use redsocks2 with http-connect type. Both tools are free and open source. For hints see my answers to Using your Android phone as a proxy server and How to send all internet traffic to a SOCKS5 proxy server in local network?.

Man... Above my level... After reading twice, my brain became barely capable of Installing tinyproxy... Now the rest... All I can do is thank you for the attention and shared knowledge

Can your solution, or another strategy you may know, be adapted to a "script" that AFWall can swallow ?

Yes. You can run the CLI software in a shell script; directly or through AFWall. // Actually it's more complicated than what I wrote. FilterURLs won't work for HTTPS traffic without decryption (MITM) because in the case of SSL/TLS traffic the whole URL is not visible to the proxy. So a transparent intercepting proxy is needed. Without SSL interception only domains can be filtered using proxy. But a simpler approach to filter domains is DNS filtering using hosts file or by running a small DNS server (see example of dnscrypt).

Explanation on transparent HTTPS proxy can be found here and here.


text:
Has the floating calendar icon feature and "Aa" button been removed from Google Sheets on Android?
I found a screenshot of the buttons I am trying to describe on this other post. Thanks.
But the actual feature is no longer appearing on my app. I recently updated it (8 Jun 2021) so I'm worried that it's been removed.
Anybody know?

I'm such a fool... Please forgive me... I found it! I panicked because my understanding was that it was a feature introduced recently and I thought perhaps it had been removed already but thank God... No, it is still there! You just need to click the input field and it appears. (Cringe)

[![enter image description here][1]][1]
Eureka!
[1]: https://i.stack.imgur.com/f33wG.jpg

Sorry but I don't understand your answer. Please do not just post a screen shot also describe what it means and what steps are necessary.


text:
Lost Android phone. Google will not reveal IP
Is there any way an Android phone can be pinged or tracked by the IMEI number? My phone has been missing for 7 months now and Google tells me the phone got synced. It tells me the date and time and says Google knows this via IP address. But they won't reveal the IP to me. Does anyone have a way around this?

Yes, but whether you can do this, remains to be seen. Phones can receive commands through the phone network (not what you would see as the "phone's internet connection"), what is called the OTA channel. Whether they do is another matter.
Samsung phones can be remotely controlled via the KNOX subsystem, but your phone needs to be registered and you need to be its Knox controller (usually this is done for branded phones - i.e. Stark Industries purchases 1,000 phones for their employees, but makes it so they can't change the logo, or use a different SIM, or can be tracked if needs be). The same applies for iPhones. On both systems (I suspect all systems), what is seen by the user as "the OS" is actually a guest that lives at the complete mercy and sufferance of the underlying secure module, which always has complete control.
Unfortunately, while the owner can request for a remote factory reset, data wipe, and sometimes even a total system lockout (what is commonly referred as "bricking", but isn't a definitive bricking), locating the phone through OTA requires uploading a bespoke app to said phone, and this feature is not available to the average Joe for obvious privacy issues. It can be done and is routinely done in response to police requests, for example. If you denounce the theft, it is possible that such a request might be made. Whether the police will be able to pinpoint the location and recover the phone is doubtful, but once I saw this done for a tablet, so...
Another thing that can be done (and is routinely done too) is locate the phone by triangulating through the network carrier cells. This too isn't available to the average Joe, and requires much more hassle. It's only done to track criminals (or if you lost a phone with the missile launch codes, I guess :-) ). You can request from your vendor (with appropriate proof of purchase) for the IMEI to be blacklisted through the global database. Once that is done, the phone will be unable to connect to any carrier.
A more worrying issue though is that "Google tells me the phone got synced". What got synced? Your Google account? Because that would mean that the phone is still logged with your password, and you certainly don't want that. I'd disconnect the device and change my password ASAP.


text:
Are my personal files safe after factory reset?
I am planning to sell my phone Redmi Note 7 running Android 9 which is already unlocked bootloader but no root access, is my data can still be recovered through Android software recovery? I don't want the new owner to recovered my personal data. and I read somewhere that Android factory reset does not actually delete your file and still can be recovered. Is this safe to just only factory reset?

Most likely what you have read is at least 3-5 years old and refers to older Android versions before all devices are mandatory encrypted by default.

Android 9 has encryption by default. Factory reset clears encryption keys from TEE so recovered data cannot be decrypted.

Possibly related: How to make a complete factory reset, without anyone being able to retrieve my data?


text:
Location of android browsers' (Chrome and Brave) open tabs
virtually all android browsers remember and load all my open tabs every time I open whatever browser I want to use.
Where is this file browsers use to reload all open tabs when restarting? Is there a way to access to it at all, even if it implies having to root my device?
Any way to export or create a list of open tabs in the form of links?
Device is huawei mediapad m5 lite
SO is EMUI 8.0.0. a equivalent to android oreo 8.0
Thanks

For accessing the app-rivate folders root is required. But as far as I know Huawei devices can not be rooted. Huawei has stopped the service that unlocks the bootloader and this is required for proper rooting of a device.

I added another duplicate link. It's about exporting Chrome tabs and some of the answers also state the location (yes, it needs root access): 1, 2, 3, 4 (though, most of them are a few years old and might be outdated)


text:
Why does encryption doesn't work/apply to access device storage or Google photos or drive when we upload a file from device/cloud to any webpage/apps
Example : YouTube, Facebook, Instagram, Chrome ( any app )
If I'm accessing YouTube or any other app where I can upload content from Android device with or without the app lock features, whenever I click on add file, it doesn't ask for gallery password even though I have my phone's gallery encrypted with app lock, infact, in some apps even the hidden files also appear. What's the point of having app lock if anyone can access all the files through any other app's upload feature ? Does Android not provide any security or encryption facility to access  device storage when accessing it (storage) through a third-party app? Anybody can access Google photos, drive storage etc without any password if they have access to the device, doesn't matter whether the apps are password protected or not.
To explain further , in this case let's say my Chrome isn't password protected, if anyone has access to my device's Chrome browser, they can access all of my content from Google photos, drive, phone's storage etc just by using any webpage's upload file feature. What's the point of keeping password pr applock to gallery / or Google storage if they're acceible like that?
Faced this issue is most Android devices ( Redmi note 5 pro, Samsung devices, Nokia, oppo, vivo etc.)

Isn't it already visible in the app name "applock"? It locks apps not files. A more fine granulated access system to files on the sd-card section was introduced with Android 10/11 - it is named scoped storage.

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.

Does this answer your question? Check for the existence of files without root privileges


text:
Password-Protected Notes Encryption
I have one question about the encryption algorithm used for password-protected notes.
I am an Android smartphone user and for taking notes, I use my phone's native Samsung's note taking App.
But, I don't know what encryption algorithm it is used with Samsung's note taking App (password-protected notes).
Does anyone know what is the encryption algorithm?
Please let me know.
Thank You

In the decompiled source code there I can see AES/CBC/PKCS7Padding but Note supports multiple storage versions and I am not sure if this cipher belongs to the latest version. The used key seems to be generated using the user password and a native method in library SNBConverter.

Thank you for your explanation, I do appreciate it.


text:
Why does my HTC Desire 610, running Android v4.4.2 and WiFi connected, falsely allege "your phone is up to date" and "no updates available"?
While cleaning my attic, I unerathed an HTC Desire 610 from 2014. I hope to use it as a backup phone. I can't afford to buy a new phone, as COVID unemployed me.
As at today, the Latest release is Android 11. So why's my HTC Desire 610 fibbing, and not updating to Android 11? I connected it successfully to WiFi, which I checked by accessing the Internet.

Probably it means that the vendor has issued no further updates for that particular handset. Many vendors do that, and then you are stranded with an obsolete version when they stop supporting it. I guess you can update it to something more recent if you can root the device.

Not all Android devices get the current latest Android version, especially the older devices. This is because unlike OS for PC, there's no universal Android ROM that can be flashed on every device, so each vendor has to build each ROM for each device they want to support. Most vendors only provide at most 2-3 years updates of Android versions. The only alternative is looking for custom ROM (if it exists) for your device.

Also, according to GSM Arena, the phone only gets Android 4.4.2 (no update) officially.

Does this answer your question? How to Upgrade my Android device to latest Android version


text:
"Breaking" into Samsung phone
One of my colleagues has recently passed away and I am left with a task to retrieve data (especially pictures) from his phone - Samsung Galaxy A3 (2017).
Unfortunately, he set a numerical code to lock the screen and I was unable to get through it with any conventional methods I found online - all require access to the Samsung account, or Google account, or some other prerequisites, that are not fulfilled in this case.
Does anybody have any trick to get past the security?

If your company/organization has the budget, ask them to hire a professional who is skilled enough to develop and execute an exploit on an Android device. As I see it your best bet is to exploit the vulnerabilities in the device to gain access. One promising vulnerability is in bluetooth. See https://www.zdnet.com/article/google-fixes-no-user-interaction-bug-in-androids-bluetooth-component/

If you have his phone number, could this work for you:

Call the phone
Accept the call and press the back button without disconnecting
Now you should have access to the device completely.

This does not work on latest Androids. I don't know about older versions.

Yeah idk I just found the solution on Google xd


text:
Unable to use SSH server over VPN on Android 11
I had an old mobile phone with Android 8.x Oreo. In it, I was using "SSH/SFTP Server - Terminal" app to access my files on the phone through "WinSCP" in "Windows 10". I used to do that while a VPN connection with "UFO VPN" Android app is active on the mobile phone.
Now, I bought a new mobile phone with Android 11, when I tried to do all the things above, WinSCP refused the connection over the VPN and I can only access the files without the VPN.
I tried to solve the problem by using different SFTP server apps and VPN apps with no success.
Any help will be appreciated, with a notice that I don't want to use a normal connection on my phone.

Is the VPN identical on both devices? Both old and new devices are "stock" (not rooted)? When talking a bout specific apps please always include the link to the app in app store, app names are localized and thus it can be difficult to understand what app you are referring to.

I have updated the post with apps links. The VPN is only on the mobile phone and windows 10 are connected to the internet normally. In the old mobile phone (Android Oreo) it connected successfully from ssh server on mobile phone with VPN to WinSCP app on Windows 10 with normal connection without any issues. Hope the problem in the new mobile phone can be solved.

Please note that I used this method to access my files inside secure folder in galaxy s21 mobile phone.

It seems that the Android version newer than Oreo prevent VPN and SSH connection at the same time, only one connection can be active.
That is very very frustrated.

This is because the VPN app disconnects the SSH tunnel to pass all the traffic through itself, causing the SSH connection to drop.
The solution is to exclude the SSH tunnelling app, e.g. Connect Bot, in the VPN app. I have also explained this in more details here.


text:
My massages are not delivered to a particular contact on Whatsapp
I have a friend. He lives in Finland and uses WhatsApp on his iOS Phone. I'm in Iran and use WhatsApp for Android on my Galaxy A8.
Over the past few months, our ability to communicate through this app has deteriorated. He says he doesn’t receive my messages, apparently he can’t see them. This is frustrating, to say the least, and puts a lot of unneeded stress on both of us.
He says that I'm the only one this happens to, and that communication with his Iranian contacts works just fine.
I'm really clueless. I've scoured the Internet for answers, but I can't seem to find any. I send messages, and in the time they delivered to my friend, after 2 or 3 days. I've uninstalled and reinstalled the app countless times, and my network connection at my house is perfect. But this seems to only be getting worse. I send him several messages a day, but I only get some of the messages about every other day--usually every two days.
I'm not a tech by any means, but it seems like there might be something wrong with the different versions of WhatsApp. Android communicating with the iOS Phone. So if this is the case, then my question here is unneeded. I've contacted WhatsApp Inc. with my concerns but not get any appropriate answer

https://signal.org

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

I am asking about why my massages are delivered to my friend in Finland after 2-3 days and how can I solve this problem??


text:
How can I unlock/root the Vivo Z1?
I have enabled developer options, enabled USB debugging and unlocked bootloader (OEM unlocking).
fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 1
OKAY [ 0.000s]
Finished. Total Time: 0.000s

My phone is vivo Z1, its CPU is Snapdragon 660 AIE with Android 9 OS, security patch level 2021-02-01, it is system-as-root and has no ramdisk.
I am unable to unlock the bootloader:
PS C:\ProgramData\Android\SDK\platform-tools> .\fastboot oem unlock
FAILED (remote: 'unknown command')
fastboot: error: Command failed
PS C:\ProgramData\Android\SDK\platform-tools> .\fastboot flashing unlock
FAILED (remote: 'unknown command')
fastboot: error: Command failed

I have installed vivofastboot and vivofastboot_v2, and updated the dlls source
vivofastboot
vivo_fastboot bbk unlock_vivo
...
FAILED (remote: unlock fail.)
finished. total time: 0.000s

vivofastboot_v2
vivo_fastboot vivo_bsp unlock_vivo
...
FAILED (remote: check Signature Fail)
finished. total time: 0.000s

How can I unlock/root the Vivo Z1?

Archived comments in the chat room. It'd be great if the troubleshooting part can continue inside the chat until the final clean solution is achieved.

Does this answer your question? Is it possible to backup data from a locked android phone?


text:
How to find unknown IP address on Android
I believe I have a sort of unique question in how would I determine an unknown IP address through an Android device which is connected directly to a IP enabled piece of hardware via USB-C to Ethernet adapter.
I understand that on the computers you can use the likes of ARP scans for such things, but is it possible to something similar on an android device?
The network address would be unknown and same with subnet.
Are they any known tools out there to do something over BOOTP, DCHP, Ethernet/IP devices

If I knew the IP range (i.e. subnet), a ping sweep would be my first tool. There's an app for it.

Almost everything that works on a Linux PC also works on Android devices. Privileged tasks may require a rooted device though.

Does this answer your question? ADB wireless :- problem with IP


text:
Hiding root from banking app in 2021
Can't use my banking app nor pass safetynet
Completely Hid the banking app, and google store, and google services on Magisk hide.
Also tried a few relevant Magisk modules:

Magisk Hide props config (default)
Systemless host (default)
Universal SafetyNet fix 2.1.1
Riru framework
Riru Unshare
Riru MomoHider

Relevant Xposed modules:

RootCloak
SudoHide
XprivacyLua
Bancontact RootBypasser

Also tried Island, and applying those modules above to the isolated app. No deal
Can't disable OEM unlock, or else TWRP is blocked by some FRP
What else can be done ?
Samsung G935F
Lineage OS 15.1 (Oreo 8.1)

Same use to happen before, with S7's original ROM
Important: I have other Xposed/LSPosed modules that I need:

ExSDCard Access Enabler (Magisk)
App Locale 2
Lucky+Patcher
Jasi Patcher
Disable-FLAG_SECURE
Greenify
Secure Settings
AFWall+

And apps:

Titanium backup

Second part of the question:
How can I tell HOW the app detects root ?
So I can possibly patch the leak... Block services... Make XprivacyLua more effective
Maybe this second part is the most relevant here

Third (optional) question:
Are there any updated news regarding this cat and mouse fight ? Is someone working against this hardware verification ? Having breakthroughs ?

Does this answer your question? Can "Magisk" hide bootloader status?

Yes. Answers a part of the question. Thank you for the suggestion. I was hoping that the community had a breakthrough since 2020, year of the article. No change, apparently

Some related news from today https://forum.xda-developers.com/t/tools-zips-scripts-osm0sis-odds-and-ends-multiple-devices-platforms.2239421/post-85725237

You don't need all of those modules and apps (though XprivacyLua is needed)
I can totally understand your situation so I'll explain what i did for myself. Just follow step by step and it'll work.
First things first, remove every magisk module (incuding systemless hosts,Unshare and Momohider - yes we dont need that) except Riru CORE framework.
Also remove whatever xposed module you've installed except XprivacyLua (also you should be using riru lsposed, not xposed)
Now install Riru - LSPosed, Universal safety net fix 1.2.0 (not 2.1.0)
Now follow relevant parts of this guide.
DO reset  data of Play services, Play store and Google Services Framework.
Reboot and safetynet should pass.
Feel free to comment any doubts

Didnt work for me, even after carefully selecting only the necessary plus recommended on LSPosed/Xprivacy. Maybe the cause are my other modules (updated the thread to include them). Followed the script. Wiped every possible data from google apps AND the banking. Magisk was already rebaptized... The only thing I didn't do was to spoof the fingerprint of my device, since it's a different ROM.

I assume your Custom ROM is using redfin or Pixel 5 props by default. I recommend changing it to your stock ROM props and following the guide again .

Pixel 5 based. Will do that. Thank you !

You should try uninstall titanium backup. Once one of my banking app detected TB and stopped working. After uninstalling TB I was able to hide root from that app


text:
Mysterious grey rectangles on notification panel
Got a new Nokia 5.4 that has just recently been updated to Android 11 with no 3rd-party apps installed except Kaspersky. However, I've been noticing a rather strange behaviour where there seems to be an almost invisible app running in the background. Dragging down the notifications (one level down, not all the way) and there seems to be some sort of app/icon when I tap the area.
Attached are screenshots so it's clearer.

Run a virus scan but nothing shows up. Whatever it is, it seems to have been on the phone before unboxing and first boot.
To clarify, this behavior has been there even before I installed anything on the phone. Spoke to Nokia support and they said it's not something they're aware of and suggested I report it as a bug. I've asked this question in Nokia's community forum to see if it's something that's present on all Nokia 5.4 models.
Wanted to get more thoughts if this is some spyware on the phone, which I highly suspect it is, and how do I remove it.
Any idea what it is? Is this some embedded spyware?

Let me summarize: you have no indication that this is actually spyware - all you have that it looks strange. You have the statement from Nokia that it is not spyware and you should report it is a bug. The AV you've tried does not find anything either. Yet you still believe this spyware - still only because it looks strange. Why should spyware look strange in the first place?

That's right, it does seem strange, and this has been present on the phone since Android 10 before the Android 11 update. Spoke to Nokia customer support and they didn't say it wasn't spyware. They just said they don't know what it is, and that it isn't typical behaviour. Hence, why I suspect it's spyware. Might just be a bug, but I've been facing persistent intrusions into my system both on my desktop and phones this past few months, which is why I'm more suspicious of this.

@robert The OP mentions that the behavior has already been observed prior to unboxing and a software update, so this is likely not the issue. Has anyone else faced the same issue on the same model or another Android device? Could be a poorly executed RAT or a frame draw issue if it's just a software bug.

I recommend you a factory reset

It's more of a bug with Notification UI than a spyware.


text:
Auto Reply set up on Google Messenger - How to set so doesn't reply every time same person replies
I have linked our Google Messenger to auto-reply via email as we are a doctor's office and the messenger is not monitored for canceled appointments.  The problem is we ask people to reply "Y" to confirm their appointments - sometimes there is additional messaging back and forth if we are in the office.  The auto-reply runs every time someone texts (a conversation).
Is there a way to have the auto-reply only send 1x to the same number if having a texting conversation instead of every time a response in the same conversation is sent without blocking the number because that defeats the point of auto-reply?

Google Messenger (Android Messages) doesn't seem to have an auto-reply feature. How did you set up the auto-reply?

I found this link and followed the instructions: https://webapps.stackexchange.com/questions/67645/how-do-i-auto-reply-to-text-messages-received-through-google-voice


text:
wipping data after factory reset
to clear my data in my android 10 phone after factory reset,i was told that i must put trivial files until the memory full,since my memory is large 256gb,i filmed a short video and then copied and pasted the same video several times with change them names until the memory is full ,im asking the copied files can overwriting data after factory reset,or  must new files
(i also use disk digger wipe free space)

Does this answer your question? How to make a complete factory reset, without anyone being able to retrieve my data?

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

Device with Google Android 10 (assuming that the device came with Android 10 and wa snot upgraded to it) are encrypted by default. If you perform a factory reset the encryption key has been deleted and thus the file content can't be recovered.

Factory reset wipes data and clears encryption keys. Even if deleted data is recovered, it is not decryptable.

* except for unencrypted custom ROMs

Thank you all for the answers, my problem i did , Factory Reset, but I did not delete my Google account after or before the factory reset and i sold the phone, does this decrypt the deleted data or not,  because i  heard this if i do not delete my google account before i do factory reset  is ithe device enter Google Reactivation Lock ! Please help me understand this

Does this answer your question? Lost pin, no Google account, can I factory reset?


text:
Is there a workaround (rooting, etc) for Android pre-installed spyware?
Is there a workaround (rooting, etc) for Android pre-installed spyware?
(as seen in)

https://www.tomsguide.com/news/xiaomi-huawei-lithuania-warning

https://research.checkpoint.com/2019/vulnerability-in-xiaomi-pre-installed-security-app/

Be aware that rooting your device will prevent it for receive further security updates provided by Xiaomi. Also some apps may be able to detect that your device is rooted and will refuse to work (common are banking apps that only want to run on an unrooted device). So effectively the best way to get rid of the per-installed spyware is to switch the phone.

Although Robert probably has the correct long-term solution, the only other thing I would throw out here is that Android has the ability to disable most pre-installed apps... If these apps have that option, you could disable them.

Does this answer your question? How to uninstall an app when "Uninstall" dialog is not shown?


text:
android 10 encryption google frp
hello i have android 10 phone i did , Factory Reset, but I did not delete my Google account after or before the factory reset and i sold the phone, does this decrypt the deleted data or not, because i heard this if i do not delete my google account before i do factory reset is the device enter Google Reactivation Lock ! Please help me understand this whats that mean ?strong text

How did you perform the factory reset. From within Android or via recovery (boot by pressing certain hardware key while boot)? If you perform factory reset from within Android the Google account is automatically deleted as you have verified you are the device owner as the device is unlocked. Only if you perform factory from recovery (like a device thief would do) FRP is activated.

"does this decrypt the deleted data or not" - No, deleted data cannot decrypted. not related to FRP at all

Does this answer your question? wipping data after factory reset


text:
Why can't I add existing contacts to my Telegram account?
I can't add more contacts to my Telegram account. They said "[Name] is not on Telegram yet, would you like to invite them to join?" but the contact is indeed already existed on Telegram.
So I just want to know if there are any solutions and suggestions that I could do to deal with this.

Does this answer your question? Why I can't I add contacts on my Telegram?


text:
What is the correct download address for SP Flash Tool?
So far, all the download addresses I can find are from third parties, does MediaTek officially offer downloads?

https://spflashtools.com

Unfortunately, there is no official download source for SP Flash Tool, as Mediatek never released for consumer.


text:
Malware propgating through usb debugging
Summary:
Computer probably had malware. Didn't know. Connected phone to use as midi. Could have turned on usb debugging or usb tethering to see if that helped without knowing what it does as I was an idiot at the time. 4 months or so has passed. No evidence of malware. Should I bother with formatting it?
Questions:

Should I bother with formatting it?

Is it even possible for malware to exist without any indicators?

Extra info:
Did antivirus scans with Avast, Malwarebytes, Kaspersky and Google Play Protect. None of them found anything.

How old is your device? The older the device the higher the chance for malware to hide. Some malware even can root your device in background which can make it very hard to detect: https://www.bleepingcomputer.com/news/security/new-abstractemu-malware-roots-android-devices-evades-detection/

@Robert pretty recent. It still gets security updates and stuff. And android version is pretty recent as well.

Then installed malware should not have much options to harm you. A potential attack would be to display popup windows at the right time asking for credentials (phishing attack). or to misuse the dive for ad fraud (downloading ads in the background and simulate clicks on it).

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.

@Robert what about the possibility of spyware?

Apps on Android are restricted, and can not spy much on you without explicit permission by you. The default sensors are accessible but for e.g. location the app needs to be granted permission by you (system dialog). The higher the Android version the less an app can spy.

@Robert Wouldn't malware be able to bypass this? As i said, i had usb debugging enabled.

Yes indeed I forgot that way. But you should be able to reset those changes by executing adb shell pm reset-permissions.


text:
Camera taking too long to open in Redmi Note 9
I have Redmi Note 9 which is about 1 year old but everything is up to date.
Now the problem is that whenever I open the camera a black screen appears and it takes 15 seconds to open it and as I tap the shutter button the screen freezes with the photo and after another 15 seconds it updates.
I have tried everything on the internet including:

Restarting the camera
Restarting the phone.
Clearing the camera data.
Restoring camera settings to default.

I suspect that it is the problem in the memory as I see that only 700-800mb memory is available every time out of 4gb. But every other app just runs fine.
So how can I fix that.
Any help would be appreciated.

You can try to check adb logcat if any errors are logged that could be related to this problem (requires to enable Developer menu and adb on device as well as install "minimal adb" or adb from Android SDK on the PC side).

Can you try any 3rd party camera app?


text:
Multiple encryption passwords (also different from screen lock password) with file-based encryption
QUESTIONS

How can you set different passwords for file-based encryption of different files in an Android version that allows file-based encryption?

As a corollary,* how can you set a file-based encryption password that is different from the screen lock password?

*I am saying that the second question is corollary to the first because if you have two or more passwords for encryption then at least some of them would of necessity be different from the screen lock password.
I would like the answer to refer to (a) methods (for 1 or 2) generally available in any Android version, (b) if no such methods exist, any method available for a particular version (e.g. Lineage) or brand of manufacture, (c) if no such version or brand exists, any method through a third party app or command line hack, or finally (d) state that there is no method to achieve 1 or 2.

BACKGROUND
The questions amount to asking what the implementation of the following statement (from this android.com page) actually looks like.

Android 7.0 and later supports file-based encryption. File-based encryption allows different files to be encrypted with different keys that can be unlocked independently.

What I (perhaps naively) expected was to see handy Settings items for choosing groups of files and assigning them different passwords or at least a Settings item for assigning an encryption password different from the screen lock password.
What I instead found:

My Samsung phone running Android 11 has a Settings item called "Strong protection" (which I understand is the reference to the file-based encryption). It can only be turned on or off.  The blurb for it goes, "Encrypt your phone using your secure lock type (pattern, PIN, or password)." I found nothing else in Settings relating to an encryption password.
The statement that setting an encryption password different from the screen lock password was "no longer possible" with file-based encryption, as found in this post.
No guide out there on the Internet on how to set different passwords for different files or an encryption password different from a screen lock password (other than what looked like a hack, used a third party app, or was three or four years old).

So it seems:

There is no practical way to separate encryption password from screen lock password in Android (as of version 11) to say nothing of setting different encryption passwords for different files.
The old complaint about having to strike a balance between security (from a long encryption password) and convenience (from a short screen lock) still remains.

LATER ADDED
As for the request appearing at the top of the post, i.e.

Your question has been identified as a possible duplicate of another question. If the answers there do not address your problem, please edit to explain in detail the parts of your question that are unique.

The linked post is about separate encryption vs. screen lock passwords.  This post is about multiple encryption passwords (the encryption vs. screen lock part of it arising only as a corollary). I don't see how the two questions could be conflated, but there it is.
Thanks for the comments tending to say that multiple passwords are either not possible or not to be encouraged.
If so, how should I square away the apparent contradiction with the statement from android.com, i.e.:

Android 7.0 and later supports file-based encryption. File-based encryption allows different files to be encrypted with different keys that can be unlocked independently.

Maybe comments might suffice on this contradiction.  If this must be a separate question, please advise. I am willing to remove the 'contradiction' bit to a new post.

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.

That's not possible. Storage encryption is cryptographically bound to screen lock code. You can use file manager's vault to further encrypt your personal files with different vault PIN.

@alecxs Because you shouldn't believe everything you see on a random page? Because the statement from android.com patently contradicts it? Because things might have changed?

@Community Can you explain what is not "specific" about the question? "How can you set different passwords for different files?" Maybe there is no way to do it, but that does not mean the question is not "specific." I think you must have some other request in mind. If you express it, I will consider it.

Android file-based encryption only knows two types of files: Those that are encrypted by a key bound to the user login password and those that are not bound to this password (but still encrypted by a key in the Gatekeeper). On a rooted device you may be able to apply custom Linux encryption to other partitions but I would not try to do this with the user data partition as this would interfere with the standard Android encryption.

@Robert Thanks. (1) On Android 11, if you set no screen lock, would your "not bound to this password but still encrypted by a key in the Gatekeeper" apply? (2) If you turn off (what they call) "Strong protection" on a Samsung (again Android 11), would the same "still encrypted by a key in the Gatekeeper" apply?

@Catomic Yes, if you have to lock screen configured you don't have a password you can bind the key to. "Strong Protection" is something Samsung specific. I don't know how it works and what it affects.

@Robert. If I may pursue this matter just a bit further, your "but still encrypted by a key in the Gatekeeper" sounds as if it might imply: "If FBE is set to on but no screen lock password is set, then there will be encryption in the sense that CPU is working on it but no encryption in the sense of increased security." Would that be right?


text:
How can I recover data from a phone MicroSD card?
I have a Nokia 3 (Android) phone which uses a Micro SD card for additional storage. When I connect the phone to a Win 10 PC I see a CD-ROM added in File Explorer, containing a setup.exe file. If I click use USB to transfer files on the phone and  I see within Nokia 3 folder under This PC a folder called SD card. The properties of the SD card folder indicate the 25 GBytes have been used but within the folders visible  (Android, DCIM, Pictures and Download) there are only 703 MBytes of files which can be copied with File Explorer. The SD Card filesystem is shown as Generic hierarchical.It appears that most of the content is not visible to File Explorer.
If I remove the Micro SD card and try to view it by inserting an adapter and plugging the adapter into the SD socket on the computer, I get the message that the card format is not supported and I am asked if I wish to format the card.
If I try to use a Data Recovery product (Easus Data Recovery Pro) to try and retrieve the invisible files on the SD card it does not show the Nokia 3 folder under This PC so I cannot browse to the SD card folder.
Using Device Manager, Nokia 3 appears under portable devices and if I click Update Driver it indicates that the driver is MTP USB Device and it appears to be up to date.
If I plug the adapter into a 2013 Macbook Pro running Catalina (via an SD to USB adapter) I get the message that the card format is not supported.
How can I get access to the invisible files on the Micro SD card from the phone?

Linux will probably be able to access the card. Most likely it it formatted as ext4 or similar.

If you don't have a nix machine, you can get ExtFS support on the Mac - https://www.paragon-software.com/home/extfs-mac/ - the free trial would let you test the theory.

It is the general concept of Android that users don't get access to their files if the app want to keep those files private. If the SD-card is formatted as internal storage then it is encrypted and it can only be read in the phone it had been formatted. The it doesn't matter which OS you use, they all will fail to read anything.

Does this answer your question? Encryption on SD card. Not recovering data after crashing

Does this answer your question? Backup/dump kernel image (and full ROM) without root for Mediatek Devices

Does this answer your question? Can't access my phone memory suddenly after using SD card as internal memory


text:
How to change user agent sent by firefox?
I'd like to change user agent in firefox runnig on android, but there is no add-on for this, and no about:config.
What can I do?

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

You could install an older version of firefox from before the removal of "about:config".  I've gone for "firefox nightly", which also has it.

The User-Agent Switcher here says that it supports Android. Second link on a web search.

I visited that link with Firefox for Android. I don't see anywhere where it says "it supports Firefox for Android".


text:
How can I downgrade/compile Python in Termux?
I started using termux 1-2 weeks ago and I'm in love with it. Funnily, the first days in, everything worked fine and then a Python update hit, and I can no longer use my Python plugins in Neovim. It requres v3.9 or earlier.
I tried searching online and asking in Termux discord about how to downgrade Python to v3.9 or how to fix this but got nothing so far.
I would appreciate it if someone could tell me a solution or point me in a better direction about fixing the issue on my own.

Have you read this topic? https://stackoverflow.com/questions/54875168/how-to-install-specific-python-version-termux

Yes, I only have 3.10 in cache bcz I reinstalled termux from f-droid while I was unnaware of this issue. So my chache is gone.


text:
How to run .sh script (iptables commands) on start up
I am using LineageOS 18.1
When I was on LOS 16, I used to edit the file /system/etc/init.d/00banner and put my iptables commands there, e.g.:
#!/system/bin/sh
sh -c 'iptables -A OUTPUT -m owner --uid-owner 10195 -d 203.205.255.78/23 -j REJECT'

All iptables commands I put in there used to run on phone start up. But in LOS 18.1, the /system/etc/init.d/ directory was deprecated.
1. I created and filled the custom script with the iptables commands above:
touch /system/etc/custominit.sh
chmod 0755 /system/etc/custominit.sh

2. Then I edited /system/etc/init/hw/init.rc and I added to the end:
chmod 0755 /system/etc/custominit
exec /system/etc/custominit

3. I also tried adding:
service custominit /system/bin/custominit.sh
    disabled
    oneshot

But none of this worked.
What is it that I doing wrong? I have root access but I do not want to install any additional apps on my phone for this, as it was possible to do on LOS 16.

Comments are not for extended discussion; this conversation has been moved to chat.

Issue was solved by following instructions here:
https://ch1p.io/lineageos-run-shell-script-at-boot-as-root/
The main issue turned out to be missing full path of executables, e.g.:
/system/bin/iptables instead of iptables

... that doesn't explain why 'echo test >> /data/local/tmp/test.log' did not work to you

Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

@alecxs echo still did not work, even if I added /system/bin/echo it did not work, but iptables did. I don't know why..

echo exist as 1) shell builtin and 2) toybox applet. I think it's bad timing /data is late mounted. anyway never mind, it was just for testing if service is executed - which it obviously does

Once you added your service as "disabled" on init.rc you must call it on boot, add the following lines:
on boot
    custominit your_params

I hope it solves your problem

The syntax isn't correct. It should be start custominit your_params. But still this might not work due to other reasons.

No, it did not work..


text:
Retrieve data from locked android
I have my old phone (Huawei P9 Lite - according to the Internet it's Android 8.0 Oreo), but I don't remember the PIN code. I need to download data (photos) from this phone. As far as I know, Android does not encrypt the data by default.

How to check if the phone is encrypted or not?
If the phone is encrypted, how to download the photos from it?
If the phone is not encrypted, how to download the photos from it?
Is it possible to bypass the PIN code and access the photos somehow?

Maybe there are some Windows or Kali Linux programs to do it?

If the phone comes with Android 8 then it should be encrypted by default. Does the PIN code dialog look like the lock screen PIN dialog or does it looks different (simpler)?

Does this answer your question? Recovering data from Mi 4c able to get only to fastboot

Does this answer your question? FBE encryption bootloader state in keys

You have to guess the code. There's no work around to it.


text:
Can I change Java heap size on Android devices?
I have a Samsung Galaxy A20s with Android 11 and 2790 MB RAM. The phone was originally designed for Android 9.0 but now that it's been upgraded to 11; it's become slow and my RAM is always almost full and the Droid Hardware Info app says my Java Heap is 192 MB.
is there any way I could change the heap size? It's way too high for my A20s.

It seems like you use some sort of system info app that shows you a value and you assign a meaning to the value it never has:
Java Heap and it's size
The Java heap is (a bit simplified) the main memory pool of a Java application. Therefore if your used app shows you that the Java Heap is 192 MB then this means that the Java part of this Android app currently uses 192MB RAM (assuming the app developer has calculated the used RAM in a correct way, calculating the current heap size on Java is not that simple not sure if it is also that complicated on Android).
This also means the Java heap size of every Android app is different. This is not a general limit but just the RAM usage of each Android app.
Your question was how to change that value - as you can see this question doesn't make sense as this is not a configured value somewhere in the system but just the RAM usage of an app.
If you have RAM problems make sure you don't have apps running you don't use (disable or uninstall unused apps). Also for some common XXL apps like Facebook there are lite versions available which are designed to consume less resources like RAM. Switch to those lite versions where applicable would be another recommendation to save RAM.

the app shows the heap size for all android apps not itself. it's just like cpu-z on desktop. look this phone, A20s' hardware was designed for android 9, now it's been upgraded to 11 and can't handle it. it's slow to use. but if we change the heap size to 64 I'm sure it'll be able to function much better.

@mohsentux Usually the heap size is identical for all apps (unless the app declares largeHeap="true"  in it's manifest. If I have an phone that doesn't run smoothly with Android 11 because of memory problems why should allowing every app more memory improve the situation? If RAM was already short with the lower heap size, increasing the heap size can make the RAM shortage only worse (if the app use the extra RAM at all). Increasing the heao size is only useful if you have apps that crash with an OutOfmemoryError (because their heap is too small).


text:
Is it possible to "fake" / isolate App or Permissions for an App without root (gravely invasive permissions Galaxy Wearable App)
I can't believe the wearable app (for galaxy buds) is actual allowed on the playstore. The permissions the app asks for are nothing I've ever seen before.
It asks for EVERYTHING , literally. And if you remove a single permission, the app won't work. Samsungs privacy policy is not making it any better.
Since there's no alternative app, how would one go about isolating an app in a way, that it won't be able to access, or, for example, receive access to a fake/empty contact, calendar, call list, gps etc.?
I am aware of apps such as AppOPs or whatever the name is, but I think we can all agree that nowadays, you can't trust ANY app. Especially if it's from the (censored) playstore.
PS: Would a new user profile like Island or Shelter even isolate contacts, call list, gps etc? How about battery consumption (running 2 users)
Device: Oneplus 7 Pro

On my phone, before connecting any Samung wearable devices, it only asks for location and phone permissions. Location is needed to do bluetooth scans for Samsung wearable devices. According to the description phone permission is needed to access device identifiers, which sounds more nefarious. That probably includes the imei number. I ended up blocking Wear's internet access through an android firewall (AFWall+), but that requires root. That should at least prevent Wear from phoning home my data, but it will also block device firmware updates.

@JanKanis thank you for commenting, I thought this post was dead after a day, 9 months ago haha. I feel your pain, I ended up simply discovering that you can view the battery percentage & control noise cancel. through the widget WITHOUT granting permissions. I blocked the app's network and background access so no phoning home. I think I granted permissioms intially just once to change audio preset but then removed all perms and blocked access as described above. (My OEM phone allows blocking of WiFi & celluar data through app settings (hold->details), your milage may vary. PiHole also exists).

Ooh. Using the widget is clever hack, @StellarEquilibrium this should be in its own answer here because that is a killer tip

Oh darn. It appears Samsung plugged that "hole".  Even the widgets runs into the permissions nag screen. They must  be really motivated to harvest all the information :(


text:
How can I disable the Android 11's auto-reset permissions globally?
Since Android 11, there is a system feature where it resets app permissions after a certain amount of time has passed and you haven't used the app. I hate this, it keeps resetting apps I use infrequently.
I know you can turn it off on most apps, but it seems to turn back on when there are app or system updates. There must be a way to disable this feature entirely or to make the default setting off instead of on.
I have tried various searches but I can find nothing. Others must have had the desire to disable this annoying feature? Any help would be appreciated!

As of Android 12 there's no setting to disable the feature entirely. You've to do it for individual apps which is a cumbersome job. To make it relatively easier, you can use PMX. Disclosure: I'm the author of the app.

In Android 12, even with the toggle OFF it still happens and i still get notifications about it. This "feature" is more nuisance than anything else

@IrfanLatif Your application can control the "Remove permissions and free up space" "feature" of Android? If I can toggle it FALSE for all 196 installed applications I'll buy it today! :)

@Paul AFAIK the same feature is named differently in different Android releases: "Remove permissions and free up space", "Auto revoke permissions", "Remove permissions if app isn't used", and may be others.

I think this might work on some Android versions in an adb root shell: pm disable com.google.android.permissioncontroller/com.android.permissioncontroller.permission.service.AutoRevokeService ;
pm disable com.google.android.permissioncontroller/com.android.permissioncontroller.permission.service.AutoRevokeOnBootReceiver

I don't have the rep to post it but I think the answer might be device_config put app_hibernation app_hibernation_enabled false (run with adb shell, no need for root). I'll have to wait for a while though to see if it keeps removing permissions to be sure :D
Ref: https://developer.android.com/topic/performance/app-hibernation#manually-invoke

I have not found a way to completely disable this "feature", but it can be done per app: Google play store→your profile picture in the top right→"Play protect" (even if it's off)→gear icon in the top right→permissions for unused apps→"Auto-remove on" tab
Then click each, turn off the "Remove permissions if app isn't used" slider and go back.
The app "RepetiTouch" can be used to record and repeatedly execute clicks, but you should be careful with it, when I just tried it, it somehow got into another menu and installed a random app.
This still needs to be repeated after every app install. The closest I've found to automating this is letting an automatic app like MacroDroid trigger on app install and use the "Secure settings" plugin to launch the Google play store activity "[Play Protect] com.google.android.finsky.protect.impl.PlayProtectHomeDeepLinkActivity", which is the "Play protect" screen.

Since you haven't mentioned your OEM, Android skin, etc., I'm going to answer this from my device's perspective, i.e., a Realme device (steps below would also work with any Realme/Oppo/OnePlus device)
Go to app info on each of those apps > permissions > toggle "remove permissions if not used" to OFF.

The question is to disable the feature globally, not for individual apps. OP mentioned that.

Disable Play protect service at all. I have disabled it, and now permissions are not being removed. There is only one disadvantage - it is annoying banner in Google Play asking me to turn on Play protect.

This did not work for me.

@Paul Maybe it auto-enabled itself. It does that all the time. I'm pretty sure that's against GDPR.

It didn't auto-enable itself for me for a while, but I still got removed permissions, so it's unrelated.

Open Settings, open Play Services, scroll down to "Unused Apps", then de-select "Remove permissions and free up space". This is on Android 12 but should also work on 11.

This approach is similar to karthik nair's answer for each app, though it's unclear if disabling only Play Services would work.


text:
How do I find the right software to upgrade ROM and flash for a Samsung J7 Sky Pro
I need the software to upgrade my ROM and flash for a Samsung J7 Sky Pro. I don't really know what ROM is good and not too much. I flashed the phone once with Superuser, but it says that I didn't get something right. I just used an SD card. I don't have a desktop.

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

you need computer for this

https://www.xda-developers.com/samloader-download-updates-samsung-galaxy

Welcome to Android Enthusiasts Stack Exchange, a Q&A site for Android end-users. Looks like there are multiple questions here: 1) Software to upgrade/flash ROM for Samsung devices. 2) ROM recommendation. 3) Flashing Superuser. Note that ROM recommendation is off-topic since every ROM is different and has its own advantage. Regarding 1) and 3), did you try following some kinds of tutorial/guide? If so, could you mention it and also explain what you have done, so that other users can understand on which step do you need help?


text:
In "Account and device preferences", I tapped on and around my current profile. But why no list of other countries? Why can't I change country?
This website alleges

Then, tap on the country that you want to set your account to, the available list of countries will vary.

I tapped and pressed on the red rectangle — then the area around the red rectangle below — on my Android. But no such list ever sprang up, and I couldn't change my country! Why not?
Don't just veer me to this form that I submitted  a month ago, again 3 weeks ago, and third time 2 weeks ago. But I still got NO reply!

In which country are you at the moment? As far as I know Google only allows switching if it has detected you to a country you are currently located in. So if you are at the moment in Libya then there will be no country selection available.

Have you tried the official Google Play Help? Did you recently change the country? Note that you can only change the country once per year.

@Robert Yes, I am in Libya.

@AndrewT. Yes. official Google Play Help didn't work for me. "Did you recently change the country?" No, I am still in Libya. But I travel a lot, and I need Apps for those other countries.

Then you have to wait and perform the change when you are the next time outside of Libya.


text:
Where Android stores bluetooth pairings/settings
Settings like Wi-Fi are stored on
[root]/data/misc/wifi/WifiConfigStore.xml
What about bluetooth ?
Whre did they decide to hide it ?
Are they encrypted ?
: |
Thank you ahead
Oreo here, but the answer is probably universal

Amazing how we find the answer only AFTER we post the question:
[root]/data/misc/
bluedroid/bt_config.conf

"Bluedroid"... Haha
Found this by digging the Bluetooth Pairings backups that Titanium does.
Edit.:
Careful not to confuse with bt_config.xml
This second file (xml) is full of garbage, in my case


text:
Will a factory reset unroot Android?
If I do a factory reset on a rooted Samsung/Android phone will it remove the root? Factory reset will return the phone to its out-of-the-box state, right?

Please do some basic research before asking. A simple search for android factory reset while rooted will give tons of hits which basically say that the phone will remain rooted even after the factory reset. And no, a factory reset will not put the phone to its out of box state. It will not rollback software updates etc, it will only reset user specific configurations like installed apps, accounts, remove personal data ... The phrase factory reset is misleading, it promises too much.

@Steffen Ullrich Thank you for the answer, I did google it first but I keep reading different things and I don't know what is right. Sorry if this was an unnecessary question.

In this case it might be useful to show your previous research, explain that you got confusing results and link to some information you've found which seem to contradict each other.

If your rooting process made changes to system partition (SuperSU used to do that) or to the boot image (Magisk does that) then those changes would persist after a factory reset. However, superuser manager apps such as Magisk reside in data partition so these superuser manager apps would get deleted during factory reset.
These superuser manager apps are responsible et al. for authorizing processes and apps to gain superuser (root) privileges. So after a factory reset you might end up in a situation that you do have a binary named su accessible but you still cannot gain root access because the corresponding superuser manager app to which it is tied to is missing.
Over and all, your device would remain rooted even after a factory reset but the functionality of gaining root access might get botched due to missing superuser manager app. If your intention is to completely unroot your device or revert to a Google-certified Android OS status, then this path of doing a factory reset alone is incorrect to pursue.


text:
Is it safe to delete a .bin file on an Android 11 phone?
I keep getting .bin files that show zero data in them and others that pop up regularly. Is it safe to delete them? Do they contain any vital information. Are they remnants of sites I've visited using my Android 11 phone? Can I do without them or am I causing some harm in deleting them? Some show up on engine log. What are they?

Where are those files located at? Without any more details, it might be difficult for us to determine. Consider [edit]ing and providing more details.

yes you can delete that files it won't harm your device


text:
I can't join my class group chat because of iPad users who require iMessage
I'm trying to join my class's group chat, but the owner of the chat (on iOS) can't add me. This is because I'm the only person on Android in the group. Normally I would be able to join (via SMS/MMS) but because many of my classmates are on iPads which only support iMessage it won't let him add me. Is there a way that I can be added to the group chat that preferably doesn't require any of the members (besides the owner) to change or do anything? BTW I don't own any Apple devices or have an Apple account/ID.

Tell that your teacher and ask to switch to an open messaging solution that is not locked-in to the Apple world like Signal. Alternatively the other pupils can provide you an iPhone/iPad if they refuse to switch...

The chat is managed by students and is for non-school related conversations. The other users are unlikely to switch the platform because I'm currently the only users not on iOS.

Then you can only talk to them if they understand that by they exclude you and why they do it this way. May be you can mention that because of iCloud sync Apple can read all their messages and if they are really happy with that.

Please take a look at the duplicate question. iMessage is an Apple proprietary technology. Unfortunately, that means that only Apple products can use it.


text:
MTP and ADB on Samsung Galaxy A12 don't work on Linux and Windows 10
A month ago, I've bought Samsung Galaxy A12 on Android 11, One UI 3.1. When I connect to PC, it doesn't work, no MTP, no ADB, only charging.
Tried different cables already. Also tried two cables, two different PC, and two OS; Linux and Windows 10. Tried to reboot, to enable and disable USB debugging, tried with USB configuration under developer settings and the *#0808# menu, nothing worked.
Can you help me?

Try different USB ports and if you have also a different phone. If switching the port and cable does not help but other phones work then most likely the USB port on the phone is broken (e.g. lose connection on some soldering points). Perform a factory reset and retry as last resort, if that doe snot help contact the vendor for a replacement/repair.

Tried two cable's, two different pc and two os; linux and windows 10.

For ADB, on Windows, a USB OEM driver needs to be installed. On Linux, plugdev and udev need to be set up.

So,finally solved the problem, the phone type c port was broken. I've taken phone back to manufacturer to do an rma today.


text:
Force Accept Remote Connection
As the title implies...
Every time I attempt to start an AnyDesk or Teamviewer session I'm met with this giant billboard asking me to allow the connection.
The warning is from Android, not from the apps.
And I need to bypass this
Cannot root this phone, unfortunately...
How ?
: |
Thank you ahead
P.S.:
More people would benefit from an universal solution
But in my case, the phone is Android Go. It has no app overlay option.
For that reason, Teamviewer Host does not work.

That is the way those apps work. If you want to remote control a local device connected via USB you could use scrcpy.

Unfortunately, it Must be a remote control...

So you use TeamViewer Host?

I'm gonna detail on the body of the thread about the TV Host

Just want to note that Android Go deliberately disables some of the system services. From my finding, the solution is to not use Android Go.


text:
How to make a really complete backup of an Android device?
AFAIK, all Android partitions are listed in /dev/block/by-name.
Assuming device encryption is turned on, if I backup all partitions with e.g. (one at a time)
for PARTITION in $(ls /dev/block/by-name)
do
    dd bs=64K if=/dev/block/bootdevice/by-name/$PARTITION of=/partitions/$PARTITION
done

can I then factory reset my device, transfer the images via e.g.
for PARTITION in $(ls /partitions/partitions)
do
    dd bs=64K if=/tmp/partitions/$PARTITION of=/dev/block/bootdevice/by-name/userdata
done

, and everything will be like before including the lockscreen encryption password? I would save the images on another device instead of /partitions, but let us keep it simple.
Or am I missing something?
I just want a full backup solution, which, after a factory reset, lets me make it as if it didn't happen. Ideally without root.
PS: I have looked into TWRP. The problem is that it only decrypts data before backup for few devices, and when it doesn't decrypt data, encryption keys are not backed up for some reason, so backups are useless for most encrypted devices.

You can't do a blockdevice backup while it is online. Even harder would be to restore it.

Modern Android devices are encrypted using a key that is derived form a key that is not exportable. Therefore dumping (encrypted) partitions is useless as you can't restore it to a different device and on the same device it may also not work if the key has been deleted.

for foo in $(ls bar*) is bad scripting skills, better for foo in bar* and target must not fat32. much easier adb pull

Does this answer your question? Can I flash Android on device with overwritten mmcblk0?

Does this answer your question? How to install a firmware without losing your data and restore the previous one in case it goes wrong?

@schklom it seems you have two different accounts (your Super User account is not linked to your Android.SE account). Please refer to the help center to merge your accounts and regain ownership of the question and reply to the comments on your post.


text:
Is there an app that will allow me to track my phone without data using SMS?
I have an Android phone, but I don't have a data plan. However, I have unlimited SMS and calling. I lost my phone recently (and thankfully, I found it), but it was hard to find, since I couldn't remotely track my phone using Google Find My Phone, since I don't have data. Does there exist an app that will text you back with the location of the phone when you send it a command remotely via SMS, so you could track your phone without using data? For example, if my number was (647) 555-1212, I would send a message to that number such as !locate myPasswordHere, and my phone would automatically text back something like, Your phone is at N 43.123456 W 079.123456. If not, I will program my own app. Thanks!

Does this answer your question? Auto reply to sms from specific contact