text:
Should there always be a '/system/default.prop' in android 10?
I can't remember if there was a /system/default.prop file or wether its missing. Should there always be one, because I only have 'build.prop in system folder?

default.prop (or prop.default) is for initramfs so it should be (or symlink) whereever init is / in boot or system_root

I found prop.default in /system/etc folder (same folder contains init folder) and I can say the contents look like I remember. Should I copy this to /system folder or just apply the mod to this one?

As it symlinked as suggested you can change either and effects are the same. although when it comes to permissions I changed the original file (/system/etc folder)


text:
Does android keystore and “Clear data” of the “Settings” app are related?
I am working on a system app where i am storing some sensitive data in EncryptedSharedPreference.
I realise that my app is not working as expected if I do clear data of android Settings app. That is happening because my sensitive data stored in encrypted shared preference was changing.
When I observe the encrypted_myapp_pref.xml file, I observe that encrypted value of those sensitive data is not changing. but value of key material was changing (androidx_security_crypto_encrypted_prefs_key_keyset and androidx_security_crypto_encrypted_prefs_value_keyset). Hence while decrypted my sensitive data, it gave me wrong value and that was affecting on app. When I tried the same logic with priv app or user app (without using sharedUserId="android.uid.system" it is working as expected.
So the problem is, if I am using system app with shared user id and clearing the data of settings app, on device reboot, key material of my own app changes and Encrypted shared preference will not give proper values back.

Interesting question but I'm afraid it's more development oriented, so off-topic here.

I thought stackexchange deals with android development related issues as well. Will wait for some time, else will remove the question from here. Thank you @IrfanLatif

usually only the keys got deleted, not actually data itself. this is android internals, might be a bug or it is intended, who knows? can't you instruct TEE to flush everything each time your app is running initial setup?

thanks for the reply. We confirm that it is android system bug. Actully it clears android key store. My app creates new instance of keys and hence I could see change in cryptographic keys

Should I delete this question from here?

source: Stack Exchange

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

sort: votes


text:
How can be deleted the com.android.cts.priv.ctsshim?
I have been told this is a compatibility test suite, but it is safe to delete? if so, how can be deleted from the device?

It is a system app (see CTS shim package heading). Why do you want to delete it? Are you experiencing symptoms of a malware on your device? In my device I see that I can disable the app. Is that not enough?

If you don't get a Disable option or if you want to uninstall it see my answer. https://android.stackexchange.com/a/182123/96277 A system app is never truly uninstalled without root access. It would be reinstated once you factory reset the device.

@Firelord, Im trying to uninstall bloarware, and I dont know what is this.

Bloatware that does not get updates via Play Store and that is not running in background does no harm. If you disable it or delete it with root permissions you can do harm to your device. Therefore if you don't know something better don't touch it.

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


text:
How do I find out who sent me a WhatsApp picture located in my photo gallery?
when i look up photos in my gallery, i get interested in few of them, and realize that they were sent on a group via WhatsApp. but how to identify which group and who is the sender?

You need access to Whatsapp's databases stored in its app directory. If it permits adb backup, you can try to take backup and look into it. Otherwise, you would need root access. Afterwards, search into databases where the media files are referenced. They would probably be referenced through a row_id. It is too much work so I can't post a working answer.

@Firelord afaik WhatsApp can export chat in txt or xml format, maybe query on that files will work

@alecxs when exporting chats (with media) the text file of chat history does show the file name of the images along with who sent it. So yeah, that's one and a rather easier (than mine) way to go.


text:
Samsung Galaxy S7 Edge blank screen
Recently my S7 edge got blank screen and last thing I saw was samsung logo then it turned off and I don't see anything else only black screen. I tried using that vol up/down power/home force restart but device didn't respond it's fully charged and when I charge the phone fnothing shows up. I don't know if this is correct community for troubleshooting this kind of problem but I need help.

So by "force restart" you mean pressing the power button for a long time? If that has no effect the chance is high that you are facing a hardware defect.

@Robert no pressing volume down and power button for 20 seconds. I tried all variants of force restart e.g. pressing volume down, power button and home button for 20 seconds.

@alecxs even if battery dies and I connect to charger it doesn't show anything phone's state is unknown I don't know if it's on or off correct me if I'm wrong. Thanks.

You don't know if it's on or off. disconnect the battery (or wait ~ 1 week until battery died)


text:
How does Helium Backup work?
I'm currently looking around at different options for adding regular backups to a new phone, and I want more than the "backup" that google offers.
There's the one category, backup apps that use root access, like Titanium Backup and OAndBackupX. The way they work is fairly clear, since they have root access, they can just copy all the files that represent the apps' data.
But then, there's Helium, a non-root app. Somehow, it claims to backup app data (which seems to work, from what people are saying), but nowhere have I found any indication as to how Helium Backup even accesses that data. The way I understand Android's permission model, when an app stores data in its private storage, no other standard app has access to that, period. The only other software that can access that data is system apps, root access, and ADB backup (although adb backup can also be disabled for the specific app - and ADB needs a computer attached to work). Seeing that none of the three apply for Helium backup, how does Helium backup then work? Or is this some wonky hacky trade secret the developers don't want to reveal?

Just read the description of Helium. There you can find the answer that it based on adb backup.

@Robert OK, but I thought ADB backup goes via USB, so that you would be have to connect a computer? Helium, though, does backups without having a computer attached. Or did I misunderstand something?

https://www.xda-developers.com/tasker-5-9-2-beta-run-adb-shell-commands-without-tethered-pc

Aha, now I get it, thanks! Care to post some summary as an answer? That way you can get the reputation for the answer.

did not find clear warning about 'android:allowBackup=false' but there is a warning about PC connection is required. guess easiest way is test. will post as answer after testing https://github.com/koush/support-wiki/wiki/Helium-Wiki

Does this answer your question? How to fully backup non-rooted devices?


text:
Is the memory card still recoverable?
I had a memory card that was almost full, and recently when I was working with it, it suddenly crashed. The memory card was completely clean and looked like a new memory card. So the problem is not the connections.
I own a Samsung Galaxy. Normally, When I insert the SD card inside, it says "Preparing SD Card (Checking for errors)" and then a few seconds later it becomes available to use.
But when I insert this memory card into the device, the device does not show any reaction.
Neither message nor anything, the device is completely indifferent to its entry and exit.
I do not know if there was any important data in it or not, but I know it would be better if it could be retrieved.
Is the memory card still recoverable?

Usually Android is not good in reading sd-cards that are not working 100%. Using the card in an USB-SD-Card reader connected to a PC there is a very small chance that some data may get accessible. But often such sd-cards are not recognized at all or shown with a total size of 0 bytes (e.g. in Windows Disc Management).


text:
Printer server set up through router
I've got an Epson L220 series printer and connected it to my Huawei EG8145V5 router using my printer's usb, I can print wirelessly from my laptop without any problem, but when it's different in android, I tried Epson iprint and other printing apps and all of them doesn't support my printer except from Let's print droid as I manage to connect my printer to my android the only problem is it print random characters instead of printing the actual document.
Is there an app the would let me print wirelessly using a usb printer that is connected to a router?

Have you tried the official Epson iPrint respectively the Epson Print Enabler app?


text:
Phone refuses to allow custom rom flash
I did something to my phone to where when I flash my phone with custom memory, I press the home + down + power button, it asks me if I want to flash a custom rom, and I select yes, the phone restarts itself every single time. Some needs to help me, what do I do? My phone is a Samsung Galaxy S4 {SGH-I337}

something is wrong with aboot which causes exit in download mode. what happens if you root with kingoroot again? this should give you back king/superuser. once you have root access you can ask how to flash custom recovery in boot mode, and how to flash stock ROM in recovery mode

try TWRP app or flash philz touch recovery.img 6.58.7 from mega.nz jflte folder

I did try to use the TWRP app but when I flash TWRP it does nothing because when a rooted app tries to gain root access, nothing happens and TWRP crashes, or just hangs because I guess it waits for a response to allow root, I have tried unrooting with KingoRoot or other rooters and it unroots and when I root it seems like the root is successful, the issue is that I don't know how to fix superuser, because either the binary is reserved error is what I get or the Superuser root control app closes and crashes. My only fix for this is CF Autoroot but I don't trust it because I used it before and..

It made my apps unusable, like the apps still existed but they couldn't be accessed or opened. But if I'm gonna have to use CF Autoroot as my only choice then I guess I will back everything up if I can find a way to and then use it in case it erases my apps or makes them unusable.


text:
Wake screen by touching screen (not pressing power button)?
Is there a way to wake/unlock my screen by touching the screen itself and not by pressing power the button?
In other words, I want the screen's backlight to turn off after a certain amount of time, and then turn on when I touch the screen.

It needs kernel level support. A feature called double tap to wake up does exactly that, except it needs double tap (to prevent screen waking up on accidental single taps). I don't think single tap to wake is a feature that would be demanded by users so you probably have to find the kernel patch that works for double tap, tweak it for single tap, rebuild the kernel with your patch and see if it works. And, double tap to unlock feature also exist with a particular implementation on XDA.

@Firelord Yeah, it seems the "double tap to wake" feature depends on one's hardware.


text:
If I plug a 1TB ssd drive to android phone via otg cable, will andorid system scan all media files in the drive?
I concern about performance a lot. Thus I have this question. If I plug a 1TB ssd drive to android phone via otg cable, will andorid system scan all media files in the drive automatically once it gets mounted? Will this cause any performance issue and add more CPU/RAM overhead? If it does it, how to stop this behavior? I just want the system scan the media files when I open a particular folder which contains the media files. I don't really want the system to scan everything before I actually want to access them. Thanks a lot.

While writing this answer I checked the source code which indicates that Android's MediaScanner doesn't scan USB OTG storage devices.


text:
Capture motion videos of the smarthone saved directly in Google Drive
I'm wondering if it's possible to save  the video of my smarphone (Android) video surveillance camera directly in Google Drive. So far I found only method which allows to synchronize a shared folder between the device and Google Drive. I'd like to avoid this because I don't have enough memory space.

You need a camera app with built-in GDrive support. Then may be videos can be saved to GDrive directly.

Hello @Robert can you suggest to me any app to reach the goal?


text:
Can I use apps like LADB WiFi ADB or Wi-Fi Debugging without needing a USB cable ever during the process?
I have an old Android tablet that had been rooted but my phone hasn't been rooted....yet.
What I need to understand is if there's a way to use my tablet to perform edits on my phone without EVER needing a USB cable to do so.
LADB requires Android 11 it seems but my phone (Moto E 2020) isn't eligible for any system upgrades and as I mentioned above, the phone isn't rooted. I've already downloaded apks like TWRP, LADB, Wireless Debugging and I've already enabled adb in the dev options.
So is it possible to connect to the phone using the tablet?

This isn't possible. The adb demon on an Android device isn't the same as the one that runs on a Linux, Mac or Windows development machine. The adb client program that is run on a development machine isn't available on Android devices.


text:
Get an actual detailed data and specs about current established Wifi link and agreed CAPABs with AP/Sation?
I thought getting this info would be as easy as running old good iw with root but to my surprise it turns out even here Android manages to screw you and your expectations yet again. I've asked around in less tech-savvy communities but got no answer so you are my last resort, SE.
I'm looking to get detailed info about currently established connection. If it isnt obvious when I say detailed info I mean it, I don't care about basic primitive stuff like TX/RX, assumed speed, signal strength and network SSID name, I want to know current established and agreed upon IEEE capabilities between my phone interface and AP/Station. I want to know interval data, used pre-amble, etc. On my Androind 9 based phone iw dev wlan0 link or iw dev wlan0 station dump only returns basic info I can see in the UI already.
Is there some way I can get more exhaustive (but good human-readable) info about currently established wireless connection and its capabilities/specs?
(I do have root and terminal access)


text:
Browser going "Back" by itself
having a super weird issue with Google Pixel 4 XL.
Since yesterday my Chrome (tried later on Brave and something wild like Vivaldi) is acting out.
Opening new tab and going to website like facebook.com/instagram.com/index.hr would start loading the site then as soon as it is loaded it would return back to starting page. In the tab I can go "Forward" to were I was before but it would again go back.
Nice thing about it is that some websites like google.com/poslovni.hr work completely normal and this is not happening.
Then later that day all websites worked normal but now couple of hours later I open same tab again and it literally went back in history page by page to the beginning of the tab.
I've updated to latest Android, restarted, cleaned cache but no help.
Initially was thinking it's Chrome issue but seems that it's on mobile level because it's happening on all installed browsers.
Any idea on what to do in this case?

Web browser often use one process per tab. When the browser "goes back" this could mean that the tab process has crashed. As Chrome, Brave and Vivaldi all base on Chromium it is not unlikely that all three are affected by this problem.

@Robert are there any browsers not based on Chromium? I've tried Edge and Firefox now... Tor Browser seem to work tho. So can I do something about my Chromium issues?

Firefox and Tor Browser both should use the Firefox based rendering engine.


text:
My google account is disabled
My google account is disabled. My mobile is working fine. I add another google account. Can I get all my apps to that account.

Are you talking about paid or free apps?

All apps. Mainly free apps.

Only paid apps are bound to an Google account. You can just remove the old account. The apps will stay.


text:
Where are epub files stored?
I have this old epub file on my phone that I'm trying to download but I have no idea where it's stored. The app I used was Lithium. I can read it fine on lithium but it won't show up anywhere else. Lithium doesn't give me an option to show file location either.
I tried installing other epub readers but none of them can locate the specific epub I want to get. Does anyone know where epub files are stored on android?

How was the epub file copied on your phone? By the Lithium app itself?

Usually, the file is inside the app's data folder that can't be accessed by other apps, and as a user, needs root access to access it.

Thank you guys. At this point it seems more trouble than its worth to get to it.


text:
Kingo Root fails and gives error code 0x11f116 (Xiaomi Redmi Note 9)
I unlocked bootloader on my Xiaomi Redmi Note 9 and tried to Root it with Kingo Root mobile and desktop. Both keep failing and mobile gives error code 0x11f116. Now mobile version crashes when lauching. I couldn't find any information about that code, so can anyone help?

https://android.stackexchange.com/tags/systemless-root/info

https://github.com/topjohnwu/Magisk/issues/3985#issuecomment-792006688

Ok, it helped, thx.


text:
Dialing keypad sounds like a rubber ducky with each number pressed....yeah
Samsung Galaxy S21 Ultra. Instead of the normal DTMF tones, his phone is squeaking like a rubber duck with each number pressed on the dial key pad. No idea how it got this way or how to fix it. He doesn't want to completely get rid of the tone, just wants the normal one back!!

I resolved it
Settings> Sounds and Vibration> System Sound > Choose "Galaxy"
Mine was set to "Fun"
Thanks.


text:
How to distribute private android application to specific devices?
How can I deploy an APK for android that is only available for the devices I specify beforehand?
I would like to a host a private application that is only available to workers inside the company and only for the devices that are owned by the company.
I know I can do this with Google Play, but that requires a G-Suite/Workspace subscription we do not have.
I would like to continuously deploy new versions and the devices to update automatically.
Are there any custom marketplaces that allow this? Anything else?

As you have already noticed company-stores are usually provided by a MDM solution. F-Droid allows to host own repos. However as far as I know there is no account/authentication concept, therefore your devices require a private network e.g. via VPN or a company Wifi so that only company devices can install/update the provided app(s).

@Robert Right now, I am looking into Samsung Knox


text:
Removing lag without restarting Android
I'm using OP6T Oxygen OS (Android 10).
After scrolling through lot of data, the phone becomes a bit laggy. Restarting fixes it. Is there a quick fix without restarting?'
Any tips?

Does this lag occur independently of the apps you use for "scrolling lot of data"? Have you tried killing the used app or all apps? Are all apps affected by this lag or only the one you used for scrolling?

If this is a system wide problem than OnePlus has to issue a patch. You would have to ask/complaint on their forums though. Pretty much nothing (short of trying a different kernel maybe) you can do to fix this.

@Robert I think it can be due to cpu temperature rise perhaps because it happens in all apps though after a long time of rapid continuous scrolling for eg. twitter and likes. I'll try this next time to let the phone rest and check. Will update the findings


text:
Syncthing does not work with AFwall+ activated
Syncthing does not get any connection as long as AFwall+ is activated.
It should work in my WLAN at home. Mobile data is disabled because I don't need it.
I am using LineageOS on my mobile phone.
Here are my settings of AFwall+ (I only allow wireless communication for Syncthing)

The solution was to disable wireless (WLAN) in AFwall+ and activate LAN.
This does not make sense for me, but it works...
It still works if I activate wireless as well, but it is not necessary.

Even if I disable wireless access within AFwall+ I still need to be connected to a WLAN within Android (what makes at least some sense).


text:
How to answer whatsapp audio calls with bluetooth headset?
I'm trying to use a headset based on Bluetooth to answer whatsapp calls, but even when I can answer normal calls, it wont work on the headset.
Is there a option to enable it on android phones?

I use it without any issues. First try with another BT set. They're isn't anything to be done on Android side


text:
Problem creating a reminder with date/time in title
Using Android 9 on a Pixel 2, I can recreate this problem reliably.
Let's say currently it is January 20. I prompt Google Assistant to start making a reminder for a certain date and time, such as:
"Remind me on February 8th at 6 pm",
to which it replies:
"Okay, what's the reminder?"
If I then want to the reminder text to say something like:
"Appointment tomorrow at noon",
Google will interpret that as a new reminder set for January 21 at noon, instead of a reminder on February 8th at 6 pm saying "Appointment tomorrow at noon".
This seems like a mistake, especially since Google specifically saved the date and time of the original request and prompted me just for the reminder text.
Has anyone found a solution to this? Many thanks.

This seems to be insurmountable.  People often want reminders of an event that will occur some time in the future.  You cannot put a time in the title without it being interpreted by Google Assistant as the time for the reminder.  Having to manually edit these makes the feature much less useful.  Perhaps a keyword before a time in the title is necessary.


text:
Oneplus 8T stuck in bootloop after flashing patched boot.img
I'm a complete newbie following a guide to root my phone, but it got stuck in a bootloop after rebooting, after flashing a patched boot.img created by Magisk. I have tried many things but with my lack of experience I'm stuck. One guide I'm following for unbricking your phone requires flashing all files from a stock (official) payload.bin file, but I can't run the commands because of a 'critical partition' error.
Running 'fastboot flashing unlock_critical' only prints out the syntax commands as if I just typed in 'fastboot' as is... I'm stuck, I'm clueless and I'm beginning to panic ._.

for patching, stock boot.img is required. furthermore unlocked bootloader is required for flashing magisk_patched.img from fastboot. because of this two requirements i see no constraint to unbrick your device by just reverting your modification. only flash stock boot.img


text:
How to fix my micro SD card that became a read-only memory card?
Since the Android external memory card has turned to read only (also known as SD card write-protected) all of a sudden, I can no longer add, write, or delete things from it.
How to fix the SD card that mounted as read only?
Is there an application to solve this problem?

copy files to another MicroSD Card. in case of adoptable-storage use gddrescue for 1:1 clone


text:
Device Mac Randomization Android 11
Does anyone know if there is a method to disable device mac randomization on a Samsung note 10,
The devices in question also have Android 11 which could be the problem,
This is not MAC Randomisation for WiFi, it is physical device MAC,
Currently this changes after every reboot of the system.
There does not seem to be a single mention of this issue anywhere that I can find but is causing an issue that needs a resolution one way or the other,
This causes a program that is essential to our business to not allow a registration to our services.
Thankyou in advance!
Cheers

How do you check the MAC address? From within an app or on network level (e.g. in a log of an WiFi access point)? If it is an app then you simply see a random number that has nothing to do with the actual MAC. On Android 11 apps simply can't acceess the MAC anymore.

Hi Robert, thankyou for responding! Well I suppose that answers my question, its strange though, when there is a MAC address through Wifi it can be static with randomisation switched off, this works perfectly fine, It just randomises persistently if there is no wifi enabled.

You still have not answered my question if you see the MAC from within an app or on network level. For Android 11 the MAC on network level should be the same as long as you connect to the same WiFi but you will only see that on network level from the "outside" of your phone.


text:
Samsung Galaxy M11 and Samsung Galaxy M01s not able to install 64bit apps from google play store even while having 64bit chipsets
Samsung Galaxy M11 has a Qualcomm SDM450 Snapdragon 450 chipset while the Samsung Galaxy M01s has a Mediatek MT6762 Helio P22 chipset. Going to their websites, on Qualcomm and Mediatek respectively, shows that they both support 64bit. However as mentioned in the title, the two phones are unable to install 64bit apps from the Google Play Store. I am suspecting that the reason for this is because their OSs might be 32bit. (I can't check personally because someone else has the phones and I am trying to solve a problem for them.) If that is the case, is it wise to flash a 64bit OS to the phones to be able to run 64bit apps?
Below are the links to the chipset specs on their respective websites:
https://www.qualcomm.com/products/snapdragon-450-mobile-platform
https://www.mediatek.com/products/smartphones/mediatek-helio-p22

Are you sure the installation fails because of the device not supporting 64bit apps? There are other reasons why an installation may fail. Please tell us what apps you have tried to install (best with link to PlayStore), how you tried to install them and what error you got.


text:
AOSP x86 adb secure
I'm trying to build a custom ROM with secure access via adb. My goal is to secure the android image so that it can only be accessed with a certain adb RSA key pair.
When I build AOSP with 'user' variant, adb doesn't work, cannot connect to it in x86, always get 'connection refused by host', but when I build it with another variant (userdebug or eng), adb connect with no restrictions.
How can I secure adb in order to allow connections only from clients that uses certain RSA pairs?

Have you checked that adb is running at all (is enabled)  in the non-debug builds?

I enable it manually from developer options (usb debug), but in x86 virtual machine there is no easy way to connect via USB and enable adb via tcpip. I am trying to create a custom ROM that get ADB enabled via tcpip by default and secure with specific RSA keys.

You can find information about this on the AOSP pages about adding support for a new device. Briefly, it goes like this:

Create a key pair with adb keypair.
Put the keypair into your source tree.
Set the build variable PRODUCT_ADB_KEYS to point to the directory containing the key pair.
Do your build.
To connect to this build, once it is running on device or emulator, set the environment variable ADB_VENDOR_KEYS to point to the directory with the key pair.


text:
Phone app keeps crashing
Launch the Phone app, then 3 dots > Settings and every time the app crashes with the message "Phone has stopped". I was trying to block a number. How do I go about diagnosing why this is happening?
If relevant, running Android 7.1.1 on a Motorola G4 Play.

For uncovering the reason you may need to connect your phone to a PC via USB, enable Developer options on device, install Android SDK/sdb on the PC and execute adb logcat to see the Android real-time log. If then the error occurs you should see more details in logcat.

OK, thanks...something to try over the weekend! Full testing is never feasible, I realise, but I do wish developers of (especially core system) apps would test things in a variety of scenarios and hardware platforms before pushing out bugware which may or may not be fixed with the next update.


text:
Terminal App not found
I am new to Lineage but not new to Linux. I am running on a raspberry pi. How do I find the AppDrawer? How do I find the terminal App. Many thanks

Based on my personal experience for LineageOS on Nexus 5, LineageOS has an in-built Terminal app, but it should be enabled first from Developer options under the name "Local terminal".

Please keep in mind that Android may be Linux based it is not a Linux system you have worked before. The whole user-system and also the UI-system is totally different from any Linux distribution I know. Therefore I recommend to you to not see Android as a Linux system but as a new system unknown to you that re-uses some basic parts of Linux.

https://android.stackexchange.com/a/16244 https://android.stackexchange.com/a/218507

Not sure how LineageOS works on raspberry pi.
But on android smartphones there is no real terminal. the closest to terminal is terminal emulator which can be installed as usual apk (example)
The AppDrawer is probably the Android Launcher which can be installed as apk too (example)
There is also a built-in app list in Settings - Apps from where you can uninstall or clear data (and even start apps on older android versions), which is therefore some kind of AppDrawer too.
On Smartphones another terminal access is the Android Debug Bridge (adb) which is even accessible when system_server is crashed or restarted (assuming the initial setup is done from developer options). Most likely on raspberry pi this is already enabled (and indeed without physical display/keyboard the only way to access your device)


text:
What is the difference between a "Phone" calendar and a "Local" calendar in Android?
I've been helping a friend with their Android phone. They have 3 different types of calendars, according to their "Business Calendar 2" app:

Calendars synced to a Google account
"Phone" calendar (it has 1, and no more can be added)
"Local" calendars (it has 1, but more can be added)

What is the difference between a "Phone" calendar and a "Local" calendar, and how can one remove all the data in the "Phone" calendar?

I would assume that the type "local calendar" is specific to the Business Calendar 2 app. May be a calendar that is only accessible from within Business Calendar 2? Better check the help pages of Business Calendar 2 or ask it's author.

@Robert Thanks Robert. Before posting, I had scoured the BC2 help pages, but unfortunately didn't find anything relevant. I seem to recall that Android has several different types of calendars, each with a different identifying string. If that sounds vague, it's because it is... I just can't recall all the details!  I remember discovering this from experimentation I performed over 5 years ago.  IIRC, one ID was for a "Phone" calendar, and then you can have almost an unlimited number of IDs for "Local" calendars and synced calendars. It was many years ago, and so I don't recall all the details.


text:
Can't install apps anymore - only via adb
I recently tried to extend my internal memory of my Moto G5 with a 128 gb sd card, so I backed up the previous smaller card to my pc, switched cards, formatted the new card as internal, copied back all the files and thought I was done. I wasn't.
I noticed that all the apps that I had parked on the sd card were not installed anymore, so I thought I'd install them again. When I tried to do that, the usual installation dialog opened but ended with "App was not installed". The
is happens whether I use Googley Play, Amazon App Store, or a local apk. With F-Droid it's a little different: It shows me that the installation failed because of an unknown error.
The only thing that seems to work is installing via adb, but that is rather impractical on the long run.
The phone is a Moto G5 running vanilla Android 8.1, and has about 1.5GB of free space in the internal storage. I tried the usual: empty cache and delete data of Google Play Store and Services, and rebooted several times before and after that.
Any ideas what I could do next?

You could try to fix this by uninstalling and re-installing the affected apps via adb: adb uninstall -k <packagename> will uninstall the app but keep it's data. This allows you to re-install the app without loosing the app-date.

Thanks for the advice. Uninstalling this way works. Re-installing does not.


text:
How to disable/block access to Portable Hotspot feature
My client asked me to configure Google Family Link (parental control) for his daughters phone/tablet/s, I did and everything worked great, but the little one is clever as a fox and found at age 9 a sorta bypass... She enables the portable hotspot to give internet to the laptop and even if the phone remains a brick till morning, the laptop is fully operational.
A few caveats, the phone/s are not rooted, and I might need to do the same with a tablet/s, also not rooted.
So far what I've found and tried is an AppLock app to lock the Settings option, but wondered if there was another more elegant solution, that didn't block all settings.
Cheers.

It would be best to take away the and tablet laptop at bedtime.  Some kids are crafty, and can bypass any parental-control software.  ❧  Failing that, you could lock down the laptop, and set up time and/or network restrictions.  What operating system is installed on the laptop?


text:
Can an Android phone pull contact data from somewhere other than Google Contacts?
Is it possible for an Android phone to source contacts data from somewhere other than Google Contacts? If so, does it only do this by syncing, or can it actually connect to some other contact service or provider to source contact details directly?
Or, is Google Contacts literally the only place it will look for contact data?

An app can implement a custom "Contacts Provider sync adapter" to synchronize contacts with a custom non-Google contact list/source. Those contacts will then be available in the Contacts app on your device. Therefore yes it is possible you just need the matching app that provides a contact sync mechanism with the contacts source you have in mind.

There are several sources that can be used for contacts. I eg use CardDAV (and CalDAV for calendars) with my own Nextcloud install (an app named DAVx5, formerly called DAVDroid, takes care for the sync). There are more sync apps available, and also other, more light-weight server software (like Baïkal).
You can also use a local contact storage and take care for backups manually (using the Contact app's export/import feature). On-device they all use the same database (which has a field to mark the source, so data added to one does not get accidentally synced to another). If your device does not provide such local storage, apps like MyLocalStorage can provide it.
Should you want to hide contacts from other apps, you'd need to keep them away from the "ContactsStorageProvider" offered by the system. This is possible using apps that provide their own contact storage, such as Contact Book or OpenContacts.


text:
Compromised phone
I have a stalker who has managed to intercept texts and maybe calls. I have changed phones, providers, and phone numbers and they always get in. I also believe my locations are being tracked. So my question...if I buy a 2nd phone with different phone number, leave the compromised phone at home and forward calls and texts to the new phone would my movements, calls and texts still be able to be intercepted. After all this harassment I would like to try something  else before I do a factory reset, since nothing else has worked...and law enforcement cant help...I've tried.

If "they always get in" you are making something wrong. Sell the old phone and get a new one. A skilled hacker can compromise a phone so that a factory reset does not delete everything. Make sure your Google account and the linked external email account (if the Google account is linked to one) have a secure password that is only used for this account (do not reuse passwords). I would recommend to change the Google account to 2-factor authentication and buy a FIDO hardware token like the one from Google. Set a at least 6 digit PIN in Android.

I very changed phones, numbers and service providers, and change passwords frequently and use step authentication when available

May be the attacker is just good in social engineering. You can do a lot harm by just calling the service hotline and pretend to be someone else or send letters with forged signatures.

sounds like your stalker is working for NSA. police can't help, are you a criminal? Did you change provider, phone number and phone at same time? seriously someone must have physical access to your phone. or you are using the wrong apps (like whatsapp, instagram, etc)

The stalker is criminal..I dont know who the individual is but they are affiliated with one of the motorcycle groups that has a grudge with me...and no I am not a criminal....these groups are very good at harassment...and law enforcement doest have the knowledge nor equipment to track it down...pretty much told me unless I know specifically know who it is they cant help...yes changed them all at same time. Even used fact name and address on one. But I was hoping doing the call forward thing might give me a clue as to if it's someone who is close.

afaik traffic is encrypted, makes it very hard to attack nowadays (but not impossible) https://security.stackexchange.com/q/157970

tracking car is easy with magnetic gps tracker placed somewhere hidden. listen you one phone call is probably easier with some hidden microphone placed nearby, instead of attacking (unknown/randomly changed) phones itself

Well just to tell you the level of this...I did find a GPS tracker hidden in the engine compartment, attached to my battery...I am not positive the calls are being monitored...but texts for sure

I dont use WhatsApp,  I  use a app that blocks unknown numbers and texts.

The degree to which you are being stalked is exceptional.  The attacker's apparent success in targeting you can only be possible because they are not dependent on the things you have changed.  They must have another angle you haven't discovered yet.  Perhaps someone with physical access to your phone/home, hidden cameras, etc.  Finding the GPS tracker indicates to me that this attacker is not fantasy, and means you must put a convincing end to this for your sanity.
You didn't mention changing your google account or how/if you restored data/apps from your old phone to the new one.  The latter being important if the attacker has ever had physical access to your phone.
Anyone accessing your google account would result in email notification messages that you would probably have noticed.  But if there was ever a malicious app installed it might have been auto-migrated to the new phone.
If you do get a second "secure" phone be sure to start a unique google account with it - and keep it disassociated with your old phone.
You must still find the security leak.  Start with locking down your home with video monitoring-using blink or equivalent.  Use a camera to monitor your home-safe-space for uninvited visitors when you are away.  Don't forget that the attacker may be someone you know and do not suspect.
Take the GPS tracker and put it somewhere where you can focus a camera on it.  Sooner or later your will try to retrieve it.
There will be a reason that motivates the attacker.  Only you may know what that might be, but use that as bait to predict their next move.

Too late on the tracker, I went to police and shortly after I found the tracker, but  unit was cut and wires connected  to battery we all that was left.. leaving compromised phone home while using another was my idea to see if I get any kind of response knowing me or the phone havnt moved. When I get contacted it always with a spoofed number, but I would still know if there is a reaction. No emails on the Google account  but when I've changed phones I've connected to existing  Google acct to retrieve contacts.


text:
How to expand system partition? [Xiaomi Mi 9]
How to expand system partition?
I'd need at least ~600MB more for OpenGapps package I'd like.
Many thanks in advance!
Here's log from parted
cepheus:/ # parted /dev/block/sde
GNU Parted 3.2
Using /dev/block/sde
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: WDC SDINDDH4-64G (scsi)
Disk /dev/block/sde: 6442MB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name           Flags
 1      24.6kB  57.3kB  32.8kB               multiimgoem
 2      57.3kB  90.1kB  32.8kB               multiimgqti
 3      90.1kB  123kB   32.8kB               secdata
 4      123kB   156kB   32.8kB               limits
 5      156kB   262kB   106kB                bk41
 6      262kB   393kB   131kB                qupfw
 7      393kB   524kB   131kB                qupfwbak
 8      524kB   786kB   262kB                apdp
 9      786kB   1049kB  262kB                msadp
10      1049kB  1180kB  131kB                vbmeta
11      1180kB  1311kB  131kB                storsec
12      1311kB  1573kB  262kB                bk42
13      1573kB  1835kB  262kB                devcfg
14      1835kB  2097kB  262kB                devcfgbak
15      2097kB  2621kB  524kB                aop
16      2621kB  3146kB  524kB                aopbak
17      3146kB  3670kB  524kB                uefivarstore
18      3670kB  4194kB  524kB                catefv
19      4194kB  5243kB  1049kB               cmnlib
20      5243kB  6291kB  1049kB               cmnlibbak
21      6291kB  7340kB  1049kB               cmnlib64
22      7340kB  8389kB  1049kB               cmnlib64bak
23      8389kB  9437kB  1049kB               bk43
24      9437kB  10.5MB  1049kB               keymaster
25      10.5MB  11.5MB  1049kB               keymasterbak
26      11.5MB  12.6MB  1049kB               bluetooth
27      12.6MB  13.6MB  1049kB               dip
28      13.6MB  14.7MB  1049kB               catecontentfv
29      14.7MB  23.1MB  8389kB               bk44
30      23.1MB  25.2MB  2097kB               bk44
31      25.2MB  27.3MB  2097kB               cateloader
32      27.3MB  29.4MB  2097kB               uefisecapp
33      29.4MB  31.5MB  2097kB               uefisecappbak
34      31.5MB  33.6MB  2097kB               toolsfv
35      33.6MB  35.7MB  2097kB               abl
36      35.7MB  37.7MB  2097kB               ablbak
37      37.7MB  41.9MB  4194kB               tz
38      41.9MB  46.1MB  4194kB               tzbak
39      46.1MB  50.3MB  4194kB               bk45
40      50.3MB  58.7MB  8389kB               fsg
41      58.7MB  67.1MB  8389kB               spunvm
42      67.1MB  75.5MB  8389kB               hyp
43      75.5MB  83.9MB  8389kB               hypbak
44      83.9MB  101MB   16.8MB               gsort
45      101MB   134MB   33.6MB               dtbo
46      134MB   201MB   67.1MB               ifaa
47      201MB   268MB   67.1MB               logo
48      268MB   336MB   67.1MB  ext4         dsp
49      336MB   470MB   134MB                boot
50      470MB   493MB   23.1MB               bk47
51      493MB   671MB   178MB                core_nhlos
52      671MB   1007MB  336MB                modem          msftdata
53      1007MB  2617MB  1611MB  ext2         vendor
54      2617MB  6375MB  3758MB  ext2         system

do yourself a favor and try on emmc image first. that doesn't look promising. where is userdata partition? why don't you install pico instead? that apps can installed from google play, no need to increase system partition

Have you checked if simply deleting installed bloatware from the system partitions could free up enough space. Also I recommend to install only the "mini" OpenGApps package. Everything else can be downloaded from PlayStore and installed onto the user data partition. Installing a larger OpenGApps packae onto the system partition and later update parts of it from Play Store just wastes space on your system partition as you them have it twice: the old unused one on system and the updated one on user.


text:
My Newly Installled Games Keep Crashing
I have downloaded 3 new games: Idle Slayer, Shadow Hunter and Archero. They are all small games that don't require that much space or graphic processing. I was able to play them for 3 days with no issues whatsoever but out of nowhere they started to crash. I open them, it shows the title screen for a second and it closes entirely on it's own. This problem doesn't happen with any other games or apps I previously had installed. I have a Huawei Mate 20 Lite, it has 25,40 GB of free space out of 64 GB and 4 GB of RAM. I clean up space weekly. I cleared the caches of all the previously mentioned games and it still kept happenning. So I uninstalled Archero and Idle Slayer because I knew I had them connected to Google Games so I wouldn't lose progress. When I reinstalled them they worked but when I closed them and tried to open them up again, they had the same problem of crashing and it's been that way ever since. My phone's not old, it's been 1 and a half years since I've bought it and I haven't installed from nor visited sketchy websites. My software is up to date and it's not a problem of internet, I've checked that angle too. Can someone please shed light on what I can do to resolve this issue? I quite enjoy these games and I worry it'll affect future installments to my phone. Thank you from advance.

Yesterday Google pushed a defect Chrome/WebView update which causes all apps to crash that are trying to display web pages inside the app. See this question for a resolution Android com.google.android.trichromelibrary causes other apps to crash

Oh thank you so much. Updating the Android System WebView from the Google Play Store solved it. I owe you one.


text:
Missing App Data files after One UI 3.0 update on Samsung
After updating my Samsung A50s to the version a507fnxxu5dub6, which is the One UI 3.0 latest update, I noticed that the app files stored in Android/data are all missing

Even the obb files are missing from the default file manager, but when I used a third-party file manager, only the obb files are shown

I already ticked the option to show hidden files to no success, also rebooted the phone, but nothing changed. Tried looking for the patch notes just in case the files had been moved somewhere, but I can't seem to find anything. My apps/games are all working fine so the files are not deleted/removed.
What would be the solution for this? I was planning to share a game including its file, and since the game's folder in the Android/obb does not have its game files, I presumed it must be in the data folder. That's when I noticed the folders are missing

Likely reason https://android.stackexchange.com/q/231481/131553

The files are not missing the app you use for folder browsing is not allowed to see them.

@Robert Is there a way to allow an app the access needed to view the files? I managed to find a file manager that can view it, then copy the file to another destination so that I can share it


text:
Google Play Store uses mobile network, ignoring Data Saver settings?
One of my apps is allowed to use the mobile network, and all others are confined to wifi. This is specified in my Data Saver settings, but according to GlassWire, Google Play Store is still using the mobile network. Any suggestions on how to confine Google Play Store to wifi are welcome.

Google Play Store and Google Play Services self update is known to update when they "want" no matter if you are on WiFi or mobile and what settings you have configured.

That is a shame! Looks like another reason to avoid Android...

Yes, Google allows their apps to break all sorts of rules.  For example, turn permissions to their app off, then reboot, and you'll notice they get those permissions back.  It's sneaky and nasty.

Google Play Store and Google Play Services self update is known to update when they "want" no matter if you are on WiFi or mobile and what settings you have configured.
I am not sure if the respect data saver settings but as Google Play Store is a system app permissions and settings do not apply to it.
And you have agreed to those updates when setting up your device. The following screenshot is from the setup-wizard that shows up on a new device/after a factory reset (see section marked in yellow).

I don't mind updating, I do mind updating on the mobile net when wifi is available.

@eezacque When you are on Wifi mobile data connection is disabled, thus when you are on Wifi you are not on mobile. If your device does not use Wifi then because the Wifi connection seems to have no internet connection.


text:
How can I transfer blocked numbers/phrases?
I have many blocked numbers/message phrases list on my Samsung S8 Plus phone. Never rooted it and it has still official rom. I will use with the same rom. I will just format it but I don't want to bother with
insert the numbers one by one after formatting. So, is there a way to restore numbers/phrases with a JSON/XML file or something else on stock rom?

This seem to be a feature of the Samsung Messages app (com.samsung.android.messaging). Unfortunately adb backup is disabled for this app.

@Robert Yes I don't want to use another app as most of them are not stable . I'm using old rom just for similar reasons. Thanks anyway

One of the problems with many of the stock Samsung apps is that they have no export functionality.

For now, I have found this app. It is exporting numbers as json format at least. But it does not have any action for message phrases

@RockPaperLz-MaskitorCasket You have right. I used many custom roms in the past to export on my old phone. Samsung's some apps supports to transfer another datas but they should think to export for different formats also


text:
My Galaxy J7 phone is not connecting to the Internet without WiFi anymore, anything I can test / verify to make it work?
What would be the reasons for which my Android would not connect to the Internet using the Mobile Data mode? (that open is ON)
I don't go out much these days since there is Covid, but I'd like to have Internet once in a while and somehow the Mobile Data doesn't seem to connect, yet I can do phone calls just fine. It's it using the same connection for data?
I do have a data plan in good standing and it definitely worked before (last time I can say I tried was some time last summer, so about 6 months ago).
Any idea what I could try next?

Probably a problem with Access Point configuration. Since you mentioned Tmobile, have a look at this : https://www.t-mobile.com/support/devices/android/t-mobile-revvl/network-apn-and-volte-t-mobile-revvl

@KaranRajBaruah I've seen that info on my phone, I now compared with the data on that page, it's mostly equal. I would imagine that it's set automatically? Oh and also I can't edit the info anyway, so you'd hope it is automatic... :-)


text:
Does sync work on Firefox Lite for Android
As a privacy conscious user I am trying to decouple as much as possible from our internet overlords Google, Facebook, Twitter et al. To that end I have decided to shift from using Google Chrome to Firefox as my primary web browser both on my computer as well as my Android mobile device.
The main Firefox app for Android is quite big, and there is a smaller substitute for called Firefox lite. My preference is to use Firefox lite but it is essential for me to be able to sync my bookmarks and saved logins across my computer and mobile device. While the main Firefox app allows me to sync, I haven't been able to figure out how to sync over the Firefox lite app. Has the sync feature been excluded for this "lite" version of Firefox?

Synchronization is not mentioned in the app description of the lite version but on the full version it is mentioned.


text:
Does deleting a photo from my android phone's gallery app also delete it from Google Photos(I have backup & sync turned on).If yes, how to prevent it
I have a samsung (android) device and I use samsung gallery app. Question: Does deleting a photo from the gallery app also delete it from Google Photos in which I have my backup and sync turned on. And if yes, then how to prevent it. ie I want a photo to stay in Google Photos even after I delete it from Samsung Gallery app.
PS: If the solution is to turn off sync then how to Turn on just backup on Google Photos without turning on sync.

Does this answer your question? Google Photos deletes copy and original on device

I am using samsung gallery app to delete my photos and not google photos app.

you know that pictures are stored locally? let's say /storage/emulated/0/DCIM/Camera/IMG_20210115_233018.jpg and another copy in cloud. you want to delete it local (it doesn't matter which app deletes this) while keeping the cloud backup. i am afraid the above method is the only workaround (so far)

Yeah but having a more convenient way to delete it locally from samsung gallery and still allowing it to stay in the google photos as a backup would be great. Because visiting google photos every time just to delete something would be too hectic.

Yes, Google Photos does send it to the bin.
You can prevent this from happening by tapping the "Free up space" feature in Google Photos, which will delete all the photos on your phone that have already been backed up to Google Photos.

But I dont want to delete all the photos on my phone. I just want for the deleted photos on my phone to still stay in google photos as a backup.

I'm interested to know why you want the photos on your phone. The main disadvantage I've found with having photos only in the cloud is that downloading the photo in Google Photos also re-uploads it again. So, I try share photos directly from the Google Photos app, to get around that.

If you want to delete specific photos from your device without deleting them from your Google account, the following steps should do it:

Remove your Google account from your phone:

Go to Settings
Tap Accounts
Tap your Google account
Tap Remove account

Delete the desired photos from your phone.
Re-add your Google account to the phone.

Note: this might result in some minor inconveniences the next time you launch various other apps that use your Google account. And it's certainly much more of a hassle than using the method alecxs provided.


text:
Problem with camera concerning file names und photos app
Short version:
How can the camera app be brought to save pictures again with the regular format "IMG_2021....jpg"? On my Nokia 7.2 this is not the case anymore (see picture).

Long version / additional explanations:
Before I bought my Nokia 7.2, I used the SD card already in a Samsung Galaxy Note und hatte and had stored on it (among other) several pictures. For the new pictures, a new folder was automatically created and the old pictures remained saved.
Sometime, an additional folder was automatically created without that I had anything to do with it, maybe due to an update. After that there were three subfolders in DCIM, both on the device and on the SD card:

100ANDRO (probably from Galaxy Note, but I'm not sure anymore)
Kamera
Camera
From then on, the pictures got stored in the folder "Camera". Until that point, everything was allright.

At the end of last year I noticed that new pictures don't get stored anymore with the regular format "IMG_2020....jpg" but instead with an unlogical file name, see screenshot of Windows file explorer. Only newly created videos still get stored with with the regular format.
A few days ahaid of that, the following had happend:
The "Fotos" app from Google suddenly claimed that there was no access to delete pictures (which had always worked before) and that I should use the gallery app for that. Therefore I installed Google Gallery and for comparison one or two additional gallery apps. I then could delete pictures directly again and didn't have to switch to the "Files" app or another one.
When I realised the new file naming of the pictures I first thought, it might have something to do with the installation of the gallery apps and I removed them again. However, that had no effect.
My next attempt has probably caused a subsequent problem, but didn't solve the original issue: In the system settings I deleted the cache and data of the apps "Kamera" (Google Camera) and "Fotos" (Google Photos). Since then, new pictures are still stored with the 'wrong' file name.
On the other hand, I noticed - just a few days later - that many old pictures are missing. The folders "100ANDRO" are both empty, both on the device and the SD card. At least the folder on the SD card had contained several pictures before. The two "Kamera" folders have vanished with the containing pictures. From all the created pictures I don't have anymore those from about 1 1/2 years.
I find it disturbing that pictures made with the camera are removed when deleting the data of any app. From my point of view, the folder DCIM does not belong to any app at all, as opposed to f. ex. the folder WhatsAppImages in WhatsApp > Media. Anyhow, I probably have to live with that; a restore of the deleted pictures is rather time consuming and/or expensive.
But how can the Google Camera app be brought to store the pictures again with the regular format "IMG_2021....jpg"?
Thanks for your help or any tipps.
By the way, why does the Camera app frequently change the storage folder from sd card to device? (If I'm not mistaken, this didn't only happen after installing updates.)


text:
Plug Android smartpone into PC without loading | LineageOS
I am using my main smartphone for developing Android apps and doing research.
I set everything up and searched for a specific option under USB Preferences, when connected to my computer.
As I don't want to drain the capacity of my smartphone, I'd kinda like an option like Data transer, but do not load, so that the battery can have normal battery cycles instead of always staying at 100% because it's connected to my computer.
However, I didn't find anything in the preferences or on the internet.
Does anyone know if there is an option for enabling adb to still function but disable charging while connected to the computer?
Btw, I am using LineageOS 17.1.

There are multiple questions here about disable USB charging, e.g. Disable USB charging. As you have LineageOS you can root your device easily and try those solutions if they still work. On some Lenovo devices I have seen on option to disable charging unless battery is lower than 40% and stop charging when it reaches 60%).

Alright, thank you, @Robert. Indeed, I have access to a root adb shell, but I cannot root the device easily, as the root kit is no longer provided since LineageOS 17. I'll try those solutions, though.  My smartphone is indeed a Lenovo, but I couldn't find any of the options you described.


text:
Samsung Galaxy Tablet E, Model SM-T377W Unable to Factory Reset
I'm able to get to the menu Android Recovery when I select Wipe data/ factory reset but**** the yes or no option does not appear, and tablet reverts back to lock screen. Then I tried to clear cache (delete) and the yes no option was present so I cleared cache and again tried to factory reset/wipe data again Yes / No option failed to appear.  Bottom of screen says         No support Single SKU,        E: ensure_path_unmounted Failed tounmount/ easy (DeviceFailed to find) misc. Partitions,   and back to lock screen.
Any ideas or answers would be greatly appreciated- thanks, Tamara

Welcome Tamara!  Can you edit your question to make it easier to read?  Thanks!


text:
Printing from android device using a usb printer without using third party print server
I would like to use a Brother HL-L2300D printer (USB printer) to print from my phone and tablet in my home network for convenience without the document going through a third party server or first turning on a PC. Right now I have connected the printer via USB to my router a FritzBox 7530.

I tried printing a test page with the app PrintBot (not yet purchased), which did work but I'm not so sure whether such an app ends up sending the documents to a server in order to process it to be able to print it, which I do not want for privacy reasons.
I also tried Let's Print Droid  but it does not work (probably because it seems to have no driver for low end Brother printers?).
I would prefer an open source app or at least an app that does not send the documents I'm printing (paid is fine) to a third party server.
If it really is not possible to print with this printer from an android device without a print server first processing the document I'll either just continue to turn on my PC every time when I need to print (when it's not already on anyway, obviously) something or buy a Raspberry Pi and run my own local print server.


text:
How to link chrome html files together on android
I have multiple chrome html files on PC that are all linked together.
For example, there is a table of contents and if I click A it will then open the html file for A and this can be then used to go back to the table of contents or I can go to B).
However, putting all these files together on mobile (SAMSUNG S8+ Updated up to date) does not allow them to be connected no matter which web browser or html viewing application I try to use (Clicking to go to another page just gives an error saying the other html file cannot be found). Additionally, the images part of the html document do not seem to load on mobile despite being in the same folder still.
I am wondering if there is a way to have all of these files linked on android as it does on PC.

