text:
Is there a way to transfer paid apps from one phone to a new one
The normal way to transfer apps and data from one's old phone to a new one is to use Smart Switch  It has never transferred paid apps before, never mind their data.
My phone's touch screen has stopped working.  Fortunately, the stylus still does.

I need to backup my data on a Windows PC
When I hand my phone over, I will get a loan phone.
I need to restore my data to this phone
When my phone is fixed, I need to repeat the process.

I am expecting that paid apps and secure apps such as banking and possibly any apps using TFA will not transfer. The last thing I want to do is to spend hours getting these apps to work twice.
Is there any way to reliably transfer everything from my phone to Windows and then back?
I have a Samsung Note 20 Ultra and Windows 10 PC.
I do have an old S9, but it has not got enough memory to receive everything (unless I don't copy much of the stuff).  I already have all my music, videos, and photos on the SD card.  But there are a lot of emails and content from WhatsApp.

afaik just login with google account that paid the app and install from play store (at least that's how it works for Textra)

I know, but there are too many of them.  And they still lose their data.

using D2D transfer apps will ignore app restrictions and clone app data to new device regardless of manifest settings

Is rooting an option?

@BlindSpots Sadly no, I  tried it once and then got stuck as the authors decided to not work on it any more.


text:
trying to root, SU shows connection timed out
I am trying to root my device using this article: ZTE Maven root (Z831).
When running the command su under adb shell, I get an error:
[-] Connection to ui timed out

Can you please help and advise?
Android 6.0.1

Have you installed the matching root UI app that asks the user if the app is really allowed to get root permissions?

i am not trying to give root access to any app im just running 'su' in the terminal of adb, and random app is open in phone, even home screen.

su on Android usually works the way I have described. So you need the UI app the su binary tries to contact.

may I know which OS are you using it??

as per the guide also, am using kingroot, and android 6.0.1

source: Stack Exchange

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

sort: votes


text:
"com.whatsapp" folder repeatedly and automatically getting deleted
I have an Oppo Reno 8 Pro (Android 13).
Since switching from my Huawei phone, the folder with the received and sent images/videos in the internal storage gets cleaned automatically every 3-4 days. As a result all my received and sent media are gone.
I can use an old backup, and that restores images/videos for a while, but after a couple of days they get deleted again.
How do I fix this problem?

You might want to check the installed File Managers and Gallery apps, and whether they have a feature to auto-clean storage or media files specifically, regardless if they have been backed up or not. Usually they have a setting to ignore certain folders.

Thank you Andrew. I checked it but i dont think thats the problem. I cant find any settings like this. My brother has the same phone and not this issue :(

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


text:
Pixel 7 Pro won't connect to specific WiFi network
I've had a Pixel 7 Pro since release and it's been working fine until a week or so ago when it steadfastly refuses to connect to a specific home WiFi network.
Every other device in the house works fine on this network (as did the P7P until a week ago) and the P7P worked absolutely fine over Xmas whilst I was away at my parents using a different network, however it totally refuses to connect to my home network.
My network is an eero mesh network (not eero 6). I've tried resetting the WiFi on my phone and unplugging the network etc. The only thing I've not done is reset the phone (as suggested by Google online support).
Any ideas welcome.

Turn off wpa3 in the eero app. This just happened to me, p7p w eero pro.

This worked for me.


text:
Sign-in and website issues on Motorola XOOM
My Motorola XOOM is having a few problems relating to internet and google accounts. Firstly, whenever I try to sign into any app using a gmail account, it gives
"Your username and password don't match. Try again."
alongside an account recovery info link. I've tried several existing accounts, as well as creating a new account. Secondly, any website I've tried to open from a Browser search gives
"There are problems with the security certificate for this site."
It's a very old device, so I wouldn't be surprised if there are issues with support being dropped, and I read that google play (Play Store on this thing) can cause issues on Android. I've tried a factory data reset and several restarts. It's on Android 4.0.4, and the device says it's up to date. I'm a bit experienced with electronics in general, but unfortunately networks/internet/connectivity is the one thing I'm lost in - please let me know if I missed anything.
Edit-
Play Store is currently on version 3.4.7.
Motorola XOOM MZ602, to be precise, on Android 4.0.4

Similar to: Getting google/google play to work on an android 4.04 tablet

I think your best bet is to flash a custom ROM with newer Android versions (preferably 4.4 KitKat or newer for TLS 1.2 support). Looks like XDA Forums has some custom ROMs for Motorola XOOM, but make sure it's mentioned for your device model specifically.

Huh, looks like my last reply went missing.. but thanks to both responses, I'll be looking into them. I'll have to do a bit of research on how flashing ROMs to tablets works, but I'm also considering, at that point, getting Ubuntu Touch on it as I originally intended lol. Although my understanding is that it runs on top of the OS, so it might not resolve the issue.

@Galaxy You're confusing Ubuntu Touch (no longer officially supported but being developed by a community at UBports.com) with chroot'ed Ubuntu installed on top of Android. The former is a full-fledged mobile OS that completely replaces Android. Now the bad news: Your device is too old and unsupported by any current Ubuntu Touch release. It had partial support, i.e., with 'hacks', some 10 years ago, apparently: https://forum.xda-developers.com/t/ubuntu-touch-xoom-port.2171138/ (And no, you should NOT even try Ubuntu 12.10 even if you can find the old ROM).


text:
Samsung Galaxy Tab A enable system app for other profile?
I created a non-admin new user on this tablet. It initially prompts to select Samsung system apps, e.g. Samsung branded calendar, calculator, etc. I didn't care about any of those so, with the exception of camera (because I know camera apps can be tightly bound to specific devices) I disabled them all. I setup the whole profile, google apps, other apps, logged into to them all, y'know, all the "new setup" stuff.
Unfortunately, I discovered that this camera app can only launch the Samsung Gallery system app. Fine, I'll allow that... But how? There seems to be absolutely no way to enable this app after initially disabling it. The admin profile can't reselect the system apps for the other profiles anywhere. The new profile can't install it from the Galaxy Store. I acquired the APK, but the install failed (yes, unknown sources was allowed).
What the heck? I really don't want to nuke this profile because of this annoyance. Anyway other things to try? Is there a compatible and/or better camera app?

Possibly related/dupe: How to reinstall an accidentally uninstalled (system) app through ADB?. While the linked question is about "uninstalled apps", I think the situation is similar since the app is still installed on the device but removed (not installed) on another user.

Thanks @AndrewT. Some good things to try there. I may get around to it. At the end of the day, not being able to change the Camera Gallery shortcut to Google Photos annoyed me, so I just installed OpenCamera. It's a "good enough" solution. I tried a GCam port, but that didn't work. Oh well.


text:
Is there a way to mount YAFFS partition?
I'm trying to recover data (contacts mostly) from an old phone (Xperia Neo V) that was running Android 2.3.4 and so far I managed to dd the data partition via adb. The partition is YAFFS one. I would like to mount it to be able to run Recuva or testdisk over it and see if I can rescue anything that way.
Honestly, I'm not even too sure if it was possible to properly create the YAFFS partition with dd. But assuming that the process went well, how do I mount the image? I can't seem to be able to do that nor have a clue how to verify if the 420 MB file I got is a proper partition image.
Did you try something similar in the past, or maybe you have experience with this sort of stuff to guide me into the right direction?
I will greatly appreciate your help, I'm sort of desperate here, and very tired so far.

Does this answer your question? How to mount a yaffs2 filesystem

there is package mtd-utils not sure it support yaffs

@alecxs Thank you, I tried the mentioned URL. No, sadly nothing worked for me there: unyaffs2 segfaults on the image file I'm providing while Yaffey says that there is a missing page at the end of file. Perhaps the usual dd command is not enough to create a proper partition dump for yaffs?

@alecxs Took me pretty long time but I at last managed to create a proper image that in fact can be viewed (not mounted) with Yaffey. The problem being that I still can't recover old/deleted versions of files. I'm specifically after contacts2.db of course.

recovery of deleted/overwritten files is nearly pointless. however, sqlite3 files grow, there is a good chance the entries only marked as deleted

https://www.staff.hs-mittweida.de/~pawlaszc/fqlite/

https://sqliteforensictoolkit.com/how-not-to-examine-sqlite-wal-files/

Thank you, checking, this is some promising stuff I never found myself. I have both an image and a NAND dump of the data partition which should, in theory, contain older version of files. Given the nature of yaffs designed to prolong the life of cells thus not erasing/overwrtiting constantly, I'm still having a hope. But I will still need to learn how to mount the yaffs partition first. I came across a few kernel modules that can help with that but it didn't go well so far.

https://en.wikipedia.org/wiki/Flash_memory_controller#Flash_translation_layer_(FTL)_and_mapping


text:
How can I get the output of an application via ADB?
I would like to get the text output of Google Voice2Text feature [Android9] via adb.  The one you get when clicking the microphone on the keyboard (Google Voice Typing in the pref panel).
I tried adb logcat to debug and it seems com.google.android.googlequicksearchbox:search is the one.
But on the output of adb logcat --pid=PID, I get many things, but no "text data", and a bunch of errors by the way.
But logcat is surely not the right tool.
How would you do this?
The logcat output:
    └─$ adb logcat --pid=16481
--------- beginning of main
12-28 05:23:00.205 +0000 16481 16481 D ViewRootImpl@dae9332[InputMethod]: ViewPostIme pointer 0
12-28 05:23:00.246 +0000 16481 16481 D ViewRootImpl@dae9332[InputMethod]: ViewPostIme pointer 1
12-28 05:23:00.248 +0000 16481 16481 I A       : #restart
12-28 05:23:00.249 +0000 16481 16481 I A       : #finishRecognition
12-28 05:23:00.249 +0000 16481 16481 I A       : #cancelRecognition
12-28 05:23:00.249 +0000 16481 16481 I A       : #cancel
12-28 05:23:00.249 +0000 16481 16481 I A       : #failWithException
12-28 05:23:00.250 +0000 16481 16481 I A       : Offline recognizer - stop detection
12-28 05:23:00.251 +0000 16481 16481 I A       : #startListening
12-28 05:23:00.251 +0000 16481 16596 W A       : (REDACTED) #onError space %s code %d!
12-28 05:23:00.251 +0000 16481 16596 W A       : #onError already finished - ignoring
12-28 05:23:00.253 +0000 16481 16481 I A       : (REDACTED) #onCreateView, request-id = %d
12-28 05:23:00.254 +0000 16481 16573 I ALT.AFClient: (REDACTED) #audio# acquire audio focus for client(%s)
12-28 05:23:00.254 +0000 16481 16573 I ALT.AFCSessionMgr: (REDACTED) #audio# acquire audio focus for client(%s) session(token(%d))
12-28 05:23:00.257 +0000 16481 16573 I ALT.ARCProvider: (REDACTED) #audio# activate audio request client(%s) and start listening
12-28 05:23:00.257 +0000 16481 16573 I ALT.ARCProvider: (REDACTED) #audio# activate audio request client(%s)
12-28 05:23:00.257 +0000 16481 16573 I ALT.ClientsMgr: (REDACTED) #audio# deactivate(status(%s)) client(name(%s), token(%d))
12-28 05:23:00.258 +0000 16481 16573 I ALT.ARCRoutingMgr: (REDACTED) #audio# disconnect(reason(%s)) audio route(%s)
12-28 05:23:00.258 +0000 16481 16573 I ALT.ClientsMgr: (REDACTED) #audio# activate audio request client(name(%s), token(%d))
12-28 05:23:00.259 +0000 16481 16573 I ALT.ARClient: (REDACTED) #audio# start listening for audio request client(token(%s))
12-28 05:23:00.261 +0000 16481 16573 I ALT.ARCSessionMgr: (REDACTED) #audio# audio request client(token(%d)) session(token(%d)) is being started on route(%s)
12-28 05:23:00.261 +0000 16481 16573 I ALT.SourceMgr: (REDACTED) #audio# audio request client(token(%d)) session(token(%d)) is being started
12-28 05:23:00.262 +0000 16481 16573 I ALT.SourceSequencer: (REDACTED) #audio# open audio source(%s)
12-28 05:23:00.265 +0000 16481 25695 I ALT.AudioRecordSource: (REDACTED) #audio# open audio source(%s)
12-28 05:23:00.266 +0000 16481 25695 I ALT.AudioRecordFactory: #audio# createAudioRecord
12-28 05:23:00.266 +0000 16481 16588 I ALT.AudioEventsHolder: (REDACTED) #audio# audio focus session(token(%d)) acquire status(%s)
12-28 05:23:00.266 +0000 16481 16591 I A       : (REDACTED) Audio focus acquiring status: %s
12-28 05:23:00.267 +0000 16481 16573 I A       : Online recognizer - start listening
12-28 05:23:00.272 +0000 16481 16573 I A       : Offline recognizer - start listening
12-28 05:23:00.273 +0000 16481 25697 W A       : (REDACTED) %s
12-28 05:23:00.273 +0000 16481 16573 I A       : (REDACTED) Initialize Soda [locale: %s]
12-28 05:23:00.273 +0000 16481 25697 W A       : (REDACTED) %s
12-28 05:23:00.274 +0000 16481 16560 I A       : Initialize Soda with language pack directory
12-28 05:23:00.277 +0000 16481 16560 I A       : Creating new SodaSharedResources
12-28 05:23:00.278 +0000 16481 16560 I native  : I0000 00:00:1672204980.277941   16560 soda_async_impl.cc:358] Creating soda_impl.
12-28 05:23:00.278 +0000 16481 25694 I A       : (REDACTED) S3Request:
12-28 05:23:00.278 +0000 16481 25694 I A       : %s
12-28 05:23:00.281 +0000 16481 25701 W native  : W0000 00:00:1672204980.281442   25701 enrollment_manager_impl.cc:959] Failed to get cache folder:INVALID_ARGUMENT: Cache path is empty
12-28 05:23:00.281 +0000 16481 25701 W native  : === Source Location Trace: ===
12-28 05:23:00.281 +0000 16481 25701 W native  : speech/soda/speaker_id/enrollment/enrollment_manager_impl.cc:147
12-28 05:23:00.281 +0000 16481 25701 W native  : W0000 00:00:1672204980.281885   25701 enrollment_manager_impl.cc:977] SODA EnrollmentManager disabled.
12-28 05:23:00.282 +0000 16481 25701 I native  : I0000 00:00:1672204980.282001   25701 enrollment_storage.cc:635] Storage cleared:OK
12-28 05:23:00.282 +0000 16481 16560 I native  : I0000 00:00:1672204980.282451   16560 soda_async_impl.cc:1797] Updated speaker id profiles.
12-28 05:23:00.282 +0000 16481 16560 I native  : I0000 00:00:1672204980.282658   16560 soda_impl.cc:289] Maximum audio history: 30s
12-28 05:23:00.282 +0000 16481 16560 I native  : I0000 00:00:1672204980.282893   16560 soda_impl.cc:313] Adding Resampler from 16000 to 16000
12-28 05:23:00.285 +0000 16481 16560 I native  : I0000 00:00:1672204980.285134   16560 soda_impl.cc:531] Enabling power evaluator.
12-28 05:23:00.285 +0000 16481 16560 I native  : I0000 00:00:1672204980.285336   16560 soda_impl.cc:541] Adding preamble processor.
12-28 05:23:00.285 +0000 16481 16560 I native  : I0000 00:00:1672204980.285432   16560 soda_impl.cc:570] Enabling On Device ASR
12-28 05:23:00.285 +0000 16481 16560 W native  : W0000 00:00:1672204980.285650   16560 language_pack_utils.cc:122] Error reading from /data/user/0/com.google.android.googlequicksearchbox/app_g3_models/fr-FR/configs: error 'No such file or directory' while opening directory '/data/user/0/com.google.android.googlequicksearchbox/app_g3_models/fr-FR/configs': No such file or directory
12-28 05:23:00.286 +0000 16481 16560 I native  : I0000 00:00:1672204980.286495   16560 terse_processor.cc:1136] LP details: [locale: fr-fr, version: 401, config file: /data/user/0/com.google.android.googlequicksearchbox/app_g3_models/fr-FR/dictation.config, personalized resources dir: <NONE>]
12-28 05:23:00.289 +0000 16481 16560 I native  : I0000 00:00:1672204980.288266   16560 terse_processor.cc:234] Loaded PipelineDef.
12-28 05:23:00.293 +0000 16481 25695 I ALT.AudioRecordSource: (REDACTED) #audio# create audio stream for audio record source(identity(%s), recordId(%d))
12-28 05:23:00.306 +0000 16481 16588 I ALT.AudioEventsHolder: (REDACTED) #audio# audio request client(token(%d)) session(token(%d)) start listening status(%s)
12-28 05:23:00.306 +0000 16481 16573 I A       : (REDACTED) #audio# AudioRequestListeningSession start listening status: %s
12-28 05:23:00.306 +0000 16481 16588 I A       : #audio# reportMicUpdate
12-28 05:23:00.338 +0000 16481 25697 I A       : (REDACTED) Playing beep %s (size %d bytes)
12-28 05:23:00.421 +0000 16481 25695 I ALT.FirstByteReporter: (REDACTED) #audio# mark first byte read result as non-empty, %dms spent reading
12-28 05:23:00.625 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:00.632 +0000 16481 16481 I A       : Audio track end of file reached
12-28 05:23:00.633 +0000 16481 16481 D AudioTrack: stop() called with 4313 frames delivered
12-28 05:23:00.640 +0000 16481 16560 I native  : I0000 00:00:1672204980.640115   16560 terse_processor.cc:251] Initialized ResourceManager.
12-28 05:23:00.641 +0000 16481 16560 I native  : I0000 00:00:1672204980.640995   16560 terse_processor.cc:263] Initialized GoogleRecognizer.
12-28 05:23:00.641 +0000 16481 16560 W native  : W0000 00:00:1672204980.641629   16560 terse_processor.cc:370] TISID disabled.
12-28 05:23:00.641 +0000 16481 16560 I native  : I0000 00:00:1672204980.641680   16560 terse_processor.cc:1228] Domain: CAPTION
12-28 05:23:00.642 +0000 16481 16560 W native  : W0000 00:00:1672204980.642507   16560 context_session_resource.cc:120] ContextAwareModel context_model cannot process the following RecognitionContext:
12-28 05:23:00.642 +0000 16481 16560 W native  : MessageLite at 0xbdb05900
12-28 05:23:00.643 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:00.647 +0000 16481 16560 E native  : E0000 00:00:1672204980.647483   16560 ngram_fst_state.cc:58] Unigram state not found
12-28 05:23:00.654 +0000 16481 16560 I native  : I0000 00:00:1672204980.653812   16560 terse_processor.cc:2305] Resetting Terse Processor
12-28 05:23:00.654 +0000 16481 16560 I native  : I0000 00:00:1672204980.654230   16560 terse_processor.cc:1367] Cancelling session.
12-28 05:23:00.658 +0000 16481 16560 W native  : W0000 00:00:1672204980.658625   16560 decoder_endpointer_stream.cc:58] Acoustic ep reader thread cancelled.
12-28 05:23:00.659 +0000 16481 16560 I native  : I0000 00:00:1672204980.659872   16560 terse_processor.cc:1267] Setup completed
12-28 05:23:00.660 +0000 16481 16560 I native  : I0000 00:00:1672204980.659989   16560 soda_impl.cc:660] Server ASR Disabled
12-28 05:23:00.660 +0000 16481 16560 I native  : I0000 00:00:1672204980.660029   16560 soda_impl.cc:737] Initializing audio logger
12-28 05:23:00.660 +0000 16481 16560 I native  : I0000 00:00:1672204980.660077   16560 audio_logging_manager.cc:187] Using in-memory storage due to cache settings.
12-28 05:23:00.660 +0000 16481 16560 I native  : I0000 00:00:1672204980.660584   16560 soda_async_impl.cc:520] Will attempt to run SODA at thread priority 10
12-28 05:23:00.660 +0000 16481 16560 I native  : I0000 00:00:1672204980.660675   16560 hybrid_selector_impl.cc:89] HybridSelector: Disabled
12-28 05:23:00.660 +0000 16481 25714 I native  : I0000 00:00:1672204980.660702   25714 audio_logging_manager.cc:1286] Cleaned storage:OK
12-28 05:23:00.661 +0000 16481 16560 I A       : (REDACTED) Initialized SODA with status: %s
12-28 05:23:00.661 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:00.662 +0000 16481 16558 I A       : Offline recognizer - start detection
12-28 05:23:00.663 +0000 16481 16558 I native  : I0000 00:00:1672204980.663561   16558 soda_client.cc:273] Starting capture.
12-28 05:23:00.663 +0000 16481 16558 I native  : I0000 00:00:1672204980.663735   16558 soda_client.cc:314] Loopback Provider config not present. Skipping Loopback
12-28 05:23:00.663 +0000 16481 16558 I native  : I0000 00:00:1672204980.663810   16558 soda_async_impl.cc:639] SODA session starting (require_hotword:0, hotword_timeout_in_millis:0, trigger_type:TRIGGER_TYPE_UNSPECIFIED, hybrid_asr_config.mode:MODE_DEFAULT)
12-28 05:23:00.664 +0000 16481 16558 I native  : I0000 00:00:1672204980.664010   16558 soda_async_impl.cc:918] Session parameters updated. Reconfiguring SODA.
12-28 05:23:00.664 +0000 16481 16558 I native  : I0000 00:00:1672204980.664803   16558 hybrid_selector_impl.cc:89] HybridSelector: Disabled
12-28 05:23:00.665 +0000 16481 16558 I native  : I0000 00:00:1672204980.664968   16558 terse_processor.cc:1914] Setting impersonated speaker id to: <NONE>
12-28 05:23:00.665 +0000 16481 16558 I native  : I0000 00:00:1672204980.665080   16558 soda_async_impl.cc:619] Nice value unchanged at 10. Not changing SODA thread.
12-28 05:23:00.666 +0000 16481 16556 I A       : Starting to push audio to Soda
12-28 05:23:00.667 +0000 16481 25699 I native  : I0000 00:00:1672204980.666910   25699 hybrid_selector_impl.cc:97] StartSession
12-28 05:23:00.668 +0000 16481 25699 I native  : I0000 00:00:1672204980.668070   25699 soda_async_impl.cc:1519] SODA received first mic audio buffer, size in bytes: 320, format: 1, channels: 1, : sample rate: 16000
12-28 05:23:00.668 +0000 16481 25699 I native  : I0000 00:00:1672204980.668598   25699 terse_processor.cc:2149] No terse session, starting a new one on input audio.
12-28 05:23:00.671 +0000 16481 25699 W native  : W0000 00:00:1672204980.671232   25699 context_session_resource.cc:120] ContextAwareModel context_model cannot process the following RecognitionContext:
12-28 05:23:00.671 +0000 16481 25699 W native  : MessageLite at 0xe11b76c0
12-28 05:23:00.680 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:00.689 +0000 16481 25699 E native  : E0000 00:00:1672204980.689129   25699 ngram_fst_state.cc:58] Unigram state not found
12-28 05:23:00.708 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:01.181 +0000 16481 25699 I native  : I0000 00:00:1672204981.181065   25699 soda_async_impl.cc:1228] Not receiving any loopback audio in 500ms. Last audio received time: 0, Current time in us: 1672204981181061
12-28 05:23:02.020 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:02.463 +0000 16481 16481 I chatty  : uid=10062 com.google.android.googlequicksearchbox:search identical 20 lines
12-28 05:23:02.481 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.041 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.060 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.081 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.101 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.241 +0000 16481 16481 I chatty  : uid=10062 com.google.android.googlequicksearchbox:search identical 7 lines
12-28 05:23:03.261 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.460 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.521 +0000 16481 16481 I chatty  : uid=10062 com.google.android.googlequicksearchbox:search identical 3 lines
12-28 05:23:03.560 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.640 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.660 +0000 16481 16481 I chatty  : uid=10062 com.google.android.googlequicksearchbox:search identical 1 line
12-28 05:23:03.681 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.700 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.721 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:03.821 +0000 16481 16481 I chatty  : uid=10062 com.google.android.googlequicksearchbox:search identical 5 lines
12-28 05:23:04.081 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:04.089 +0000 16481 16481 D ViewRootImpl@dae9332[InputMethod]: ViewPostIme pointer 0
12-28 05:23:04.101 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:04.120 +0000 16481 16481 I A       : (REDACTED) #setSpeechLevel %d
12-28 05:23:04.179 +0000 16481 16481 D ViewRootImpl@dae9332[InputMethod]: ViewPostIme pointer 1
12-28 05:23:04.181 +0000 16481 16481 I A       : #closeMicrophone
12-28 05:23:04.182 +0000 16481 16481 I ALT.ARCSession: (REDACTED) #audio# stop(reason(%s)) listening audio request client(token(%d)) session(token(%d))
12-28 05:23:04.183 +0000 16481 16481 I ALT.ARCSessionMgr: (REDACTED) #audio# stop(reason(%s)) listening audio request session(token(%d))
12-28 05:23:04.184 +0000 16481 16481 I ALT.SourceMgr: #audio# stopListening
12-28 05:23:04.184 +0000 16481 16481 I ALT.SourceSequencer: (REDACTED) #audio# close audio source(%s)
12-28 05:23:04.185 +0000 16481 25697 I ALT.AudioRecordSource: (REDACTED) #audio# close audio source(identity(%s), recordId(%d))
12-28 05:23:04.185 +0000 16481 16481 I ALT.AFCSession: (REDACTED) #audio# release audio focus session(token(%d))
12-28 05:23:04.186 +0000 16481 25695 I ALT.BytesAccessorBuffer: (REDACTED) #audio# mark buffer(%s) closed, available bytes(%d)
12-28 05:23:04.188 +0000 16481 16556 W A       : #audio# read failed: read EOF from AudioAccessor.
12-28 05:23:04.188 +0000 16481 25696 W A       : #audio# read failed: read EOF from AudioAccessor.
12-28 05:23:04.188 +0000 16481 16556 I A       : Sending end of audio to Soda.
12-28 05:23:04.189 +0000 16481 25699 I native  : I0000 00:00:1672204984.188958   25699 soda_async_impl.cc:1129] SODA stopped processing audio, mics audio processed in millis: 3780, loopback audio processed in millis: 0
12-28 05:23:04.189 +0000 16481 25715 I native  : I0000 00:00:1672204984.188938   25715 audio_provider_reader.cc:163] Got end of data in: micsreader
12-28 05:23:04.189 +0000 16481 16588 I A       : startDetection successful
12-28 05:23:04.189 +0000 16481 25699 I native  : I0000 00:00:1672204984.189760   25699 terse_processor.cc:1946] Flushing pending events ..
12-28 05:23:04.190 +0000 16481 25699 I native  : I0000 00:00:1672204984.190000   25699 terse_processor.cc:1962] Start longform loop on remaining audio: 3.78s
12-28 05:23:04.191 +0000 16481 25694 W A       : #audio# read failed: read EOF from AudioAccessor.
12-28 05:23:04.192 +0000 16481 16573 I A       : (REDACTED) Audio focus releasing status: %s
12-28 05:23:04.194 +0000 16481 16596 I ALT.AudioEventsHolder: (REDACTED) #audio# audio focus session(token(%d)) release status(%s)
12-28 05:23:04.214 +0000 16481 16588 I A       : (REDACTED) #audio# AudioRequestListeningSession stop listening status: %s
12-28 05:23:04.214 +0000 16481 16573 I ALT.AudioEventsHolder: (REDACTED) #audio# audio request client(token(%d)) session(token(%d)) stop listening status(%s)
12-28 05:23:04.214 +0000 16481 16591 I A       : (REDACTED) Mic closing result: %s
12-28 05:23:04.214 +0000 16481 16573 I A       : #audio# reportMicUpdate
12-28 05:23:04.294 +0000 16481 25699 I native  : I0000 00:00:1672204984.294191   25699 terse_processor.cc:2545] TerseProcessor HasRecognitionEvent With Final
12-28 05:23:04.294 +0000 16481 25719 I native  : I0000 00:00:1672204984.294174   25719 terse_processor.cc:836] Final recognition has been created.
12-28 05:23:04.294 +0000 16481 25699 I native  : I0000 00:00:1672204984.294577   25699 terse_processor.cc:1986] Stop looping and end session. Audio left: 30ms
12-28 05:23:04.302 +0000 16481 25699 I native  : I0000 00:00:1672204984.302101   25699 soda_impl.cc:1354] Got pipeline signal out
12-28 05:23:04.302 +0000 16481 25699 I native  : I0000 00:00:1672204984.302838   25699 soda_async_impl.cc:1618] Ending ASR due to process sync signal.
12-28 05:23:04.302 +0000 16481 25699 I native  : I0000 00:00:1672204984.302886   25699 hybrid_selector_impl.cc:143] EndSession
12-28 05:23:04.302 +0000 16481 25699 W native  : W0000 00:00:1672204984.302915   25699 hybrid_selector_impl.cc:145] No active session.
12-28 05:23:04.303 +0000 16481 25699 I native  : I0000 00:00:1672204984.303198   25699 terse_processor.cc:2305] Resetting Terse Processor
12-28 05:23:04.303 +0000 16481 25699 I native  : I0000 00:00:1672204984.303276   25699 metrics_utils.cc:298] Unhandled metrics event type: SODA_PROCESS_LATENCY
12-28 05:23:04.303 +0000 16481 25699 I native  : I0000 00:00:1672204984.303338   25699 soda_async_impl.cc:1186] SODA session stopped due to: MIC_END_OF_DATA
12-28 05:23:04.310 +0000 16481 16593 I A       : (REDACTED) TTL (%d seconds) reached - destroy SODA
12-28 05:23:04.326 +0000 16481 16593 I native  : I0000 00:00:1672204984.326908   16593 soda_async_impl.cc:1258] Deleted soda_impl.
12-28 05:23:04.327 +0000 16481 25700 I native  : I0000 00:00:1672204984.327336   25700 soda_jni_event_delegate.cc:95] Done
12-28 05:23:04.328 +0000 16481 16593 I native  : I0000 00:00:1672204984.328083   16593 enrollment_manager_impl.cc:1910] Shutting down ..
12-28 05:23:04.399 +0000 16481 16596 I A       : Received a final result for a segment
12-28 05:23:04.399 +0000 16481 16596 I A       : Received the final result for the recognition
12-28 05:23:04.401 +0000 16481 16573 I A       : Offline recognizer - stop detection
12-28 05:23:04.420 +0000 16481 25697 I A       : (REDACTED) Playing beep %s (size %d bytes)
12-28 05:23:04.421 +0000 16481 18532 I cr_CronetUrlRequestContext: destroyNativeStreamLocked org.chromium.net.impl.CronetBidirectionalStream@40adef8
12-28 05:23:04.852 +0000 16481 16481 I A       : Audio track end of file reached
12-28 05:23:04.853 +0000 16481 16481 D AudioTrack: stop() called with 6788 frames delivered
12-28 05:23:09.408 +0000 16481 16590 I A       : #failWithException
12-28 05:23:09.410 +0000 16481 16590 W A       : (REDACTED) #onError space %s code %d!
12-28 05:23:09.411 +0000 16481 16590 W A       : #onError already finished - ignoring

