Question and Answer about Android from Stack Exchange network.


I have Realme X2 (RMX1992) phone with Lineage OS 17.1 with root. I want to change my device model to Realme X2 Pro (RMX1931).

I have edited build.prop files in /system and /vendor folders with ro.product.model=RMX1931 and also set the global device name as below:

adb shell settings put global device_name RMX1931

But still, my device is still recognized as RMX1992.

How to change the device model?

Recently I received the update to Android 10 for my LG G8s ThinQ and one of the things that I was waiting to test was the desktop mode. The desktop mode is working fine when I am connecting my phone to an external screen but when I want to use my Linux (Ubuntu 18.04) laptop as the external screen the phone doesn't recognize it and just shows the normal file transfer.

How I can use my linux laptop as the external screen and keyboard and mouse?

Short version

How to use custom font, namely Kanji Stroke Order, in cards in AnkiDroid which is running on Android 9?

Full version

I'm learning Kanji characters. It's important to learn also how to draw them - the order of strokes. This is shown in Anki cards by using a special font - Kanji Stroke Orders - and simply printing the character in card with this font. However, I'm unable to make AnkiDroid to use the font, but it was working on my previous device (Android 5.1).

The deck describes that the font file should be copied to fonts sub-directory of AnkiDroid directory. And that it might be needed to remove version part of file name. So I copied the fonts to following paths:

  • /storage/emulated/0/AnkiDroid/fonts/KanjiStrokeOrders_v4.002.ttf
  • /storage/emulated/0/AnkiDroid/fonts/KanjiStrokeOrders.ttf

Doesn't work (the character is drawn simply with Arial or something like that).

I found another way - Installing Fonts in Anki documentation. This guide describes following approach:

  • Add underscore to the font file name.
  • Copy it to "collection.media" sub-directory of "User 1" sub-directory of AnkiDroid directory. I couldn't find the "User 1", but there was "collection.media" in AnkiDroid directory, so I used that.
  • Add @font-face { font-family: myfont; src: url("_arial.ttf"); } to style section of a card and use font-family: myfont in style of the kanji text block.

So what I added to the style section is:

@font-face
{
  font-family: KanjiStrokeOrders;
  src: url("_KanjiStrokeOrders.ttf");
}

Then I added to card text:

<span style="font-family:KanjiStrokeOrders;">{{Expression}}</style>

And copied the font files to:

  • /storage/emulated/0/AnkiDroid/collection.media/_KanjiStrokeOrders_v4.002.ttf
  • /storage/emulated/0/AnkiDroid/collection.media/_KanjiStrokeOrders.ttf

And just in case, I also created files:

  • /storage/emulated/0/AnkiDroid/fonts/_KanjiStrokeOrders_v4.002.ttf
  • /storage/emulated/0/AnkiDroid/fonts/_KanjiStrokeOrders.ttf
  • /storage/emulated/0/AnkiDroid/collection.media/KanjiStrokeOrders_v4.002.ttf
  • /storage/emulated/0/AnkiDroid/collection.media/KanjiStrokeOrders.ttf

Still doesn't work, the text replacing {{Expression}} placeholder is still rendered in Arial (or similar).

Other notes

  • The /storage/emulated/0/AnkiDroid directory was already created and contains Anki data, similar to what is in ~/Anki/User 1 on my PC (Linux, Ubuntu).
  • I'm sure the cards/notes are correct (correct format, content, etc.), because it works on PC and worked on my older Android 5.1 phone (I used export/import to migrate and for backups). (I don't rember where I put the font file in my previous phone; the device screen died and so I cannot check now.)
  • It seems that the AnkiDroid actually see the font; in settings / Appearance / Default font, there actually is option to select Kanji Stroke Orders (all four versions - with/without underscore and with/without version suffix). When I choose it (and set Default font applicability to Always), nothing change. But the font is also available under Browser and editor font - when I set this one to Kanji Stroke Orders, it will change questions and answers in Card browser and field values in note editor. So the font seems to be recognized by AnkiDroid and working.

Can I replace the Huawei 40W supercharger with a third-party charger but still provide a supercharging feature? I don't know what's those fancy things, but electronic isn't rocket science, but I tried to connect a general 45W charger (non-Huawei), my mate 20 pro only show "quick charging", anyone has an idea why?

I would like to use an older version of AOSP Calendar. Namely a good version before the 2019 update that is described here as follows:

