Question and Answer about Android from Stack Exchange network.


My microphone (voice to text) option has disappeared from my keyboard. I'm using a Galaxy X-Cover4.

Thanks in advance.

I started getting low disk space a week ago, everyday I clean up cache and data from Apps, even uninstalling apps, but still get the space issue again after a few hours.

I download DiskUsage app and I found that "Vision Provider" is using 47G (Picture attached), I never used Bixby so I'm not sure why it's taking all this space.

How can I delete the Vision provider to free disk space?

Samsung Galaxy Note 9 running on Android 9 stores all old clipboard entries which requires me to manually delete it every time.

"Clipboard" menu on text cursor pop-up The content of the clipboard

How can I opt-out of this "feature"?

Background

Many people have experienced a bug whereby the Sony Xperia Z3C (compact) no longer has functional home and back buttons. Specifically, the issue involves the buttons highlighted by the red rectangular box in the following image:

Broken Buttons

Problem

The problem may be caused by a number of reasons, from hardware issues to software upgrades. A solution is not easily found. As these buttons are essential for using the phone, when they are broken the phone is far less usable.

Workaround

A quick workaround is to rotate the phone "upside down" so that the buttons flip to the "top" of the screen.

Question

How do you fix this issue permanently?

PLEASE HELP I missed with the build.prop file but I made a copy of it before.Then I deleted the edited build.prop file and restore the old one then rebooted the phone(Samsung S3 lineage 14.1) but not working!IT shows the Samsung logo then black screen appear.I can access the TWRP so I checked that the old build.prop file is in /system but nothing.What should I do? pls help

Is it possible to enable the "Reader View" of Chrome for Android, when Chrome doesn't offer it?


On iOS, Safari leaves the choice entirely to the user, who has to click a button – which is good, as Chrome's popup-bar is a bit distracting, and especially because it means that the user is free to enable it on any website.

In Firefox, the button isn't always offered, but display of the Reader mode can be forced with about:reader?url=URL, which can easily be turned into a bookmarklet.

But for Chrome, I couldn't find any option of forcing Reader View yet, and more often than not it isn't offered on the very articles, where it would help the most, such as those with bad color choices and overly obstrusive ads.

Well, how do I test if my Device supports WiGig? My device manufacturer claims that the device supports WiGig but, I don't have a WiGig network, or at least I am not aware of that! Is there an application in Playstore which can do it for me?

I need the functionality of inserting bookmarks within the Google drive or Google Docs Android app. I can do that from within the desktop browser. Is this feature already there, and I am just not seeing it?

This is not the same thing as adding a shortcut to the Android devices home screen as indicated by: Can I make a Google Doc shared with me more accessible on my Android device?

Google is a large company. When it creates apps for Android, it needs to be on parody with the desktop browser unless there are specific technical reasons why that's not possible, and sometimes it is not possible, but not in this particular situation for sure.

Google Pay uses mobile numbers and UPI to transact money.

Why does it require location permissions?

I have a Sony device that supports treble and is a system-as-root and A/B device. It has a user-debug ROM installed on it so, its adb shell is rooted.

I have disabled dm-verity using adb disable-verity after running adb root and adb remount commands.

As documented here, this device also has split policies at /system/etc/selinux(the 'plat' portion of the policy) and /vendor/etc/selinux(the 'nonplat' portion of the policy).

I am trying to run test.sh using following init script:

#/etc/init/m_daemon.rc

# define service, use executable here if script not needed
service m_daemon /system/xbin/test.sh

    # don't start unless explicitly asked to
    disabled

    # Use `seclabel u:r:magisk:s0` to run with unrestricted SELinux context to avoid avc denials
    # can also use "u:r:su:s0" on userdebug / eng builds if no Magisk.
    # It's required if SELinux is enforcing and service needs access
    # to some system resources not allowed by default sepolicy
    # seclabel u:object_r:qlogd_exec:s0
    seclabel u:r:su:s0