Edit:
As being said by @Robert, it probably is the default behavior of Google Chrome.

in this case I assume it is simply that Google has disabled the file:// protocol by default as it made it possible to browser and download files from the app-private directories. Not sure when this limitation was introduced.

Because, an app have access to its app-private user data, which is obviously not secure.

Original Post:
AFAIK on the latest Android, apps no longer can access internal storage. Which is Chrome will say access denied. Even if you try to open it by yourself with html viewer, it can only access just what you open excluding other files that linked.
Try to use HTTP server. Here's some option to install on Android

Use Termux and install Apache HTTP server. in this one, you have more control, because Termux will act as Linux environment. but quite not user-friendly to setup.
Spck Code Editor. It is not an http server. It's a code editor based on Monaco Editor (I guess), the same that used on VSCode (but don't expect to have full compatibility with VSCode, because it just the syntax hightlighting and the autocomplete thing). But, it also have built in support to preview HTML.
AWebServer, a wrapper for Apache HTTP Server and PHP.
KSWeb, a wrapper for Lighttpd, Apache HTTP Server, and NGINX for Android.

I assume you are referring to the "Scoped Storage in Android 11". But in this case I assume it is simply that Google has disabled the file:// protocol by default as it made it possible to browser and download files from the app-private directories. Not sure when this limitation was introduced.