Typically user input should not be written to any log file as it can contain sensitive data. If your device is rooted you could try to attach to the corresponding app/process using https://Frida.re but that will require some Java and JavaScript development experience as you have to decompile the app e.g. using Jadx, identify the correct methods and then write a Frida-Hook to retrieve the data.


text:
Is it possible to alter the calorific value of cycling in Samsung Health App
I am using Samsung Health as a central point for my weight, food, sleep, blood pressure and exercise.
I note that if I record my exercycle sessions, Samsung's calorie value is twice what the exercycle says.  I believe the latter.  At present, I am entering half the time I spend on the exercycle, which is not ideal
Is it possible to tell the Samsung Health App, the true calorie value for the exercycle?

First there is an exercycle icon.  It snot visible as yoou can only have 3 of the,  To enable it

Press Exercise
Press the Menu icon (horizontal lines)
Unselect one of the 3 that are selected (yellow star)
Select Exercise bike

Unfortunately, this too gives double the actual kcal figure.  For instance, a 1 hour exercise shows as 521 kcal, which is a ludicrous figure.
I finally heard back from Samsung Health App support and there is no way to change its value.


text:
Add extensions to popular Android browsers?
Is there any simple way to make extensions work on your Android phone with popular working browsers like Chrome or Microsoft Edge, or do you have to download other browsers for this to work out?
If there is a simple solution, does anyone know how to go forward with it?

Kiwi Browser, a Chromium fork, supports Chrome extensions on Android.

I see, so the only simple way is to install a browser that has extension support?

I guess Chrome and Edge for Android don't support extensions.
Firefox is a good choice, in my opinion

Firefox also has only a very limited list of available plugins for the Android version.

In general, yes, but it should be sufficient for the average user.


text:
Creating a CalDAV event with status confirmed is not propagated on Android (through DAVx5)
When I create an event in Nextcloud Calendar (or through Thunderbird Lightning) while forcing the status as confirmed, it is not propagated correctly to Android through CalDAV.
I am sure that the event has a good status since when I record it, it looks like that:
BEGIN:VCALENDAR
PRODID:-//IDN nextcloud.com//Calendar app 3.3.2//EN
CALSCALE:GREGORIAN
VERSION:2.0
BEGIN:VEVENT
CREATED:20221228T155220Z
DTSTAMP:20221228T155234Z
LAST-MODIFIED:20221228T155234Z
SEQUENCE:2
UID:bf4dd5a9-9bb3-400d-8c72-3c9ab250f218
DTSTART;TZID=Europe/Paris:20221221T120000
DTEND;TZID=Europe/Paris:20221221T123000
STATUS:CONFIRMED
SUMMARY:test4
END:VEVENT
BEGIN:VTIMEZONE
TZID:Europe/Paris
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
END:VCALENDAR