New events cannot be created and existing events cannot be edited or deleted.

There are many branches and tags here, but some of their titles are not clear, and I don't see APK files there. How exactly can I install specific versions?

I have a French contact (phone number +33 ...) who went to Japan and got a mobile number there (+81 ...). We discussed via Whats App and Signal and now he is back in France.

I would like to remove his Japanese phone numbers but I simply cannot.

This is how I see his contact before the edition:

enter image description here

As you can see there is one French and two Japanese numbers. I then click on the edit icon and I see:

enter image description here

The Japanese numbers are not present.

There are nowhere to be found, I clicked on "show more fields", but these are just empty extra fields.

I remove the conversations from Signal (it was registered with the Japanese number, this is visible in the screenshot) - nothing. Note that I cannot actually edit a contact in Signal, it just mentions that this (Signal) contact is in my contacts - with the possibility to open the contact and what I get is the first screenshot.

I tried to edit the contact on the phone to add something and somehow influence the Japanese numbers - nothing. I tried a similar edit the contact on a PC via contacts.google.com - nothing. I tried to use the Samsung contact app - same problem.

After using Android extensively for 10+ years, this is the first time I see that. Any ideas would be greatly appreciated.

OS is Android 10, phone is Samsung Galaxy 9+.

I'm using my son's hand-me-down Samsung S5. It runs Android 6.0.1

A few days ago, a music symbol (quaver) appeared on the notification bar. When I pulled it down, there was just the music symbol with no text next to it. When I tapped on it, nothing happened and the symbol disappeared. The next day it appeared again. I did the same thing and it disappeared again. This morning it appeared again.

I've done an internet search for notification symbols but I cannot find this music symbol or what it means.

What does this music symbol mean?

Edit

The symbol is in the top left corner. It seems to be related to Android Auto. It only appears after I've used Android Auto. What I don't understand is I only ever use the maps application so why is the music symbol appearing?

Screenshot

A year back, when I opened "Directions" on my phone, below the start and end point, where 4 options:

  • Driving
  • Public transport
  • Walking
  • Cycling

Now cycling is replaced by "Ride Services" which I never use, and do not care about. How can I get "Cycling" back?

enter image description here

My Sony Bravia TV sound system is horrible, but my headset hyperX is sufficient. I tried the apple LocalCast but it does not allow you to cast video at all from its browser.

Android: 10, latest.
Phone: OnePlus 6T.
Chromecast: 3 gen.
TV: some 10 year old Sony Bravia.

I have a Xiaomi Redmi Note 8 Pro smartphone with Android 10 installed. Even when all apps are closed using the task manager, I see some realtime network traffic. It's not that much but it goes on all the time. This is also the case when not connected to Wifi (using 3G/4G).

Is there any way to check what specific apps/processes are consuming data?

Network traffic

Motorola G4 Play, formerly with LineageOS/14.1 + TWRP 3.2

Made the mistake of trying /e/OS but before I did, I copied 2-TWRP full backups and a lot of other pics and data to my Mint 20 laptop. I have formatted an SD card to ext4 and created the .TWRP/BACKUP as suggested on another thread here from 6-years back and also tried the suggestion from another one here today. Cannot restore TWRP Backup because it cannot mount internal storage after reboot and the sdcard is mounted as suggested there.

Running TWRP I can see the sdcard and the TWRP folder (no preceeding dot shown), but nothing beyond that and I am unable to navigate.

How can I get to the backup to restore my phone to LineageOS. Should never have left, ahh, hindsight.

Recently, Microsoft launcher has started to give web search suggestions when I click on my home button and search for an app.

I only want to find apps, but in addition to installed app results the launcher now also gives internet search suggestions.

I want to disable that because I do not use it for that functionality. I guess this is MS's way of pushing Bing, but I still would like to disable it. Is that possible?

I am looking for a method that can be used to select screenshots, but when displaying them it does in full screen, so we just slide to see the next one.

By "selector" I mean, other app wants some image chosen, and these 3 options below are shown to me.

Currently I have:

  • gallery (default android) it shows tiny previews and wont help
  • quickpick it shows tiny previews too
  • photos, I cant find the latest screenshots at all (but it is tiny previews too).

I need full screen to be SURE I am selecting the correct screenshot...
No search I do on play store will help.
It is a too specific requirement.
So if you know an app or any way that can be used to select photos or screenshots but shows them ON FULL SCREEN or at least half the screen size, it will be much better than other options we have.