text:
No password screen lock option -- Can it be enabled?
I'm using a PALM phone which for whatever reason has no Password screen lock option.  Only swipe and PIN options.
Does anyone know of a way to get the password option enabled that you typically have with most android phones?
Thanks!

guess that's intentionally because of the keyboard size

@alecxs yes it seems to be true it must be intentional.  Thing you can use the keybaord for everyhting else, why not for lock screen.  I guess a case of trying to make things userfriendly which turns into a fail for some people.  :)


text:
Are there any issues with allowing the KLMS Agent app (part of Samsung KNOX) to be restricted by Data Saver?
I use the "Data Saver" feature to extend battery life and to prevent/reduce apps from accessing the internet when the phone/tablet is sleeping and when they are not supposed to be running.  Note that I'm not sure if that feature is an Android or OEM feature.
To accomplish this, I go to:
Settings > Apps > Special Access > Allow app while Data Saver on > Show system apps
and deselect every app... currently with the sole exception of KLMS Agent.
The only reason I do not deselect KLMS Agent is because I do not fully understand its purpose, and if there are any consequences of preventing it from being "allowed" while Data Saver is on.
From what I've researched, KLMS Agent is part of KNOX security, which is pre-installed on most (all?) Samsung Android devices.  I've read a bit about KNOX, and I've never had the time to fully understand all of the details about it.  Plus, I think it's closed-source, which makes it almost impossible to truly fully understand.
Are there any downsides or issues with deselecting KLMS Agent in the Allow app while Data Saver on list, thus allowing KLMS Agent to be restricted by Data Saver?


text:
Samsung Galaxy S9+ SM-G965F/DS with 120v charger
I purchased a Samsung Galaxy S9+ SM-G965F/DS and noticed that it came with a 230v charger.  I live in the U.S.A., so I need a 120v charger.  Is the SM-G965F/DS model designed only for international usage?  I purchased this particular model because I want to install LineageOS.

According to GSM Arena, SM-G965F/DS is for Europe/Global dual-SIM, while G965U is for the USA. However, according to Redditor, the G965U cannot be unlocked anyway.

How about buying a 120V-230V converter, too? It will be probably cheaper than buying a completely new charger, although buying only a correct charger had been cheaper. However, you could use these later, for similar problems, too.

you don't need a ~120 V charger, all mobile phones are charged with =5 V and you can just use any charger with usb 2.0 port. only the cable pin-out is not always identical, i recommend to use samsung usb cable with 200 Ω resistor on data pins to let usb charging protocol allow fast charging https://electronics.stackexchange.com/q/177788


text:
Emulator: emulator: ERROR: Not enough space to create userdata partition (Ubuntu 20.04)
I've been getting the error:
emulator:  ERROR: Not enough space to create userdata partition. Available: 6910.351562 MB at /home/codedoor/.android/avd/Pixel_4_API_29.avd, need 7372.800000 MB
I'm running Ubuntu 20.04.  Not sure if it's connected, but Android Studio was working perfectly fine until I updated Node and then the emulator would not run.
I've tried looking for a solution on various platforms, but none have worked so far.  So I completely uninstalled and re-installed it, including deleting related hidden files/directories.  I wiped the data using the AVD manager.
I tried:emulator -avd Pixel_4_API_29 -partition-size 1024 -wipe-data  &
emulator -avd Pixel_4_API_29 -partition-size 7373 -wipe-data
Both of which caused the same error. I've also checked to see that virtualization was still enabled.
Possible solution: how could I increase storage for Android emulator?  I've tried looking at Android Studio and its configurations, but this has eluded me.
Of course, any other solutions would be helpful as well.
Any help would be greatly appreciated.
Happy New Year, btw!  :)

