text:
Does being connected to wifi not drain any battery whatsoever if it's not being used?
I have the samsung a32 5g.
I tested my phone with wifi connected while doing nothing, and it didn't move even 1 percent after an hour.
Does being connected to wifi use up no power at all if it's not actually being used, or does it to a certain degree? It would just take maybe the whole day to get 1-2% drained if little to no wifi usage is actually being utilized?
If you're going to get updates and notifications with wifi on anyway, shouldn't you just keep it on all day at home?

If you keep Wifi enabled at home is your decision. Staying connected requires a little powerandalso the apps using network in background need power, too. But modern Android versions are very efficient in sleep mode. Therefore just monitor batter Ausgabe and decide if to keep on wifi or not.

Thanks, I meant staying connected. I do notice there is some background activity but battery drain is very minimal. Would you personally say keeping it on all day is not a big drain to battery? Other than manually checking, how can you find out how much battery usage it takes up by just being connected?

Use your phone one week with always on Wifi and one week without and compare battery usage e.g. over night.


text:
How can I transfer some files from my Google Pixel 6 (Android 12) to a Microsoft Windows 7 laptop via a USB cable?
I am trying to transferring some files from my Google Pixel 6 (Android 12) to a Microsoft Windows 7 laptop via a USB cable (USB-C to USB-A). I don't see the Google Pixel 6 in Windows Explorer:

whereas I do see my Samsung Galaxy S9 (Android 10) when using the same laptop and same USB cable:

I did enable file transfer on the Google Pixel 6:

and I did see some driver being installed when plugging the Google Pixel 6 to my computer:

What could be the issue?

After further investigations, Windows 7 does see the Pixel 6 in Control Panel\All Control Panel Items\Devices and Printers:

This makes me wonder whether the issue is this old driver. But I don't know how to update it.
The  phone also shows up in Device Manager as Google Nexus ADB Interface:

or via tree view:

Using USBDeview:

Maybe try updating the drivers from the official Android Developers website?

@AndrewT. Thank you, I tried, but I can't update them: How I update the Google USB Driver on a Windows 7 laptop?. However in insight those are just adb drivers: I don't think we need for transferring files, right?

AFAIK, it still needs a proper driver to detect. Looking from a related question (similar brand but different model, Nexus 7), you probably could check the driver configuration from the Windows side.

Searching for ClockworkMod Android Windows driver brings up a project whose last update was 5 years ago. You may want to uninstall, reboot and install with Google driver in case of conflict.

Change the device manager to show the tree by connection. Then check if you see all USB devices of your phone. If ADB is enabled and USB file sharing you should see three devices: one compound device which has two children, the USB MTP device and a ADB interface. If not you may have installed the ADB driver to the wrong device node (the compound device?).

@Robert thank you here is the tree  view: https://i.stack.imgur.com/53srx.png Only 1 device visible (Google Nexus ADB Interface).

Was the device screen locked or unlocked (with active USB MTP)? If it was unlocked with active USB then the USB driver are not installed correctly (then the device should use the "USB composite driver" exactly as the device below).

@Robert unlocked with active USB. How to install the USB driver correctly?

Delete the device ADB interface node in device manager, then unplug and replug the phone, make sure adb and MTP are enabled then check device manager for the three device nodes, select the adb node and install the correct driver.

source: Stack Exchange

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

sort: votes


text:
Hyperlink in HTML do not open (video) file locally W/O internet
on my samsung Galaxy Tab A, copied a .htm file. this file has some links. These links are video files which are on same location that of .htm file. I tried relative/ absolute path. I tried http://localhost. I tried simple http server. Nothing worked. Simple http server only works sometime when internet is available. Many times I received message about:blank#blocked

Related/possible dupe: Local files revisited: Opening local HTML files (file:///path/to/file) in Chrome on Android 10.x

Though same type of several issues is been discussed, but this is bit different. my html is in Android (local fie) and the HREF location is also in same device, rather in same folder. but hyperlink does not open a relative/ absolute path. http://localhost didn't work. simple http server didn't work (should work without internet).

The dupe is related to the strict storage permission since Android 10/11 (Galaxy Tab A started with Android 9 and upgradeable to 11). I can't tell if Simple HTTP Server still works or not, but possibly not anymore. AFAIU, you can't put local files anywhere anymore, it's only accessible from the Download folder now. Otherwise, could you [edit] and provide some examples of the location and HREF you used?

Thanks Andrew. But i put my files in download folder. Also HTML page on same level. referring video file (HREF) by relative and absolute path. No success.

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


text:
How are you supposed to use an sd card on android?
I have a fairphone, and I just bought a 128GB sd card for it to expand my storage. I chose the "Use as internal storage" option. Now I want to do stuff like, download osmand maps onto it, download stuff onto it through newpipe, and, like, actually access the files on it through a file manager.
The thing is, I can't see the sdcard anywhere in the file manager. Using termux as root, I seem to be able to access it on /mnt/expand/q506de..... but nothing except root seems to be able to actually access that. Like, what am I supposed to do here? Should I have formatted it as portable storage? Do I need to, idk, create a folder on it, give it read/write permissions for the user and symbolic link it to /storage/emulated/0? Can I still put apps on it if I format as portable storage? Do I have to choose between storing files or apps on it?

Whatever files you are seeing in any file explorer app should already be on the SD card if you have done it properly: How to free Internal Storage by moving data to Adoptable Storage?

@IrfanLatif Ok, so, "migrate data" (I really wish android was more clear about what it is actually doing) would sorta work I guess. But then what happens to my phone's filesystem? There is still 64 GB there that I also would like to be able to use. The most ideal setup for me would be to have a folder on the sd card that was just accessable, is that an option?  Is it a good idea to manually start mounting / linking stuff? Or wil that cause problems?

afaik you can control install location of apps. regarding external storage /storage/emulated (aka /data/media) it's all or nothing. but as your phone is rooted you can use FolderMount

Does this answer your question? How to bind mount a folder inside /sdcard with correct permissions?

I guess the awnser is that it is possible if I put in the effort to do it manually, but there isn't really a proper android way. I might just end up setting it up as portable storage to keep things simple. If it retains its mount point, I might even create some links for like DCIM if that works.


text:
Why are these different Android maximum upload and download speeds?
The following screenshot is from Realme 8 which has a max UL/DL of 15000/30000.

The next screenshot is from Asus Zenfone Max Pro (M2) which has a max UL/DL of 51200/102400.

The problem I am facing in my Android is this - After some time using 4G, the sign shows 4G but the speed drops to 0.01kbps. This goes on frequently until I reset the network by firstly selecting 3G/2G and then selecting 4G/3G/2G.
Can I edit these values using ADB shell so that I can set 51200/102400 as the max UL/DL value in my Android? Can someone provide any fix to this problem?

I would assume that the different maximum up/dl speed are a result of different LTE implementations. LTE exists in quite a few versions with different capabilities regarding the maximum transmission speed and how many channels can be aggregated.
For example the value DL/UL as 102400/51200 seems to be LTE Cat 3 (100 Mbit/s   down, 50 Mbit/s up).
My guess is that you can't change it because the value depends on the used LTE hardware in the phone (and of course the used mobile network).
Last but not least some data plans limit the maximum download/upload speed. The values shown by your Realme 8 30MBit down and 15MBit/s to not correspond to an LTE category. The next matching one would be LTE Cat 2 with 50 Mbit/s down and 25 Mbit/s up. So most likely this is a limitation of the used data plan or the phone shows the effective transmission speed which is limited by the signal strength.
Conclusion: No you can't change the values via adb as this is either a hardware limitation by your phone, the mobile network or of your data plan.


text:
How to login to Google Maps in Android Auto, if I am already logged to my account in the system?
tl;dr I cannot use saved destinations when using Google Maps through Android Auto, because I always see a message that I must login to Google Maps first. I am logged into my Google account in both system and every other Google-like apps. Only with Google Maps there seems to be a problem. Is there any fix for that?

I was more than sure that when I have an Android phone, not rooted etc., where I am logged in (system wide) to an active Google account then I am also logged in to that account in any Google-related app, including Gmail, Calendar, Contacts etc.
Yet, when I plugged my Motorola Moto E4 to my Toyota Aygo and started using Android Auto with Google Maps, this turned out to be not true.
When selecting new destination address, I can:

Type it manually
Pick it from Google Calendar (I am logged in there and see my account's events)
Select one of the latest or
Browse by a category.

But I cannot use one of the saved ones (i.e. starred), because I am always hitting the wall with message saying that I must login to Google Maps first.
Here is a screenshot (in Polish, but it does the job):

How should I proceed in this situation?

The described situation seems to be a bug in Android Auto.
It is true that you cannot use Google Maps app without being logged in to your account. But, in this particular situation it turned out that user was and wasn't logged in in the same time. Or was semi-logged in.
Google Maps worked normally, but when opened up on the phone (not on car's display) there was a strange user-like icon in the right up corner, instead of actual user's avatar. Tapping that icon (opening user menu) immediately changed it into actual user's avatar (no actual re-login was needed). Right after that all user-related features (like saved places) started to work in Google Maps running in connected car mode.


text:
What exactly does "allow background data usage" do for an app when it's on screen/not opened at all?
I have the samsung a32 5g.
What exactly does "allow background data usage" do for an app? Does it only work when the app is opened but not on screen, or is it also required to get notifications when the app is not opened?
Will you still get notifications from instagram if you don't allow background data usage?
Is there anything else other than keeping the app updated through data usage when it's opened but not on screen and notifications?

For understanding how push notifications work please read https://android.stackexchange.com/questions/241281/how-exactly-do-apps-not-running-in-the-background-receive-notifications/241282#241282


text:
Hotspot or USB tethering not functioning on Xiaomi Redmi Note 9 Pro on Android 11
My Xiaomi Redmi Note 9 Pro on Android 11 was updated to the latest MIUI. When I activate the hotspot or USB tethering, when connecting from my PC or other phones, it does not let me surf or use the internet.
In my Windows 10, I enter the IP config command and everything comes out well configured, either by tethering or by hotspot, but I do not navigate in any way.
Help, please.

Some SIM providers don't allow tethering or otherwise provide tethering as an additional feature (similar issue: Mobile hotspot working but no data with lollipop 5.1).

Do you have double SIMs?  Does your telco allow tethering?

Make sure Find My Device is not on. I had same issue connecting to my tablet from my Galaxy J2 Android.

When my Xiaomi Redmi Note 9 Pro, on MIUI 14, had the same behavior (hotspot allows other devices to connect to it but the internet doesn't work on those devices), I changed the sim card from sim2 to sim1 position in the drawer and now it works as expected.

The OP hasnt indicated that they have dual SIMs


text:
Do any versions of Google's "Voice Typing" work completely offline?
Do any versions of Google's "Voice Typing" work completely offline?
Note that when I specify "completely offline", I mean with absolutely no data sent to Google or other parties.

Google's "Voice Typing" can work completely offline on Samsung Galaxy S9 with Android 10 and Google Pixel 6 with Android 12, provided you downloaded their speech to text model:

Turn off "voice contributions" as well if you don't want Google annotators to listen to you (note that they're not supposed to link audio snippets with speakers, so it's supposed to be anonymous).

Thanks Franck.  One of my concerns with anything Google-based is that, even if their keyboard is blocked from sending data, they could use another one of their processes to upload keyboard/voice data to their servers.  After all, Google is the company that drove around collecting people's WiFi data (not just the SSIDs) and then claimed they didn't know that's what their software was doing.  They must truly think each and every person in the world is incredibly naïve to believe a nonsensical story like that.  Regardless, I appreciate the info you provided here.  Thanks!

@RockPaperLz-MaskitorCasket agreed, would be worth an infosec audit (esp. since they don't  make any commitment on
whether the text will be sent to Google servers).


text:
backup on Linux desktop of an android phone
I am fluent with Linux command line (using Linux since 1993). I have a Ubuntu 21.10 desktop (with root access, and good fiber-optic connection to the internet).
My mobile phone is a Redmi Note 7 (M1901F7G) with an extra µsim SD Card. Android 1QKQ1.190910.002. lsusb on the desktop says:
 Bus 001 Device 007: ID 2717:ff40 Xiaomi Inc. Mi/Redmi series (MTP)

with other output.
I have connected the phone to the desktop with an USB cable.
I want to backup all the phone contacts (first & last name & phone number) on the desktop, reset the mobile phone entirely, and transfer the saved up contacts back. Preferably by typing Linux commands on the desktop (e.g. mtp-getfile ?)
I don't mind losing Android applications on the mobile phone. I would be upset in losing the human contact (adress book).
I also have a wifi
I don't have Windows, and never used it.

Does this answer your question? Exporting contacts via adb

MTP protocol is not recommended, consider adb-sync for file transfer and adb backup for apps. regarding contacts find software for your needs. MyPhoneExplorer afaik runs from wine

for most distros package should be available android-tools-adb

Oh why they blocked you? stackoverflow admins are so stupid cannot differentiate between spammer or good people!? My sincere condolences for the discrimination


text:
What is XMPassport?
I discovered this on the Android 11 settings:

I don't know what it means and what it is for. Kinda like a credential manager for certs.
How can it be used?
UPDATE: (approx) image translation to english:
 XMPassport
   Installed for VPN and
   apps

     Credentials
     XMPassport
     Installed for VPN and apps
     Record contents:
     one user key
     one user certificate

     DELETE DONE

Most likely the device is from Xiaomi: On xda there is a log showing the class name  com.xiaomi.accountsdk.account.XMPassport.

yes, this is Xiaomi.


text:
What is terminal pathname to external SD card on Moto G Power?
I put an SD card into a Moto G Power, running Android 11.
Settings -> Storage -> [name] allows me to "Open with Files", which shows me the directories.
Opening "Music" shows individual albums, which contain files, which I can tap on and individually play.
So the data is fine.
I have ssh terminal access to the non-rooted phone.
What is the filesystem pathname to the mounted SD card?

ls -1 /storage

@alecxs, thanks, but: ls: can't open '/storage': Permission denied.

See Where is the mount point for a USB stick? and How to save files to external SD card on a non-rooted Android? and Why is the '/storage/emulated/' directory inaccessible?

df | grep storage

@alecxs, the df found /storage/emulated/0 and /storage/5D32-345F.  The latter was what I wanted.  Thanks.  Please post this as an answer.


text:
How do I share apps with my kids in Android 10?
I upgraded the family tablet from a HUDL2 to a Teclast P20HD. In the HUDL (Android 4.4.2) when I bought/installed new apps I was given the option to share them with other (restricted) users on the tablet. When I clicked on the user in the user settings, I got a list of installed apps that could be enabled/disabled for each user (my kids). This system was simple and effective.
With the Teclast (Android 10) I only have the option to add and delete users. No app control whatsoever.
I setup a Google account for my youngest (5yo) which I can manage through family Link (as I do with my older child's devices) but then there is no way to share apps from my own Google account to his (the family library feature is only for teenagers and won't cover the apps I've already purchased anyway). I have purchased dozens of kids apps over the last couple of years and I obviously want these available in my son's account.
I tried sharing apps with the Family Link feature inside the play store app on my account, but of the 100+ apps I've purchased, only 19 got shared.
I tried adding a second Google account from inside my son's tablet user space (my own Google account, so I could get the apps again on the play store with my credentials), but it won't let me; expecting all further accounts inside that user to be my kid's school accounts and such.
So I'm stuck. Is it possible to get the kids apps I have purchased into my son's user space on this tablet?
If not, is it possible with some other tablet (I could send this one back and get something different) or is the KitKat way of things now deprecated and I'm stuck with having to re-purchase hundreds of pounds of kids apps?

The app sharing system of your old tablet was something proprietary added by the manufacturer of the tablet. Your new tablet doesn't have such a modification, the multiple-user system is just plain Android.

Robert is correct. Damn. I tried multi-user on different device and it's just as plain.
For anyone coming here from Google, I have further information and a couple of solutions..
Firstly, you can now setup child accounts at google for under 13s and, once added to the family group, they can legitimately access apps from your main account, so long as you setup Family Library and manually enable it for each app on the app's play store page (as mentioned, only 19 apps came over automatically when I first enabled this - I mistakenly believed this was the sum total of eligible apps). This is tedious but works but once enabled, future purchases can be added automatically (in your Family Library preferences at the Play Store).
This also works for apps that were "purchased" for free, during sales in the last five years.
Note: At the time of writing, setup of Google Family Library still states that users must be over 13 to receive apps, but this is evidently no longer true.
Before realising all this, I deleted my son's Google account from the new Android user, then used my own Google account to quickly install all the apps (from my Play Store apps list). Once done, replaced my account with my son's and we're in business.
Except with a different tablet. This rubbish-with-no-sensors is going back. If you came here considering buying a Teclast P20HD, I recommend you reconsider.


text:
Can Firefox on android be set to open bookmarks in current tab rather than opening in an new tab?
I am running LineageOS 16.0.20200308 (android version 9) on a Samsung Note 3 (hlte) and have Firefox 94.1.2 installed.  When I open a bookmark in Firefox it opens in a new tab and I would prefer the default behaviour to open in the current tab.  I have not found a place in the settings for this behaviour.  Does anyone know how I can change this behaviour?

If there's nothing in the setting or browser flags, then I doubt if it's possible at all.

How do I access the browser flags?


text:
During purchase money is deducted but the payment status is shown as cancelled-Tinder gold
If during purchase money is deducted but the payment status is shown as cancelled will the deducted amount be refunded automatically?It happened with me while purchasing Tinder gold and after my money got deducted the interface shown some error and shown the transaction cancelled and  the status of transaction is also shown as cancelled in the Google payments history.

See the time line for refund mentioned here https://android.stackexchange.com/a/190765/131553


text:
Galaxy S7 - Stock Rom - Stuck at Downloading
Thought I'd re-edit to make it clearer:
I have a stock Galaxy S7 that is stuck at the 'Downloading...do not turn off target' screen.
I have tried restarting it via vol down and power, and it keeps ending up there.
When I let it naturally boot after forcing a restart, it ends up at the 'Downloading' screen without the device info in the top left. However if I force it to go into download mode by using the home vol and power button, the info is in the top left corner.
The phone is encrypted and has a security pattern.
I want to receieve the data off the phone like photos voice notes etc.
I've tried with ODIN using the HOME_CSC rather than just the CSC and the other files but it gets stuck and says it can't locate the PIT partition.
Can anyone help?

your volume button stuck/is wet/short-circuited

I don't think it's that. I can get into download mode, and prior to it doing this. It was just stuck at the 'SAMSUNG' bit that flashes slowly whilst booting up. I commented earlier on the thread below, I want to try it, but no idea how:
https://android.stackexchange.com/questions/201468/how-to-fix-bootloop-or-decrypt-data-in-twrp/242836?noredirect=1#comment324400_242836

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

It's strange behaviour as I can force it into download mode and I get the same screen where it states do not turn off target, but when I do it this way it shows the model number, secure mode etc details in the top left. My question really is how do I get the device to boot again so I can retrieve my data off it? I can get to 'Download' mode and I think that's about it...

if it's a hardware reason fix the hardware. the buttons would be my first suspect. if it's a software issue you can't safe data off it, but heimdall could help to flash stock ROM without flashing userdata. TWRP is useless it doesn't support encryption

Does this answer your question? How to flash stock rom with Jodin3 on linux?

Hi alecxs, I gave it a full charge overnight as it was completely flat at one point. When the charger cable is plugged in, it shows the battery icon with the lightning symbol, but doesn't show it animating, and it's grey in colour. Once it eventually has some decent charge, it boots up to 'Download... Do not turn off target' but without the info in the top left corner. I can manually boot it into 'Download' mode and then it shows the info of the device in the top left corner.
I've tried to use smart switch, and it doesn't detect the device in Emergency recovery mode.

ODIN detects the device, and I've managed to find the correct ROM for the device, but fails to apply it to the device, and it sits at 'Initializing' then eventually fails. I wish there was a way to recover this device.

PIT = partition table (if not readable that indicates bad connection). ODIN will erase your data, that's why you should flash necessary partitions only (no pit, no repartitioning) and keep userdata partition, see very last line in above link

I am now getting this:
ID:0/005 Added!!
ID:0/005 Odin engine v(ID:3.1401)..
ID:0/005 File analysis..
ID:0/005 skip file list for home binary
ID:0/005 param.bin
ID:0/005 modem_debug.bin
ID:0/005 Home Binary Download
ID:0/005 Total Binary size: 3954 M
ID:0/005 SetupConnection..
ID:0/005 Initialzation..
ID:0/005 Get PIT for mapping..
ID:0/005 Firmware update start..
ID:0/005 NAND Write Start!!
ID:0/005 SingleDownload.
ID:0/005 sboot.bin
ID:0/005 Complete(Write) operation failed.
 All threads completed. (succeed 0 / failed 1)

The above was after I changed the USB port/ different firmware, BTU from XEU


text:
Google fit - Putting app to sleep & optimizing battery usage: Do they interrupt tracking KM distance?
I'm using google fit to track my walking distance for pokemon go, and I'm not sure if I need to make it "never sleep" or not allow it to be optimized for it to work well in the background.
Does sleeping apps save that much battery? Should I allow google fit to never sleep or optimized for battery for it to work well? Is it worth putting it to never sleep if it doesn't take up that much battery?

Optimizing apps does save battery. How much? Depends on the app. No general answer. If you need the app to work always, don't optimize, it's that simple.

Thank you, I worry too much about optimizing battery and app usage so I wanted to know if anyone knew specifically whether or not some settings won't affect their usability in my context and save battery at the same time. I don't think it's a huge battery drain so I'll keep it unoptimized.

If you are serious about battery, rooting the device goes a long way


text:
Identify an app by notification icon when the notification disappears too quickly
There is a notification that repeatedly appears for a fraction of second and then immediately disappears. I was never able to have a look at it despite many attempts. The only thing I was able to see is this notification icon  which I captured with a screen recorder app and cropped to 32x32.
Google and Bing image search finds nothing.
Maybe there is a lossless screen recorder app so that I can capture it without artifacts? Or some kind of app icon database which allows for searches like this?
How can I deduce/identify an app from a notification icon? does not work for me because I am actually never fast enough to actually look at the notification.

Does this answer your question? Notification messages from when I turned on the phone. Where are they?


text:
Upgraded Samsung device to Android 12, but Quick Panel still looks like the last Android version
After updating Samsung Galaxy S21 Ultra to Android 12, I expected the Quick Panel to look completely different like I seen in some Android 12 reviews.
But my Quick Panel looks exactly the same as before the upgrade.

The About Phone says: One UI 4, Android 12

What did I miss?

Only Google Pixel devices and Android One devices are getting plain AOSP version. Other manufacturer are usually not so stupid to take over changes nearly everybody dislikes like new quick settings menu.

The looks of your UI are completely dependent on your software provider, in this case: stock (Samsung). So, no matter what Android version you are running, if the UI version is the same, the looks will be the same too.
So let's say your device has One UI version 4. Even if you were to get an Android 13 update (hypothetical) and the One UI version remains 4, your device UI would be exactly the same as the one you have right now.

Makes sense  thank!

No Problemo mate.


text:
How can I install Greasemonkey, Tampermonkey, or similar in Firefox Android?
I have Firefox 94.1.2 on a Pixel 3XL with Android 10.
I'm trying to install a user-script extension like Greasemonkey Tampermonkey.
addons.mozilla.org shows these are both available for Android: Greasemonkey Tampermonkey
When I open the Add-on menu in Firefox, I see one add-on I have Enabled, and about 15 other "Recommended" (not of interest). I find no way to search for additional add-ons in addons.mozilla.org.
I found this article that said this issue would be fixed about a year ago, but I'm still not able to install add-ons.
This article implies that running Nightly versions of Firefox might allow more add-ons. Is there any other way to install these extensions?

Tampermonkey is now available on Firefox Nightly and Fennec.

Related: How can I use userscripts on Firefox for Android?

On Firefox you need to enable the debug menu by going to settings -> about Firefox then pressing the Firefox logo at least 5 times. The same applies to Mull and other forks.
Once you had done that, in settings under addons you now have the option "custom addon collections" where you can enter a name and the id of an user who has the addons you want in their collection.
This is not as simple as it is in desktop and other mobile browsers, and it requires either having a Firefox account or the user id of someone with an account.

With Firefox and Chrome both incapable, the best answer is to install yet another Browser. I chose Kiwi. From the main menu, choose the Extensions page. Touch the "+(from store)" button - it will take you to chrome.google.com. Searching on Tampermonkey offers "Tampermonkey" "Tampermonkey Beta" and "Clipcopy for Tampermonkey". Choose "Tampermonkey" but do not use the Android "Get it" link - it goes to the Play Store and offers an App, not an extension. Click the link to the Tampermonkey.net site which contains a link to "Install in Chrome". Select it and it will install in Kiwi.


text:
"fastboot reboot fastboot" boots into TWRP, not fastbootd
I am trying to reinstall Oxygen OS on my Oneplus Nord N100, and you need to boot into fastbootd or else it will say cannot flash critical partition. But, the command to do so just boots into TWRP.
In fact, in the TWRP Reboot menu, if you click on the "fastboot" option it just restarts TWRP but you cannot tap on anything. I am very confused, also I cannot use my phone because no OS is installed. I tried looking it up, but it seems it hasn't happened to anyone else.
I think it might have something to do with having no operating system so it boots into recovery automatically. Because when I turn on my phone it automatically boots into twrp, but I don't get why it does that for fastboot.

fastbootd actually is recovery mode and therefore everything sounds fine to me

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

Did you tried run the command:
fastboot flashing unlock_critical

and then flash through fastboot instead of fastbootd


text:
How To Map Joypad Axis To Button?
How do I map a joypad (specifically the HAT switch/DPad) axis to a button with a key-layout file in /system/usr/keylayout/? I currently have this line in the appropriate file: axis 0x10 split 0x7f BUTTON_L1 BUTTON_R1.
I'll explain the line token by token. First token refers to the input type. axis means I'm binding an axis.
Second token is the axis ID. The axis I want to remap is 0x10.
The Android developer's wiki page concerning key-layout files mention you can split an input axis into two outputs with split so I'm using it. The split is at the value immediately following split, in this case 0x7f.
Input values below the split threshold map as the 1st token after the split threshold token. Here it is BUTTON_L1.
Input values above the split threshold map as the 2nd token after the split threshold token. Here it is BUTTON_R1.
However, when I use the line metioned above the axis does not map to anything anymore. Are you able to map device axes to Android buttons in the first place? If so, what is the proper syntax for it?

From the Split axes documentation:

A split axis maps a Linux axis code to two Android axis code names, such that values less than or greater than a threshold are split across two different axes when mapped. This mapping is useful when a single physical axis reported by the device encodes two different mutually exclusive logical axes.

In the example they split a combined gas/brake axis into separate GAS and BRAKE axes:
axis 0x01 split 0x7f GAS BRAKE
Axis index 0x01 is the Linux input event code ABS_X. We're taking the ABS_X axis with a logical range of 0x00 < x < 0xFF and splitting it so that x >  0x7F is mapped to AXIS_GAS and values below 0x7F are mapped to AXIS_BRAKE.
In yours:
axis 0x10 split 0x7f BUTTON_L1 BUTTON_R1
Axis index 0x10 is special, it's the Linux input event code ABS_HAT0X which is a synthetic axis generated by the Linux input subsystem to make it easier to deal with hat switch inputs. Internally, HID gamepads don't represent D-pads as buttons or as separate X and Y axes. They're usually represented as a single rotational "hat switch" axis. Linux converts the rotational value into ABS_HAT0X and ABS_HAT0Y axes normalized to -1 < x < 1. These are seen as axis 0x10 and axis 0x11 in the key layout mapping.
So, the first problem is your threshold is wrong. To split the ABS_HAT0X axis you should use a threshold of 0.
The second problem is you're trying to map the split axes to button events, which isn't supported. You can only split an axis into separate axes.

Is there a way to map specific directions on the hat switch to buttons, since I can't split an axis? Or am I completely out of luck?

I don't think you can do this with key layout files.


text:
Wrong earphones/headphones buttons press/tap behavior
I've had this issue for a long time now.
As far as I know there are three button commands while using any music players. One press for pause, double press to go to the next song, and triple press to go to the previous song.
But now it somehow works like this:

One press/tap: Does nothing.
Two presses/taps: Pause/resume song.
Three presses/taps: Play the next song on the playlist.

I cannot go to the previous song because of this issue since the triple presses plays  the next song instead of the previous one, pressing four times does nothing.
After searching on some forums, this issue apparently related to Google Assitant.
But disabling Assistant didn't fix this issue for me. I'm using Xiaomi Mi 9 with MIUI Global 12.0.4 and Android 10 QKQ1.190825.002.
Tested with 2 wireless earphones and 1 wired earphone with two different music players (PowerAmp (paid) & Audify Music Player) and YouTube app behaving the same with videos.


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

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

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

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

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

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

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

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

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

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

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

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

I hope it solves your problem

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

No, it did not work..


text:
What are the minimum software specifications for Android 11
What are the minimum software specifications for Android 11, what is the minimum specification needed for android 11 in terms of processor, screen, and other capabilities?

As Android is not an OS you can freely install, there are no easy requirements. Usually the manufacturer of each device decides if and how you can upgrade a device. For the other requirements see the Android 11 Compatibility Definition

Looks like what you are asking is about hardware specification (e.g. processor, screen), which is already asked and answered on the duplicate. Not sure what you mean by software requirement though. Could you [edit] to clarify that?


text:
Is is possible to send files from smartphone to a PC via USB (Export commanded from the smartphone)?
I have files (mainly pictures) selected under android file manager or photo viewer.
Is it possible to send them to a PC via an USB connection ?
My aim is to do the file selection on the android device, and export this selection of files from the android device to the PC.
I know how to connect the PC via USB to the android device, and to  copy using the PC file manager. However with this procedure I have to retrieve the file from the PC on the memory of the android device, which I would like to avoid (because it's time consuming and prone to errors)
(Running Android >=9, PC with Linux OS)
Best Regards

no, there exist no method to send files to PC

If the PC is running Linux, set-up an SSH server on it and copy the files via an SCP capable file-manager or Termux SCP command-line/script.


text:
Is it possible to delete files on android from a usb PC connection?
From PC (Linux) connected on an Android device through an USB connection, is it possible to delete files on the Android device ?
(Running Android >9 on smartphone, PC OS: Linux)
The standard connection I get is through MTP (USB mass storage connection does not seem available).

yes it's possible via MTP or adb

As you know about MTP and ADB I am not sure what answer you expect.

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


text:
Android 11 - Does google location accuracy/Wifi scanning work better with more buildings around you/more Wifi signals?
Would more Wi-fi signals mean location is more accurately displayed or is it the opposite? I live in an apartment on the 2nd floor and there are some big buildings around me. Will this improve accuracy?

You need to be logged into a wifi network for it to triangulate your location //are you logged into all those wifi networks?

No, but I recently found out that wi-fi scanning DOES work when wi-fi is off, which indicates it uses other wi-fi signals around you to indicate location. Though I'm not sure if it also uses your connected wi-fi. However, google location accuracy does use your connected wi-fi signal to find your location, and probably doesn't use other wi-fi signals around you.

@beeshyams The link is about Wifi scanning limitations to apps. I don't think they apply to the Google system location provider which does perform the Wifi location triangulation. You are also wrong regarding the requirements, the triangulation is based on the Wifi AP MAC address which is then checked in the worldwide Google Wifi AP database.


text:
Android 11 - What exactly does "allow background activity" do?
From what I understand, it simply allows apps that are manually ran to update and send notifications faster while in the background. Is that all it does, and if so should you turn it off for most apps if it saves a good amount of battery?
Does not allowing background activity interrupt any other function of an app other than updates and notifications?
Edit: If you do disable it, will the app still start by itself to update regardless if you open the app or not and take up RAM?

Where did you find "allow background activity" setting? A screenshot will be helpful. Also mention your ROM/device.

Sounds more like a non-AOSP modification to disable the "feature" introduced with Android 11 that restricts what apps are allowed to start a background service.

"Allow background activity", under Battery, refers to whether apps are allowed to run in the background (when you're not using them onscreen, or the app is not visible to you) or not. The battery optimization option that disables background activity just adds a control for apps that have been running for a long time in background aiming to save battery life.
If you want any app to keep running without restriction, you can remove it from the optimization list.
My answers source: Source 1 and Source 2. Also, this link is for developers, but reading it might help you understand how the background apps actually behave and what can be considered background activity.
Also, I've just found this link that explains how to deal with background apps and save battery. This can add some details on how that feature works and how to toggle it on/off.
In addition, the app doesn't actually stops running in background - this configuration prevents the app from using battery, according to this link. Quoting them:

You've prevented that app from using your battery when it's not in use, but if you open up the application manager, you'll see that application might still be running in memory. To close the app, open the application manager and swipe the app from the list. This will close the app and prevent it from using your battery.

Thank you, though from my own experiment I still received notifications from gmail if I turned off "background activity" if I enable auto-sync, so the person said in source 2 is incorrect. It seems to "update" an app to send notifications faster. This seems to only apply to notifications like an alarm you set in the background, not the ones that come from remote sources.
What I'm wondering is does "allow background activity" only apply to apps that are in the app selector if off screen? I'm confused if there is a difference whether or not it works if the app is never opened in the day.

I've added some information that I hope it would clarify things for you. I have to confess, I've been also learning while researching sources about this topic :)

Thanks, no problem! From what I understand now even though background activity is turned off, the app can update and send push notifications but I think that's the extent of it.
Sleeping apps will put stop the background process of apps when not used, but allows it to be used when needed, just delayed. Optimizing apps will allow background usage, but will restrict some functions to a time similar to when they're "put to sleep."

Hello again, I was wondering if you knew what allowing background activity would do for gmail.
It seems that I still get notifications regardless as long as auto-sync is turned on, but I don't know what else it would really do.
If I was downloading a large file and went off-screen or closed the app, would that file continue to be downloaded without background activity enabled since it's kind of like an "Active" task? What would enabling this for gmail really do and is it helpful?

I've never tested it, but I believe once you started a download from an attachment in GMail, it will continue downloading if the app goes background even with background activity disabled.

I see, even if you close the app? I'm guessing downloads are managed by the system itself and not the app so I'm assuming yes.
Do you also know what exactly background activity being allowed would do vs when it's not on? My guess is you would only have the app load a bit slower when you first go back to it after a few minutes, other than that I see no use.

I believe when an app closes, it gently finishes what it is doing to close in a clean way - I mean, no partial downloads, no partial saves, no data loss and so on.

Ah, so it will most likely just finish downloading without interruption or do you mean it will cancel? Do you know what other uses background activity does for gmail or is it pretty much irrelevant?

I believe it will finish the download. I'm not sure of other uses background activity related to Gmail - there should be something related to send mail, upload attachments and so on, but I didn't test that...

Thanks, I don't think it has any use personally, just to load the app faster as it works in the background when you open it again. Apps like sleep cycle definitely need this function on so it can work without having to have the app on screen.


text:
How to read and edit system xml files of android 12+?
On previous android versions, I can easily read and edit system XML files using a text editor but XML files from android 12 cannot be read properly and they looks like random symbols. For example, I pulled wallpaper_info.xml from /data partition and text editors can't open the file properly.

Just a guess - they might be compressed to save space, or encrypted to prevent people from exploiting it.

Another possibility is that the XML files are now in binary xml format like the AndroidManifest.xml file in each APK.

I can read few strings though. So they aren't fully encrypted and compressed.

After checking the source code, looks like @Robert is correct. wallpaper_info.xml is now stored using a serializer. You can open it with Hex Editor to read the value in bytes, but I can't recommend editing serialized output manually.


text:
Recovering data from Samsung SM-A405FN/DS with black screen
I have a Samsung Galaxy A40 (SM-A405FN/DS) with a smashed, black screen.  I'd like to recover data from the phone (as much as possible).
I know the OS on the phone is still running, because the phone connects to WiFi (it shows up as an active device in the list of connected device on my router web interface, and I can even ping it) and I can plug in a USB-C to USB-A adapter and connect a keyboard to it. The keyboard seems to work because the Num Lock LED toggles when I press the Num key. I presume a mouse would work, too, but because I don't have a screen, I can't see where the mouse is. I do have a Samsung USB-C to HDMI adapter (EE-P3200), but it doesn't do anything, presumably because it requires USB 3.0 to work, but the Galaxy A40 only has USB 2.0 support.
I read all sorts of manuals on the internet on data recovery, but they all involve turning on USB debugging in order to be able to access the phone. I can't do that, with the screen broken.
Does anyone have any suggestions where to go from here? Is there any way I can make use of the USB keyboard?
Thanks a lot!

Is the touchpad still working? If it is i just found a video to enabling usb debugging on your phone but you will have to scramble in the dark to do this.

I don't know if the touch pad is still working - I have no way to tell, because the screen is kaputt. I also found a video about how to enable USB debugging with the touch pad working (probably same video). But I also can't access the screenshots on the phone - without unlocking it, there is no way to access the files from a computer...

get a second device, do everything "blind" in parallel on both devices

try to increase the volume and scramble for the slider and if you hear is beeping aftr sliding maybe it works(or try another test)


text:
Getting IR codes from rooted android box
I have a rooted Android 7.1 box probably rebranded (Amlogic S905W I think) with an IR remote that's unreliable and battery hungry, I'd like to configure the remote on my phone with IR blaster but I have no idea what the IR codes are, is this available on the device? I've found out a remote.conf file but I haven't been able to figure out how to use it if it's useful.


text:
Is there a way to stop Android messages from network providers?
I receive ads from my network provider via Android pop-ups:

Is there a way to disable it?
These messages are extremely annoying,
I woke up last night due to the brightness of the screen, as these messages causes a permanent screen brightens until an action is taken. Another side effect is that it draines the battery and heats the phone up.
Also what is this type of android messages called, so I can communicate with my network provider?
Device: Samsung Galaxy Note 9
Android version: 10
...
Thanks in advance.

The SIM card is actually a tiny computer owned by your mobile network provider and your MNO also has full remote access to the SIM card and can send messages to address installed applications (we are still on the SIM card!). These applications can communicate with the phone, I would assume using the SIM toolkit system. There should be an app of that name on your phone. Unfortunately the SIM toolkit Android app can't be disabled so it is unknown if not having that app would stop these messages.

Thanks for the info. I didn't find any helpful settings in the SIM toolkit app

Your answer helped me know the name of these messages thus better search, they are called "flash messages", and many operators provide an option to disable these messages from the SIM toolkit app. This option is not provided by my operator (Vodafone Egypt)

If it helps, I called my carrier and they disabled those irritating flash messages//Obviously, it depends on them


text:
Why can’t I install/update an app from Play Store?
I use a Samsung S5 Neo, yes quite an old phone, but it works. Recently an app called „EBay Kleinanzeigen“ stopped working, so I wanted to update from the Play Store, which was not possible because it said „not compatible with your device“. At that time so ran the Samsung stock which was Android 6.
Now I updated to the latest Lineage OS which comes in version 17.1 based on Android 10. Everything worked fine, I reinstalled my apps, but EBay Kleinanzeigen still is shown as not compatible with device.
The app in question is https://play.google.com/store/apps/details?id=com.ebay.kleinanzeigen and according Ronny understanding it should work from Android 5 to Android 11, hence what is wrong here?
https://www.apkmirror.com/apk/marktplaats-b-v/ebay-kleinanzeigen-for-germany/ebay-kleinanzeigen-for-germany-13-6-0-release/ebay-kleinanzeigen-your-online-marketplace-13-6-0-2-android-apk-download/ reports:
Min: Android 5.0 (Lollipop, API 21)
Target: Android 11 (API 30)
Inhaber no idea, what I am missing here.

Let us check what features/versions are required of that app:
I the AndroidManifest.xml is noted:

<uses-sdk android:minSdkVersion="21"

-> Minimum Android 5.0

<uses-feature android:glEsVersion="0x00020000" android:required="true"/>

-> requires OpenGL ES 2.0 (supported by Android 2.2) so it is a rather old version and should be supported by your device

There are more requirements but those are marked as "not required" (-> optional): camera, camera2, location, location.gps, telephony, wifi, touchscreen, screen.portrait, accelerometer.
In Play Store meta-data there is a dependency marked:
dependency:
    packageName: "com.google.android.gms"
    minVersionCode: 12451000 (the version code seems to belong the a version just released some days ago)

I am not sure if this is an optional or mandators dependency. So on a Google free device it may not work but as you have Play Store installed your device should have com.google.android.gms installed, not sure if the version is new enough.
Another potential restriction can be your selected Play Store country (the app seems to target Germany only). An app developer can also restrict to certain mobile network provider, but for this app such a restriction is unlikely.
Finally according to Play Store this app is age restricted (age 16+), the chance is high that this is the problem. Have you set-up your birth date correctly in the used Google account?

Thanks @Robert for the hints. I checked all of them and my PlayStore country is set to Germany, as well as my age is well above 16 and configured accordingly. I contacted PlayStore support now and they forwarded me to the App developers, so let's see.

Now Google Play support forwarded me to the App provider, which I contacted today.


text:
Does TubeMate use some peer-to-peer network?
I was using TubeMate to download my first video with TubeMate, and I got banned from the Wi-Fi network I was using:

Online activity through a browser or application has been flagged as malicious or in violation of the purpose of this network! Close all offending programs and try accessing the Internet again in five minutes.
Quarantine Trigger
"ET P2P ThunderNetwork UDP Traffic"(2009099) UDP 192.168.10.237:58509 -> 13.57.93.165:10050

According to https://whatismyipaddress.com/ip/13.57.93.165, 13.57.93.165 is an Amazon.com IP. I have no idea why some packet would go there.
I'm wondering why TubeMate caused it. Does Tubemate use some peer-to-peer network? If not, what could have caused this ban?

Not sure by "peer-to-peer network", but based on the link, it's AWS (Amazon Web Service) Compute Engine. Not a user of TubeMate, but I'd assume just like most YouTube video downloader services, when you trigger the download, the app requests to the server on AWS to download and process the YouTube video first, then serve it back to the app from AWS for the device to download.

From https://community.ui.com/questions/IPS-Alert-1-Potential-Corporate-Privacy-Violation/b435dc41-7d47-4107-b789-198beee2c26d and https://redd.it/r0ok41, it looks like it was just a false positive. I'm guessing it was triggered by the port or IP.


text:
"cold Blooded" hotspot : frequent internet connection failures. ... why do they happen
Short Story shorter
Hotspot  denies internet access to  Puppy Linux client only on a specific laptop while all other clients have no issue ( the same laptop with Windows partition can connect without any issue     ) and the only way I could fix it is "reset network settings" + reboot. Nothing else seems to work.
Scenario
2 Mobile phones : 1 Culprit Xiaomi  H1  and 1 AT & T ( control ) H2
Here is the picture cheat sheeted
normal laptop NL
Problem laptop PL

Problem hotspot # 1 H1
Ok hotspot # 2 - H2
puppy refers to the puppy Linux partition on the laptop
so e.g. PL.Puppy  ❌   H1 means puppy Linux on PL aka
problem laptop does not have internet connection via
hotspot H1

PL.Puppy  ❌   H1
PL.Puppy  ✓   H2
PL.WIndows ✓ H1
NL            ✓  H 1 && H2

I am able to ping the gateway 192.168.43.1 & traceroute
e.g.  www.yahoo.com will resolve the hostname to IP
but there will be no progress and it will time out and die.
this seems too strongly suggest that the gateway which
is the hotspot itself is not allowing internet access.

Question
--Why does my hotspot only on a specific phone keep denying internet access  ( unless of course the issue is at the  client aka laptop end but seems that's not the case )

--How can I do equivalent of "reset network setting" using  adb   and then  avoid reboot ( delete part of dalvik or /cache ? if so which specific files / folders )

Your analogy is a bit outdated. Nowadays Microsoft embraces Linux, you even can run Linux software on any Windows 10+ machine via WSL. And for your table, sorry I don't understand it. What is "Puppy"? And what are the columns/rows should tell me?

thanks for helping me e correct thst MS stereotype.... that was just on the lighter side I am aware think that changed with MS  (  but that was its business model once upon a time which made it king    ) ...... amended question to make it easier to understand

puppy refers to the puppy Linux partition on the laptop
so e.g. PL.Puppy  ❌   H1 means puppy Linux on PL aka
problem laptop does not have internet connection via
hotspot h1


text:
How to permanently move application to /system partition?
I'm running Android 6.0.1 on Galaxy J5 (SM-J500FN) and the main issue is disk space. If a system app is updated, old .apk remains on /system partition and the updated one is installed into /data partition.
You may permanently remove useless system apps and free up space on /system partition, then convert user-installed apps into system apps using Link2SD. But after reboot all settings are lost because these apps are reinstalled again.
When you update these apps again, old versions stay in /system and new are installed into /data. You cannot change this behavior, can you?
I found another trick:
su
mount -o rw,remount /system
mkdir /system/xapk
mv /data/app/pl.blinkee.mobile-1 /system/xapk
ln -s /system/xapk/pl.blinkee.mobile-1 /system/app/pl.blinkee.mobile-1

You cannot make hard link between different partitions but you can make symbolic link. However, after app update, this link will be overridden and updated .apk will be installed into /data again.
Workaround is to set up cron job that moves these apps into /system and makes symbolic links in /data.
The best idea seems to repartition drive, shrink /system, extend /data. Any safe way to do it?
BTW: What suffix -1 or -2 means at the end of folder name?


text:
SD Card Decryption on Samsung Galaxy M30
I encrypted the SD card in my Samsung M30 and then I factory restored the device. Now I can't access my files on the SD card. Can I recover the data that I stored on it? Are there any tools that can help with this? The SD size is 64GB.

Android uses sophisticated encryption for protecting your data. By performing a factory reset you have deleted the de-/dencryption key and a purpose of an encryption is to protect the data from users that don't have the key. This means the data is gone, you can't access it without breaking the encryption, which would take on a super-computer a few thousand years.

Does this answer your question? How to decrypt Adopted Storage?

Basically, if you don't have the decryption code already, it isn't going to happen... Once you factory reset you deleted the key, so it is more likely that you will be struck by lightning while being bitten by a shark than you getting the data off this card in your lifetime without the encryption key.


text:
Howto hide the top bars in Chrome?
I'm on Android11, and using Chrome v96.
Although editing this on a huge (2208x1768) screen, the screen estate is eaten up by chrome's tab bar and url entry bar:

So the content area is very thin, can I hide those components in Chrome?
To avoid misreading I circled here the areas to be hidden:

In some rare cases, it auto-hides, but for example when posting to StackExchange, it doesn't.
NOT in rare cases: it always autohides when scrolling downwards, but there is one excluded case: when you are inputting text to an HTML input field.
During edit, it's not being hidden.
So, how can I hide the top bar even during text edition?

I've been using Chrome for Android for a long time and AFAIK, it's not possible.

In Chrome the address bar can be hidden unless an editable field is selected. In Firefox you can hide the address bar independently of the selection.


text:
LG V20 not recognized by MTP apps when in MTP mode on Mac
Problem Summary
Neither Android File Transfer nor OpenMTP will detect an LG V20, model LG-H910, over USB when it's in MTP mode. The phone is detected by them in other USB modes, there are no issues with connecting to the phone via adb and the phone will mount under Windows. Changing cables and computers makes no difference. MTP works fine with an LG V20 LG-LS997.
Details
I've got an (unrooted) AT&T branded LG V20, model LG-H910. I'm trying to transfer files over USB, but neither GUI MTP app I've tried for Macs (Android File Transfer 1.0.12; OpenMTP 3.1.10 & 3.1.15) will detect the phone when it's in MTP mode; they present "No Android device found" and "Android device is either busy or not connected" messages, respectively. When the phone is set to charge-only, each MTP app detects the phone but rightly can't connect (reporting "Can't access device storage" and "Your phone storage is inaccessible.", respectively). Image Capture connects to the phone when it's in PTP mode, though can't pull images (this also happens with another LG V20, so it's not surprising).
As a test, mtpfs (installed via MacPorts) will recognize the phone (though misidentifies it) and supposedly mount it, but all attempts to access the files via the mount result in a "Device not configured" error. Sample local shell session:
$ sudo -s
# mkdir /Volumes/phone
# mtpfs /Volumes/phone
Listing raw device(s)
Device 0 (VID=1004 and PID=633e) is a LG Electronics Inc. LG G Flex 2.
   Found 1 device(s):
   LG Electronics Inc.: LG G Flex 2 (1004:633e) @ bus 20, dev 29
Attempting to connect device
desired configuration different from current, trying to set configuration
libusb_set_configuration() failed, continuing anyway...: Operation timed out
Android device detected, assigning default bug flags
Listing File Information on Device with name: V20
# ls /Volumes/phone
ls: : Device not configured

mtpfs has other issues, such as taking about 1 minute to run (there's about
a 1 minute pause before the last line of output, beginning "Listing File Information [...]"). I'm not so much interested in mtpfs as a solution as I was using it to test MTP on the phone.
Whether USB Debugging is enabled or not makes no difference to MTP, though when enabled, the phone is accessible via adb, both from the command line and in Android Studio (I can run a shell on the phone, pull files, install & debug apps in Android Studio &c.).
AFT didn't log any messages to the system console when the phone was connected in MTP mode.
There were no file access issues with the LG-H910 when connected to a Windows computer (both internal & external storage mounted, and the files were accessible). AFT and OpenMTP detect and can access a different phone of the same type, an (unrooted) Sprint-branded LG V20, model LG-LS997.
I've tried rebooting phone & computer, ejecting the SD card in the phone & rebooting, different cables, different ports and different computers (both Macs, one with a clean install of OS X); nothing had any impact on the issue, and the only common factors are the LG-H910 and OS X. A factory reset of the LG-H910 made no difference.
Question
How can I get AFT (or even OpenMTP) working with the LG V20 LG-H910? What other troubleshooting steps can I take?
Related questions
There are similar questions on this site, but none seem to describe the same situation, or have solutions.

"Android File Transfer not working between El Capitan and Android 6": AFT detects the phone
"My Mac doesn't recognize my Galaxy S2 through USB": accepted answer doesn't work, not even for poster of that question
"Samsung Grand duos not visible in Mac Finder but visible in DDMS": poster wasn't using AFT
"Galaxy S6 not seen by pc at all": phone not detected via adb; bad USB port
"Nexus 7 (2012) no longer connecting via USB Mac OS X": phone not detected via adb; bad USB port
"Samsung Galaxy S6 no MTP,PTP connection error": Difficult to tell if the issues are related, due to the shorter description, but this seems to be a case of no data connection at all (likely bad USB port); mentions Macs only in passing; no answers
"Samsung Galaxy S III (S3) Won't Connect via USB with Android File Transfer with MacBook Pro - Mountain Lion": AFT detects phone; also, particular to Samsung phones (and Kies)
"Why my Android suddenly stopped connecting to my Mac?": not detected via adb

There are plenty more questions, but all are either AFT isn't installed, AFT detects the phone, or the phone isn't detected by anything.
System Info

mid-2012 13" MacBook Pro
MacOS 10.14.6
Android 8.0.0 (both phones)
Android File Transfer 1.0.12
OpenMTP 3.1.10, 3.1.15
mtpfs 1.1

My guess bases on the error message Android device is either busy... May be you have a component installed that always connects to the phone and blocks MTP for other programs?

The Answer
The LG Mobile Drivers, installed by LG Bridge, interfered with MTP operation on the LG V20 LG-H910.
The Process
Going off of Robert's comment, I disabled all kernel extensions in /Library/Extensions (which were all 3rd party extensions) by moving them to "/Library/Extensions (disabled)" and restarted. Android File Transfer was then able to detect and connect to the LG-H910. Among the extensions were a number of extensions with names beginning "lgandroid_", which are the LG Mobile Drivers.
After re-enabling all but these extensions and restarting, AFT still worked with the LG-H910. After enabling the LG extensions and restarting, AFT stopped detecting the LG-H910. So, after a final round of disabling the LG extensions, AFT was working.
Originally, v 5.4 of the extensions were installed. I tried the newest, v 6.1, but they had the same issue (which has been reported to LG). LG Bridge, when run, asks to install extensions, which turn out to be the LG Mobile Drivers; with the drivers disabled, LG Bridge won't function (not a big concern to me, but for others with the same issue, you'll probably need to reinstate the drivers before using LG Bridge, and then disable them & restart afterwards).


text:
Is there any way to make WhatsApp read data from shared storage root instead of from /Android folder in Android 11?
I am fed up searching literally everywhere and on forums. It's been so many days since Android 11 was released and so many phones now run Android 11. But WhatsApp media and all data are moved to a new folder inside the Android folder.
So, it is very difficult to back up every time, and also the whole folder gets automatically deleted when I uninstall WhatsApp. And if I manually keep all the files inside the /Android folder only, WhatsApp is reading it. (Earlier, the folder used to be in the root itself). The problem is that in my Phone file manager (tried with multiple file managers), it is very difficult to deal with files in the /Android folder such as knowing their size or folder.
So, the WhatsApp folder inside the shared storage root folder itself instead of inside the /Android folder is very convenient. Is there any workaround for this?

AFAIK, this is a system restriction since Android 11.

Any workaround?

Android 11 has limited (if not completely restricted) the users' access to the /Android/data folder(s). Even if WhatsApp developers tried to move the default /data storage to an SD card, it'll be quite a hazzle since they'll have to take special permissions from Google. So, the simple answer is no, you can't.
However, if you want to change the default storage location for the media folder(s), you can try a lot of apps, XInternalSD, though root is required for this.


text:
Is possible to charge the battery even If I erase boot and system partitions?
Is it possible? Or the device needs at least a kernel to be able to charge? I have a device in bootloop that every 3 seconds it vibrates and I'm not sure if its does not charge because I erased boot and system partitions or because its consume power everytime it vibrates preventing to charge enough for me be able to turn on fastboot mode and fix it.

I don't think it's possible. This may be relevant https://android.stackexchange.com/questions/145263/where-are-the-battery-capacity-files-located?r=SearchResults&s=1|105.2026

In other words, the presence of battery, it's capacity, is current voltage levels etc are communicated by system and if that's missing, will it charge? I don't think it will

It's very hardware-specific question, so cannot be answered with surety. It depends on your OEM's choice of SoC/PMIC and bootloader (the components which load before the actual OS). But it's definitely possible. U-Boot is a commonly used open-source bootloader, and it does have a pretty thorough support for battery charging, without relying on Linux/Android kernel.

my device's current bootloader is lk(little kernel), I can boot in lk and choose the boot mode (normal, recovery or fastboot) but when I select anyone it shutdown, I tried let it charging while in lk but it just charge for less than 2 minutes and then shutdown, idk if lk have some kind of timeout of inactivity and shudown when its reach this timeout or its just do not support charge :/

Assuming you already know what TWRP is, you should just install and boot into it and charge. However in your case you cant install it i guess. So best way is to plug into pc and fastboot mode the device. This will supply it with some power at least and try flashing twrp to it using adb/fastboot services. Then you can boot into twrp and charge the device from there. And if in future you're ever going to touch a phone's system/other important partitions..make sure to install twrp beforehand.


text:
Multiple numbered copies of com.google.android.gms inside /data/app using up all the space on a device
I have an old Nexus 5X running Paranoid Android 6.0.1. I've started noticing that disk space is constantly running low despite not really adding any new files, and poking around with root I found that the main culprit are 30 duplicate copies of com.google.android.gms, sequentially numbered com.google.android.gms-1 to com.google.android.gms-30 under /data/app/, each taking up 300 to 400 Mb, ultimately adding up to little over half the entire disk space available on the device. The first one has been created back in 2016 when the phone was new and the 30th just last week. Similarly I have 35 copies of com.google.android.vending, but at the very least they take up considerable less space.
I'm aware that this is supposed to be the app for Google Play Services but I don't understand why there are so many of it. The folder sizes are different, the lower numbered being smaller and constantly rising, so they aren't the exact same files either.
Currently it's getting to the point that it's impossible to update apps because Play Store requires a lot of free space to initiate any update and any time I free up enough space the phone seems to start creating yet more copies of the app with no end in sight.
Basically my question boils down to:

Why are there so many copies of these files, is this intentional or a bug?
Can I somehow safely reclaim any of this space? What would happen if I deleted some of them?

Possibly similar situation: Can I delete old trichrome library under /data/app?

Looks like the Google self-update code is a bit messy (or has some problems with rooted devices). To my knowledge only one version of GMS and Play Store can be active at one time so old versions should not be needed anymore. You can try to check /proc/PID/fd of the com.google.android.gms process which files are used (my assumption would be that only the -30 files are used and all the other versions can be removed).

@Robert yup, it appears you're correct, the process is using only the latest -30 files. I took the plunge and simply deleted the earlier ones, and after rebooting and checking that my apps are still functioning even after that, it does seem like just deleting them is the best solution. I'm going to formulate that as an answer, thanks!

While this question is similar to the question linked above involving trichrome, this question itself has nothing do with trichrome but the gms app. Please don't add irrelevant tags to the question.

As per Robert's comment on the question, I checked under /proc/PID/fd to see that indeed the GMS process is using only the highest numbered files under /data/app in my case (Where PID is the GMS process ID which you can find, for example, by running ps in the terminal or any of the countless "process monitor" -style apps available on Play Store).
Aftwerwards, I proceeded to simply delete all of the com.google.android.gms-1 thru -29 folders, freeing up all the used space. I have since rebooted the phone and tried starting most of my apps, and so far I'm seeing no adverse effects. GMS process is still running and happily using the latest files. Whether the next GMS update will go under 31 or the first free index remains to be seen. While this wont fix the root cause and undoubtedly I'll get duplicates of the files in the future as well, at least it happens slowly enough that periodically deleting them manually is at most a minor inconvenience.
As for the obligatory disclaimer: This solution suggests poking around in system folders using root access and directly deleting files in them. Your mileage may vary: While my phone appears to work now I cannot absolutely rule out the possibility of having any issues down the road, nor can I guarantee that doing this on your phone has the exact same effects as it did on mine. You do this at your own risk. Do the prudent thing and take backups before messing around with system files, and if you do, do be extra careful to only delete what you intend to and nothing more.


text:
How to backup a full stock firmware image
I'm rocking a OnePlus Nord 2 5G here that just recently came back from assistance because I had wiped the partitions with the IMEI stored in it...
I had made a Nandroid backup, but it didn't backed up all the needed partitions to be able to restore it.
So, I went searching for an alternative way to backup ALL the partitions of the phone. Mainly by the use of adb shell while booted in TWRP to gain root access without being rooted + dd for the backup. And I've made some good progress so far, but now I'm stuck.
For comparison, I've donwloaded a full stock firmware from a third party, and these are all the files it contains:
audio_dsp.img
boot.img
boot_para.img
cache.img
cam_vpu1.img
cam_vpu2.img
cam_vpu3.img
cdt_engineering.img
dpm_1.img
dpm_2.img
dtbo.img
expdb.img
flashinfo.img
frp.img
gz1.img
gz2.img
lk.img
lk2.img
logo.img
mcupm_1.img
mcupm_2.img
md1img.img
metadata.img
misc.img
my_carrier.img
my_engineering.img
my_heytap.img
my_manifest.img
my_product.img
my_region.img
my_stock.img
ocdt.img
odm.img
oplus_custom.img
oplusreserve1.img
oplusreserve2.img
oplusreserve3.img
oplusreserve5.img
oplusreserve6.img
otp.img
para.img
param.img
pi_img.img
product.img
recovery.img
scp1.img
scp2.img
sec1.img
seccfg.img
spmfw.img
sspm_1.img
sspm_2.img
super.img
system.img
tee1.img
tee2.img
vbmeta.img
vbmeta2.img
vbmeta_system.img
vbmeta_vendor.img
vendor.img
vendor_boot.img

Now, these are all the partitions I was able to find in /dev/block/platform/by-name and backup:
audio_dsp.img
boot.img
boot_para.img
cache.img
cam_vpu1.img
cam_vpu2.img
cam_vpu3.img
cdt_engineering.img
dpm_1.img
dpm_2.img
dtbo.img
expdb.img
flashinfo.img
frp.img
gz1.img
gz2.img
lk.img
lk2.img
logo.img
mcupm_1.img
mcupm_2.img
md1img.img
metadata.img
misc.img
nvcfg.img
nvdata.img
nvram.img
ocdt.img
oplus_custom.img
oplusreserve1.img
oplusreserve2.img
oplusreserve3.img
oplusreserve5.img
oplusreserve6.img
otp.img
para.img
param.img
persist.img
pi_img.img
proinfo.img
protect1.img
protect2.img
recovery.img
scp1.img
scp2.img
sec1.img
seccfg.img
spmfw.img
sspm_1.img
sspm_2.img
super.img
tee1.img
tee2.img
vbmeta.img
vbmeta_system.img
vbmeta_vendor.img
vendor_boot.img

As you can see, I'm missing a couple of partitions:
my_carrier.img
my_engineering.img
my_heytap.img
my_manifest.img
my_product.img
my_region.img
my_stock.img
odm.img
product.img
system.img
vbmeta2.img
vendor.img

Including system, which is pretty strange since it's one of the main partitions.
I've no idea how to find the directory of these partitions, with their labels, and how to back them up.

These are all the solutions, tools, and similar questions I've already tried, without success:
How to list all major partitions with their labels?
Command to list partitions?
How can I view the Android internal partition table?
https://github.com/for2ando/dump-android-partitions
https://github.com/IzzySoft/Adebar
https://github.com/dlenski/tetherback
https://play.google.com/store/apps/details?id=ma.wanam.partitions&hl=en_US&gl=US
I just obtain the same list of partitions I'm finding, or straight not working / the directories do not exists. Maybe because it's a MTK device?
The only app that made a difference is FX file explorer. By going in the "file systems" section I can see the my_* partitions and their directory, but no system, vendor, or others. And I'm searching for a command line solution ofc.
I've contacted the user that posted the unofficial full stock firmware on XDA. I'm still waiting for the full response on what specific method he use to extract it, but for now I know he used some root solution, if that could help.
Root solutions are completely fine by the way, just, no "Nandroid" as an answer please.

All block devices are enumerated as /dev/block/mmcblk* or /dev/block/sd*. You can check from /sys/block/.

Do something like grep PARTNAME /sys/block/*/*/uevent. Or simply use blkid command. Partitioning tools like parted and gdisk also show partition/filesystem labels. Any Linux tool will work on Android.

@IrfanLatif Yeah, the partitions found in /dev/block/by-name are all sd*. Inside /sys/block/ though I find many partitions called dm-* loop* ram*, sdca, sdb, sdc, zram0, that all point to /device/virtual/block/. All without their labels though, so it's not really useful to know which of these partitions is what. I've searched around /sys/block/ and /device/virtual/block/ for a while but without success.

@IrfanLatif Alright, both grep PARTNAME /sys/block/*/*/uevent, parted print all and gdisk /dev/block/sdc listed the same partitions I've already found. But buth df and blkid commands listed all those partitions + all the missing ones minus system. That all points to the /dev/block/dm-* partitions. Now system is the only one left to find!

Just realized that I've never searched in /dev/block manually aaand found them. Exactly all the missing ones that aren't listed in dev/block/by-name, are listed with their labels in /dev/block/mapper, system included (it's /dev/block/dm-1). Thanks for the help!

Found them!
All the missing partitions are listed with their labels in /dev/block/mapper


text:
Why Messenger still works even after I disabled its network permissions?
Actually sometimes I want to use the internet on Android but don't want to get the notifications from the social media apps like WhatsApp, Facebook, Messenger Instagram, Telegram etc.
So what I tried to do was the following settings on my Android phone (Oppo A5 2020):
Setting -- Sim card & Mobile data -- Data usage -- Network permissions
And then find the required app and disable its network permissions and disable the network permissions completely.
My Question is That: Why I still get the notifications from these app? Although when I open the app, it asks me first to allow the network permissions.
For example, when I disable the network permissions for Messenger, and after that, If someone send me a message on messenger, I will get the notification (with message showed in the notification bar) and when I click on the notification, it will lead me to messenger app. But As I opened the app, I see the notification:
"Network is turned off for the messenger. You can modify it in Settings - Sim card & Mobile data - Data usage - Network permissions "
First I thought it might be because Facebook is connected to messenger, so only disabling data access to messenger will not be enough for Messenger to stop sending the notifications. So I tried for both Facebook and messenger, I still get the notifications from messenger and Facebook, then I thought Instagram is also linked to Facebook, So I disabled the data access to every single app of Facebook in my Android, but still I get the notifications. Can anyone know why is that so?
**Note: ** As I know I can mute notifications for chat from every app. But in this Question, By not getting notifications means I want the person who is sending texts me on social contact forms like messenger and WhatsApp that the message is not yet delivered to my Android phone. For Example: If someone send me a message on WhatsApp, I don't want the double tick in his mobile.

Another related question is https://android.stackexchange.com/questions/241281/how-exactly-do-apps-not-running-in-the-background-receive-notifications/241282#241282

Thank You Sir. I am having a look at those.


text:
Missing languages (e.g. Portuguese) option on Google Pixel 6's Live Caption
According to Android Police - Google's Pixel 6 might play interpreter on your next vacation,

The feature will get a dedicated location in Settings -> System and will apparently support 55 different languages to varying degrees, most of which it will only support in a limited way via the camera. According to the list published, only Spanish, Portuguese, Japanese, Italian, German, French, and English will get particularly good support for Live Translate's various features.

Trying to download a Portuguese language file to use with live caption translation on Pixel 6, but I can only see: French (already installed so you can't see it in the screenshot), German, Italian, and Japanese.

I recall I saw on some forum that Portuguese is also an option. Does anyone know more about this?

Live Transcribe currently supports Portuguese and many languages whereas live caption just supports 4 languages which don't include Portuguese.


text:
Install WhatsApp in Amazon Fire
Amazon Fire has no Google Play Store, but an article on How-To Geek took care of it. Another problem is that I have some application that is not compatible with the tablet.
At first, I thought that's because Amazon tablet doesn't have location. It has location. I can just enable it. The reason is because Amazon tablet doesn't have SIM slots. Now that's tricky. However, APKPure solves that problem.
When I need to verify my SMS by inserting a one-time code, I just proceed as usual.
Usually, there is an error message saying

{THIS_APP} is having problem with Google Play Service

However, for most apps, it doesn't matter. SMS got sent anyway. I just receive it from another phone and insert the OTP (One-Time Password). Voila. Everything is set.
For WhatsApp, I never get SMS. It's as if WhatsApp realizing there is an error doesn't do even bother sending SMS. I wonder why.
Other apps see an error and send SMS any way that I can verify. Not WhatsApp.
Anyone has a way to bypass this?

I figured it out. When it fails, just keep pressing the button that says they will send OTP and keep pressing next. It doesn't always work on the first try. But keep doing it works.
So basically install and get OTP like usual. However, if it doesn't work keep pressing it. Try again and again. Eventually, it works. So far so good.
The only reason why I need SIM is for the internet. I very rarely use my phone. So I can WhatsApp and use any apps I wish.

The button that makes you get SMS. I think it's NEXT or something after you put your phone number. Doesn't always work but keep trying

No longer work. I kept trying it never works again


text:
Turn off bluetooth on bedtime
Is there a native way to turn the bluetooth off every day between certain hours?
I now use ITTT, but couldn't find a native way.

As a Pixel 3a user, I don't think AOSP/Pixel's stock ROM provides this feature natively. I believe automation apps are still needed to be used.

I found this app that seems to do what you need. It's description:

Bluetooth Scheduler offers you the posibility to turn On and turn Off bluetooth module in different moments of the day, and/or through the week with day independent configurations, making you to save battery charge.
There is 2 different modes (1 active each time):
Simple mode: Lets you make schedules independent of the day, that should apply everyday.
Weekly mode: Lets you easily configure schedules for each day of the week.

I didn't find a way to do it without an app (a native way). However, if you didn't like this app and you are a developer, you can check the functionalities available and build yourself your app for that.


text:
Firefox Reader Mode lost my form input
I accidentally clicked on the stupid Reader Mode button in Firefox while I was typing into a form on a webpage, then quickly tapped it again to return to normal mode, but it reloaded the page, losing everything I typed. https://support.mozilla.org/en-US/questions/1225124 doesn't work because I can't access about:config (blank (white) page), and https://support.mozilla.org/en-US/questions/1300502 doesn't help with that. Is there any way to either disable this useless feature or prevent it from losing my data, and/or restore what I typed this time?
To the Firefox developers, here are your options:

Move the Reader Mode button into the 3-dot menu or somewhere else that requires multiple taps
Don't reload the page when toggling Reader Mode
Save the page state (especially form data) before entering Reader Mode and restore it when exiting
Provide an option to remove Reader Mode or do any of the above

Firefox Daylight, 94.1.2 (Build #2015844587), AC: 94.0.12, e5eb726f81, GV: 94.0-20211028161635, AS: 85.4.0, 2021-11-08T21:26:04.605951, on Android 12.

Please write the suggestion for Firefox directly to Firefox, not here. There's very little to no chance Firefox developers will read this on here.

Good idea, posted as a reply for now: https://github.com/mozilla-mobile/fenix/issues/17832#issuecomment-980789689


text:
Partition table modified by parted is not saved in Galaxy J5 SM-J500FN
I booted to TWRP recovery and tried to shrink /system and extend /data in the following way:
parted /dev/block/mmcblk0

(parted) unit s
(parted) print free

The output (original partition table):
Model: MMC H8G4u! (sd/mmc)
Disk /dev/block/mmcblk0: 15269888s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start      End        Size       File system  Name        Flags
        34s        8191s      8158s      Free Space
 1      8192s      38911s     30720s                  apnhlos     msftdata
 2      38912s     156543s    117632s                 modem       msftdata
 3      156544s    157567s    1024s                   sbl1
 4      157568s    157631s    64s                     ddr
 5      157632s    161727s    4096s                   aboot
 6      161728s    162751s    1024s                   rpm
 7      162752s    163775s    1024s                   qsee
 8      163776s    164799s    1024s                   qhee
 9      164800s    170943s    6144s                   fsg
10      170944s    170975s    32s                     sec
11      170976s    192511s    21536s                  pad         msftdata
12      192512s    212991s    20480s                  param
13      212992s    241663s    28672s     ext4         efs
14      241664s    247807s    6144s                   modemst1
15      247808s    253951s    6144s                   modemst2
16      253952s    280575s    26624s                  boot
17      280576s    311295s    30720s                  recovery
18      311296s    336897s    25602s                  fota
19      336898s    351215s    14318s                  backup      legacy_boot
20      351216s    357359s    6144s                   fsc
21      357360s    357375s    16s                     ssd
22      357376s    373759s    16384s     ext4         persist
23      373760s    374783s    1024s                   persistent
24      374784s    393215s    18432s     ext4         persdata
25      393216s    4653055s   4259840s   ext4         system
26      4653056s   5062655s   409600s    ext4         cache
27      5062656s   5206015s   143360s    ext4         hidden
28      5206016s   15269847s  10063832s  ext4         userdata
        15269848s  15269854s  7s         Free Space

Then I removed last 3 partitions and resized /system:
(parted) rm 28
(parted) rm 27
(parted) rm 26
(parted) resizepart 25 3186687

(parted) mkpart physical ext4 3186688 3596287
(parted) name 26 cache

(parted) mkpart physical ext4 3596288 3602431
(parted) name 27 hidden

(parted) mkpart physical ext4 3602432 15269847
(parted) name 28 userdata

(parted) quit

Then you need to sync changes to be able to mount /system again:
sync
blockdev --flushbufs /dev/block/mmcblk0
partprobe

However, nothing is changed.
parted /dev/block/mmcblk0 print free

After mounting partitions in TWRP or after reboot to system the partition sizes remain old.
What am I doing wrong? Has Samsung Galaxy J5 (SM-J500FN) any hardware lock?

I am facing the same issue with a Galaxy S4 Mini GT-i9195. But this link shows it working on the same phone. Not for me though. Even if I remove system and create it again with the desired size, it always comes back the old size after reboot. Are you following any links for the steps you used?

@RegEdit, I gave up. Perhaps, the only way to change partition sizes is to upload PIT file via Odin alongside firmware files. This will probably cause all data lost.

I saw that people have done that, and I pulled my existing PIT so I could change partitions and push it back but I think it's too risky and can brick the device unless you get it right--and I didn't find solid info about how to edit. I think it will work with parted, just that something  is overriding the change at the moment. We have different devices but perhaps the cause is the same. I will post the solution here when I find it! :)

This doesn't directly explain what you are seeing, but you have a missing step, which may possibly be contributing to your partitions getting reset by TWRP or something else.
When you create a partition with parted, and include a partition type such as ext4, that doesn't actually make a file system on your new partition. To do that, you need to exit parted and format the partition using
mkfs.ext4 /dev/block/mmcblk0p26

where 26 is the partition number of your cache, so repeat the same command using p27 and p28 for your other two partitions.
If you don't have mkfs.ext4 there's a zipfile containing it along with parted and other related tools attached to this post in the XDA Developer forum. There are zipfiles for both ARM and ARM64/AARCH builds, so choose whichever zipfile's right for your device.


text:
Repeat music in Chromecast
Found this song and want to play it in a loop through the TV when using Chromecast.
When I'm using YouTube Music before Chromecast, then I'm able to repeat it. Thing is, once I start to Chromecast it, then the button to repeat gets faded

This is a problem because the sound is not as powerful as when on the TV.

This says YouTube loop isn't allowed but with Google Play Music it works //Not tested by me

@beeshyams Google Play Music is no longer available. It became YouTube Music

In that case maybe some other app can do that.. Not sure

@beeshyams just noticed now even YouTube doesn't allow to Chromecast a big playlist that one wants unless it's selected one by one. Making a move for people to use YouTube Music for that purpose instead yet not giving the full functionality even for Pro users

Maybe open an issue in Google support forum? Not that they are likely to act but you never know


text:
How to delete photos/videos on Samsung but make sure they are not deleted on Amazon Photos?
I just backed up all my photos/videos to Amazon Photos but have been reading different blogs that say do not delete your photos from the gallery or it will be deleted from your Amazon Photos. I just bought a new phone. Will the factory reset delete my backup to Amazon Photos?

Can you link the places you saw say they will be deleted?

I don't know for Amazon Photos, but for Google Photos, when you delete the image from within the app, then it will also delete the image in the cloud (because Google Photos is a cloud sync service, not really a cloud backup service). However, if the image has been synced ("backup") but deleted from another app, then it should be fine.

I hardly doubt any backup cloud service would delete your backup files if you delete them in the phone, so I wonder what are those blogs you've come across?
you could do a test, try deleting couple of photos, while keeping it safe, like copying to another folder. Then, you can check amazon photos and see it that photo is still there.
Also, Google Photos (since you already need to have google account for your Samsung phone) is a nice photo/video sync/backup app. You can use more than one app, there are plenty of cloud apps that offer even 1TB free space, and once uploaded, those photos stay there "in the cloud". Just be careful when you want to organize files and folders in the cloud, so you don't end up deleting backed up files that have already been removed from your phone. But I've never heard that backup files are deleted once originals are deleted. It usually deletes photos and videos AFTER you back them up.


text:
Restoring adopted storage key which was forgotten
is it possible to restore adopted storage key which was forgotten? I have rooted android phone, I tried to navigate to /data/misc/vold/ folder with TWRP, but it seems that the key is lost forever?
Thanks

Did you root (unlock the bootloader) after forgetting it? Unlocking the bootloader will usually wipe the system, including the key. See this Q&A (which has been mentioned in your previous question).

Hello, root and unlocking bootloader was done much earlier before SD card was forgotten.

create partition image and try testdisk


text:
Japanese SIM card not connecting to network in US
I have a Samsung Galaxy S8 SM-G950U that I used with Verizon. I moved to Japan and got a Japanese SIM card through SoftBank and used in my Galaxy S8 without a problem. My account has a global roaming service included. I came back to the US with the Japanese SIM card and was told it would work in the US but it is not connecting to a network.
'Settings' > 'Connections' > 'Mobile networks' > 'Data Roaming Access' is on.
'Settings' > 'About phone' > 'Status' > 'SIM card status' shows "Network not available" even though I have 4 bars of signal strength. Also "Not roaming" is shown but I assume I would be roaming since I'm outside of Japan.
I called a support number and they told me to go into "SIM App" to update the SIM card but I cannot find this app or setting. If I search for "SIM App", I get a result in 'Apps' > 'App info' > 'Sim App Dialog' but my only option there is 'Force stop'.
I can connect to wifi but I would like to be able to connect/use mobile data when wifi is not available.

Just using WiFi doesn't require a Cellular plan. You need to be able to connect to a Network, and enable Data. You can use the  Icon to upload a screenshot. What do these screenshots show - blank out private information before uploading.

This might not be an issue with Android, but perhaps you need to have a subscription to Global Roaming Service on SoftBank?

@Rob Thanks for the lead. Manually selecting a network operator was the solution.

I had to go into Settings > Connections > Mobile networks > Network operators and manually select a network.


text:
Purge /data/system/packages.xml from manually deleted packages
I manually deleted around 50 obsolete Trichrome Library packages using rm as explained here.
Of course doing this brutal rm delete thing instead of a more graceful pm uninstall leaves all of the old Trichrome versions entries as leftover in /data/system/packages.xml.
<package name="com.google.android.trichromelibrary_438908633"
    codePath="/data/app/com.google.android.trichromelibrary_438908633-SwvwbO_SyYGt5Xu9yACVFw=="
    nativeLibraryPath="/data/app/com.google.android.trichromelibrary_438908633-SwvwbO_SyYGt5Xu9yACVFw==/lib"
    primaryCpuAbi="armeabi-v7a" secondaryCpuAbi="arm64-v8a" publicFlags="0"
    privateFlags="0" ft="1781fabc898" it="1781fac0a2e" ut="1781fac0a2e"
    version="438908633" userId="10263" installer="com.android.vending">

Is there a way to purge it automatically? Reboot doesn't clean it.
Or can I just edit such xml and remove leftover entries?
[Android 10]

@beeshyams it is there: https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-12.0.0_r1/services/core/java/com/android/server/pm/Settings.java#632. But most probably it also got converted from plain to binary XML (like AndroidManifest was and) as Android did to other XML files on device to reduce parsing overhead. So it needs to be decoded.

it's a file not a folder

Ju Tutt, OK, thanks, but no entries like you mentioned @IrfanLatif it is not coded, I was mistaken in assuming it to be a folder

@beeshyams at least in AOSP code it's coded in ABX format.

I manually edited packages.xml deleting relevant sections from <package name> to </package name> for every obsolete Trichrome package, working fine.
Make sure owner system and permissions rw-rw---- 660 are preserved after edit, then reboot.
For extra safety I first made a backup of the original file and for convenience I edited a copy of the file on a PC using Notepad++, then pushed back on my device.


text:
Background Control in developer options of android 11

There is a background control option in developer options of android 11. I added an secreen shot. Do options must be enabled or disabled for blocking an app. I did not understand. AASAservice is allowed for background now?    Arka Plan Controlü = Background Control

Whatever that service , looking at the screenshot, no, it isn't allowed// you would need to provide a translation of AASAservice

Developer Options / Background Control ( it is down of the background process limit option ) and there are many apps there. Enabling or disabling the options make apps background die. Or what is this option for ?

Possibly duplicate https://android.stackexchange.com/q/62387/131553

I am not asking background process limit, i am asking background control???

@Halilb1978 "Background check" setting in Developer Options controls RUN_IN_BACKGROUND AppOp permission as you do in PMX.

Thanks, which one blockes background. Enabling or disabling the button ???

@Halilb1978 enabling allows RUN_IN_BACKGROUND, disabling disallows RUN_IN_BACKGROUND. The natural way.