# start the service when the boot is completed
on property:sys.boot_completed=1
    # Use it to start the service
    start m_daemon

/system/xbin/test.sh file has the following contents:

#!/system/bin/sh
echo `date` > /sdcard/test

When the device reboot then it fails to run with the following error:

202.932913 / 11-26 20:21:04.074 audit: type=1400 audit(1574763664.074:213): avc: denied { transition } for pid=8534 comm="init" path="/system/xbin/test.sh" dev="sda24" ino=8150 scontext=u:r:init:s0 tcontext=u:r:su:s0 tclass=process permissive=0

202.933268 / 11-26 20:21:04.074 init: cannot execve('/system/xbin/test.sh'): Permission denied

To fix it, I have used sepolicy-inject and run the following commands:

sepolicy-inject -s init -t su -c process -p transition -P /sys/fs/selinux/policy -l
sepolicy-inject -s init -t su -c process -p noatsecure -P /sys/fs/selinux/policy -l
sepolicy-inject -s init -t su -c process -p rlimitinh -P /sys/fs/selinux/policy -l
sepolicy-inject -s init -t su -c process -p siginh -P /sys/fs/selinux/policy -l

but these needs to be run again after reboot.

So, I have tried to patch precompiled_sepolicy using following commands:

sepolicy-inject -s init -t su -c process -p transition -P /vendor/etc/selinux/precompiled_sepolicy -l
sepolicy-inject -s init -t su -c process -p noatsecure -P /vendor/etc/selinux/precompiled_sepolicy -l
sepolicy-inject -s init -t su -c process -p rlimitinh -P /vendor/etc/selinux/precompiled_sepolicy -l
sepolicy-inject -s init -t su -c process -p siginh -P /vendor/etc/selinux/precompiled_sepolicy -l

but the policies are not injected: neither live nor after reboot.

To test, I am just checking the date in /sdcard/test file.

So, I just want to know:

  • Why patching precompiled_policy didn't work?
  • Where to patch the required policies using rooted adb shell that should persist after a reboot?

Termux:API app has a command termux-sms-list to list SMS messages on the Termux terminal. However, the wiki says that it is not supported anymore because of Google.

Usage of this API is no longer allowed by Google and we had to disable it to prevent delisting of Termux:API application from the Google Play.

But still, banking apps that use OTP authentication using SMS can still auto-read the incoming SMS and enter the password without user interaction.

So what makes them different API-wise?

I am shopping for a new phone and it seems that my beloved notification LED has fallen out of favor, so I am willing to settle with Always on Display (AoD) as a second best.

I have been reading some and I understand that AoD is linked to AMOLED screens because in those you can "turn on" individual pixels, making it an energy draw small enough for it to be reasonable.

Now, I am browsing through GsmArena and I find that for AMOLED phones, some of them are qualified as having the AoD characteristic yet others do not show it.

Is it just because of some AMOLED phones being shipped without having the software option to use that feature (meaning that it could be added through third party software) or there are some hardware/firmware specs that make AoD unusable (either because it does not work or uses too much energy) if they are not present?

In short, I would like to know if I could add an AoD app to any AMOLED phone without expecting to suffer significant problems.

Setup:

  • OnePlus 5t, Android 9.0, not rooted
  • Bluetooth 5.0 headset with one media button

A single tab on the media button starts the Google Voice Control / Assistant, there is no way to change a tab on the button to play/pause for example - on the headset's side.

The only software solution to disable Google Voice popping up always when I press the button was to disable the Google-App completely. But this stops the media-button from working completely.

After hours of trying, searching nothing worked for me.

My goal is to archive that a tab leads to play/pause music.

Okay, So I don't really know What's the appropriate section of StackExchange to post this question, But I'd like recommendations on that.

So i'm using new wireless earbuds that I bought earlier this week, And when i pair them to another phone (A Samsung Galaxy S10+ in this case) It seems to show battery information under the Bluetooth device's name. e.g(Battery : 100%)