The error sounds more like you don't have enough free space on your Linux (user) partition check free space via df -h. Alternatively this is caused by a permission problem. Check if you can create a file in home/codedoor/.android/avd/


text:
Unable to communicate to a local WiFi with mobile data enabled
I'm developing an app that should work on a private WiFi network without Internet access. It's a controller for an interactive digital sculpture. The IP address of the server it should talk to on the private network is hardwired into the app.
I found that the app is unable to talk to the server on the WiFi as long as mobile data is enabled. As soon as I turn it off, everything works as expected. I guess for some reason it still tries to contact the server on the mobile data interface.
Here's the kernel IP routing table when both the WiFi and the mobile data is connected and the app doesn't work:
10.229.237.220/30 dev rmnet_data0 proto kernel scope link src 10.229.237.221
192.168.26.0/24 dev wlan0 proto kernel scope link src 192.168.26.102

With mobile data disabled and the app working correctly:
192.168.26.0/24 dev wlan0 proto kernel scope link src 192.168.26.102

This seems all correct to me.
Are there any special settings (default gateway, nameserver, etc) I need to add to my network configuration so that the traffic from the app is routed to the WiFi interface? Any other ideas why it's not communicating with the server?

Related/possible dupe: How do I connect Android devices to a WiFi AP and mobile data network simultaneously?, Can Android devices connect to both WiFi and mobile data networks at the same time?, Dual networking

It does not look like a dupe to me. The mentioned potential duplicate questions ask for dual internet (both mobile and wifi) while this question wants wifi reachability when mobile is on but no internet on wifi.

Android has an option to switch to cellular data if the wifi connection is low speed/signal. I suspect that the same mechanism triggers when the WiFi network does not have a default gateway defined, so all outgoing connections by default choose the source IP corresponding to the cellular interface.
To ensure you can talk to WiFi hosts where there is no internet connectivity, first query for the WiFi IP address then use it explicitly as the source IP in the app.
If you leave it default, ougoing connections would happen with the cellular IP address which then would go to the cellular gateway.
Alternatively, if you can root the device, you can then copy the tcpdump binary and capture the traffic over the WiFi and cellular interface to confirm the source IP of packets sent by your app. Instructions for this fall out of this question scope but here is a good how to: https://www.andreafortuna.org/2018/05/28/how-to-install-and-run-tcpdump-on-android-devices/

Thanks for the tips. Unfortunately setting the source IP address didn't help. It looks like if WiFi has no internet access, Android is unwilling to send out anything on the interface unless the user confirms to stay connected to the WiFi regardless. tcpdump also confirms this. It's a pity that Android is going against networking standards such as longest prefix match.


text:
Android screen mirror to android with usb c to c cable
Can I mirror a note 10 screen to a Moto Z4 with a projection mod to project the Note 10 to my wall? The purpose is to play more powerful emulator games on the Note and use the Moto w/ projection mod just like a projector. I plan on doing this with a usb c to c cable. Is that even possible or are there alternatives?

An device-to-device connection via USB may be possible via adb using one device as regular adb client and the other running adb server in termux. Based on the adb connection screen casting may be possible but this scenario is not very common. However keep in mind that such a connection with screen casting will increase latency, as you want to run games this may be a problem depending on the resulting latency.


text:
Is there a battery optimization app that allows me to turn or sync/data for all apps with an exception for certain ones?
I'm guessing there is a 3rd party app that does this, but I'm not sure. Is there a way to turn off auto sync for all apps with an exception for certain ones? For example, when I snowboard, my phone dies super quick from the cold + apps trying to sync and find service. I would just turn my data off or turn on battery super saver mode, but I use a music app, Bluetooth for my headphones, a ski tracker + GPS, and resort maps. Is it possible to turn everything else off?
I have a Galaxy S9

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, so we'd appreciate it if you could [edit] the question, add some details and/or remove the restriction. Otherwise, you might be interested in our sister site, Software Recommendations Stack Exchange instead.

The solution is: don't ask for an app, ask for "how to do it". This does not close out answers suggesting a specific app, but also not any other solutions (like not very well-known system settings). You can also ask for a specific app on the softwarerecs SE, as Andrew suggested. You can even create these questions simultanously (until they are essentially different, i.e. there you ask for an app, here you ask for a solution).


text:
How to setup employee device without Google Cloud
My organization has several phones which I would like to setup for employee use.  It appears that the Google Admin app has this functionality but requires a Google Cloud subscription.
If possible I would like to know what my alternatives are.  I want to be able to manage what apps are installed on the devices and allow app installs but be able to at least monitor what is being installed allong with basic features as an admin.

If you want device management, you'll have to look at some type of Enterprise Mobility Management solution provider. Note that you may already have some path with your existing IT solution partner.

I don't have an IT solution partner.  We are a small company.  I'd like to know what my options are. Yes, I'm looking for "full device management" of about 3 phones for now.  Is there an app for that or do I need to go through Google and am I forced to pay them?

I have no idea the cost involved but I was hoping it would be near free  or around $5/month.  We don't have a big budget here.

I checked out some of those providers and it seems overwhelming.  I just have a small company with 3 devices.  Isn't there something in the play store I can use to govern my 3 devices but allow employees to use them?  At first I tried parental control apps but they just barely miss the mark

Edit your post with your details as to why parental controls aren't enough. 2. Also Google Workspace for Business Starter does seem to have some basic mobile device management features, but check if the plan has the features you need.

It should be obvious though; the phones are for adults to use.  Parental controls imply the devices be setup for children.  Many of them require that you enter a birthdate and name for the child.  In my case they are all for employee use.

Depending on how the devices need to be setup, your "child" doesn't need to be a real person with a real birthdate. Regardless, stackexchange sites are for Q&A than forum so the links provided should provide one direction for investigation.

Thank you.  I have the information I need now to possibly better phrase the question.   But now I first need to answer another question in another thread.

It seems that I need to first learn how to generate an IT Admin code that I can use to "enroll" devices.  Once I learn that, I will be able to understand what it means to use an alternative solution to Google enrollment program.  I hate the idea that my business devices are all basically owned by Google if I go through them.  By using Google to become an admin to several devices, I make Google the overarching admin, which aggravates me

Let us continue this discussion in chat.

Might help in understanding concepts: https://android.stackexchange.com/a/231596/218526


text:
Android PC linux installation on Acer DA220HQL
I have got an android PC (Acer DA220HQL) running Android 4.0.4 with the following specifications and i would like to know if there is any installation procedure step by step to install other (linux-based) OS such as Zorin OS lite as many Google android tablets are locked from installing other OS.
That would help me a lot!
Regards

as for all embedded devices only if someone built a ROM especially for that device. there are solutions to run chroot linux on top of android, but that tablet has very low hardware ressources. so the answer is no

Thanks a lot. I have found other alternative such as bliss OS (https://blissos.org) that might be a fit as this PC tablet has got x86 and ARM architecture ? Is there any safe step by step installation procedure because it is locked from installing other OS. That would help me a lot!

blissos won't work too

Low hardware resources or lock installation. If there is a safe installation at least I want to try it before get rid of it. Thanks.

if you want to understand why it is impossible read that around ~ 20 links starting from here (in short: embedded device is completely different from PC)

please refer to comments from Andrew T.♦

https://zorinos.com/help/system-requirements

How to boot Ubuntu persistent live USB on Android?

The device has an "ARM Cortex A" CPU, thus all x86 based OS (blissos.org, ...) do not work.


text:
New Galaxy A10e Galaxy install gets 250mbps over WiFi then slows down to 30mbps after mainstream apps install (nothing special). Why?
I factory reset my Galaxy A10e then immediately install Ookla's Speed Test app. Over Wifi I get 100 to 200mbps on repeated tests.  After installing basic mainstream apps like Spotify, Pandora, etc and updating Google's and the Samsung phone's preinstalled apps the Ookla Speed Tests give me a maximum speed of approx 30mpbs.  I have to factory reset my phone and not install apps to keep the higher speed.  What gives?

I would assume that this is coincidence that you get high values after factory reset. What access point/Wifi router do you use (which Wifi version doe sit support)? Do you have a connection on 2.4GHz or 5GHz? How far are you away from your Wifi access point when testing? How many other Wifi networks are around you (Wifi is a shared media, if other Wifis on the same frequencies are quite active this decreases your speed).

Ok I factory reset my phone again then installed all my apps one by one while running a speed test between each installation.  I found that after I install Pandora Radio that's when the slowdown occurred.  I uninstalled Pandora Radio then rebooted my phone and the problem went away.  The Pandora Radio App seems to be causing the problem.  I suspect malware may be in the app or poor security design.

I guess Pandora Radio gives modern meaning to the term "Pandora's Box"

Is this an app from Google Play? If yes please post the link to the Play Store app page so that other users who also run into this problem can identify the app without doubt.

Yes.  Open up Google Play Store app right after you factory reset the Galaxy A10e phone and install Pandora Radio.  That is what I did and that is what caused the problem.  I installed no other software from any other source.

Can you please add the direct link to the app in Google Play? Because the name does not uniquely identity the app.


text:
How can i get back my files from userdata dump (dumepd via LGUP)?
A while ago i soft bricked my LG V30, then before i flashed a new Rom i created a LGUP dump which gave me lots of files includung a 54 GB userdata file.
The phone is currently up and running with the new Rom after a factory reset, the thing i am after are my Files that are in the Userdata dump.
What i have tried/googled:

I have mounted the system Partition as EXT4 under Ubuntu which has worked perfectly fine, but when i try this with the userdata it doesnt work.
I have read that it is possible to (somehow) create a flashable KDZ or TOT file that apparently can be put back on the phone. I had no luck finding a tool or any instructions on how to do this.
I have heard that you can push a partition to the Phone via ADB. This went similar to #2 as i wasnt able to find any instructions or something like that on google.
Also i have tried to mount the userdata file on my phone through the ADB shell, but this wasnt successful because the shell doesnt have root permissions.
I also have tried the partition dl feature in LGUP with the phone in Download mode but UP gives me an error that the file isnt in a KDZ or TOT format.

Can anyone help? I am desperately trying to get my files back.
Does anyone know why the mount under Linux doesnt work? This would be the easyest way to get the files.

The user data partition is most likely encrypted (Full Disk Encryption) and can only be decrypted using the key integrated into the hardware of your old phone. You can test your user data partition using the Linux command ent. For en encrypted file the entropy result should be next to 8 bits per character (7.9... would be a an expected value).

as Robert stated 1. is impossible. regarding 2./5. please provide file names (backup)


text:
How to turn off vibration for incoming messages in Google Chat (not Hangouts) - Android 10?
I can't find a setting anywhere in that app. I'm aware of the options present: All messages, New threads, @mentions, etc.
I want those notifications. I just don't want the vibration.
Tried going into Manage your google account. Couldn't find anything there either.
Tried several google search queries:
turn off vibration notification google chat site:reddit.com
turn off vibration notification "google chat" site:reddit.com
turn off vibration notification "google chat" site:reddit.com -intitle:hangouts
turn off vibration notification "google chat" site:superuser.com -intitle:hangouts
turn off vibration notification "google chat" site:stackexchange.com -intitle:hangouts

Nothing was useful.

I noticed, just by accident, that on my phone vibration is turned off when the battery manager is on. So this might be a fallback for other vibrating apps.

Go to App Info

Click on Notifications

Click on the Messages (didn't know that it could be clicked; was assuming it'd just toggle)

Expand the Advanced section

Toggle Vibrate

Was desperate; so decided to ask SE.
But, found the answer right before submitting it; so, sharing it.


text:
After unlocking a boot loader, is rooting different among phones?
After unlocking a boot loader, is the process of rooting different  among phones?

Hello. What problem are you trying to solve?

Well i'm asking the question I asked.   At the same time I happen to be trying to root my oppo phone that I unlocked the bootloader of

The answer is yes. Rooting is different, sometimes each device model requires different steps.

How to root Oppo Realme 2 // Oppo/Oneplus .ozip Firmware decrypter // Magisk Installation Instructions

@alecxs thanks.. I have an Oppo A9 - specifically, OPPO A9 2020 Snapdragon.. Would those instructions apply to me or if not how would I adjust them?  Should I ask a question here specifically for rooting the Oppo A9?

Does this answer your question? Is the root file different if a custom rom is installed?

maybe there is one additional step patching vbmeta or dtbo partition, but try the magisk boot patching + flash via fastboot first. no custom recovery TWRP required, only obtain a boot.img and follow Magisk Installation Instructions. or see 3.c) with correct stock ROM + 4.b) Magisk v8.0.5 usage is new/different + (5) fastboot

there is no development on xda how did you unlock bootloader? you can help others post your answer here (i will follow that thread and assist in rooting there as Android Enthusiasts is only Q&A site)

@alecxs Thanks. I have posted an answer in the thread you mentioned on how to unlock the boot loader

correction, I think I hadn't unlocked the bootloader!


text:
Any way to preserve portable hotspot configuration (SSID, key)?
How can I preserve my initial portable hotspot configuration (mainly current SSID, encryption) settings on my device. I noticed when I use 3rd-party applications (such as WiFi transfer, Mi Drop etc) my hotspot configuration gets messed up and worse deletes the previous encryption, sometimes I only find out later that situation.
So in case of unattended session, I would love to preserve my initial config, to prevent unauthorised access to portable hotspot, which could incur significant data charges. Is there a way to achieve that [Running Android 7.0, Miui 11]
I had automation in mind to restore back to original setting, (but can't figure out full workaround) where the trigger type is WIFi tethering state → Enabling(but the limitation here I can't put the desired config rather its just an on switch AFAIK but I may be wrong)

Have you tried restoring the backup of /data/misc/wifi/softap.conf and rebooting the device?

No not yet,will definitely try that


text:
Is the Android Emulator from Android Studio vulnerable to Dirty COW?
I want to try out the DirtyCOW Exploit in a Virtual Machine or an Emulator. I have made DirtyCOW run on some versions of Android-x86, with Android-x86 running in VirtualBox.
I want to know if DirtyCOW works in the Android Emulator aswell. Does the emulator emulate the linux kernel, or are the syscalls implemented by the emulator?

Emulators emulate a full system including kernel in difference to simulators.

@Robert That is what I needed to know, thank you!


text:
App getting crashed even if no modification done to the code and the stack trace is same as the repackaged version of original app
My question is related to the repackaging of a mobile app. This app uses v1 signing scheme and I did the following:
I fetched the apk file from the playstore using adb and I signed with my keystore using apksigner. Now, when I launch this app on my smartphone, it is showing the following exception.