When I sync it on my phone running Android 10 (Fairphone 2 running /e/ OS 1.6, I guess it is done through DAVx5 which is included in /e/), the status is not there anymore and all calendar apps ask me if I will participate in the event.
The event seen in Android does not have the status anymore (where my email is replaced by MYMAIL@MYDOMAIN):
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
PRODID:-//Calendar//foundation.e.calendar
BEGIN:VEVENT
UID:3cc1eec6-4d2a-494b-99ee-e69613b49e26@foundation.e.calendar
DTSTAMP:20221228T160252Z
SUMMARY:test4
DTSTART:20221221T110000Z
DTEND:20221221T113000Z
ORGANIZER;CN=MYMAIL@MYDOMAIN:mailto:MYMAIL@MYDOMAIN
END:VEVENT
END:VCALENDAR

Any idea what I did in the wrong way or where (Nextcloud/Android/e/DAVX5) to find or report the bug if it is one?
By the way, everything is working fine when done the other way (event created under Android and synced to Nextcloud server): status is confirmed in the created event.


text:
Disabling fingerprint sensor on Oukitel WP6
I want to completely disable the fingerprint sensor on my Oukitel WP6, rooted, running CAOS (modified Android). That means not just unlocking phone with fingerprint, but completely killing that sensor. Reason being is that many apps use that sensor as a button to perform some action, and it is very difficult not to touch that button accidentally.
I've been reviewing this post as reference to disable the fpc driver, but for some reason, I can't get access to /sys (permission denied), even though my phone is rooted, and I tried several different terminal apps, giving them full permissions (trying on Termux right now). Also, the instruction there for making this change permanent is very complicated, a bit beyond my capability.
I also tried hardware solution - taping that sensor. It still works unfortunately. I disassembled the phone, but I don't see any obvious point where to unsolder it's connections.
Any suggestions?

The sensor is not a button.  When a virtual button is placed in the same location, a tap activates the button whereas a long press activates the sensor.  it isn't really an issue. On normal phones, you can disable biometry sensors/  Cant you do that here ?

@RohitGupta - I can't seem to disable it. I already disabled fingerprint as unlock mechanism in the settings, but there is no setting to disable that sensor entirely.

Then you have weird-rooted software.  This functionality exists on normal phones.  Try messaging the author of your replacement OS.

@RohitGupta But as far as I've searched, even on regular Android OS, there is no way to disable the sensor in the settings. It can be disabled for biometrics, but not as a button. And like I wrote, I want to disable it entirely, make phone unaware of it regardless of the context.

Well, I am dreaming then.  On my Samsung Note 20, it is not a button.  It is shaded in and responds only if biometrics is enabled.

@RohitGupta And if you disable it there, it doesn't do anything when you are in other apps, like browser, Waze? No action is performed when you tap or hold your finger on that sensor in these apps?

That is correct.

@RohitGupta I see... Well, my OS is no longer developed, so there is nothing I can do there. Going to need a different solution. I do need to use this specific OS.


text:
Start recording audio from lock screen
Is there a way to add the Recorder app to the lock screen? I would like to be able to be able to quickly start recording audio. Kind of like how the camera app can be opened from the lock screen. Is it possible to record as soon as the app starts without hitting the record button?

Quote from the Android development guide
https://developer.android.com/guide/topics/media/mediarecorder

Note: On devices running Android 9 (API level 28) or higher, apps
running in the background cannot access the microphone. Therefore,
your app should record audio only when it's in the foreground or when
you include an instance of MediaRecorder in a foreground service.


text:
Why do I not have a widget button on my phone?
I have a Cricket phone and it is called U319AA. For some reason, when I hold down on my phone's home screen, the only buttons that pop up are home settings and wallpapers. This is a picture of my phone showing that when I press my home screen, there is no widget button and just settings and wallpaper.

I looked it up on Google and nothing on there helped me. I see that other phones have a widget button and I do not. This is another phone showing that I have done everything right but still can not find it.

I was concerned and I don't know if it's common and if all phones are supposed to have it or if some phones are supposed to not have it. I was trying to look for ways to get my widget button and I cannot find one. I'm hoping that someone can answer my question and help me.

Your phone is running Android 11 Go -> no widget support.


text:
An assist ball with some other icons appears while on a call
An assist ball with some other icons appears on phone while on a call. Why does it appear on my Redmi Note11, Android 12 phone?

What apps do you see in Settings > search for "display over other apps"? Do you see any 3rd party app?


text:
Can I enable International Roaming just to receive calls, by disabling Data Usage on Android (and avoid data usage cost)?
I have Android and I see that I can enable International Roaming (Connections >> Mobile Networks >> Data Roaming >> On/Off), and disable Data usage (Connections >> Data Saver >> On/Off).
However I´m not sure if this will be useful for what I need, which is BEING ABLE TO RECEIVE CALLS, BUT AVOIDING DATA USAGE since I will be connected to Wifi and I don't want expensive charging for data usage.
Is this the way to do it?

Note that features like VoLTE also use mobile data (usually not charged by the provider). However VoLTE may trigger other network calls that are charged so the charged data will be small but larger than zero. See https://android.stackexchange.com/q/248997/2241

You should probably turn off Mobile Data completely.

Open your phone's Settings app.
Tap Network & internet and then Internet.
Next to your carrier, tap Settings.
Turn Mobile data on or off.


text:
Are there any device that allow updating Android OS out of the box?
Can you get a phone where you can update the system without the need to root your phone?
I've never done this myself (rooting) and for my new phone, I want to have something that will use Google Play Store and that I will be able to update the system myself. My current phone is more than 5 years old (Xiomi Redmi 4x) and it looks like Xiomi put a time bomb to slow the phone down (sometimes there is even a delay when you tap the input box to open the virtual keyboard). It suddenly slowed down when about 5 years passed. I'm not 100% sure if they did but I would not be surprised.
And another question: can you update the OS on every phone?
Can you suggest something that will allow me to use Google Play and have up to date system?

stock android ROM for sure will tell you once update is available. rooting will break OTA updates

@alecxs but I'm asking when a new version of Android came out. Like I Have Android 7 and I want to update to Android 8. I can do that with any Linux distro without the need to reinstall the system, I use an automated update to the new version. I would like to have the same on Android.

Android is not released, it is launched. every phone model receive updates from manufacturer especially compiled for this model. that's the main difference between OS distros and firmware updates for embedded devices. it's up to OEMs decision how long they support old phone models. typically end of life is after 2 years

@alecxs so there is no Android version that can have updates (I mean upgrade to the next version) and you need to throw a phone away because the manufacturer doesn't support it after 2 years? This is such a waste. No wonder there are more Gmail installs than people on the planet.

as I said phones receive upgrades to next Android version on vendors decision. Samsung or OnePlus maintain old devices up to 5 years. some OEMs (such as Xiaomi) allow bootloader unlocking and provide kernel source code, what makes you free to compile more recent AOSP your own

Your "time bomb" that slows down the phone is simply the fact that the apps are getting bigger over time and require more RAM - more than your phone provides so apps have to be frequently stopped and restarted which takes significant time. Another good vendor for long term software and hardware support is Fair Phone.

Related/possible dupe: Why are there not generic phone OS installers?


text:
Google Gmail on Android 12 now only share e-mail attachments with WhatsApp
A short while ago, on my Motorola cell phone, when I opened up an e-mail attachment I could select which app I would use to share the file/photo with.
I was used to share through WhatsApp, but accidentally I checked an option to
always share via WhatsApp. Now I cannot revert it back, so that I can choose
another app to do the sharing with.
By chance, someone ever found out a way to restore the choice of apps when
sharing a e-mail attachment through Google Gmail on Android 12 ?
I've searched through Google Gmail settings, but to no avail thus far.

Find the 'Default Apps' section of Settings>Apps (it may occur as a menu selection). Select Whatsapp and click button 'Clear Defaults' or similar in your device. The option to set another app in its place should occur the next time the operation is needed.

Right on spot, @wbogacz. Many thanks!

@wbogacz looks like your suggestion solves the OP's problem. Would you like to convert it to a proper answer?


text:
How to fix Fishdom loading in Nox Player (app management)?
I get a Fishdom not responding error (from the very first time) every time when loading. According to the internet, the solution is to clear the App's cache and activate Force Stop on Android system but I can't find an equivalent on Nox Player. Neither can I find out how uninstall to try reinstalling it. How do I fix Fishdom on Nox Player?

Fishdom is a game

Apps can be uninstalled in any Android version I know by opening Android settings (the gear icon) -> Applications -> app list -> select an entry and get the app info page where you can delete app data or uninstall it.

The process of uninstalling an app on any Android device is nearly the same.

Open Settings.
Tap on Apps.
Select See all apps.
Find the app you want to remove and select it.
Tap Uninstall.
Click OK.

Reinstall the game from the Play store, if it still doesn't open, you can download the BlueStacks emulator instead.

Its Android Emulator. BlueStacks is total broken.

Nox Player is also an android emulator, btw BlueStacks was the smoothest emulator I've used.


text:
How to access all partitions of a USB drive OR how to choose which partition is displayed in file manager?
I'm on a OnePlus 8T on Android 13, and I've recently purchased a fingerprint encrypted USB. The way the USB works, is it has a Public and a Secure partition. When you insert the USB, only the Public partition is visible, and then when you scan your fingerprint, the Secure partition becomes available.
The problem is, Android seems to only ever show 1 partition of a USB in the file manager, which in my case is always the Public partition, but I want to be able to access the Secure partition on my phone.
I believe the way I can go about this would be to either make the phone show all partitions of the USB, rather than just 1, or somehow make it so that the 1 partition being shown is the Secure one rather than the Public one.
I have no idea how I would go about doing this, can anyone help (or know anything else I could try)? Thanks!

Are you aware that you can not use a fingerprint to encrypt data? The only think you can do with a fingerprint is to check it and allow/disallow access. But the actual data remains unencrypted. If i is encrypted then the encryption key is also saved in the USB stick. Unless the stick contains a secure element the encryption key can be extracted without big problems. If the stick was cheaper than ~500 USD then most likely it will be not very secure. I would not store any data you want to keep private on it and rely on the "encryption".

lol the fingerprint itself is not the encryption key, it just allows you to unencrypt the 256 bit AES encrypted data using the firmware key. The security of the USB is not relevant to the question.

(stock) Android always mounts only first partition

Yeah, so is there any way to change that / make the "first partition" the Secure one?

How to use multiple partitions on external SD card?


text:
Samsung Galaxy S7 Edge USB MTP protocol not working
I'm trying to root my Samsung Galaxy S7 Edge, but I can't get the USB to work with MTP.

I've enabled USB debugging and set the USB mode to MTP, but still won't be recognized by the computer.
I've tried installing new USB device drivers from https://developer.samsung.com and it still didn't work.
I've factory reset the device, still to no avail.
I've also tried multiple Micro USB cables, which all have the USB Trident Trademark. None of them get recognized by my computer, and neither do they get recognized as plugged in on my laptop when I run lsusbn.
I've also tried getting plugging in my Samsung Galaxy S3, which I believe didn't get recognized either.

When I plug the phone into the computer, I expect to see the prompt or the notification asking to allow the computer to access the phone's data, but it never happens.
Does anybody know what could be the issue here?

Based on all of these, perhaps the USB cables are charging-only cables, not data cables. Have you tried it with other non-Android peripheral that needs to transfer data, like an external SSD/HDD/BD/DVD/CD/SD card player?

What about adb?  Enable it and try to connect to it (adb devices and adb shell). If this also does not work I would try to boot the PC using  Live-Linux DVD and see if MTP works in this configuration. If it works it is a PC/Linux problem.

samsung microUSB differ from other usb cables. on linux no drivers required. what is lsusbn?


text:
How can we access Settings > Safety & emergency on Android via ADB commands?
How can we access Settings > Safety & emergency via ADB commands?
I tried the below commands but none are working.
1.
adb shell am start -n com.android.settings/com.android.settings.emergency.EmergencyDashboardFragment

Starting: Intent { cmp=com.android.settings/.emergency.EmergencyDashboardFragment }
Error type 3
Error: Activity class {com.android.settings/com.android.settings.emergency.EmergencyDashboardFragment} does not exist.

emu64xa:/ # adb shell am start -n com.android.settings/com.android.settings.SubSettings -e :android:show_fragment com.android.settings.emergency.EmergencyDashboardFragment

This only opens the settings, but not Settings > Safety & emergency

Where did you got the value EmergencyDashboardFragment from? Use an AndroidManifest.xml viewer to check the real activity names of the settings app.

From the Logcat. I open the 'Safety and emergency' sub settings manually and monitored the logcat. The logcat message is below:
"12-29 16:12:55.456  5268  5268 D SettingsActivity: Switching to fragment com.android.settings.emergency.EmergencyDashboardFragment"

But a fragment is not an activity you can call. Check AndroidManifest.xml to get the activity values.

I looked over 100 activities, but couldn't find one that opens Settings > Safety & emergency via ADB.
This is how I got the list of activities:
'adb shell dumpsys package | grep com.android.settings/.Settings | grep Activity'


text:
Can I get a 'noisy' or persistent alert for google calendar?
I miss some reminders on my phone, either due to notification fatigue or because I'm away. But some events/reminders I want to be absolutely sure I do - like pay a bill. I want a way to get google calendar to remind me of an event with something like an alarm - the notification sound doesn't turn off until I turn it off. But I don't want to do this for all reminders, only ones I deem important enough.

I found a way to do this - you can use Clara's answer to a similar question to set a long notification sound. In order to make this longer notification specific for certain important events, I noticed that in google calendar/settings/general, there are separate notification settings for calendar notifications and task notifications. I set the task notification to have a long notification sound.

I use Calendar Notifications, with persistent notification and a loot of other options.


text:
Mobile Teleprompter Apps Automatic Scroll Problem
I have an Samsung Galaxy S20
I have been using a few different mobile teleprompter apps
I have a few word documents that I am either copying and pasting or importing into the app.
Whenever I try to modify the document by typing, adding, or subtracting things it keeps scrolling all the way to the bottom of the text.
Does anyone know why this keeps happening? Is there a way to turn off this automatic scrolling?
It only seems to happen in any teleprompter app that I try to use but I have not seen this happen in other apps such as docs or any other program for that matter.
I have tried deleting the cache portion from my galaxy and have tried updating the phone. The phone is already up to date.
I have also updated the apps I have been using.


text:
How do I access my Android if the screen and digitizer are broken?
I have a Motorola. The OEM unlock is on and so is USB debugging. How would I access this device if I am unable to use the touch screen or see what's going on?  I am new to developing and have no idea where to start?  The phone belongs to me and  I just need to access the apps and photos, downloads, etc.  Anyone have any tips? I would greatly appreciate and thanks in advance.

What do you mean by "OEM unlock is on and so is USB debugging"? Is USB debugging via ADB possible? Have you connected the phone via USB and checked if e.g. adb shell works? Does "OEM unlock is on" means bootloader unlocking is possible or not?

If ADB works: Control Android with broken screen from PC


text:
Volume gets played instantly via Motorola Edge 30 Pro's speakers at max volume when it auto connects to wireless earbuds
More often than not, when my wireless earbuds (Jabra Elite 75t) auto connects to my Motorola Edge 30 Pro, the volume gets played instantly via the phone's speakers at MAX volume.
I have never experienced this specific bug earlier with different combinations of devices.

"the volume gets played instantly" could you [edit] and clarify this part? Did you mean "the value of the current volume"?

Also, if you can edit and ask a specific question, that will help get an answer.


text:
Recovery of unsaved 40 minute long video on Samsung A32
I took a video of approximately 40 minutes long this morning at a funeral. I stopped taking the video and waited for it to "process". It took very long, so I switched my phone off. But now I can't find it anywhere on my A32 Samsung. It is not in the recycling or trash bins. I also can't find it on Google photo's. Is there any way that I might be able to retrieve it? I was the only one that took a video, so it is very important to the family.

I'm sorry for your loss.  I truly hope someone is able to help you with this issue.  I had a similar experience with an important video that was not saved (on an LG Android device), and unfortunately I was not able to recover it.  Hopefully someone will find a solution for you.

Thank you, I appreciate your response!

You're welcome.  I feel for you.  One thing I can recommend - and I know it's not ideal - is for now, to not use the device at all, if possible.  Don't turn it off, but just plug it in and let it sleep.  That way, as little will get written to storage on the device as possible.  That will possibly buy you a little time to see if anyone has any good ideas.  (BTW, if you find good ideas elsewhere, please do post them as answers here... good quality self-answers are always welcome!)

I've added a few more tags to your question in hope that others may find it and provide helpful answers.

@RockPaperLz-MaskitorCasket, I am new on this platform. I wrote an answer below. Then, the community bot said that my answer is unclear. Can you please help me to understand if my answer is unclear and how to improve it ? Thanks. :-)

@Job_September_2020 Welcome!  Likely, a human reviewer found the answer you provided lacking in some regard (even though it says "Community Bot", I think that's a problem with StackExchange).  The "lacking" is probably that the answer partially says "to Google it".  Now, personally, I think your answer adds sufficient additional information to be valuable (as the OP confirmed), but human reviews are subject to human opinions (and error).  Overall, I think your answer is useful, but relies too much on "Google it".  Self-contained answers are best and are often upvoted.  I hope this helps you.

@Job_September_2020 BTW, technically, the "correct" place to ask your question would be in this SE's Meta (https://android.meta.stackexchange.com), but I'm a flexible person! :)

One option is to take your phone to a professional data recovery
center, and they will try to recover the video for you.
For example, if you google "Phone Data Recovery", you can see
lots of services available. You can add your local city to google
search "Phone Data Recovery in My City (such as Seattle, Miami, Toronto,...)" and it may recommend some
local services in your city if there is any available.

Another option is to google "Android Phone Data Recovery Software" to  see if there is any recovery
software either free or paid, which could be used to recover the
video. However, since you have not installed the software before
your record the video, the potentially BIG issue is that if you install a
recovery software now after you already lose the video, the new software may be installed over your lost video and you will lose that video. So, I will not recommend this option for your current situation.

Since you switched off the phone while the video was being saved, the video may not be properly created on your phone yet, and that makes it even more difficult to recover than the case where you accidentally delete a good and working video.  However, I still hope that the professional service centers can help. Good luck.

As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.

Thank you, I understood your answer very well and I appreciate your advice!

@Marieta, I appreciate your reply. Best wishes. :-)


text:
Do apps like iMyFone LockWiper actually work?
I recently had my phone stolen and would like to know if I should change all my debit cards and other sensitive info. I want to know if is it possible to actually bypass the default lock screen and password for Android on a Samsung Galaxy J7 Pro. I am running Android version 12 and do not have developer mode enabled.
Apps like iMyFone and LockWiper claim that they can do this. If so how? I thought, your data was encrypted if you use a password.

The phone data is encrypted but the OS will automatically decrypt it once you have entered the lockscreen secret the first time after boot. And there was just recently a serious flaw found in the lockscreen which allows to bypass it: https://www.androidpolice.com/one-minute-hack-allowed-lock-screen-bypass-on-android-current-pixels-are-safe/ (not sure if this also applies to our phone) BTW: Why do you store debit card info on your phone?

Without knowing how those apps work, we have a related tag [tag:locked-out] for end-users who want to bypass/remove the lock screen. Combined with the 'lock-screens' tag, you might be interested in browsing them.

@Robert What if the lockscreen secret is not known to the attacker ? Is there any chance the attacker can access the data ?

@Robert How are you able to access the /data partition without decryption ? Look at this article. https://forum.xda-developers.com/t/remove-bypass-lockscreen-with-recovery.3530008/page-10

As I wrote once you have entered the lock screen password the first time after boot all data can be decrypted until you reboot. So if there is a way to bypass lock screen without rebooting the data can be accessed decrypted. Such a way to bypass lock screen was described in the linked article of my first comment.

@Robert Thats with a SIM card switch, but to flash TWRP and then access the /data partition the phone must rebooted at least once correct ?

Flashing TWRP means the bootloader is already unlocked (because unlocking it erases user data), in such cases the common assumption is that the phone security is broken even if you still need the lock screen password to access the user data via TWRP. Broken means you should not rely on it.

@Robert So is it safe to say that if the boot loader is not unlocked, and the phone is rebooted, the /data partition should not be readable as its encrypted right ?

Yes, unless you have a very dumb lock screen password that can be guessed in a few dozen tries.


text:
How do i remove the blue circle with an "A" in it next to a caller I did not block?
How do I remove the blue circle with an "A" in it next to a caller I did not block? It's next to my elderly mother's # & she needs to be able to call! I actually have two numbers that have that blue circle with the "A", and they are both very important numbers.
I would really like to know how to unblock a number on the phone.