My phone is less then a year old and I had my Screen replaced by Samsung about 2 months ago.(they also changed the battery and aluminium body).So the battery is almost new. About a week ago something happened to my phone while i was using google maps and and it started daring battery at extremely high rate. it's was using almost 20% battery per hour with no use at all and it was getting hot while idling. Since like 4 days ago phone wouldn't even charge to 100%, it would get stuck at 70-80% because it was discharging faster then it could charge.(maybe it was getting too hot and stop charging). I had to revoke alot of location related permissions to slow the discharge to get battery to 100%. It's not as bad as before but it's still completely discharging from 100% to 0% is less then 10 hours with no use at all. It used to last almost 2 days with quite high usage before this bug.

here's what I tried so far.

  • restarted the phone,
  • put every app to sleep and deep-sleep,
  • disabled allow location to apps even when location is turned off (same for Bluetooth and wifi)
  • turned off Bluetooth and wifi scanning even when they are turned off
  • disable the google app and google play services app.
  • did a settings reset.
  • factory(data) reset the phone.

non of this fixed the issue. Even put the phone on medium and maximum power saving and the did nothing, discharge rate is still exact same about 10% per hour while idling.

I took a few bugreports and viewed them in battery historian (online version). I don't know what I should be looking for. Is it safe to post bugreport file here, i don't know what kind of info is in it.

I have SanDisk MicroSD OTG and MiVi MicroSD to C-Type converter. I am trying to mount OTG in my VIVO Y30 but it is not detecting. I checked in Settings > Ram and Storage space, but OTG is disabled. I also installed OTG checker app, but no luck. Please suggest. Thanks.

I'm using Firefox in my android smartphone instead of Chrome (Chrome app is not installed), but I think that it applies the same anyways. In the past when I clicked on a link (from emails, or other apps, etc.), I got a message that said that a new tab was opened in Firefox but the system didn't switch automatically to the Firefox app. I continue clicking on links and then when I was done and I opened Firefox and all the tabs were opened for me. Recently Firefox for android was updated and after the update when I click on a link the system automatically switch to Firefox. How can I set back the system so it doesn't switch to the web browser app each time I click on a link?

Regards.

Coming from a Huawei P9 Lite, I recently moved to a Samsung Galaxy A30s.

While on my other phone it had an Auto rotate icon, I can't find one at the moment.

Samsung Galaxy A30s panel layout

I've gone to Settings and searched for the term "rotate" but no results were found.

So, when I'm on a webpage

Surfing web in Android Android Samsung Galaxy

And rotate it, notice that it appears a new icon in the bottom right

Before rotating

And I need to click in it to actually rotate

After rotating

During the first days, this was kind of ok, but now I'm tired of having to click always in that icon and waiting for it to appear (sometimes even requiring to do the rotation movement multiple times).

How can I configure Android so that all Internet traffic goes through a VPN and is blocked if the VPN isn't activated, without rooting Android?

I have enabled developer options accidentally by clicking on Settings > About Chrome > Application Version 7 times.

I didn't find any option to disable this developer options. How to disable this?

My Google Location history is amazingly helpful and informative, and generally accurate. I have all settings set to highest so I can always get the best location accuracy. I've read several posts about how Google estimates my location, using cell towers, wifi SSIDs/BSSIDs, etc and it all makes sense. But when I go on my daily hike, the accuracy is 'way off' by a few miles. I take photos on my hike and their Geo-location tagging is accurate to within a few feet, so I know the location information is available with GPS.

The following screen shot gives an example. The red line was drawn by me and represents my hike. The blue lines are the estimation by Google Location. My hike follows a ridgeline that surrounds a residential neighborhood. Obviously, my phone's location sensor is latching onto either cell-towers or wifi access points in the neighborhood.

enter image description here

Is there any way I can tell my phone to use GPS to report location, rather than wifi or cell tower, during a hike? If I launch google maps during the hike, will that cause my accuracy to improve? I often take photos at various locations along the hike (and these are accurately geo-tagged) but this doesn't seem to help the location map below. I did notice that, if I use a 'hiking app' such as 'map my walk' or 'strava', the location as reported to Google is very accurate. So do I need to launch 'any app that uses GPS' to make the GPS location available to Google?

Also, I've read that I can click on 'blue dots' on the map to see where it's getting the location information from, but I see no blue dots no matter how much I zoom in.

Thanks!

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