Although, when i use the earbuds with my tablet (An extremely laggy and weak Lenovo tablet) It seems to show nothing under the Device's name... What can i do to make it show the Battery information? where can i get battery information about my Xiaomi earbuds?

If I connect my phone via Bluetooth to my car (2016 Toyota Corolla), and then play music using the Google Play Music app, the car shows a Browse button, which allows me to navigate through artists and albums with the car's buttons:

Toyota Bluetooth Audio UI with Browse button

If I install another app, it doesn't show the Browse button on the car stereo.

Apps that produce a Browse button:

  • Google Play Music ☠ (RIP)

Apps that do not produce a Browse button:

  • AIMP
  • BlackPlayer
  • Canaree
  • FPlay (found by searching for "AVRCP")
  • JetAudio (found by searching for "AVRCP")
  • kure
  • MediaMonkey
  • Music [com.maxfour.music]
  • Music [com.android.music stock]
  • Music Player Go
  • Musicolet
  • Nyx
  • Odyssey
  • Omnia
  • Oto
  • Phonograph
    • Vinyl
  • Pretty Good
  • Pulsar
  • Retro
    • Metro
  • Samba Player (found by searching for "AVRCP")
  • Shuttle
    • Shuttle+
  • Simple Music Player [com.simplemobiletools.musicplayer]
  • Timber
  • Vanilla
  • VLC
  • YouTube Music

Is there some Bluetooth feature that needs to be supported by an app in order for this button to show up? What is the feature's name? How do I find apps that have it?

This is especially important now that Google has killed off Google Play Music and replaced it with YouTube Music, which does not provide this Browse button on a Bluetooth connection.

If I knew what this function was called, I could try to pester Google, or the third-party app developers, and ask them to add support for it.

If I go into the permissions settings for the Google app and change the Location permission from "Allow all the time" to "Allow only while using the app" or "Deny," I am presented with a warning: "If you deny this permission, basic features of your device may no longer function as intended."

I am inclined to give it a try anyway, but what might happen? It seems like "Allow only while using the app" should not be very impactful? What is Google trying to warn me about when they say that "basic features of your device may no longer function as intended." Or are they just trying to scare me into not changing the permission (so they can keep their watchful eyes on me)?

enter image description here

I moved all the data of WhatsApp to /mnt/media_rw/6333-6461/WhatsApp, where 6333-6461 is my external SD card. I opened WhatsApp to find that I could not open any previously downloaded data. This is expected.

Now, I executed the following commands in Termux:

$ su
# mount -o bind /mnt/runtime/write/6333-6461/WhatsApp /mnt/runtime/write/emulated/0/WhatsApp

When I opened WhatsApp, I could see all the data that I had previously downloaded. But now I cannot send or receive anything - all sending fails, camera access from WhatsApp fails, and downloading fails.

Evidently WhatsApp is not being able to write onto the bind mount. Any solution to the problem?

My phone, a Samsung Galaxy On7, Android 6.0.1, is rooted with Magisk 20.1 and running stock ROM.

I am working on IMX8QM with Android 9. I needs to configure usb stick on static mount point.

Once USB stick detected, create sda1, after check I got:

mek_8q:/sdcard # df
Filesystem                1K-blocks     Used     Available    Use%     Mounted on
/dev/root                   1777588     1189664     587924     67%         /
tmpfs                       2918920     488         2918432    1%         /dev
tmpfs                       2918920     0           2918920    0%         /mnt
/dev/block/mmcblk0p12       249828      58936       190892     24%        /vendor
/dev/block/mmcblk0p14       9086336     967628      8118708    11%       /data
/data/media                 9086336     967628      967628     11%     /mnt/runtime/default/emulated
/dev/block/vold/public:8,1  3918844     1311400     2607444    34% /mnt/media_rw/2A61-DD07

I have old bluetooth headphones that I try to connect to my device. I don't know the model only the brand name.

The question is how to pair it?

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes