text:
Can I switch off the automatic volume-down for the 3.5 jack?
I use the headphone socket to plug my device into the car speakers and listen to podcasts while I'm driving.
The only way this works is if the device's volume level is on full loudness. You can't hear the show through the car's speakers any other way.
Occasionally, something will trigger something and the device will automatically go significantly quieter and you can only barely hear the show.
The only way to get the sound audible again is to dismiss the on-screen dialog and turn the volume back up. I can't do that while I'm driving so until I can stop safely I have to put up with the show continuing to play in a barely understandable whisper and when I can pull over I have to rewind the show to where I was listening. If the show ended in that time I need to download it again.
Is there please a way to turn off whatever is doing that?

Most smartphones have a feature to protect you from listening music too loud via headphones as it can damage your haring ability. Unfortunately the smartphone can not know that you don't use headphones at all. What socket do you use on the car side (line-in or something else)? Are there other possibilities to connect your phone to the car?

@Robert The device only has 3.5 and USB connectors and Bluetooth. The car only has a 3.5 socket.

I am not sure if this ear protection measure can be disabled. The only alternative I see is using an Bluetooth to Audio receiver that is plugged in into your car. I don't know but it is possible that the maximum output volume of those devices vary, so may be there exists so ne such receiver that better fits TK your car regarding the required volume.

@Robert Do you know the name of this feature please? (So I can write about it.)
I daresay if I escalated my complaint, the response would be "No, some numpty with a lawyer will switch it off, forget, damage their hearing and sue us."

What I know is this feature: https://android.stackexchange.com/q/203278/2241 And there seems to be a new feature in Android 14.


text:
What do I do when my Android phone is stuck on a screen saying "select boot mode" but not allowing me to use the volume buttons to select anything?
I have a Cloud Mobile Stratus C7 and the device at first was dead so I plugged it up before powering it on. Once I did, it began showing a screen saying "Select boot mode" with the options recovery mode, fastboot mode, and normal mode. It tells me to use the volume keys to select, but the arrow is moving on its own and the screen keeps turning on and off. I've searched online but nothing seems to be helping. Any advice?

On possible reason would be defect in the module that is responsible for detecting volume and power buttons or the buttons itself are defect and so that they are permanently pressed.

source: Stack Exchange

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

sort: votes


text:
Accessing Recorder app files
On my Pixel 4a, I had a number of recordings on the Google Recorder app. When I tried to enable the backup option, something must have gone wrong, and my recordings disappeared from the list, and didn't get backed up either. However I'm sure they are still technically there on the phone, as when I view the app in settings, it has 100mb+ of "user data".
I've read that they're stored in the /data/data/com.google.android.apps.recorder/files/recordings folder, but I've been unable to access this file a normal file explorer, or via Android studio (it says run-as: package not debuggable). I've also tried using adb backup, but this produced a 1kb file, so I assume this app has the nobackup option in the manifest file.
Is there any way I can get at these files? I know you can if the phone is rooted, but it isn't, and I believe rooting it involves wiping everything?

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


text:
How to know if there are still hidden hidden files after revealing them without root?
I did write hidden twice on the title, that means, there were hidden files, and I managed to reveal all of them or perhaps some of them using Shizuku and FV File Manager and there might be hidden files that are still hidden.
To illustrate what I'm saying, suppose the folder com.A in the directory 0/Android/data/com.A, originally has 3 folders, namely A, B and C. A non-rooted android user of the app could only see the folder A. In fact, they can see the folder B using Shizuku that grants the user to read and write the folder without rooting the device. However, suppose Shizuku only helps them to read B but not C (Please tell me that my assumption is incorrect), now, how can we be 100% sure if there are no hidden files left?
I ask this question, because default file manager on my android that has "See hidden files" can't show the whole hidden files, but turns out the other file manager can. And I'm thinking about some files that were downloaded but I couldn't find them in my data directory. They must be stored somewhere. Also I require some advice without rooting my device if that's even possible. Even if I had to test it on an emulator that has root access, would be fine. Thanks.

Use adb, and execute the command ls -al followed by the name of the directory whose files/directories you want to see. It would show you everything that exists in that directory.


text:
Is there a way to send AT commands to an Android phone?
Is there a way to send AT commands to an Android phone (such as via adb)?


text:
How can I configure uTorrent so that it doesn't stop seeding after the download of a torrent is completed?
By default on Android, μTorrent stops seeding after the download of a torrent is completed. How can I configure μTorrent so that it doesn't stop seeding after the download of a torrent is completed?
I don't want to have to manually unpause each torrent after the download is completed.

It seems like it is currently not possible to configure uTorrent so that it doesn't stop seeding after the download of a torrent is completed. However, Reddit user -Krotik- pointed me to LibreTorrent, which does keep seeding after the download of a torrent is completed. Also, it has no ads and is opensource.