The icon (circle with a letter) next to the contact name is a default icon.  If you had a photo attached, it would display here.  It does not mean that the contact is blocked.
If it shows an A, then it's likely that the contact's name begins with an A.
Blocking
Contacts as such are not blocked.  The blocking is in phone and message apps.

Open Phone app
Press on hamburger menu
Select Settings
Select Block Numbers

OR

Open Message (SMS) app
Press three dot menu
Select Settings
Select Block Numbers and messages

Blocked numbers will be shown here.  And you can unblock them here too.

My mother has been blocked from calling.  I looked up what the blue circle with an "A" in it was, and it said that a contact was blocked.  My question is, how do i remove it.  Her number or the other contact is not is not in my blocked list, so I don't know what is going on.  It seems like some kind of fluke.

The icon has nothing to do with contact being blocked.  Your question was how to remove the icon, which is not an issue.


text:
Routing Audio signal between apps
does anyone know how I can route audio signals between apps?
I want to play something on a synth app and route and record it with a looper in parallel. The looper normally would use the built in mic as input and has no option to choose an other app instead.
I could not find any solution for this on google.
Thank you for you help in advance!

Does this answer your question? How can I record internal audio?

Hey Robert, yes and no. It would help if someone could give me an example of an app which would do this + recording of internal sound alone is not the goal. The redirecting to the other app is important.

Unless the answers of the linked question are outdated this doesn't seem possible. Usually an audio system like Android uses has no routing as transmission of audio between apps is not intended. If an app wants to route audio to another app both apps have to implement an own interface for sending/receiving the data.

Ahh, okay, got it. Thank you!


text:
Why do dual-SIM smart phones always have to have 1 SIM card turned on?
I read that smart phones can operate for Wifi messaging apps, for example, without needing a SIM card, except during installation
But when I go to Settings /Connections /Sim Card Manager on my dual SiM card Android smart phone, why do I get the error "can't turn off this sim card" when trying to turn off SIM 1 after turning off SIM 2?

Regular single SIM phones also have always one active asIM card (as there is no option to disable the one and only SIM card). If you want to disable both SIM cards use Air plane mode.

Waiting for answer still, since that's just an observation. But anyway, airplane mode cuts off wifi in the process, despite have nothing to do with the capabilities of a SIM card, so it is not an answer that explains the phenomenon inquired.

On recent Android (or Pixel?) phones Air plane now only affects cellular network. WIFI stays as it is. This change was introduced by Google a few weeks ago.

On earlier phones, the WIFI and Bluetooth do turn off, but you can enable just the WIFI after turning on airplane mode.

Also, not all Wifi apps will work without a sim, such as whatsapp.

Before SIM installation, whatsapp wont work. After, or if SIM plan expires or SIM turned off, whatsapp still works. Still need answer to op's question.

Doesn't Airplane Mode count as turning both SIM cards off? Why must 1 SIM card have to be turned on on Android, yet Airplane Mode does turn both SIM cards off?


text:
CDMA signal disappear after changing network using an app
My phone is a replicate of the Huawei P8 called p8 lt Dual sim Android 6.01. After I used an app called Network Mode Universal to enable LTE on my phone, the signal disappear and I can't use my CDMA SIM anymore. At first, all I did was change the mode to LTE only. Then I tried other options, but nothing works. Other than that, GSM seems to work fine.

I tried restarting my phone, resetting my network, and using another CDMA card but nothing works.
How I can reset my configuration?


text:
Edited descriptions of multiple events and now they are gone
Using a Samsung Galaxy A30s and the Google Calendar version 2022.48.2-494681027-release.
I have a weekly recurring event until July 2023 with two more persons.
In order to add more specifics, I edited the description of each (from now until the end), saving "This event" as the next image shows

Initially, everything was showing up fine and they received emails with the updates.
But now I don't see the text in the description. The same happens in the Calendar of the other two persons.
How to proceed to get back the descriptions in the events? Ideally I wouldn't have to do it all over again...

Instead of keeping the recurrent events, I created a separate event for each week with the desired description. In other words, didn't manage to save the time but got the job done.


text:
Custom physical keyboard mappings without root
I have a physical bluetooth keyboard.
I want, as I do on my computer, to remap the caps lock key to the escape key.
I see in settings there are shortcut keys but no way to remap keys.

Is this possible with an Android phone? I'm using Android 13

Possible dupe: How to remap keyboard shortcut?

Thanks. The files mentioned in the linked Android  document seem to require root access, however. So I've edited my post to specify that I want to do it without root.

There was a link to ExKeyMo https://exkeymo.herokuapp.com/ . It should help you. Disclaimer: I'm the developer.


text:
Disabling automatic Android updates on an unrooted Samsung S22?
Is there any way to disable automatic Android updates (for the OS, not apps) on an unrooted Samsung S22 running Android 13?
I bought it through T-Mobile, and it's really driving me insane. The phone's overall performance is fine, but T-Mobile (not Samsung, the updates are explicitly T-Mobile-branded) forces Microsoft-eske automatic OS updates on me several times a week, which disables the phone for hours until I manually unlock it and it "finishes installing updates".
I tried some obvious solutions suggested on various blogs, like disabling Settings->Software update->Auto download over Wi-fi, but these options are either removed (thanks T-Mobile) or have no effect.
I use this phone for work as well as my personal alarm and for meeting notifications. Due to these updates, I've overslept when my alarms and meeting reminders don't start. I refuse to accept that a $900 phone has to be less capable than a $5 alarm clock.

I would assume that the main problem is that it reboots and you have to enter the lockscreen PIN the first time so that the encrypted user data files can be decrypted. So when you enter the PIN and then see the "finishes installing updates" message this means your phone has just rebooted. I don't know how Samsung handles updated but on Google phones this reboot is scheduled to the next night. So checking the phone before going to sleep would be enough.


text:
How to root Redmi Note 11?
I want to root my device Redmi Note 11. I tried looking up online but could not find any thorough and updated guide. I don't want to brick my phone by following them.
Please, can anyone guide me through the process of rooting my device?
If it is possible, steps to pass the SafetyNet too.
Device specs:

Thank you.

kindly read the * manual https://github.com/topjohnwu/Magisk

You are right! rooting is a bit complex process; without any technical knowledge or being a novice user, one should follow the step-by-step guide to get a successful ending. Reading the below comprehensive guide on rooting Xiaomi redmi note 11 might help you in this regard. How To Root Xiaomi Redmi Note 11? step-by-step guide

@MilesMorales glad you solved your question. kindly write up self-answer to your question and mark as solution.

Does this answer your question? Update to Magisk 24.1. Support for XPosed modules / Changes

Thank you everyone. I managed to root my device successfully.

I asked the same question on XDA forums. And after unlocking the bootloader I followed this thread. https://forum.xda-developers.com/t/how-to-root-redmi-note-11.4539979/


text:
Why does my Samsung Galaxy S10 mobile hotspot cut out after exactly one hour?
I have an issue where if I turn on my hotspot it will automatically stop working after exactly one hour, every time. I have tested this with a stopwatch several times to confirm this is the case. It's becoming a real pain because I'm always on the go and need to tether my mobile internet to my other devices for work purposes.

I have reset my network settings.
I made sure the Turn off when no device connected for setting is on Never timeout.
The system software is fully up-to-date.

There has to be some setting or issue somewhere causing it. Has anyone else ever experienced this? I can't figure it out and would super appreciate any help. Are there any logs I can look at?
The way this issue presents itself is odd. The connected devices lose the hotspot connection entirely, however, the hotspot toggle on the Samsung phone is still set to On. If I search for the hotspot I can still find it, and when I try to reconnect it will take a little longer than usual and eventually say "Connected - No Internet". I then have to go back to the Samsung and toggle the hotspot off/on to get it working on the other devices again.
I'm using the exact same sim card I had in my Huawei 20 Pro before I upgraded to Samsung and this was never an issue on that phone. It seems unique to my Samsung.

Is this when you are still or when you are driving ?

Always when stationary working in one spot

Do you have a VPN running ?

No VPN running this end

I do have a VPN profile installed on the phone from a VPN app i have but the VPN is never switched on. But i can uninstall the VPN app and delete the VPN profile from the phone to be sure it's not that and re-test.

OK so I've just been in to see one of the people in the Samsung shop and asked the question directly. They said that a recent update in the system software has caused this. Apparently, Samsung deliberately put a one hour timeout on the hotspot because people were complaining that it was eating all their data! What the actual *#@!??

I'm finding this really difficult to believe to be true. I'm now in a queue with Samsung support so i can get an answer from a technician.

Rather than listing them one by one in the comments.  These are some of the possible causes for the hotspot to stop.

Default setup option in Samsung to timeout is after 1 hour.
VPN app running that may reset it when it reconnects to the internet.
Lock / Limitation by ISP.  ISPs in some countries are very strict about this.
WIFI interference or Out-Of-Range may also stop hotspot.
Battery Saving Mode may drop hotspot
Rate-limited mobile plan can do it too.
Connecting to a Wifi network will stop hotspot.

Thanks Rohit. I can confirm that 2-7 are not an issue on this side. I am curious about what you mean by Default setup option in Samsung to timeout is after 1 hour. Are you aware of this as being the case or rather is it a suggestion that it could be a possibility? Also I've received 3 upvotes so far for this question so I imagine others are also experiencing this. If there are any settings you think I can look at specific to point 1. please let do me know.

I have seen this on 3 different mobiles, but I believe that you have already set this to never timeout.


text:
Add filter in the list of apps
ALCATEL 8088Q 3T10 tablet.
In the SETTINGS of this tablet in SPECIAL APP ACCESS there is a BATTERY OPTIMISATION list. In this list one can either see all apps or apps which are not optimised.
In other words, there are only 2 filters in this list viz 1. NOT OPTIMISED 2. ALL APPS.
Now what I need is a 3rd filter viz 3. OPTIMIZED so that I can view the list of only those apps which are optimised.
Is there any way (eg through the developer mode in settings) to add this 3rd filter ?

No.
Those options are built into the system and there exists no way to add an "Optimise" filter. But yes, I do understand your requirement.


text:
Alternative installation source for QPython Plugin for Tasker
I am trying to get the QPython Plugin for Tasker from the UK Google Play but despite using voucher credit, it is denied. The creator's email address is not valid.
So I am wondering if anybody has a compiled APK using files from GitHub Qpython Tasker, I do not know how to compile these. Thank you for any help.

I only found this GitHub Repo which may not be the same as the Play Store version (e.g. different label on Tasker). Do you know the correct GitHub repo?

Hi Andrew, thanks for the reply,  that github repo is the only one I could find also, but beyond me at present to create an apk and try it out


text:
Is there Downloads app on Android 11?
I recently moved to Android 11 from Android 7 and noticed that there's no app that handles downloads, shows full list of files being downloaded, their size, estimated time etc.
Instead, all downloads shown in notifications from app Download Manager. But this notifications are very primitive, there are even no pause button only cancel button and progress bar. This app has no openable gui and shows only in notifications.

What device are you using?

@MilesMorales CUBOT TAB 10


text:
I want to block system apps from using wifi network
When i go to security >>data restrict use>> and i do search for any system app , i can not find it. Is there any solution because the manufacture prevents me from blocking them, like as user apps on android