I took the original apk, I change the format to *.zip and unzipped it, and then again, converted back to apk and I  applied zipalign on the apk. The apk gets successfully installed on the smartphone but when I launch this app, I am getting the following exception.

In this scenario, I didn't modify any file. In the past, I have done this same process for few app's apk and the app is running successfully.
If you observe the above two exception's image, the 1st three lines are same.
My doubt is:

Irrespective of the signature change, we are getting the same
exception (atleast the 1st three lines). What can be the reasons
regarding the same? (Also, I have used the zipalign for the proper
alignment)
Which type of framework this app is using such that even without changing the source code, the app is getting crashed?

Any help/inputs regarding this domain is highly appreciated.

The app seems to be obfuscated and may use invalid file names, therefore just unpacking and repackaging can already change the app. Make sure to unpack only on Linux as it has best support for abnormal file-names, is case-sensitive by default and has less restrictions regarding special file-names.

Hi @Robert, I tried Linux also. But for that case, the apk generated file seems to be invalid. Hence the app won't even install. But when I used the WinRar Software on Windows OS, atleast, I am able to install.


text:
Moisture detection when connecting external hard-drive to tablet
I have a Fire HD 10 Tablet with android in it and i'm trying to use external USB (like storage or mouse) but when i plug the tablet to an USB-Hub connected to a SD Card it reads it for about 10 seconds and then throws the message "Moisture/Water detected, please unplug the USB".
The thing is i tried this with another tablet and it's the same.
However, i tried with my PC and it works fine, so the problem can't come from the USB-Hub or the SD Card.
Any suggestions how i can solve this?
(I know it's more a hardware topic here, but maybe the problem can come from software too?)

Keep your test set-up as simple as possible. I would start with a direct connection without USB hub (just a mouse or an USB stick). And try different USB cables.

Sounds like a Comm error. I would try PE ground to 0V on Android


text:
Microphone does not work when speaker is on
So, for a few days I have been having problems with my microphone on video call or call with loudspeakers. I tried Whatsapp video call, Whatsapp voice call with loudspeaker, Zoom, and Google Meet and the problems are same: my voice cannot go through, while I can hear other people's voice.
I tried using mic checker app and both my microphones are fine. I also have tried recording video and audio and they both work just fine.
I also have checked the applications' permission and they do have permission to use my microphone.
Last time, I tried zoom meeting, and muted my speaker, and my voice went through. However, when I turn on my speaker again, my mic cannot pick up any sound.
Is there a way I can fix this so that my speaker and my mic can be on at the same time?

Does this happen in safe mode too? If yes, could be hardware issue, if no, some app is creating this mess

what do you mean by safe mode? how do I enable safe mode?

Safe mode is a mode in which the device works as if there are no installed apps. One usually needs a key combination to enter into safe mode. You didn't mention your device in question, anyway Google for how to enter into safe mode

okay, I tried it in safe mode and this happens too. So this could be a hardware issue then?

To me, it looks like a hardware issue and it's better to get it checked out by service guys


text:
Tablet cam on: feedback using light
I love the way my laptop indicates when the webcam is on by illuminating the LED next to the cam.
I wanted to try to get similar behaviour out of my Android tablet where it could indicate by some cue that the front cam was on. Maybe the LED blinking or something similar.
I find sometimes I may start a zoom call and then shift focus to a different app and it may not be obvious to me that the camera is still on.
Any way to achieve this? Either natively or using a third party app or script etc.
If it matters I am using the Samsung S6 Lite tab.

If you are ready to root, install xposed /EdXposed (depends on your Android version, please add that to question and tags), it may be possible using GravityBox premium version

Try this with MacroDroid automation. Create a macro : Trigger Application closed - select zoom ;Action :1.Notification Led enable 2. Pop-up message :whatever pop up text you want // If you want this for other camera using apps too, add in trigger

There are specialized apps that can provide a notification icon if microphone/camera is active. See for example the app Access Dots.


text:
Getting rid of "X Google enrollment" in Android 11? since I don't use Assistant
Since I have a new phone with Android 11, every now and then I see a notification about "X Google enrollment" whatever that may be.
Upon searching around I see it's nothing to worry about, it's just part of Google Assistant.
However I don't use Google Assistent, I have turned it off completely. Yet this "X Google enrollment" is still happening.
Is there I way to get rid of it? And I mean not just the notification (sure, I can disable that) but the thing itself. I'd rather not want any unnecessary processes to start or run at all.

Wait for Google to fix it....they are aware of this issue ; Also see what it means

I don't see that on my Pixel 4a, so your device needs to wait for the fix or else, root your device and freeze/uninstall Google assistant


text:
How i can solve this issue of USB data transfer?
I am using oppo A1k cell phone,Its Android version is 9. But when i try to connect it with my Laptop running windows 10, and out of 3 options(charge only,transfer files,transfer photos) i select transfer file option because i want to transfer files from my mobile to Laptop but i still couldn't see my phone appearing in my PC. It does appear but only for a very small instant, and then the window shown in attached snapshot keeps opening again and again

Windows users usually need to install OEM USB drivers. You may need to find one for OPPO devices from other sources though.

@AndrewT. drivers are required even for MTP? Just for my knowledge. I don't remember doing that ever. Though I'm not a fan of either; Windows or MTP.

@IrfanLatif I can't be sure myself, though I've had an experience with some devices even just to get it recognized on Windows PC. But perhaps that's for ADB since I never use MTP either...

@AndrewT. I'm not sure either but I think MTP is a hardware agnostic class like USB Mass Storage class i.e. one doesn't have to install a driver to use a thumb drive.


text:
Is there any way to root Samsung a20e android 10 without pc?
I wanted to flash boot.img from magisk but my usb cable killed my pc. Is there any other way to root i/ And if there is any way to do something with that pc? Iys not charging after plugging usb it was okay for 10 seconds and then died.

do not try to root your device you will brick it for sure. rooting is not a three minutes thing, you need good preparation and should read and understand what you are doing

If you have only 1 USB port in the PC, try a PCIe USB card.
As for rooting with Magisk without a PC, unless you can find a port of TWRP for it, I doubt it.  (There's no official TWRP for the A20, and flashing Magisk requires TWRP as far as I can see from everything TopJohnWu has said.  You can try the one at https://mega.nz/folder/LTZlUKyI#oxxVc5zj8tP4bNQBIo8AlA - no guarantees, and no saying how long it's going to be up there.)
If you get TWRP running, Install (in TWRP) the latest Magisk (not the manager, although you'll need that installed too - as an app) from TWRP.
Running the manager after that should tell you that Magisk is installed.
On second consideration (after thinking for a few minutes), you'll probably need a PC to install TWRP.  So maybe use someone else's PC to install Magisk?  (Then you can just patch a boot.img file [that you can extract from a BL tar] and flash it with Odin.)

one can't flash TWRP without PC. indeed your edit is the only valid part of your answer. magisk official recommended root method is patching whole AP_*.tar.md5 file and flash it to AP together with + BL + CP + USERDATA/HOME(CSC) from Odin (TWRP is neither recommended from topjohnwu nor required). one can also flash from heimdall instead (however, boot.img is not in BL and must not flashed to BL)

Not possible. Samsung devices running Android 7.0+ or later can only rooted with Odin or heimdall. you need a PC for this (or something that can act like PC)

https://android.stackexchange.com/q/213616 https://android.stackexchange.com/q/225021


text:
Galaxy S3 : Impossible to go to recovery or download mode
I've just get an old Galaxy S3, with this mission to backup existing photos on it.
Of course, it's not rooted and not backuped... :) Original setup (ROM, ...)
When starting it it's stucked on Galaxy S3 logo screen without any change.
When trying to go to download mode : It's keep restarting after 2-3s
Same for recovery mode.
Each time I removed battery. I've tested with the phone plugged in or not. Plugged to the computer or not, etc...
Any idea? :)
Thanks
Philippe

charge or replace battery

The S3 has a known bug in it's EMMC firmware that can cause the sudden death syndrome. May be the device you have is affected?


text:
Find out which app is making internet request
I'm tracing my network's DNS calls for a few days (using Pi-Hole to block ads and tracking) and I noticed that on my phone, something is calling checkip.amazonaws.com every 5-10 minutes. As I find this rather odd, I've been trying to find out which app is doing this and why.
I am running non-rooted Android 10. I tried with Packet Capture (which does not work at all due to SSL issue) and HttpCanary (which does not work too well due to SSL issue). HttpCanary does not show anything (not even SSL errors) during the time of the DNS request. I'm tempted to simply block this URL entirely but I'd really rather find out where it is coming from. So far, I'm puzzled where to look next.

You could redirect the DNS name to a local TCP port that is open but no real server is attached (server does not send anything. should be possible to simulate e.g. using socat). This delays the TLS handshake phase which is performed of course using an open TCP connection. I would assume that the connection may be open ~30 seconds without response (untested). As the request is performed periodically you can wait for it and and use netstat on the device to identify the process id that creates this connection and thus identify the app.

Good thought but doesn't work for the same reason: Android 10 got way too restrictive (which, generally, is a good thing I guess). I got lots of permission denied running netstat. Seems like available apps also do not work from 10 onwards.

But what should still work is redirecting checkip.amazonaws.com to a different HTTPS IP address so that the TLS connection handshake fails. May be if the apps is not well developed you will see the error message/stack trace on adb logcat (which also includes the PID).

unfortunately nothing in logcat either... WIll leave the bogus redirect for now.

My last idea: Extract all APK files from your device (e.g. via adb backupor any other tool that can extract multiple APK files from a device). Copy the apk files to a PC, unzip them all each to an own directory and make a full-text search (e.g. grep) for checkip.amazonaws.com on them. If you are lucky the dns name is stored in plain text within the app and you will be able to identify the app.

pulled all apks, did a grep, no result. However, I noticed that the local logcat did not have enough permissions. In Android Studio I got knocked out by the amount of logs and was unable to find anything here after some deeper search as well.

I meanwhile noticed that not all apps allow being backed up (e.g. Facebook, Whatsapp, Instagram). MIght be one of these then, wouldn't be too suprising.