text:
Android Wireless Debugging Runs Under Different Private IP Range than WiFI
Android 13 on Unihertz Jelly Star.  Never had a problem up until today when I was attempting to use scrcpy and got annoyed enough by the constantly changing port number assignment for the Wireless Debugging server to finally try to solve the annoyance.  (I'm referring to the relatively recent change that randomizes the wireless server's port number to somewhere in the range of 30,000-49,999, rather than the long standard 5555.)  Somehow I've caused it to start up under the 10.x.x.x IP range even though my home network is on the 192.168.x.x range, and I can't seem to get it to revert permanently.
I've tried "Reset WiFi, mobile, & BT" options twice now, and the relief it gives is very brief.  I've turned off mobile data to eliminate that potential source of IP assignment. I've been through several reboots, connecting both wirelessly and via USB from the PC, and I just can't keep the ADB server on the home IP range (WiFi itself remains on the expected range).  I suspect it might have something to do with the USB connection, but I can't seem to pin it down.  It's just so bizarre to me.
I only have a cursory understanding of TCP/IPv4 that I learned years before I'd ever even heard of IPv6, and I've been out of the tech field of work ever since (a couple decades now) so I'm at a loss on how to further track the problem down.  Any help to avoid having to reset the phone and set it up again (assuming that would even resolve the issue) would be appreciated!
No root, stock ROM (after one update) - however I am using Shizuku, which gives some root-like abilities to apps programmed to take advantage of it.
The only seemingly acceptable solution I (sort of) found was a reference to "the LADB" fix that didn't actually describe, nor link to it.  A bit more looking around made it clear they likely meant using the LocalADB app's ability to run a command upon startup.  Basically, it seemed they were using it to restart the ADB server, explicitly telling it to use the standard port in the process via the command adb tcpip 5555.
When I first tried using it, adb complained that there were multiple possible devices to target the command to (I'm a bit foggy because I was up late doing this, but I think I tried this both with the USB plugged in as well as not).  I modified the startup command to adb disconnect; adb tcpip 5555 and that seemed to work, but left it in a sort of bootloop where it'd lose the connection (of course) and attempt to reconnect, and then once again run my command string.  I dropped the disconnect part and instead gave it the -e option to refer specifically to the tcpip connection, but effectively got the same result (which makes sense).
Further searching/reading up on it gave me the impression (but again no explicit step-by-step) that this was expected - they weren't looking to use LADB anyway, but instead just using it to accomplish the goal of restarting the server on the correct port.  As such, once the bootloop-like behavior started, they just killed the LADB app.
That seemed to work for me as well, but somewhere along the way of setting things back up after resetting my network connections - WiFI credentials (I've two local networks), USB ADB connection, Shizuku setup, scrcpy, etc. - the Wireless Debugging server goes back to the 10.x.x.x range and nothing I do changes it.
I will try to step-by-step it later today, but haven't the time at the moment.  I was hoping someone with more TCP/IP understanding than I have might point me at the likely problem in the meantime.
N.B.:  Of course, in updating this to include a link to the LADB app, I noticed on the site it mentions being incompatible with Shizuku ATM.  Seems odd to me that this would be the end result of that, but I'm obviously asking here because I'm not an expert.  At the very least, it's an additional avenue of exploration.

What commands did you execute to change the adb port? Is your phone rooted?

I try to be as detailed as I can, so I edited the original question in response since I apparently can't make a long response here.


text:
In Android 12 on my Galaxy S10+, without PC, how to use "toybox"
I know that Android internally uses Toybox as its basics for Linux sh commands. And in Internet I can read about toybox the help doc.
==
Presumably since I do not want to have connection to a computer, there is no possibility in Samsung Galaxy S10+, Android 12, to use ADB.
Am I right?
==
Thus, in my smartphone by itself, how can I invoke toybox and use toybox its shell commands.
This, please, as a general question.
==
Now especially, this I want to do while programming a Button in Total Commander.
E.g. as a first test, I wrote in the Button "toybox --version". This works.
==
Then ongoing I want how to use the sh copy command "cp" (exhausting all options).
==
Then how to use shell variables. In toybox there seems not to exist Parameter Expansion with "$variablename". How is the usage of variables in toybox, thus in Android?
I mean general shell variables, beside the parameters defined for the Buttons, e.g. %P, %T, %M, %N, ...
==
In Internet there is no article about these items.
If needfull, I am willing to learn Java, and have already bought a thick book. Is there a intraductory documentation regarding these itens.
==
For other purposes I use Termux. But Termux has no direct access to the files and variables  as I need in in Total Commander Buttons.
Thanks, Regards

As you wrote toy box is just a set of tools. If you would want it you could use those tools via Termux, then of course with permissions of Termux. So the real problem is not the toy box tools but the permissions you need to do so. Sk you should better edit your question and describe what you are trying to do instead of focusing on tools that won't help you unless you have the correct permissions.

"using toybox" the title seems too broad, but it seems your main question is "How to store and use shell variables in an app that can execute shell commands"? (Not an expert, just trying to scope the question better)


text:
2nd line: timestamp of messages?
I'm using 2nd line as my primary phone number, and I see that messages are sometimes "bunched" together making it impossible to tell even what hour a message was sent.
Is there any means to get the timestamp of (all) 2nd line messages?
Are there any known bugs associated with timestamps of 2nd line messages?

By "2nd line" did you mean this 2ndLine (no space)?


text:
Can an app bypass notification settings in Settings > Notifications > App notifications?
I have a Samsung S21 with Android 14, with Personal and Work profiles.
It keeps issuing (annoying) notification sounds.
I cannot identify which apps are responsible for that, so I cannot customize them.
I will ask several isolated questions so as to not mix-up.
I went to
Settings > Notifications > App notifications > Three dots > Show system apps.
Then I set up all apps in one of the following states:

<Allow notifications: Yes> + <Alerts: Silent>.
Many apps.
<Allow notifications: Yes, but fixed, not selectable by the user> + <Alerts: Silent>.
A few apps.
E.g., Android Setup, Android System.
<Allow notifications: No> + <Alerts: Silent>.
In this case I guess the second setting is irrelevant.
Many apps.
<Allow notifications: No>.
No further settings are provided, with a legend "All notifications from this app are blocked".
A few apps.
E.g., Android Auto, Arts & Culture.
<Allow notifications: Yes> + <Alerts: Allow sound and vibration>.
Meet, Zoom. Teams in Work profile.
<Allow notifications: Yes, but fixed, not selectable by the user> + <Alerts: Allow sound and vibration>.
Call, Call & text on other devices, Call settings, Carrier communications, Clock, Find My Mobile, Phone, Phone calls, Phone services, Wi-Fi Calling, Wireless emergency alerts, .

I guess that only apps set to 5,6 can issue notification sounds.
Is this correct?
Can an app set to 1-4 bypass notification settings?
E.g., WhatsApp or others that have In-app notification setting.
EDIT:
The issue of how to see notification history, which is a separate question (very relevant here) is dealt with in
Notification history does not seem to show all notifications. Is this correct? How to see them all?

Have you checked notification history? https://android.stackexchange.com/q/171570/2241

@Robert - Yes. With strange (and negative) results, see this.


text:
Can an app send notification sounds without a displayed notification?
In connection with
Can an app bypass notification settings in Settings > Notifications > App notifications?
(it makes no sense to copy the body of the OP),
is there any configuration state other than the 6 listed there? (I found no others).
Can an app send notification sounds without a displayed notification?
As per the 6 options above, it seems it can't.

If it can, where is that set, and how can I find which apps can do that?

Probably helpful: How to find/identify the app that creates a sound?


text:
Notification history does not seem to show all notifications. Is this correct? How to see them all?
In connection with
Can an app bypass notification settings in Settings > Notifications > App notifications?
(it makes no sense to copy the body of the OP),
to try identifying the culprit of persistent notification sounds, I went to
Settings > Notifications > Advanced settings > Notification history.
While I was at that menu, I received a notification.
But the history was not updated (I also closed Settings and opened it again, with no changes).
(And while I am writing this question, it happened again).
My conclusion is that
not all notifications are shown in Notification history.
Is this correct?
Is there a method to identify those "stealth" notifications?
Related:

Notification messages from when I turned on the phone. Where are they? (see comments).
Notification messages from when I turned on the phone. Where are they?
https://android.gadgethacks.com/how-to/theres-hidden-notification-history-widget-your-android-0277757/
https://www.lifewire.com/see-the-notification-history-on-android-5093657


text:
Getting anonymous notifications everyday two times
The notification title : test
Notification message : running
I would like to understand whether this notification is from the system or someone trying to hack my phone. Two weeks back I suspect some unknown app so I have deleted a app called "update service" I have attached the screenshot of the notification

What was the name of the app you removed? Do yourself a favour and run anti virus or anti malware app.

Hi. Consider [edit]ing and mentioning the device model and Android version in case the Update Service is a part of the OS.

Also posted on Google Support - Android Help. Not sure if the counter on "I have the same problem" can be trusted or not, but if it's correct, then perhaps it's a genuine but misfired push notification test.

App name was "Update service" Android Version: 13 Device : Realme


text:
i've deleted a msgstore.db.crypt14 file recently and i need to recover it, i've tried many recover tools but they all failed, is there any method?
i tried many recovery software but they only recover some photos and videos or pdf files, is there an powerful recovery software that can recover database files ?, the file is 60MB and i deleted it recently by mistake.

What Android version is installed on the phone? If it is 11 or higher then it uses File Based Encryption which means recovery of files is next to impossible even if you would have root access.


text:
Tracing a lost tablet in the house with WiFi on
I have a Samsung tablet with no SIM. The tablet works with our domestic internet connection.   I live in a pretty cluttered house and periodically I misplace the tablet.
Does anyone know of a way of activating the tablet from another computer (on the same network) so as to make it buzz?
This would be so helpful!  Look forward to hearing from somebody.

You can use Google Find My
If it's a Samsung, you can use SmartThings find

Thank you Nicolas. I checked out SmartThings find and I do not think it will actually help too much. It would be ideal for tracing in the world at large; its location definition is within 400 feet apparently. However I am seeking to find a tablet in an house with 5000plus books; and which, I am afraid to say, is quite untidy! If I could somehow make the tablet make a buzzing noise then I am sure this would help.

But thanks for the suggestion. Regards. Shackec

@shackec I see there's a "Ring" button on SmartThings find. Have you tried it?

Thanks Andrew, the issue at the moment is that the tablet is somewhere in the house and we cannot find it. Once found I think I will install Smartthings and give it a test. The tablet does not have a SIM so will it have a ring? I do know that it has a buzz of some sort; cannot remember what triggered that!

I have the same problem with my wife. I  ended up installing a beacon in each room. I have written an app that tells a server where it was last seen.
In your case I would recommend a tile. Glue it to the tablet. With your phone, you can make the tile scream. It is a pretty piercing noise.

Thanks Rohiy.  If and when I find the tablet I think a tile might well be the answer. In any event some useful tips which will be useful for the future (once I find the darn thing!)


text:
How to reduce GSI .img file size to flash in system partition?
I want to install a GSI to Huawei P10, but it does not accept big files to flash in the system partition: ProjectElixir_4.0_arm64_bgN-14.0-20240108-1305-OFFICIAL.
When I try to flash it via fastboot, I get:
FAILED (remote: 'sparse flash write failure')
How to reduce the .img of the GSI?

How do you know the problem is the gsi size? The error just mentions a write error.

when i try to flash it from twrp i get an error saying that the size is big. (i don't remember the correct error message now).

The may be it would be a good idea to include the full output into your question.


text:
Linked contacts
If one of my contacts changes their number, and I am unaware, and somebody else got that number as their new number, would it link the new person to that number in my contacts automatically

What app are you talking about? The telephone or contacts app or a third party messenger like WhatsApp? Telephony and contacts app will not do anything. A phone number in a contact is a phone number. Unless you change the number or add a new contact, even a phone number that has changed years ago will stay the same in your contact list. Nothing will be added, nothing deleted unless you do it.

The answer is yes. The phone number is the unique key.  There is no way for the phone to know otherwise.
It is different in an app like WhatsApp. Even though the link is by phone number, the number can be changed by the owner of that account.

Supporting documentary references of any kind that you could provide?


text:
Apps not auto starting on Nokia G42 5G
I've been using the Synology Drive app to sync folders between several PC's and Android phones. I recently got a new Nokia G42 5G (Android 14), which needs the same folders syncing. However, on the Nokia, the Synology Drive app would be flaky with syncing, having to manually open the app and run the sync tasks, which should run automatically. I got fed up with this and moved to Syncthing instead, only to find it has the same problem.
Syncthing has an option to 'start service automatically on boot', which the Nokia simply ignores. Opening the Syncthing app manually immediately causes the sync tasks to run. I can't see any power settings on the Nokia that might be preventing the app from running. I've also tried a third-party app 'Boot Apps' to run Syncthing on startup, which hasn't worked.
This does not occur on my Samsung A22 5G. Both of these apps run happily in the background and I never have to touch anything.
I've come to the conclusion that 'auto start' is broken on the Nokia, it would explain why both Synology Drive and Syncthing don't work without manual intervention. Any ideas as to why the Nokia is unable to start apps at startup?

The A22 is not running Android 14, or am I wrong? If it runs a different Android version that may be the important difference. May be the two mentioned apps are not yet fully Android 14 compatible.

The A22 is running Android 13... Hadn't really clocked that was different, or that it would matter. I'll look into whether Syncthing has issues on Android 14, but I doubt it - I think I would have come across that in my searches. I'll take a look.

I couldn't find any new restriction about auto-start on Android 14. For debugging, have you tried opening other apps using the "auto start" app? Otherwise, you may try general automation apps (disclosure: I wrote the answer).


text:
How to use a small balance in Google Play store
I need to change the country of my Google account. However, since there is less than a Euro on my balance I cannot to do so unless I make my Google balance zero.
I cannot split a payment between my credit card and the Google balance. I also cannot add a custom amount to my balance to buy a service.
Does anybody have a solution?

Just be aware that you can only change the country once a year (unless that policy has changed recently).  So, the question is, WHY do you want to change the country?  What problem are you trying to solve?

Good point! I cannot use the food delivery apps in the current country. However, you are right if someone has to move to another place sooner than one year it is going to be problematic.

I don't know how to get your balance directly to zero, but do you know that Amazon allows to buy Google vouchers at any value you want?
You can simply enter the amount of euro and cent so if you want to buy something you could load the missing amount and then buy it. Afterwards the balance would be zero.


text:
How can I fix a broken os?
I don't actually know if it's a broken OS, but, when I try to turn it on, the Motorola logo keeps flashing (the device is an Motorola G6). But it never actually turns on.

When you press vol down though, it goes into a black screen that says AP fastboot flash mode (secure).

I've tried going into recovery mode, but anything other than the barcodes gets it back into the loop.

lsusb doesn't detect the phone when plugged in

Battery didn't charge past 3% when the phone worked

Did you do anything special before you phone refused to boot? Did the device ran out of free flash storage? I don't think the OS is damaged, in case the OS partition was altered there would be an error message like "vbmeta image verification failed". Android does not contain tools to recover such a situation. The common way is to perform a factory reset.

Not really, it wouldn't charge past 3% tho, but I don't think it has anything to do with that. And it had been factory rested before that happened, so I don't think it was a memory problem. Also, I can't really factory reset it now, since I'd need to go in recovery mode to do that, and I can't.

Then may be the flash memory has reached it's end of life.

How would I know?

Also, when I plug the phone in, on the fastboot screen, it doesn't appear on the my PC, like at all, even when I run "lsusb" or "adb devices"

Adb doesn't work in fastboot mode. But at least lsusb should see something if you compare the output before and after connecting your phone via USB to the PC.

It doesn't tho, that's why I'm so clueless. And no, it's not the cable


text:
Change SMS service center (SMSC) number via adb?
How do I change the SMS service center (SMSC) number, preferably from the commandline, using adb (service call?)?


text:
WhatsApp passkey - On device encryption locked
I was trying to enable the passkey feature but I get an error message that says that the encrypted data on this device is locked. I'm not sure what it means, I have read that usually the password manager has this issue but I'm able to access without issues.

Duplicate, but not answered yet: Unable to register new passkeys for Android 13 with error message "Your encrypted data is locked on this device".


text:
"Laser" Android 7-inch tablet connects to the internet without WiFi access to router
I have a "Laser" 7-inch Android Go tablet, model # MID-789.  I do not normally use it for internet work, but it is useful as a 2FA device, for which I usually wake up the WiFi and use my router for the connection.
Some weeks ago I lit it up and without thinking I touched the Okta icon and did my business.  Shutting it down, I realised I had not used the WiFi at all.  I tested this deliberately this morning, same result.  The tablet will even look for updates regardless of the WiFi status.  (There aren't any, it's that basic.)
I have searched through the Settings, very thoroughly indeed, but I cannot see anything that looks or even smells like connectivity.  It did occur to me that maybe there's a 4/5G sitting in there, but definitely there is no SIM or similar device.  So what gives?  Do all tablets have this magical ability?

Based on your description I don't see the point why you think the device had some sort of network connection. May be this is related to Okta - whatever that is. In case of third party apps please always include a link to the app in an app store.

@Robert - Okta is a 2FA verification app, at < https://play.google.com/store/apps/details?id=com.okta.android.mobile.oktamobile >.  I fail to see how an app can manifest a wireless communication channel.  If WiFi is off so my router can't see the tablet, then how does the tablet manage to communicate with Okta?  That's all I'm asking.

I am not sure how Okta works, but for generating a TOPT codes 2FA apps don't need internet access. They simply generate it based on the current time. So if the shown 2FA code(s) change periodically (e.g. every minute) then most likely it is a TOTP code.

Welp. Problem resolved.  The Okta app is the digital version of your bank's security key: the one you press the button and it gives you a sequence to type into your banking app. NO CONNECTIVITY NEEDED. This is a saga of poor design:

Okta's GUI is uninformative, although it doesn't actually SAY it doesn't need to be connected;

The Google Search Bar which auto-loads at start-up doesn't help as it continuously cycles through search suggestions, and this already had me wondering;

There is a backgound pervasive assumption that the user will always be connected so the need to remind the user is never asserted; and

I blindly assumed I needed to be connected.

The Laser tablet only cost me Au$70.00 in 2021, so I don't expect much from it. But given that Okta is a major player I did expect MUCH better GUIdance.
Thank you everyone for your words of wisdom.

Connectivity does not happen by magic. The most plausible answer is that your Wi-Fi was not as turned off as you thought.
To test this, power down your Wi-Fi hub, and then see if you have connectivity. If you do, check if you're mistakenly using a neighbour's Wi-Fi.

When I go to "Settings>Network&Internet>WiFi" and WiFi is greyed, "Off" in text and the switch icon is greyed, then WiFi is very definitely no enabled.  FWIW, Bluetooth is also disabled.  I did run a test of my router.  The GUI shows a list of connected devices, which in normal circumstances would be my PC and a telephony ATA for VOIP.  My Laser tablet would have shown up as a device had it been detected.  I know this because I have seen it previously several times dating from when I first set it up.  It would also have been visible in the DHCP routing list.

Your suggestion about mistakenly using a neighbour's WiFi is quite rational.  I have seen several networks listed as "unsecured", and I always wonder why anyone would be so careless.  But if the tablet's WiFi is OFF, then how can it make any connection?

@SomeBloke: When you seem to have something impossible happening in the real world, then one (or more) of the pieces of information you're using is wrong. You seem to be in that situation, so it's time to suspect the information you are using. If you have connectivity when the tablet says its wi-fi is off, try powering down your wi-fi hub, and see if you still have it. If you do, take the tablet three miles away, and see if you still have it.


text:
Cursor keeps jumping to the top of the email in Outlook 365 online on mobile devices
In Outlook 365 through web browsers, if I pause typing an email for a moment, the cursor will jump to the top of the email in front of the salutation. This has been happening for years every time. Not just a pause, but also every few words in the middle of typing. Every few words, I must constantly keep moving the cursor back to where I left off typing and delete the words or half a word that were relocated to before the salutation.
It's unbearable and unusable. I tried multiple phones, browsers from Chrome to others, and even multiple tablets all have the same problem.
How do I stop the cursor from changing position in Outlook on Android mobile devices?


text:
T-Mobile REVVL 4+ Android phone constantly bleeping. Took phone out of wallet case & noise stopped. Think magnets?
T-Mobile REVVL 4+ Android. Constantly bleeping start-up sound. Notifications turned off. Took the phone out of the wallet case & bleeping noise stopped.
Does anyone else have wallet magnets that cause their phone to make constant noise? Anything to do to the demagnetize problem so I can use the wallet for my phone?

I'm not sure about the magnet (unless the device supports a smart case), but probably the NFC feature detecting contactless cards in the wallet?

What magnets have you got in your wallet?

As mentioned in the comment, its almost definitely detecting the credit/debit cards.
To stop it, turn off the NFC.

Swipe the status bar down
Scroll until you spot NFC.
Press into turn it off.

If this solves it, then here are some solutions.

Leave NFC off
Put the phone in the other pocket
Separate the phone from the cards with a metallic (slightly magnetic) film.
The NFC detector is at the top of the phone, rotate the phone to increase the distance from the cards.


text:
Booting into TWRP temporarily - A Couple of Queries
I'd like to know the following on booting & flashing custom recovery on my
bootloader unlocked Huawei P9 EVA-L09:

if i boot (not flash) into TWRP temporarily, and check it out if it works, will it not change the stock recovery? (i need the stock recovery for now).

if i manage to boot (again, not flash) an incompatible version of TWRP, will that be an issue or can i just restart the device and it will retain and will be able to boot into stock recovery as normal?

my last query would be, if a version of TWRP works on my device after I've tested it through booting it, is it guaranteed to work once its successfully flashed?

thanks!


text:
Does Android OS impose an SMS sending limit?
Is there an SMS sending limit? I have sent SMSs totaling >30,000 characters within 24 hours and am no longer able to send any SMSs (though I can receive them). Is my SMSC blocking me, or is the Android OS limiting how many SMSs I can send? If the latter is the case, how do I reset or increasing the SMS sending limit using adb (service call?)?

Related: Pop up message when sending large amounts of SMS messages

Yes, there is. From

Lynch, Doug. “How to Change the SMS Limit on Android Without Root.” XDA Developers, August 27, 2017:

by default, Android will check to make sure you haven't sent more than 30 SMS messages to anyone within a span of 30 minutes.

How to Change Android's SMS Limit

Set up ADB as outlined in this previous tutorial.

Enter an ADB shell by sending the following command in the command prompt or terminal window: adb shell

Then run the following command in the ADB shell to change the max SMS limit option: settings put global sms_outgoing_check_max_count 5

So in this example, I am actually reducing the number so Android warns me if I have sent more than 5 SMS messages within 30 minutes.
Change "5" to whatever number you want.

Next, you can run the following command to also change the time frame: settings put global sms_outgoing_check_interval_ms 9000000

And with this command I am reducing the time frame for this check from 30 minutes, to 15 minutes (this value is in milliseconds). You
can choose any integer value here for the time frame, just make sure
it's something sensible.


text:
Is a standalone periodic email checker app feasible?
I bought my first smartphone in 2012. I had one motivation for doing so: my clients, instead of ringing me, were increasingly emailing me. I had to have a computer "to go" to respond in a timely manner.
But a flaw emerged as I got to grips with my first Samsung: although I had configured a bleep to be sounded every time an email arrived in my Gmail inbox, this, er, didn't always happen.
At that time, I think, I probably assumed that this was a small thing which was associated with the teething troubles of a spanking new technology, and would quickly be ironed out.
That did not happen. 12 years later and no improvement. It is simply unbelievable.
I have spent many, many hours viewing forums about the notification problem and struggling to try anything and everything, repeatedly. Often finding that supposedly available options etc. didn't in fact exist on my phone. The defect is still there.
I almost said "the Samsung notification problem". Indeed I almost also said "the Android notification problem". Recently I have even contemplated the unthinkable, i.e. going over to the Other Side. But when I googled things, I found that (reportedly) various models of iPhone in reality seem to suffer the same thing.
A few days ago it occurred to me: is there an app for Android which has one single function? Every 5 minutes, it looks at the Gmail inbox for a given account, and if an unread message is present it makes a bleep. How hard can that be?
I searched for such an app at PlayStore. I didn't find one. Which doesn't mean one doesn't exist. If someone knows of such a thing, please enlighten me.
Therefore my question is: is it feasible to create such an app? I have never tried to create an Android app, but there's always a first time.
Does anyone know whether emails arriving in a Gmail inbox are detectable by the phone pretty much immediately? My understanding to date has been that this giant intermittent defect happens despite the fact that a new email has already arrived in the phone. Maybe that's not always the case. But certainly there have been MANY MANY times over the past 12 years when I have glimpsed down at my phone to find, yes, an email has arrived in the Gmail app ... but my ****ing phone never bleeped me a notification. The app I imagine would at least put an end to that source of fury.
This is no joke for me. It hasn't been for years. With my line of work, my clients will tend to contact other people if they don't get a response within 30 minutes or an hour. I have lost 000s of £/€/$ over the past 12 years due to this unfathomably frustrating nonsense.

Notifications may not be received in real-time because of battery saving measures. Especially Samsung phones are known for their very aggressive battery saving features.

Thanks. Yes, this is a theme I've heard many times over the past 12 years and have followed many MANY suggestions about what to do about it. With no solution. I'm obviously asking a specific question about polling/probing the Gmail app every 5 minutes.

I am using fairmail on my phone. Its very versatile and has many options for notification. It always beeps when an email arrives. And I get 100s of emails a day.
I am not associated with it. I have multiple accounts and it can handle them separately or all in, and still answer from the account it was received on.
I am sure there are other email clients that will also work.

Thanks. I've installed this and it looks like it's well designed. With the Gmail app you have (via Settings) a way of saying "this particular account should cause a bleep when a notification happens (i.e. when an email arrives in the Inbox)". I can't see this with this app. I only want a bleep to happen with ONE of my gmail accounts (the address I give to my clients). Anyway I'll see what happens!

Actually I've only configured it for that one Gmail account. I see some options for notifications are greyed-out and marked "pro feature". Which is fair enough. You seem to be quite a techy ... do you know how it works behind the scenes? Is it still relying on push notification or is it using some other mechanism?


text:
I have a rooted Android 14 - I want to share its VPN connection with a printer
I originally thought what I am trying to do is extremely simple, but for the past few hours, I discovered it really isn't.
I have a rooted Pixel 7 running Android 14 in a remote storage unit. In that same storage unit, there is a printer with a camera that can only be connected to using LAN. My goal is to be able to connect to the printer and watch the feed from my computer at home.
I have an Asus RT-AX82U router that can be used as a PPTP\OpenVPN\IPSec\WireGuard server.
I thought - great - I will just set my router as an OpenVPN server, connect to that server from my Pixel, share the Pixel connection with the printer, and connect my PC to the same VPN.
But unfortunately, I couldn't get the printer to get the VPN connection - it was just getting the regular LTE connection.
What did I do wrong?


text:
How to put a pop up drawing pad dialog in an e-book and editable using a PDF reader?
Many e-book readers I've tried to download have a feature i.e. taking notes in a pop-up dialog that you can fill out with text only and also edit the pdf so it can be drawable. I wonder if I could make a note, but not as a text, but as a draw and simply put it in a small icon that could pop up when it's tapped.
So, imagine I have a math E-book, and I want to do some exercises on my tablet using an e-book reader. Typing my answers is nearly impossible since math requires many forms of symbols and sort, so, it would be really cool if I could put a pop up icon, when it's tapped it would appear as a drawing pad to write all the answer using my stylus (pure handwriting).
This is the icon that I expect to put that tappable

And this is what happens when I tap the icon

However the android app above i.e. Adobe Acrobat doesn't have such a feature for drawing pad in the icon. It's only able to put a text in it. I wonder if that's possible. Mayhap a 3rd party app? Do you have any idea what app I could do or what I should do? Thanks.


text:
After deleting user 0's locksettings.db, user 10 (Island work profile) failed to decrypt in TWRP
My Pixel 5 running Android 11, encountered a frozen screen when attempting to set the screen lock to none.

After the system auto reboots, the device prompts for unlocking the screen pattern. Even entering the correct pattern, the work profile consistently prompts for unlocking,

The issue seems from using One Lock to secure the device but not removing the screen lock pattern successfully.

Following a guide to delete locksetting files allowed successful access to the device. However, the work profile prevents the opening of apps.
Rebooting to TWRP (3.7.0_11-0) seems user 10's data is encrypted.
Also following How to decrypt Island / Work profile and Parallel Apps user in TWRP?, the same, does not solve the issue.
Any solution to decrypt the work profile data without format?
Edit:
According to the using-adb-to-change-the-screen-lock
I also attempted to remove the screen lock using ADB.
adb shell
locksettings clear --old MY_PASSWORD --user 0
locksettings clear --old MY_PASSWORD --user 10
locksettings verify --user 0
locksettings verify --user 10

both show Lock credential verified successfully
after rebooting to TWRP, user 10 still failed to decrypt

with the "One Lock" feature you have probably successfully merged the locksettings of both profiles - then deleted locksettings

Thanks for your response,
but in TWRP, I'm still unable to decrypt the data partition in user 10.
Even when using "twrp decrypt my_pattern_password 10"
or "twrp decrypt default_password 10" in twrp terminal
it continues to show 'Failed to decrypt user 10.

It seems that after successfully locking my device, it fails to generate the password.key or pattern.key in data/system. However, the screen is still locked. Perhaps this is the reason why TWRP can't decrypt it, and the device is frozen and reboots.


text:
Can I Install the Newer Samsung DeX Version on a Galaxy Note 8 SM-N950F?
I own a Samsung Galaxy Note 8 (SM-N950F) and am interested in utilizing Samsung DeX to connect my phone to a Windows PC via USB-C, leveraging the newer DeX features that allow for a more integrated experience compared to the original DeX Docking Station. I understand that the newer generation of DeX offers additional functionalities, and I'm keen on exploring how I can benefit from these on my device.
After conducting some research, I found that the following packages are essential for DeX functionality, and most of them are already installed on my phone:

com.sec.android.desktopmode.uiservice
com.samsung.desktopsystemui
com.sec.android.app.desktoplauncher
com.sec.android.app.dexonpc

The last package (com.sec.android.app.dexonpc) appears to be what I need to enable the newer DeX features. I attempted to install it using an APK from APKMirror through adb install <path\to\file>.apk, but encountered the error:
Performing Streamed Install
adb: failed to install <file>.apk: Failure [-3001]

As mentioned in a Stack Overflow comment, I've also tried several commands to address installation issues, but none have succeeded.
My questions are:

Is installing the newer version of Samsung DeX on a Galaxy Note 8 feasible, or is this endeavor a dead end due to hardware/software limitations?
How safe is it to download and install APKs from third-party websites like APKMirror or APKCombo for this purpose?

I appreciate any insights or experiences you can share regarding upgrading DeX on older Samsung devices.

My guess is that the DeX components are system apps and this can not be installed by a user without root permissions. regarding the trustworthy of APKs from third party sites: if you have a known original app from the manufacturer (in this case Samsung)  you can extract the APK form your device and check if it uses the same signer certificate hash as the one you have downloaded from the third party site. How to get the signer certificate hash is described e.g. in my answer here.

Thank @Robert , for the comment. What do you think about the Hades Rom? This comment says that the newer DeX should work.

Sorry, never heard before of "Hades Rom". Just like any other custom ROM it may work or not or something in between.


text:
How to disable Google Chrome request to install website app?
This message is quite new. I get it when I visit reddit.com but also developer.android.com and other sites.
It only comes once so when you visit one of the sites I named perhaps you won't see this message.
It is not simply an HTML message because you can see it overlaps the address bar.
When I clicked install it installed an app which cannot be found on the Play Store.
How to disable this message for all sites?


text:
HTML does not find local links and local images (Chrome on Android 10)
I am using a tablet (Lenovo M10 FHD Plus) which works under Android 10.
According to Local files revisited: Opening local HTML files (file:///path/to/file) in Chrome on Android 10.x, in order to use local URLs in HTML, I put my documents in the folder:
Files > Internal Storage > Android > data > com.android.chrome > files > Download
Inside my "index.html" file I use:
          ...href="a1.html"...

          ...src="smily.gif"...

The HTML files "index.html" and "a1.html" as well as the image "smily.gif" are located in my tablet inside the above-mentioned folder.
When I click on the file "index.html" and select Chrome, the file is correctly opened by Chrome... but the "smily.gif" image is not displayed (I get instead the alt="This is a smily" text).
Furthermore, when I click there on the link (local URL) to open the document "a1.html" Chrome does NOT find it, and displays instead an empty page with the following error message:

Your file couldn't be accessed
It may have been moved, edited, or deleted.
ERR_FILE_NOT_FOUND

Needless to say, the above HTML samples work perfectly on my Windows 10 computer (including local links and images)!
My questions are:

Where should I put my files "index.html", "a1.html" and "smily.gif" (if the above-mentioned folder is wrong)?
If href="a1.html" and src="smily.gif" does not work in Android, how should I refer to local files in href= and src=?
Can the instruction: base href="___" help us here, in case the answer to point (2) requires long file paths?

Thanks a lot for your kind help!

You could try absolute links, data links or the external storage as location. However this is a programming question and has to be asked on SO.

There are a few questions about the same issue, though not answered yet: Hyperlink in HTML do not open (video) file locally W/O internet, Can't view pics/vids when opening an HTML

First, it is not true that all files are accessible on Windows-10 and browser.
This is for security  On Windows, you need something like IIS or Apache running.  I expect its the same on Android.

Thank you for your answer!  In Windows 10, if you put all the HTML and GIF files in the same local folder, and refer to them using local URLs like ...href="a1.html"..., ...src="smily.gif"... etc., then Chrome successfully follows the links and displays correctly the intended documents and images. I am trying to transfer the very same HTML and GIF files to a local folder on my Android 10 tablet, but so far in vain (Chrome does not find the other HTML and GIF files that are located in the same folder). If the security issues are solved in Windows, why can't they be solved in Android, too? Thanks


text:
Any way to root vivo Y33s?
I want to root my vivo Y33s. Here's what I tried: Unlock the bootloader (all commands like fastboot oem unlock are not recognisable) with fastboot boot directly from .img file:
downloading 'boot.img'...
OKAY [  3.494s]
booting...
FAILED (remote: unknown command)

How else I can root with Magisk?

Your phone seems to have a Mediathek CPU/SoC. Mediathek devices have a fastboot mode but it does not provide common functionality. There are special Windows based flashing tools available for MediaTek based devices.

try this binary How can I unlock/root the Vivo Z1?

tried all this vivo fastboot etc

Well, rooting a phone means wiping all data, but I guess you already backed up all data.
Anyways, according to Rootmeguide, first up you need to unlock the Bootloader on the phone. You might have did that, but I wrote it in case you didn't.
After that, you need to patch an boot image file using Magisk.
After that, rename majisk_patched..img to boot.img.
After copying the boot image file to a PC, you need to flash it.You need to open the "ADB" folder, and type "cmd" in the adress bar.The connect the phone, and type "fastboot devices" in the prompt, and hit enter.
After that, type "adb reboot bootloader". That command will boot the phone into the fastboot mode.
Then, depending on your partition system, you need to type another command.
For an A/B partition system, you need to type "fastboot flash boot boot.img"
For Non-A/B partition system, you need to type "fastboot flash boot_a patched_boot.img" and "fastboot flash boot_b patched_boot.img".
Then, type "fastboot reboot", which reboots your phone, and then you have succesfully rooted your phone!

Hi. Did you use an LLM to assist in writing this answer post? Please see our policy on that here: https://meta.stackexchange.com/help/ai-policy.

Bootloader isnt unblocked, so i cant flash it

Sorry, now I saw your Comment. To unlock the bootloader,according to GetDroidTips. you need to type the command "fastboot bbk Vivo_bsp unlock_Vivo".

and i said this also, none of commands like vivo_unlock, vivo_fastboot, bbk unlock not working


text:
How to change typing layout for physical keyboard on android tablet?
I got a QWERTZ keyboard made by Samsung for my Samsung Galaxy tablet because literally I couldn't buy anything else and was lucky to even find this one.
I prefer QWERTY, so I'm wondering how I can switch the keys in android? I can physically swap the keys, but I don't want it to use a QWERTZ layout.
How can I make my physical android QWERTZ keyboard function as a QWERTY keyboard on my samsung Galaxy tablet?

The finer details may differ between OEM's and models, but generally speaking you can use ADB to find and directly modify your device's .kl file.  Note that without root, the changes may or may not persist across device reboot (though you can somewhat improve QoL by using a PC script to automate the process, etc); if you do have root, you would need to flash the system partition with the modifications.
Generally speaking, the default keyboard layout file would be qwerty.kl and is typically located at /system/usr/keylayout/qwerty.kl.  For specifics, you can refer to this resource; and here's a backup copy for link retention.

I have root, but I canceled the order of the keyboard.

External Keyboard Helper app will enable remapping of your physical keyboard to QWERTY without rooting.

Your answer can be improved by providing a link to this app.  Thanks!


text:
Driving mode media tray missing
I have a Pixel 8 Pro with Android 14; for years I have used my Android phones for car navigation. Like many, I like to use my phone to listen to Pandora, Spotify, podcast players etc. While in Driving Mode, there is... or was a tray at the bottom of the screen I could click to view all of the available media providers (everything presented with giant buttons to reduce driving distraction), select the one I wanted to use, and select from the selected provider which music channel, podcast, etc. I wanted to listen to.
Recently this tray has simply disappeared and for the life of me I can't figure out what happened or how to get it back again. I've searched through system settings and driving mode settings and if there is anything related to this behavior I haven't been able to find it. I also tried clearing the cache of some apps and many system services, but this has not fixed the issue.
Wondering if anyone has an idea what is going on and how to restore this UI element to driving mode.

Just making sure you didn't install Google Gemini as If you opt in to the Gemini app, it will replace your Google Assistant as the primary assistant on the phone. You can switch back to Google Assistant in settings. from the Google Play Store entry for Google Gemini

Are you using Android Auto or some other app?

@RohitGupta Android Auto was deprecated by Google and replaced by Driving Mode. I am not using any replacement for Driving Mode.

@MorrisonChang I uninstalled Gemini then checked Google Assistant settings; this did not fix the problem.

The problem is with the Google app. According to a thread on the Android Auto community, you can get the media tray back by downgrading the Google app to version 14.39, and the problem will be fixed.Now, to downgrade an app, according to How To Geek, You can downgrade most Android apps by going to Settings > Apps > Manage Apps and choosing to “Uninstall Updates” for a particular app, but this will also log out and remove all your app data.  To downgrade an app and keep your data, set up Android Debug Bridge and sideload an app using the APK file for the version you want.  Finally, avoid unwanted updates in the Play Store by going to Settings > Network Preferences > Auto-Update Apps and selecing “Don’t Auto-Update Apps.”

The issue is not that Driving Mode is not active, the issue is that while Driving Mode is active, the media tray is missing.


text:
Workaround for "Hey Google" not playing a chime
When I say "Hey google", I no longer hear a chime (since some recent-ish update). Lots of places online suggest to turn on the Switch Access accessibility feature, which would supposedly fix the bug (supposing it's a bug). But my Moto G62 5G doesn't have the "Switch Access" feature.
Then I had the idea to use a macro app such as MacroDroid to intercept the "Hey Google" and react with a chime, but I didn't find that sort of trigger - neither in MacroDroid nor in Tasker.
Any ideas? :)

Switch Access accessibility app can be downloaded from Play Store, though I'm curious if it's the solution. If it is, then feel free to post an answer :)

@AndrewT. Thanks! I installed that, but it didn't fix my "missing chime" problem unfortunately.


text:
Forced account creation when using the Radio France Android app
Recently the Radio France Android app started to force users to create an account to subscribe to podcasts and to hear podcasts when offline. The user account is not technically necessary. Is there a way around this forced account creation?

Hello Stéphane. I have locked both the question and the answer post for now -- rollback and editing are not allowed. Our site policy requires usage of English language. Our site users don't possess the ability to evaluate correctness and usefulness of the text written in a non-English language. As a result, text written in other languages is subjected to removal. You could discuss this issue on our site's [meta] if you disagree with my actions here.

Thanks for the hint about the usage of English language, I found a question about this topic here: https://android.meta.stackexchange.com/questions/862

To use the Radio France Android application without an account, follow the following steps:

Uninstall the  existing application (in case it was installed before).
Download and install version 8.35.2 of the application from APKPure.
Launch  the application and subscribe for at least one podcast.
Update the application to the current version from Google Play.

You can ignore the account creation request as long as at least one podcast is subscribed in your library.
Installing applications from third-party sources involves risks, only do it if you know what your are doing!


text:
Cloning a Xiaomi Note 10s
I had been assaulted twice in the last 6 months, looked into the barrel of pistols and had a guy wielding a knife in front of me. Their goal was to take my phone off me. I had more money in my pocket than they would have gotten from selling the phone off. And I noticed without this phone I am completely screwed. All my banking and security stuff is all depending on this phone. If gone, I don't know if I could restart my online life. So I get myself into danger of real-world life, which is fine, but I need a real backup plan.
So I figured replication is the key. I would like to create an exact clone of this phone, with the exact same make and model (to make it easier). With computers, I can just clone the disk an everything works usually. But is there a way to do that with an android phone? I am not talking about a "backup" where then you need to "restore" some of the apps will appear but totally blank. I need a clone of a phone that hits the ground running!
There must be a way to do this, because it really is so important to living online life these days.
EDIT: I am thinking the most straight forward way I could see is if I would root the phone (or get a pair of phones that I can fully root), and then as root I dd the contents of the disk (as raw as it gets) and push it though dd if=/dev/physical-disk | rsh ... or so over to a computer, then on the other side I do rsh ... |dd of=/dev/physical-disk. I don't need rsh or ssh exactly as long as I have something that can push to the network (e.g. netcat). People say this can't work, but why if I can be root on the phone and it is a Linux system should I not be able to dd if and of to the raw disk?

Possible dupe: Would it be theoretically possible to do a block-level backup of /dev/media without root? (also, read the whole comments on the question and answer)

For security reasons most banking apps are bound to the device in a cryptographical manner. That means cloning is not possible, even if you would get access to all files of those apps. If you want to have a "clone" in place you can set-up the second phone by using the migration assistant but that will on a lot of apps only copy the empty app. The configuration of the apps is hen up to you.

Does this answer your question? Would it be theoretically possible to do a block-level backup of /dev/media without root?

Android is not the only OS running, there is also RTOS and TEE OS and RPMB replay protected storage, not accessable in userland. cloned android partitions are useless because encryption is hardware-backed (and btw android is no linux system, it's a java framework)

It is not possible.  It is not even possible to transfer everything to your new phone when changing phones.  But your idea is good, I have thought about it too.  The best you can do is

Get another phone, preferably similar model and capability
Install the same apps on it.
You can copy contacts over if you you assign them to your google account.  You can do this assigning via something like MyPhoneExplorer.
Weekly, copy over message etc to the other phone.  Again MyPhoneExplorer will do this by copying them to Windows first.  You wont be able to copy everything, but have a go
You may be able to copy over whatsapp content if you backup on your first phone, swap the sim and restore on the 2nd phone.  You may be able to do thsi for other apps as well.  Again, do it weekly.

Note, I am not associated with MyPhoneExplorer.


text:
Cause for audio disturbances in bluetooth connection
Having connected my blaupunkt car radio to my android smartphone via bluetooth(connection established signs on both devices) instead of played audio, I currently get the very noise you see here. Note the frequencies and that its volume goes in and out.

Sometimes for a short period of time, audio comes through, to then be replaced by those noises again.
What is the likely cause?
Here's an amplified version:

Are these diagrams showing the audio signal or the Bluetooth frequencies? Have you tried other Bluetooth devices to determine if the problem is caused by the car radio or the Android phone? What Bluetooth audio codec is used (you should be able to see only one entry in the BT audio codec list in developer option on Android).

The audio signal.

Please answer the rest of the questions.  More information is required.  How far is the phone from radio?  Is Bluetooth built into the radio or are you using a dongle?  Does another phone work with it? How did you measure this noise?


text:
Use built-in mic instead of earphone mic on call
I have very cheap earphones that have a terrible microphone. My phone's built-in microphone is better. How can I make it so that WhatsApp calls (or regular calls) use my phone's mic, instead of my earphones mic?
I tried looking around, and got pointed to apps such as soundabout, which do not exist anymore.
I'm using OnePlus 7 Pro, Android 12, Oxygen OS 12.1

According to an answer on Quora, you can use Lesser Audio Switch (play store) . Plug in earphones -> Go to the settings of this app -> enable switch microphone ->tap the mic icon in front of speaker icon ->select ‘internal microphone’.


text:
`adb shell mv` moves files but app doesn't work anymore, while it works if I move the same files via file manager
I try to move account-related files/directories of an app (for account changing purposes) via adb shell mv. Moving the files works great, but the app hangs while loading/login.
If I move the files manually via files manager, there is no problem at all (I move the files from /data/data/com.example.app to sdcard and move the same files from another account back to the app folder) -> everything works fine, the app is loading, the account is logged in and changing accounts works without any problem.
If I move the files via adb shell mv, the app is stuck while loading. If I move the files to sdcard via adb shell mv and move it back with the file manager, it also works fine. But if I move the files from sdcard to app folder, it doesn't work.
I also tried copying the file via adb shell cp -r but got the same problem.
Does anybody have an idea what's the problem or how to fix this problem? Does mv corrupt the files? But if it would corrupt the files, it wouldn't work if I moved it to sdcard via shell mv and moved it back via files manager.

It seems like Robert is right, the file group changes:
Folder original:
drwxrws--x 8 u0_a295 u0_a295_cache 3452 2024-01-31 10:30
drwxrwx--x 3 u0_a295 u0_a295       3452 2024-01-31 10:31

Folder after moving:
drwxrws--- 10 u0_a218 media_rw 3452 2024-01-31 10:33
drwxrws---  4 u0_a218 media_rw 3452 2024-01-31 10:33

Files original:
-rw-rw---- 1 u0_a295 u0_a295    1229 2024-01-31 10:32

Files after moving:
-rw-rw---- 1 u0_a218 media_rw    1229 2024-01-31

Your main problem is that you move files and folder between special sections of the file-system: from app-private folder where only the app has access to /sdcard a special folder where you can not execute something and all files/folders are assigned a special group media_rw.
For understanding why the app-private folder works you need to know that Android created for every app an own user account, in your example all app-private files and folders are owned by user u0_a295 and group u0_a295 / u0_a295_cache.
If you move the files to /sdcard the group is changed to media_rw as the sd-card section enforces this. If you later move back the files to the app-private folder the group media_rw remains and the files and folders have a changed owner-user and owner-group.
To correct that you can execute
chown -R u0_a295:u0_a295 /data/data/<app-package name>/files/

Note that if you uninstall and reinstall the app or try the same with a different app the user and group name will be different (not u0_a295).


text:
Network unlocking under Android 2.3
Samsung SGH-I577. Got the unlock code! Yay!
Issue is that the network lock screen doesn't show up. At all. Tried with non att sims, the phone says the sim isn't inserted (which... no?).
Is there anything else I can try? The phone is stuck at android 2.3 and I can't update the phone to the ICS stock rom because of link rot.
I thought I could try the dialer codes I found on gsmhosting but with my code slipped in. No luck.
The AT Hayes modem doesn't recognize hardly any expanded command sets.
Dialing "*#7465625#" results in a broken screen.
Any help please? It would be COOL to network unlock this phone, even if it's pointless! (No VoLTE)


text:
Linux / Ruby / mpv script => Android /?
I am on Fedora Linux for years I have had a Ruby script which creates a list of MP3s from a directory, randomises the order of the list and then plays the list using mpv.  I have mpv for Android.
What would be the simplest way to reproduce the Ruby script for Android? - I have played around with rooting my phones in the past but I would prefer not to have to do that this time . .

You may be able to execute your script in Termux app after executing termux-setup-storage to get access to your media files.

If you are using a specific MPV player app on Android, you should edit your post to link to it, and mention which version you are running. Note that the creator of the MPV app may have additional features for play order/sorting which might be able to cover your needs.


text:
My phone suddenly start typing "####"
I have a Redmi 9 on Android 13. It suddenly started typing "#####..." nonstop, then sometimes opened an app or multiple windows.
My approach:

Press power button
Clear trash
Reboot
Factory reset
Changed screen protector

I am still facing this problem.

It is not clear what you mean.  Text has to be on a text input box.  It can't appear on the blank screen, unless it hasnt finished booting up.  What did you install last?

I have a feeling either a ghost touch or a broken digitizer. Turn on Developer options then Show touches, and check whether there are random touches even if you don't touch the screen.


text:
Package Installer crashes when installing certain apps (`java.lang.RuntimeException: Could not copy bitmap to parcel blob.`)
This issue started a few weeks ago on my Google Pixel 6 running Android 14, it only happens with certain apps but the issue is the same for all of them, the "Package Installer" crashes after tapping Install.
Here's a full stacktrace that I dumped from syslog:
FATAL EXCEPTION: main
Process: com.google.android.packageinstaller, PID: 3209
java.lang.RuntimeException: Could not copy bitmap to parcel blob.
 at android.graphics.Bitmap.nativeWriteToParcel(Native Method)
 at android.graphics.Bitmap.writeToParcel(Bitmap.java:2271)
 at android.os.Parcel.writeParcelable(Parcel.java:2584)
 at com.android.packageinstaller.PackageUtil$AppSnippet.writeToParcel(PackageUtil.java:151)
 at android.os.Parcel.writeParcelable(Parcel.java:2584)
 at android.os.Parcel.writeValue(Parcel.java:2485)
 at android.os.Parcel.writeValue(Parcel.java:2362)
 at android.os.Parcel.writeArrayMapInternal(Parcel.java:1298)
 at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)
 at android.os.Bundle.writeToParcel(Bundle.java:1389)
 at android.os.Parcel.writeBundle(Parcel.java:1367)
 at android.content.Intent.writeToParcel(Intent.java:11807)
 at android.os.Parcel.writeTypedObject(Parcel.java:2203)
 at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:2077)
 at android.app.Instrumentation.execStartActivity(Instrumentation.java:1873)
 at android.app.Activity.startActivityForResult(Activity.java:5615)
 at android.app.Activity.startActivityForResult(Activity.java:5573)
 at android.app.Activity.startActivity(Activity.java:6071)
 at android.app.Activity.startActivity(Activity.java:6038)
 at com.android.packageinstaller.PackageInstallerActivity.startInstall(PackageInstallerActivity.java:701)
 at com.android.packageinstaller.PackageInstallerActivity.lambda$bindUi$0(PackageInstallerActivity.java:479)
 at com.android.packageinstaller.PackageInstallerActivity.$r8$lambda$RCIm8wl1VPqdfQgkgmrBIDbuvOQ(PackageInstallerActivity.java:0)
 at com.android.packageinstaller.PackageInstallerActivity$$ExternalSyntheticLambda0.onClick(R8$$SyntheticClass:0)
 at com.android.packageinstaller.AlertController$ButtonHandler.handleMessage(AlertController.java:144)
 at android.os.Handler.dispatchMessage(Handler.java:106)
 at android.os.Looper.loopOnce(Looper.java:205)
 at android.os.Looper.loop(Looper.java:294)
 at android.app.ActivityThread.main(ActivityThread.java:8248)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)

One of the apps which can trigger this crash is "Copy SMS Code - OTP Helper" (I use the F-Droid builds), the current version I have installed is 1.8.0 and all newer versions since (AFAIK) have exhibited this issue.
This is quite annoying because it is preventing updates to my apps.
Is there any way to fix this issue at all without waiting for Google to push an update? If not, where should I report this issue?
P.S. I just tried installing the same APK via ADB and it worked! So this is just a "Package Installer" app issue.

On an older Android 13 Pixel device the app installs fine via UI.

Based on a quick research, looks like this is a known issue of Android 14 QPR1: Cromite GitHub Issue #595 - Crashes Package Installer on Android 14 QPR1, GrapheneOS Discussion Forum - java.lang.RuntimeException: Could not copy bitmap to parcel blob, SyncThing GitHub Issue #2026 - Installing APK fails with 'java.lang.RuntimeException: Could not copy bitmap to parcel blob'

@AndrewT. Those are similar complaints from other users, nothing upstream related. And QPR1 looks like one of those beta updates, and I have not opted into them, so I don't think this issue is limited to that release.

@Robert Yup, I never had this issue in Android 13 either, looks like it was introduced in 14. Someone needs to file a proper bug report and track down this issue.

https://issuetracker.google.com/issues/303849830 marked resolved but still seems to be an issue


text:
Address book: after updating a phone number, the old one keeps registered
The following happens on a Google Pixel 3a with Android 12.
One of my contacts having changed its phone number, I updated it in my address book.
After tapping Save the previous number keeps displayed in addition to (and before) the new one.
More: if I tap the contact for calling, it's the old number that is called!
Nevertheless, going back inside of the card, I see only the new number; but one more time registering shows anew the two numbers.
Strangely, at the opposite, if I look at the address book through Google-contacts on my (synchronized) PC it only shows the new number.

As a French user I assume your phone also uses that language and the Register button you mention is a (non-matching) translation from French to English as in Android Contacts app there is no Register button. Have you checked if your contacts are synced correctly into Google cloud - assuming you have a Google account on your phone and clloud sync active (see https://contacts.google.com)

Just for clarity, are you using the built-in (Google) Contacts and (Google) Phone app?

@AndrewT. Yes I'm using the built-in Google apps.

@Robert 1 - You're right: I'm a French user, and to finalize update operation I must tap the button  {Enregistrer}. 2 - Yes I have a Google account on my phone, and I suppose I can trust the sync, since my change was reflected immediately and correctly on contacts.google.com while it remains erroneous on the phone.

In the English UI the button is always named Save (when creating or editing a contact). I have updated your question to avoid confusion. Regarding your question: Contacts can have multiple phone numbers. May be the contact you have edited had two times the same number and you have only changed one of it? Or the contact is a combined contact - Contacts allows you to "combine" contacts (show two contacts of the same person as one).

@Robert Thanks for editing my question. Also thanks for the suggestions, but I must insist: when in update mode on the phone, only one phone number appears (I had overwritten the old one in place), and this is correctly reflected by the PC version of the contact card.


text:
Gboard option to display pronounciations above autosuggestions
I wonder whether it would be possible to install a gboard plugin (that could be activated, or disactivated), that showed IPA (or other spellings system) pronunciation above spellings for autosuggestions.
This would enable users that understood words by visualizing what they heard in their own spelling systems, to have suggestions for correct spellings, and also suggestions for correct pronounciations, given that the pronunciation system they use in their native tongue might differ from the one implemented.
It would also allow users who were familiar to varying degrees to visualize sounds spellings (aka pronounciations), without disturbing others by having them played out.
They would learn quickly.
It would also be a great tool for kids and adults learning foreign languages.
How can I make this functionality available in Android Gboard?
When will it be available?
Is anyone willing to implement it?
Thanks.

To my knowledge GBoard has no extension/add-on system. So you can use it or switch to a different keyboard of your choice.


text:
Is there any way to force opening a keyboard?
I've recently bought Lenovo Tab M9 tablet. Unfortunately on one of the websites I frequently use, the keyboard doesn't show in a field I need to type. Is there any way to force opening virtual keyboard to be able to type? I would prefer not use a psychical one. The suggestion from this old question is no longer available.

Which "suggestion" are you referring to, the linked question has multiple answers?


text:
Why do video players appear different on ios and Android?
On some video sites, the video player on ios has different features to the played on Android.
I thinking specifically about a player that has a +10 second skip feature on ios but not on Android.
Is this something that owners of the video website could fix? Or is it an Android issue and out of their hands?
Sorry I don't know anything about video players so any information or clarification would be much appreciated.

Could you mention some sites and browsers that exhibit this behavior? If it's on web sites, then it's usually under the control of media player embedded in the site and possibly the browser implementation, not using any OS media player.


text:
Stuck in boot loop due to wrong repartition
I have a Samsung Galaxy S3 GT-I9300 and I use it for developing tests. Long ago, it stopped working and I had to restart it, but it was showing just the samsung logo and animation. Sometimes it could be turned on and happened again.
I tried to install a new system in order to fix it; so I chose LineageOS but it needs TWRP. I used ODIN to flash TWRP but each time the Odin log shows get pit for mapping.
I searched everywhere for a solution. Later I found a solution to flash using a PIT file. My mistake was that I tried to flash TWRP with a wrong PIT file. But that failed.
Now whenever I turn on my device, it just shows the Samsung logo (no animation) and flickers. No boot, no recovery, and just download mode. How can I solve it?

restore stock with Odin


text:
Is it possible to allow an old app to lock/unlock the phone?
I'm still using an old app to automate some things:
Automated Device (com.dhr.automateddevice) by Daniel Herrero.
The app isn't update from about 8 years, but it stills works and do what i need, it is ads free and simple to use.
Meanwhile android security changed, and some functions do not works anymore. One of them is the ability to lock or unlock the phone (so, you don't have to unlock it from the lock screen). I use it when the phone connect to my car radio or my helmet bluetooth when i'm on my motorcycle.
I know that my phone has "Smartlock" settings which can do the same thing, but i use other phones also and i share the same "automations" with them.
So: there's a way to allow an old app to lock/unlock the phone?

The common way to bypass this unlock scenario is having an app running above the lock screen, so the phone is still locked but the one app above the lock screen is fully usable.


text:
Is 1Gbps ethernet supports for Android or Android x86?
I have a Mini-ITX motherboard which has Gigabit Ethernet adaptor built in. I tried android 9 and Android TV 7 but it maxed out at 100Mbps. Does it have a limitation on Android OS or is it a built-in driver compatibility issue.

That will be a driver issue. There's no sensible reason for Android to be limiting the rate at which it can communicate.
The drivers are built into the kernel, so it's possible that a newer kernel will fix this. That depends on the kernel producer deciding to support 1Gbps communication. There isn't anything that would make that happen automatically.

Is it a kernal level thing. I have tried both4.9 and 4.19 kernals but same result.

@rzshss: See updated answer.


text:
How do I restore just one app's data with adb?
I used adb backup -f DailyBeanBackup.ab com.bluesignum.bluediary and it made a backup file and I want to try restoring it but when it asks for my password it says This will replace any data currently on the device! and I do not want to delete everything on my phone. Will it just replace the apps data and it's safe and if not is there way to restore just that?

That is just a misinterpretation of the message. "ANY" in the context of restoring one app means "any data of that app".


text:
recents/overview screen swap for launcher swap
is it possible to swap the default recents screen / overview screen that show up when we click the recents button?
the default view, I believe  is an activity of the default launcher(Quickstep)
after swapping the launcher to another, clicking recents tab dont show anything,
 a second click of the button shows a dialog that says unfortunately, QuickStep has been stopped
I guess this is happening because, after swapping the launcher the previous launcher is completely killed/blocked?
I want to change launcher
+
I want to use recents button too
so, is it possible to swap recents view if we create a launcher app which have a custom activity dedicated for recents view swap?
or is there any app that exists
or is it possible to use the default recents view with another launcher [launcher≠Quickstep]


text:
Forgot pincode on ulefone
I have a ulefone that I am trying to remove the pin code and bypass the Google account, can someone help me do this


text:
Phone powers on itself I am afraid of spyware
I'm afraid that one person installed spyware on my phone. When I wanted to be sure that I wasn't being recorded I powered my phone off and I noticed that my phone is powered on. I noticed it about six times. It's hard to say how long after powering it off the phone powers on by itself. I would say that it didn't happen right away.
I have Mi 10t Lite. Android version 12 SKQ1.211006.001, MUI version MIUI Global 13.0.8 Stable 13.0.8.0(SJSEUXM).
I found in google following possible reasons:

Battery issue
Scheduled power on
System update
Broken power button

Power button works properly in my opinion, I have not notices any issues.
Scheduled power on is turned off in my phone.
After  three first unwanted powering on I bought new phone. I used new phone and observed my old phone. Old phone powered on himself three more times and it hasn't turned on by itself for over a week. This may rule out a battery problem because it is unlikely that the battery repaired itself and stopped turning on the phone. It can suggest that spy recognized that he can not spy on me because I use new phone (I left my old phone e.g. in the car).
Find device feature is turned off.
Unfortunately I uninstalled several apps and it is possible that some uninstalled application caused a problem but I did not uninstall anything suspicious and any application should not have permission to power on phone.
I wrote down all application that have permissions camera, call logs, contacts, location, microphone, sms, phone. I compared it with new phone and I googled application that  I did not know I have not found anything suspicious.
I used adb logcat to copy logs. I powered phone off and when I noticed that phone is on I copied logs. Is it possible to find cause of powering on in logs? File has 102159 lines so I can not place it here. Additionally logs contain some fscrypt keys.
I do not have any antivirus software. As I know good antivirus are paid and I can not install it from google paly now because I am afraid to add credit card because I am afraid of spyware.  I executed "Play protect" and result is ok.
I do not want to do factory reset because I am very curious if there is some spyware on my phone. If I do factory reset then probably I will never know that.

Malware is an option but IMHO a very very unlikely. Usually users don't let a phone stay off for a long time so no need to power it on from a malware perspective. Where have you kept when the power-on happened? If it was in your pocked my guess is the power button. Try to move it around carefully without actually pressing it. If it is triggered even without pressing you got the problem source.

I had the phone in pocket two times but 4 times in parked car under the seat so it is impossible that power button was pressed by accident.

You can install a free version Kaspersky.  It will do everything you want and more.  The only annoying thing is that the free version will not automatically update the virus database.  So, I paid for it.  A multi-user account is really really cheap.  I am not associated with them.

Check whether you have any alarm clock applications which could be causing this behaviour (even if it doesn't ring). Alarm clocks keep running in the background, so you can turn off our device for the night without turning off the alarm clock.

I considered this option but I tested it and finally I excluded this option. I set alarm, I powered phone off and observed if phone will power on itself at alarm time. Now I wondering about this option. I noticed in logs strange time change. It looks like phone starts with incorrect date and time. Proper time is set about 2 seconds after start. Maybe alarm powers on phone but phone that is powered off has incorrect time so phone is powered on at other time that was set in alarm application. I will test it.

Standard alarm clock will not power up the phone.

I think that alarm application is responsible for it. Phones is powered on about 6-7 minutes before alarm. If there is not enough time between power off the phone and the alarm time then phone does not power on. It is a reason why phone did not power on when I tested it earlier. I use standard alarm application.

It is clear now. I have following option checked in additional alarm settings in alarm application: "Shutdown alarm. Turn on to make set alarms go off when your device is powered off. Only alarms set for at least 10 minutes after you power off the device will go off"


text:
My samsung s21 locked and showing too many incorrect attempts...also phone in a flight mode how to resolve this issue pls help?
My samsung s21 locked and showing too many incorrect attempts...also phone in a flight mode how to resolve this issue pls help? Is factory reset is only last option ?

Do you know your PIN code? Had you had a chance to enter it? How long does your phone show the "too many incorrect attempts" message?

I know my pin but suddenly it is showing incorrect and after try next try in 24 HR later

Yes a factory reset is the only option if you don't know your PIN.  Data on your phone is encrypted using this PIN.  If it was easy to bypass it, there would be no point in this security measure.
As far as I know, you can factory reset your locked phone, only if you have linked a Google account to it.  Either  via Find my Mobile or by pressing the volume up/down and power buttons.


text:
Google maps compass breaks when using underground public transport
Suppose I took a U-bahn/Metro/Subway. After the ride finishes, the exit the station and get back to ground level.
Now I notice that the compass in Google Maps always points to a random direction as north, which is usually not correct.
If I use any other compass app in my phone, they point the north correctly.
Is it possible to fix the Google Maps?

Unclear if you tried recalibrating the compass in Google Maps or when you close Google Maps to make sure Google Maps is stopped before restarting (as other compass apps seems to work fine).


text:
Text in Video caption not seen on laptop
I use google pixel where I take daily videos, where then I click the three dots and on the video caption I write some text about the video, describing it or adding some information that is important to me. I do this as a part of a project.
I thought that once I download these videos to my laptop, I would just go to properties and then on the metadata I would see the caption I have written. However, this seems to not be the case as I do not see any of the text I have written.

So, what is the question?  (1) How to save it because its not there? (2) Or how to retrieve it when its there?

Welcome to Android.SE. Just to make sure, is this about captions/text descriptions in Google Photos?

According to an old Google Sites post discussing the nature of the relationship of Google Photos to Picasa, it appears that Descriptions are not preserved when downloading a photo or video:

Captions added after uploading to Google Photos are NOT written to the metadata of the photo. The captions will be lost when you download from Google Photos. A way to preserve the captions was to download using File > Import from Google Photos in Picasa3 on the computer, but Google disabled that option in 2018. The only way left is by using Google Takeout but you need special software and skills.

The referenced Google Takeout method is described here:

In Google Photos, "Captions" added before uploading are now shown as "Other" in the info of a photo. They always remain part of the photo.
"Descriptions" added in Google Photos are lost when downloading from Google Photos, but transferred by other methods (Partner sharing, sharing albums).

This seems to refer to uploading to Google Photos from the device, as the "Description" pen doesn't appear in the Pixel photo viewer until after the photo has been uploaded. I've tried myself to add a caption prior to uploading by disabling all data, recording a video and adding a caption, then reenabling data. The Description/caption still appears in Google Photos, but is not available as part of the file once downloaded. It does appear there are more intensive methods of accomplishing this task, although it may require Google Takeout and an EXIF editor.

When using Google Takeout, a .json file in the downloaded ZIP file includes info about the added description, location, and changed date. There are tools able to merge .json and image:
EXIFTool
https://stackoverflow.com/questions/42024255/bulk-join-json-with-jpg-from-google-takeout
To add a description of the file, the appropriate placement for this would be IPTC:Caption-Abstract, XMP:Description, and EXIF:ImageDescription. You could copy these with:
'-Caption-Abstract<Description', -Description, or '-ImageDescription<Description'
https://github.com/mattwilson1024/google-photos-exif  (2020)
How to merge image with his .json file (Google Photos takeout)  - Exiftool forum
MetadataFixer can fix EXIF Metadata in pictures and videos when exporting from Google Takeout. There is a demo version and a paid version: https://metadatafixer.com/.
How to batch merge Google Takeout photos with json files on Mac


text:
NGINX file server not able to serve files beyond 2GB
I have setup nginx file server on my old Android phone (Samsung A6). I did this using termux and running nginx on termux. This file server is used to serve media files to Kodi on my android TV.
When I try to play a media file of size>2GB, it plays normally. But, I cannot forward to a point beyond the 2GB data point. Example media file is 4GB and duration of media is 2 hours. I am unable to skip to or resume to any point in the video beyond 1 hour 1 minute.
I setup the same server with the same config in my new phone (Samsung S20FE). Everything works perfectly irrespective of file size.
So, I am guessing there is some hardware limitation that I am unable to understand. Is there a way to solve this? My Samsung A6 can play large videos normally (in MX Player or VLC) but not able to serve via file server.
I have tried splitting the media files to smaller chunks and playing through Kodi but Kodi recognizes it as a single media file and the same problem occurs.
Curl response to the file server (on Samsung Galaxy A6) says Address not serviceable, but does not give this error when the same file is hosted on Samsung S20FE.
curl -I http://192.168.1.55:14555/test.mkv

HTTP/1.1 200 OK
Server: nginx/1.25.3
Date: Tue, 23 Jan 2024 18:33:24 GMT
Content-Type: application/octet-stream
Content-Length: 3106324386
Last-Modified: Tue, 23 Jan 2024 06:48:51 GMT
Connection: keep-alive
ETag: "65af6153-b926bfa2"
Accept-Ranges: bytes

curl -v -r 2147483348-2147483647 http://192.168.1.55:14555/test.mkv

> Trying 192.168.1.55:14555...
> Connected to 192.168.1.55 (192.168.1.55) port 14555
> GET /test.mkv HTTP/1.1
> Host: 192.168.1.55:14555
> Range: bytes=2147483348-2147483647
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 206 Partial Content
< Server: nginx/1.25.3
< Date: Tue, 23 Jan 2024 18:34:41 GMT
< Content-Type: application/octet-stream
< Content-Length: 300
< Last-Modified: Tue, 23 Jan 2024 06:48:51 GMT
< Connection: keep-alive
< ETag: "65af6153-b926bfa2"
< Content-Range: bytes 2147483348-2147483647/3106324386
<
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
* Failure writing output to destination
* Closing connection

curl -v -r 2147483348-2147483649 http://192.168.1.55:14555/test.mkv

* Trying 192.168.1.55:14555...
* Connected to 192.168.1.55 (192.168.1.55) port 14555
> GET /test.mkv HTTP/1.1
> Host: 192.168.1.55:14555
> Range: bytes=2147483348-2147483649
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 416 Requested Range Not Satisfiable
< Server: nginx/1.25.3
< Date: Tue, 23 Jan 2024 18:36:22 GMT
< Content-Type: text/html
< Content-Length: 197
< Connection: keep-alive
< Content-Range: bytes */3106324386
<

<title>416 Requested Range Not Satisfiable</title>

416 Requested Range Not Satisfiable

nginx/1.25.3

* Connection #0 to host 192.168.1.55 left intact

As soon as the curl command requests file beyond the 2GB mark of the file, Nginx gives the 416 error.
I am expecting Nginx to serve large files to Kodi without any issues.
Nginx Config:
#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;

events {
    worker_connections  1024;
}

http {
    include       mime.types;
    default_type  application/octet-stream;
    client_max_body_size 0;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;

    sendfile        on;
    tcp_nopush     on;
    tcp_nodelay on;

    #keepalive_timeout  0;
    keepalive_timeout  65;

    #gzip  on;

    server {
        listen       14555;
        server_name  localhost;
        autoindex on;
        client_max_body_size 0;
        directio 1G;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location / {
            root   /data/data/com.termux/files/home/storage/downloads;
            index  index.html index.htm;
        }

        #error_page  404              /404.html;

        # redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   /data/data/com.termux/files/usr/share/nginx/html;
        }

        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
        #
        #location ~ \.php$ {
        #    proxy_pass   http://127.0.0.1;
        #}

        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        #
        #location ~ \.php$ {
        #    root           html;
        #    fastcgi_pass   127.0.0.1:9000;
        #    fastcgi_index  index.php;
        #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
        #    include        fastcgi_params;
        #}

        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        #location ~ /\.ht {
        #    deny  all;
        #}
    }

    # another virtual host using mix of IP-, name-, and port-based configuration
    #
    #server {
    #    listen       8000;
    #    listen       somename:8080;
    #    server_name  somename  alias  another.alias;

    #    location / {
    #        root   html;
    #        index  index.html index.htm;
    #    }
    #}

    # HTTPS server
    #
    #server {
    #    listen       443 ssl;
    #    server_name  localhost;

    #    ssl_certificate      cert.pem;
    #    ssl_certificate_key  cert.key;

    #    ssl_session_cache    shared:SSL:1m;
    #    ssl_session_timeout  5m;

    #    ssl_ciphers  HIGH:!aNULL:!MD5;
    #    ssl_prefer_server_ciphers  on;

    #    location / {
    #        root   html;
    #        index  index.html index.htm;

    #    }
    #}

}

Nginx Build
nginx version: nginx/1.25.3
built with OpenSSL 3.1.4 24 Oct 2023
TLS SNI support enabled
configure arguments:
--prefix=/data/data/com.termux/files/usr
--crossbuild=Linux:3.16.1:arm
--crossfile=/home/builder/.termux-build/nginx/src/auto/cross/Android
--with-cc=arm-linux-androideabi-clang
--with-cpp=arm-linux-androideabi-cpp
--with-cc-opt=' -I/data/data/com.termux/files/usr/include -DIOV_MAX=1024 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -Oz'
--with-ld-opt='-L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -march=armv7-a -fopenmp -static-openmp -Wl,
--enable-new-dtags -Wl,
--as-needed -Wl,-z,relro,-z,now -landroid-glob'
--with-threads --sbin-path=/data/data/com.termux/files/usr/bin/nginx
--conf-path=/data/data/com.termux/files/usr/etc/nginx/nginx.conf
--http-log-path=/data/data/com.termux/files/usr/var/log/nginx/access.log
--pid-path=/data/data/com.termux/files/usr/tmp/nginx.pid
--lock-path=/data/data/com.termux/files/usr/tmp/nginx.lock
--error-log-path=/data/data/com.termux/files/usr/var/log/nginx/error.log
--http-client-body-temp-path=/data/data/com.termux/files/usr/var/lib/nginx/client-body
--http-proxy-temp-path=/data/data/com.termux/files/usr/var/lib/nginx/proxy
--http-fastcgi-temp-path=/data/data/com.termux/files/usr/var/lib/nginx/fastcgi
--http-scgi-temp-path=/data/data/com.termux/files/usr/var/lib/nginx/scgi
--http-uwsgi-temp-path=/data/data/com.termux/files/usr/var/lib/nginx/uwsgi
--with-http_auth_request_module
--with-http_ssl_module
--with-http_v2_module
--with-http_gunzip_module
--with-http_sub_module
--with-stream
--with-stream_ssl_module

The system (Samsung A6) has a 32 bit processor.

It is indeed a 32 bit CPU platform limitation and it won't be possible to work around it.

According to gsmarena.com Samsung A6 (1018) uses an Exynos 7870 Octa with Cortex-A53 cores which are armv8a (64bit). If your OS supports only arm-v7(e) then this is a software problem, not a CPU problem. You can try to unlock the device and find a 64bit custom ROM.


text:
Infrared touch frame with Android TV not working! android.hardware.touchscreen?
I recently purchased a 55" Infrared touch frame for my Android TV 55", this IR frame works perfectly when I connect it to a PC with Windows 10 via USB no drivers are needed.
However, when I connect the same frame to my TV OS:Android TV 11, there's no response to touch input.
After some research, I came across the concept of "android.hardware.touchscreen" in Android and started wondering if this feature might be disabled on Android TV OS, preventing the IR frame from functioning. My questions are:

Is it possible that a disabled "hardware.touchscreen" feature is causing my issue? I haven't found any definitive information about whether Android TVs generally have this feature enabled or disabled by default.

If so, is there a way to enable "hardware.touchscreen" on my Android TV? I'm hesitant to tinker with settings even if it could potentially harm my TV.

Are there any other potential causes for the IR frame not working on my Android TV? It would be helpful to understand other areas I could investigate.

When you have connected it to Windows as what USB device type is it detected (see device manager)?

AFAIK, android.hardware.touchscreen indicates if an Android device has a built-in touchscreen or not, e.g. for hardware filtering in the Play Store. However, I don't know if it affects support for external touchscreen devices. Do you have an Android phone/tablet to test the IR frame? On the other hand, I wonder if the Android kernel driver supports such a device.

@AndrewT. I will check and revert tomorrow using an OTG cable with a phone. otherwise if the issue is kernel related, does this need an additional implementation of the driver ?

@Robert : Yes it is detected in device manager and working with Windows PC

If you can use it in Windows then it is obvious that you can find it in device manager, what I was asking for is as what device type it is found. So what driver is used and what USB properties does the device has?

@Robert I will check tomorrow and revert back to you! thanks!