Since manufacturers do customize their Android OS including their Settings menu, could you [edit] and mention the device model and Android version?

Share some information about your device and OS. If possible, what apps you are trying to block.

Have you tried using TrackerControl? It is an open source app that sets up a VPN server and blocks trackers. Once you install it and enable VPN, Go to Settings > Advanced options > Manage system apps and enable the toggle. Then all System apps will show up on the dashboard. Tap the icon of any app to revoke internet access. Tap the name of the app to configure more complicated settings for an individual app.
Github: https://github.com/TrackerControl/tracker-control-android/releases/latest/download/TrackerControl-githubRelease-latest.apk
F-Droid: https://f-droid.org/app/net.kollnig.missioncontrol.fdroid
Google Play: https://play.google.com/store/apps/details?id=net.kollnig.missioncontrol.play

Yes, but i need permanently method (even by root), i tried to stop or remove permissions( com.android.permission.INTERNET ) from Androidmanifest files but i get problems such as disappearing the apps after remove that permission also when i tried remove the permission for settings.apk the rom was unable to reboot again, but recently i am testing all method on virtual machine


text:
Some tablets respond to pings, others don't
There are dozens of tablets on my table that are all connected to the same 5GHz Wi-Fi network. All IP addresses were given by DHCP in subnet 192.168.34.0/24. I want to find the ip addresses of all of them so that I connect to them and use adb wirelessly. After unlocking all devices and making sure they had enough battery, I tried sudo nmap -sn 192.168.34.1-254. While it found a majority of the tablets, some were missing. Then I tried a broadcast ping with ping 192.168.34.255 -b but got zero responses. However I can manually pick up a tablet, go to its settings find its ip and ping it manually and they always respond. For instance 192.168.34.123 was not found by nmap but ping 192.168.34.123 always works.
Why do some tablets not respond to nmap pings but do respond to manual pings? How can I ensure that all tablets are reachable by nmap? Are there other commands or tools that are more suitable for the job?

Similar question on Unix.SE: nmap is unable to find all android tablets connected to network

Android devices can temporarily disconnect Wifi for saving power when they are in idle state and the screen is off. In such situations of course they won't respond to pings.

Is it possible that something in your network stack is restricting broadcasts?


text:
How to detect cpu architecture and deliver correct apk?
There are a variety of CPU architectures that android systems use such as arm64-v8a, armeabi-v7a, armeabi, x86_64 and x86. Is there a way for adb or any other tool to detect the architecture of a connected device? I have many devices connected to a PC running adb and I would like to create a script so that adb can deliver the correct package.
For example, I have packages app_arm64-v8a.apk, app_armeabi-v7a.apk and app_armeabi.apk on my desktop that correspond to their respective architectures as well as tens of android devices that are connected to an adb server on desktop. How can I iterate the output of adb devices so that the script figures out the architecture of each android device and automatically install the right apk to each device?

See: How to find ARM processor version on android device?

An answer on How to tell what architecture an APK is intended for? also briefly touched the ADB/shell command to detect the CPU/ABI list.

Does this answer your question? How to tell what architecture an APK is intended for?


text:
root - Can't edit hosts file
I am using Redmi Note 11 running on Custom ROM - Xiaomi Eu
Specs:

My device is rooted via Magisk. I want to edit the hosts file. I have tried using ADB, CX File Explorer, X-Plore Manager but I am unable to edit it.
Apparently none of the methods are able to write on /system partition because it is Read Only System.
I looked up online and tried mounting it as writable via ADB using
adb shell
su
mount -o rw,remount /system

Output : /system not in /proc/mounts

And
mount -o rw,remount /

Output : /dev/block/dm-0 is read only

adb root and disable-verity aren't working either.
It is so annoying. I had to wait 5 days to unlock the bootloader. Spent whole night installing Custom ROM and rooting my device. And all of it for nothing.
Please help.

Since you're using Magisk, didn't Magisk have an option for Systemless Hosts?

@AndrewT. It says 'support for ad blocking'. But I want to block some particular sites. How can I do that?

Perhaps Where is the "systemless hosts" file under Magisk? may help?

@AndrewT. What's going on? After rebooting, I can edit the /system/etc/hosts file but it's not blocking the site. Can you please explain what exactly did I do by clicking on 'Systemless hosts' ?

To be honest, I was just a casual Magisk user and didn't really understand how it works, so I can't explain it. For "not blocking the site", if you're using Chrome, then perhaps Modifying hosts file does not have any effect may be related (DNS cache). Other browsers/apps might have a similar feature.

Perhaps How does Magisk work? may give some insight into the "systemless" feature.

I was planning to uninstall root after editing the hosts. And turns out, if I use 'Systemless hosts' method, edit the hosts and then disable it in the Magisk Modules section, the hosts file in /system/etc/ revert back any changes.

Do you know AdAway? what's the point of uninstall Magisk? you know you can set to always denial?

And turns out, if I use 'Systemless hosts' method, edit the hosts and then disable it in the Magisk Modules section, the hosts file in /system/etc/ revert back any changes -- this is intended behavior. Systemless hosts is a magisk feature. It overlays this new hosts file over the one that your OEM shipped. Thereafter any changes made to the hosts file are actually made to this overlay hosts file. By disabling systemless hosts, no overlay would be there and the actual hosts file of the system would be used.

Thank you everyone for your help.
I managed to edit the hosts file successfully and changes are still intact even after removing Magisk and root.
This is what I did:
Important. Very very important:

Your device must be rooted.
You must have ADB & Fastboot drivers set-up on your PC.
You must have custom recovery like TWRP installed on your phone.
Proceed only if you understand what you are doing.

.

First of all, I used this script which remounts the system partition of your device as rewritable.
Link 1 : XDA forums thread page
Link 2 : Direct link

Booted in TWRP and installed the zip file of Universal SysRW obtained from link 2. Detailed instructions on how to install via different methods are available in link 1.

Pulled the hosts file from my phone on my computer and edited it. It's format as visible in Notepad++ (UTF-8) with special symbols is

Copied the hosts file into Documents folder in my Android device internal storage.
Enabled USB Debugging on my Android Device and connected it to my PC via USB cable.
Opened Command Prompt on Windows. (Same commands can be given in Linux Terminal)
Executed adb start-server and then adb devices to make sure my device is connected correctly.
Executed adb shell
Executed su. A popup appeared on my phone asking SuperUser permissions for ADB Shell. Clicked on 'Grant'. On successful execution the sign in ADB Shell changes to a #.
Ran the following commands in it

mount -o rw,remount /

And then,
cp "/storage/emulated/0/Documents/hosts" "/system/etc"

First command remounts the system partition in your device as rewritable. And then the second one copies the custom hosts file from Documents folder to /system/etc.

Cleared all data from my browser. Rebooted my device. Done.


text:
adb downgrade install fails even with -d
I'm attempting to install a pretty old version of Chrome (44.0.2403.133) on a Nexus 5X (Android 6).  It already has Chrome on it so I ran
adb install -r -d path/to/chrome.apk

However, even with -d, it still failed with
Failure [INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE]

Examining the logcat output, this line stands out to me:
W PackageManager: Package com.android.chrome new target SDK 22 doesn't support runtime permissions but the old target SDK 23 does.

There's an explanation for this error on this answer on Stack Overflow.


text:
Unlimited Google Photos storage?
When I bought my Pixel 3, one of the appeals was that Google promised unlimited storage at Google Photos (although not at max resolution).
Now, https://one.google.com/storage and https://one.google.com/storage/management tell me that I've used 97% of my storage, and it points to various videos of mine taking up a lot of space (and I thought that photos and videos taken by this phone would not "count" in my storage quota).
In my Camera app and Google Photos app, I no longer see the obvious option that used to exist that said something like "upload lower resolution photos, which don't count against your quota".
I have Android 12.
How can I fix this so that Google Photos changes the resolution downwards of those uploaded photos and videos so that my storage quota frees up again?
I don't want my Gmail to get discontinued due to lack of space, and I don't want to pay for storage that was supposed to be free.

As you have a Pixel 3 which still has support for high quality/storage saver photo backup:
From: Google Photos Help page - Choose the backup quality of your photos & videos

Pixel 3
Photos and videos backed up in Original quality on or before January 31, 2022 remain in Original quality at no charge. Photos and videos backed up after January 31, 2022 are saved in Storage saver at no charge. Photos and videos backed up in Original quality count toward your Google Account storage.

Change your backup quality
Important: If you're out of storage, you can't change your backup quality.

On your Android phone or tablet, open the Google Photos app Photos.
At the top right, tap your Profile picture or Initial.
Tap Photos settings Settings and then Backup and then Backup quality.
Select a backup quality.

I just checked this on a Pixel 2 with Android 10, Google Photos app version 6.18.0.499567106 and was able to reach the setting.
Okay but how can I recover space in my Google account?
WARNING
Prior to attempting you should archive outside of Google cloud your photos & videos before attempting to recover space in your Google account. You can use Google Takeout to archive just your photos and videos so that should any issues arise there is a copy not on Google's servers.
Alternative you can use Google Takeout to save your photos and videos outside of the Google cloud and delete manually to recover space.
Always check that the backup contains the data you want and the backup data is viewable/playable.
Google Photos space recovery from:
Choose the backup quality of your photos & videos - Computer tab toward bottom of page

Reduce the size of your photos & videos
If you have photos in Original quality and want to save some storage space, change your already backed-up photos and videos to Storage saver (previously named High quality). This setting won't appear if you have unlimited storage for Google Photos.
Important:

You can only recover storage once a day. Storage recovery won’t change the quality of your future uploads.

In some circumstances, certain photos and videos may not be able to be compressed and will be stored at their original file size.

On your computer, go to photos.google.com.

At the top, click Settings  and then Manage storage.

Under “Recover storage,” click Convert existing photos & videos to Storage saver.

Also, please don't perform this as a MASS edit. Experiment to taste on a limited exposure until satisfied it is what you want and can live with. Doing a MASS edit into an unwanted state helps no one - not you, not us, who will probably get a desperation post - "PLEASE SAVE MY PHOTOS!, I DON'T KNOW WHAT WENT WRONG!"

@wbogacz Good point, I add in a stronger warning about the operation.

Perhaps also worth emphasizing on "In some circumstances, certain photos and videos may not be able to be compressed and will be stored at their original file size."

This was super helpful. Exactly what I was looking for. https://photos.google.com/quotamanagement said that I used 2.8 GB on Google Photos. First, I copied all media from Pixel 3 to PC.
After transferring those files, then at that web page I clicked “Recover storage” > Learn more > “Compress existing photos & videos”.
It said “Compressing... This may take several hours”
I came back later, and it now says 283.5 MB used by Google Photos. (Maybe at some point I uploaded video that wasn't taken by my Pixel. I'm not worried about that small amount.) THANKS!

Google or my Pixel 3 seem to keep reverting the setting (I want it to stay set to "Backup quality > Storage saver"), which is super annoying. My Photos backup then eats all of my storage space, breaking my Google Docs. Today it even reached "19 GB of 17 GB used". https://photos.google.com/quotamanagement/large shows that a 30-min video today took up 4.4 GB! Whoa. So I had to use the steps above again. But even though it seems to have finished after an hour, I still don't have the space back.

Now I have a Pixel 6, and Storage Saver keeps getting disabled. It's driving me insane.


text:
How to delete the personal profile in the Samsung Contacts app?
Is it possible to delete the personal profile that is created in the Galaxy Contacts app? The personal profile section appears directly at the top above the contacts list, under "My profile".
After creating the profile it doesn't seem possible to delete it (I can only edit it - but I want it removed).
I am using One UI 5.0 (Android 13) and the Contacts app version is 14.0.05.8
The profile isn't linked to any Samsung account. The Samsung Contacts app personal profile seems to be stored locally on the phone. I tried clearing the Contacts app data & cache but this didn't remove the personal profile unfortunately.


text:
When I arrive to my destination using Waze, how can I tell on Waze whether the destination is on my right or my left?
When I arrive to my destination using Waze, how can I tell on Waze whether the destination is on my right or my left?
Example:

I saw some posts from 2015 stating it's not possible. I wonder whether it's possible nowadays.

On my screen it is obvious as the destination icon is either on the left or the right of the road. Have you tried zooming in


text:
Connections towards specific inbound ports on cell phones
Imagine a cell phone connected to internet via 3G/4G/5G, but not via wifi (and a router). Wifi is either temporarily disabled on the cell phone, or not available at that area.
Can that cell phone run (for instance) an FTP server that listens on port 2121? Is that something that usual telephony networks allow you to do, on your cell phone, or is that very rare?
I would like to access files on the cell phone with an FTP client located on any other device in the world. I know that, when the cell phone is not connected to a router via wifi, its IP is (usually) dynamic, and changes every time the phone/communication is restarted. Let's assume that that would not be a problem for me. I would just manually find out what is the IP dynamically assigned to the cell phone, and I would "type" that IP into the FTP client.
I have tried all that, with no luck. It looks like telephony networks don't allow TCP/IP connections "towards" specific inbound ports on a cell phone. Internet providers via fiber optic/ADSL/cable do allow those connections (I can, of course, set up an FTP server on my desktop PC behind a router), but it looks like telephony networks don't allow that. Is that right? If so, is there a solution to that? Are telephony networks that allow that common?

How to connect to Android through SSH over 3G/4G public IP?


text:
How do I find out the manufacturer of a phone that is lost?
How do I find out who the manufacturer is of a lost phone I have the serial number I also have the Sim number and I know that it is a safe link phone.

If you have the IMEI you can derive the manufacturer from the first few characters as it is a code for the vendor.

The SIM number identifies the sim card inside the phone.  The SIM card may hsve been plugged in after manufacture.


text:
How to make a macro that deep links to the Play Store app page?
My phone has an annoying app market, it redirected me to their store and automatically downloaded the app but I didn't click anything when I clicked on https://play.google.com links. I'm making a macro that redirects me to the Play Store when the app market is launched. I need to deep link the play.google.com link to Play Store, how can I do this?

You can try if the old market scheme is also redirected: market://details?id=my.app.xyz


text:
Is there an endpoint to get Google Root Certificates list for verifying hardware-backed key pairs?
I would like to verify a hardware-backed key pair in my Java backend service.
According to the Verifying hardware-backed key pairs with Key Attestation page, I need to verify the attestation object against the Google Root Certificates list.
I don't want to hardcode this list in my codebase as it makes it less flexible and I'd have to keep it up to date manually.
Is there an endpoint to fetch this list dynamically? I see a similar endpoint for the Certificate Revocation Status List

Also posted on Stack Overflow: https://stackoverflow.com/q/73557927/2821954

As this question is only about hardware verification root CAs (which are used on the server side) it is clearly a development question and thus OT here.


text:
OpenVpn Android: failed to parse certificates
I have a config file that works in windows, but when I try to use this file in the OpenVpn Android application, I get an error that says that it is not possible to parse the files ca.crt, cer.crt, cer.key and ta.key.
I have the config file and all the other files in the same folder.
My config files is this:
ca ca.crt
cer cer.crt
key cer.key
tls-auth ta.key 1

I have alse too to embedded the files in the config file, how it is explained in the documentation: https://openvpn.net/faq/i-am-having-trouble-importing-my-ovpn-file/
But I still get the same error.
How I have set the certificates in the config file to can import it in the OpenVpn Android application?
Thanks.


text:
Android 13 ethernet tethering forward all ports
i want to forward the mobile Internet on my rooted Pixel 7 to my router. My router forwards ports 80/443 to a client in my local network to host some web services. I want to be able to forward the ports from my phone to the local client:
Internet --5G (rmnet1)--> Pixel 7 --Ethernet (eth0)--> Router --> Client:443
I have no GCNat in front of the Pixel 7. In fact i can forward non priviliged ports with the Fwd: port forwarder app and its working as expected
Ideally all ports would be forwarded to the router as i also want to use Wireguard. I would also be happy if the phone is only working as a dumb modem, bridging the two interfaces.
I already tried the answers here and here, but requests always timed out.

As stated in the question I have no GCNAT. I have a public ipv4 which I can call. I can even forward non privileged ports via the fwd app.


text:
Spyware installed on phone, need to backup data before giving it to police
A friend of mine installed a spyware on my phone about three years ago, and made the access to that spyware public and i didn't know about it untill recently. I was always confused as to how people know so much about my life and what I say about them to other people. A lot of damage has been caused not just socially but financially as well because the access of the spyware fell into the hands of a scammer who has withdrawn a huge amount of money from my bank account. Now, I want to file a case. Both against that scammer and bastard friend of mine. So, i have been advised to give the phone to the police but because that friend is from a influential family i am under the fear that if I give my phone directly to the police without having a proper backup then they will not find anything because he will get it deleted. So, i want to take a full back-up of the phone. Everything from files to music to apps to system apps so that I can file a case. How can I do that? I need each and every file. So that the police can recover the spyware and then follow up the ip address of the culprits. I need full backup because even if he by influence convinces cyber police department to delete the spyware and say there was nothing in my i would have something to show. Assuming he had not installed the spyware with auto delete feature.


text:
Can I change the default media player on Pumpkin Android 11 radio?
I have a USB disk with MP3 music connected. Everytime when the Pumpkin radio has booted, it recognizes the USB disk and starts the preinstalled media player automatically, which starts playing the first song from the disk. This is annoying, and furthermore, I'm not satisfied with this app cause it lacks relevant features.
I want that the media player "Phonograph", which I have installed, starts instead. I have asked Pumpkin support, they say it is not possible to change the default media player app. I have looked in the settings "Apps -> Standard apps", but there is no setting for the topic "Mediaplayer" available (there is a setting for the default browser and one other topic, only)
I tried to disable this default player app (I forgot the name) but not possible, is greyed out.
Does anyone have an idea? If possible, without root.
Thank you.


text:
Which partitions to back up for a "complete" backup?
I have a Galaxy S10e running crDroid 13. I don't have TWRP on it (since it had to be installed from the custom LineageOS recovery), but https://stackoverflow.com/questions/29442630/copy-full-disk-image-from-android-to-computer explains how to get partition images usind adb pull.
Which partitions do I need to back up for a "complete" backup, though? ls -la /dev/block/by-name shows many:
boot -> /dev/block/sda14
bota0 -> /dev/block/sda1
bota1 -> /dev/block/sda2
bota2 -> /dev/block/sda8
bota3 -> /dev/block/sda24
cache -> /dev/block/sda28
cp_debug -> /dev/block/sda30
cpefs -> /dev/block/sdd1
dqmdbg -> /dev/block/sda22
dtb -> /dev/block/sda12
dtbo -> /dev/block/sda13
efs -> /dev/block/sda3
keydata -> /dev/block/sda21
keyrefuge -> /dev/block/sda20
keystorage -> /dev/block/sda6
misc -> /dev/block/sda19
nad_refer -> /dev/block/sda17
omr -> /dev/block/sda29
param -> /dev/block/sda4
persistent -> /dev/block/sda18
product -> /dev/block/sda27
radio -> /dev/block/sda16
recovery -> /dev/block/sda15
sda -> /dev/block/sda
sdb -> /dev/block/sdb
sdc -> /dev/block/sdc
sdd -> /dev/block/sdd
sde -> /dev/block/sde
sec_efs -> /dev/block/sda7
steady -> /dev/block/sda9
system -> /dev/block/sda25
uh -> /dev/block/sda10
uhcfg -> /dev/block/sda11
up_param -> /dev/block/sda5
userdata -> /dev/block/sda31
vbmeta -> /dev/block/sda23
vendor -> /dev/block/sda26

I don't know what most of them do, e.g. bota, cpefs, etc. I suppose I need boot, system, recovery and userdata, but what else?
It's also unclear to me where user files on "internal storage" (/sdcard) are stored. userdata is mounted as /data, but I don't see /sdcard listed in the output of mount. It does show this:
/data/media on /mnt/runtime/default/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal)
/data/media on /mnt/runtime/read/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=23,derive_gid,default_normal)
/data/media on /mnt/runtime/write/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid,default_normal)
/data/media on /mnt/runtime/full/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid,default_normal)

but I don't understand how that works, because /data/media seems to be a regular directory and not a device file.

Since the days when /sdcard changed from a real sdcard to an emulated one it is simply a directory on the user data partition. And the sdcard directory is just a soft link in the file-system. Just look at it using ls -l / to see the link targets.

very good explanation of android partitions on xda-developers https://android.stackexchange.com/questions/215683/trying-to-understand-the-options-in-twrp-backup#comment276228_215683 bear in mind that dump of userdata (+ metadata) partition is encrypted, and becomes useless on factory reset

@Robert thanks, OK, so userdata should actually include all user data then. @alecxs Ah maybe that explains why I cannot open the userdata image using the Linux Disks utility! It detects an ext4 filesystem, but fails to mount it with a generic error ("cannot mount /dev/loop0 read-only (udisks-error-quark, 0)"). I have stock ROM files, but don't know how to get the partition names from those. It's just the standard AP, BL, CP, CSC and HOME_CSC tar files.

OK, I opened the tar files in in 7z and opened the .pit file in GGSM_PIT_VIEWER [https://i.stack.imgur.com/tiN8Z.png], but both include userdata, which obviously does need to be backed up. So I'm not sure how this tells me which partitions to back up.

Also, with userdata being encrypted this would make the backup useless after a factory reset, as I understand, so perhaps this backup method is not so useful after all. Maybe booting to TWRP via adb fastboot boot twrp.img and doing backups from TWRP would be a better option, after all.

No, userdata is included in the stock ROM's partition list - though its length is 0. vbmeta and recovery are also included, of course, but I know I replaced those when flashing, so need to back those up. Basically the stock ROM includes a lot of partitions and I'm not sure which of those are still stock on my device and which have been replaced by flashing my custom ROM (crDroid) or otherwise modified.

on screenshot I can see bota persistent misc keyrefuge keydata