Question and Answer about Android from Stack Exchange network.


Nowadays, there are a lot of traffic applications that help us to choose the better path to being arrived at the destination.
Therefore, it's the common question for people, "How does it work?"

I need some professional information about it. Please tell me in deep detail.
Any help would be appreciated.

UPDATE:
I don't mean "How does Google know where I am?" or something like that which asked in THIS link.

Look at this picture and you'll understand my objective.
enter image description here

I have both these devices. I read somewhere that Android doesn't support good latency for MIDI devices as iOS do. But when I connect MIDI device to Sony Xperia M5, it has high latency. If I connect to Lenovo Tab 10, it's much better. I can even play normally on MIDI keyboard with Lenovo Tab 10. Both devices run Android 6.0. Is it possible to know if device has good latency or not?

On my Huamei P30 Lite, I am using Firefox as a web browser app and Silence as text message app. Although I changed the default app in the settings, I am not able to change the app in the bottom navigation bar, see circled icons in the attached image. I did it on my previous phones (LG GT540, LG Optimus L5 II and Samsung Galaxy S7 Edge). How can I change those apps?

enter image description here

You have an Android device running Android 5.0 "Marshmallow" or better, and it's running low on storage space.

Some modern Android devices don't have a slot for a MicroSD flash memory card. But yours does; it's hidden underneath the (removable) back cover.

You want to buy a MicroSD card; how can you decide which one to buy?

Recently I switched from Lineage OS to Pixel Experience on my Xioami Mi 9t device. I made a backup of all my apps and data trough Titanium Backup and an update.zip file.

After flashing Pixel Experience and going through the setup I installed Titanium Backup on my phone and rebooted into TWRP to install the update.zip file. It flashed the zip file with no errors and automatically rebooted the phone into system.

However nothing happened and my apps and data were not restored. Then I wanted to restore them manually but trying to access my backup location on my external USB drive I found out I could not access my backup folder anymore, which was located at: /storage/extSdCard/Android/data/com.keramidas.TitaniumBackup

It is extremely frustrating knowing I have done everything to backup my apps and data but not being able to restore them anyway. If anyone knows a solution to this problem tell me, I would really appreciate your support.

In some apps (Google News, Read - Simple RSS Reader) when I tap on a link, it won't directly open in Firefox but in a simplistic viewer, supposedly also by Firefox. From there I only have two choices, close the viewer (which brings me back into the app) or open the actual Firefox browser. The problem is that all plugins are disabled in this viewer, so I always need two taps to open a link from those apps. How can I disable this viewer?

I have Firefox 68.3.0 installed, but the problem has existed for a long time.

After I have disabled Google Assistant in the Google settings the phone continues to show a black bar displayed with an icon of a microphone, with the words:

Say "Hey Google"

If I say "Hey Google" it detects my voice and shows a new window. I was just wondering why this is happening if Assistant has been disabled.

I have a OnePlus 5T and I can't install OTA updates anymore because my firmware is too old. In addition to that I don't have a full backup of my device because I'm using encryption and TWRP doesn't understand it.

I would like to simply try the new firmware and revert in case anyhting goes wrong without losing any data. Is that possible?

I'm not exactly sure what firmware means in this context and where to get it, but looking at the website, there is this download for a zip file with the following contents: file tree

I'm pretty sure that this is the complete stock ROM, meaning if I were to install it, it would wipe everything and replace my LineageOS with the stock ROM.

What I would like to do is to simply flash "the firmware" and only the firmware without losing data on my internal storage and also not my app data, contacts, sms, wifi passwords, bluetooth pairings etc etc.

And before that I would like to create a backup of my old firmware so that I can go back in case it goes wrong.

Can this be done? Can it be done with fastboot?

Maybe using fastboot flash PARTITION [FILENAME] and some other command to do the backup?

Edit:

The updater-script in META-INF/com/google/android/update-script contains the following code:

getprop("ro.display.series") == "OnePlus 5T" || abort("E3004: This package is for \"OnePlus 5T\" devices; this is a \"" + getprop("ro.display.series") + "\".");
is_part_existed("/dev/block/bootdevice/by-name/vendor") || abort("vendor partition is not existed, exit ota!!");
show_progress(0.650000, 0);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||
  abort("E1001: Failed to update system image.");
show_progress(0.100000, 0);
ui_print("Patching vendor image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/vendor", package_extract_file("vendor.transfer.list"), "vendor.new.dat", "vendor.patch.dat") ||
  abort("E2001: Failed to update vendor image.");
show_progress(0.050000, 10);
show_progress(0.050000, 5);
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
show_progress(0.200000, 10);
ui_print("Writing static_nvbk image...");
package_extract_file("RADIO/static_nvbk.bin", "/dev/block/bootdevice/by-name/oem_stanvbk");

# ---- radio update tasks ----

ui_print("Patching firmware images...");
ifelse(msm.boot_update("main"), (
package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64");
package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlib");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hyp");
package_extract_file("firmware-update/pmic.elf", "/dev/block/bootdevice/by-name/pmic");
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tz");
package_extract_file("firmware-update/abl.elf", "/dev/block/bootdevice/by-name/abl");
package_extract_file("firmware-update/devcfg.mbn", "/dev/block/bootdevice/by-name/devcfg");
package_extract_file("firmware-update/keymaster.mbn", "/dev/block/bootdevice/by-name/keymaster");
package_extract_file("firmware-update/xbl.elf", "/dev/block/bootdevice/by-name/xbl");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpm");
), "");
ifelse(msm.boot_update("backup"), (
package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64bak");
package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlibbak");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hypbak");
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tzbak");
package_extract_file("firmware-update/abl.elf", "/dev/block/bootdevice/by-name/ablbak");
package_extract_file("firmware-update/keymaster.mbn", "/dev/block/bootdevice/by-name/keymasterbak");
package_extract_file("firmware-update/xbl.elf", "/dev/block/bootdevice/by-name/xblbak");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpmbak");
), "");
msm.boot_update("finalize");
package_extract_file("firmware-update/logo.bin", "/dev/block/bootdevice/by-name/LOGO");
package_extract_file("firmware-update/NON-HLOS.bin", "/dev/block/bootdevice/by-name/modem");
package_extract_file("firmware-update/adspso.bin", "/dev/block/bootdevice/by-name/dsp");
package_extract_file("firmware-update/BTFM.bin", "/dev/block/bootdevice/by-name/bluetooth");
set_progress(1.000000);

Should I just take the msm.boot_update("main"), and the msm.boot_update("finalize"), part and flash them like this?

# main
fastboot flash cmnlib64 ./firmware-update/cmnlib64.mbn
fastboot flash cmnlib ./firmware-update/cmnlib.mbn
fastboot flash hyp ./firmware-update/hyp.mbn
fastboot flash pmic ./firmware-update/pmic.mbn
fastboot flash tz ./firmware-update/tz.mbn
fastboot flash abl ./firmware-update/abl.elf
fastboot flash keymaster ./firmware-update/keymaster.mbn
fastboot flash xbl ./firmware-update/xbl.elf
fastboot flash rpm ./firmware-update/rpm.mbn

# finalize
fastboot flash LOGO ./firmware-update/logo.bin
fastboot flash modem ./firmware-update/NON-HLOS.bin
fastboot flash dsp ./firmware-update/adspso.bin
fastboot flash bluetooth ./firmware-update/BTFM.bin

Or would this already overwrite a partition that contains some sort of user data? Can I make a backup of these partitions first? And what about RADIO/static_nvbk.bin, boot.bin, system.transfer.list, vendor.transfer.list and all that msm.boot_update("backup"), stuff?

Edit: I ended up not being able to flash those firmware files via fastboot because it requires more than a "normal" unlocked bootloader. If I had done the necessary step to unlock the bootloader further it would have wiped all my data. Fortunately you can bypass that by creating a zip with the firmware files and a custom OpenRecoveryScript (updater-script). I found an awesome GitHub project that automates the whole process: https://github.com/angela-d/firmware_oneplus

I simply sideloaded the generated zip via adb sideload firmware-update-oneplus5T.zip and finally I was able to install my OTA updates.

https://github.com/angela-d/firmware_oneplus

I am trying to create and run an AVD from command line using Android's Command line tools.

This means I used the sdkmanager to download the following modules:

  • platform-tools
  • emulator
  • build-tools;29.0.2
  • platforms;android-29
  • system-images;android-29;default;x86_64

Afterwards I created an AVD using call avdmanager create avd --name android29 --package "system-images;android-29;default;x86_64" where I selected no for Do you wish to create a custom hardware profile? [no].

When launching the AVD using emulator @android29 and booting it up afterwards I get an old-fashioned bootscreen followed by an old-fashioned homescreen. The settings page however shows that Android 10 is in use.

What is the meaning or the reason of the old-fashioned looking UI?

Screenshot Bootscreen Screenshot Homescreen Screenshot Android Version

I started using an Android app that is offering in-app incentives (unlocks) in return for 5 star ratings on the Google Play app store. Is this against Google Play's terms of service?

I have my own WhatsApp account's number stored as a contact in my mobile.

Theoretically, WhatsApp should detect my own number from the contacts list and show the name of the contact as set in the list of chats if I send myself a message.

The following screenshot shows the chat thread with my own phone number even though it's already saved in the contact.

Is it possible to display the name from the saved contact instead?

In almost all settings sub-menus in newer android versions, there is a item in the list called "Advanced" closest to the bottom, that shows additional settings when pressed. This is apparently a design goal called Progressive disclosure, according to Android Settings Design Guidelines

I am wondering if the "Progressive disclosure" feature can be disabled somehow, so that I am shown all settings in sub-menus by default.

How can I turn on google maps speedometer alerts on exceeding the speed limits?

waze has a good system , it shows your speed and puts a red circle around it if you go over the speed limit.

But I don't see it on google maps

I am in the Uk and have read that google maps has rolled out that feature for the UK.. https://www.slashgear.com/google-maps-on-screen-speedometer-will-warn-you-if-youre-speeding-06579422/ "Aside from not being available on Android Auto yet, this new Google Maps feature is rolling out to users in limited markets rather slowly. Those include Argentina, Australia, Belgium, Brazil, Canada, Czech Republic, Germany, India, the Netherlands, Poland, Portugal, Sweden, the UK, and the US. No need to update anything as it seems to be a server-side switch that only Google can flip. The on-screen speedometer is just the most recent Waze feature added to Google Maps"

I see the speedometer, just not the alert when over the speed limit.

I see pictures on google images like

enter image description here

But not on my phone

I have gone to settings..navigation setings..driver options.. and I have speedometer turned on and 'driving notifications' turned on, they were on anyway by default. But still it doesn't show me speed limit.

As a workaround I wouldn't mine an app that shows the speed limit in the corner of the screen but I don't know of such a thing either. The closest I have is Waze which has the speedometer with alerts, and I can make google maps small and sit it in the middle of a waze window. But then google maps is very small. I don't like waze that much i'd rather not have to use it just for that.

I want to display the character ⮚ on my phone. However, whenever I open any app containing this character, it is displayed as ☒. I am aware that this is due to the font limitations of Android. Is there any way to resolve this?

It all started with a factory reset on the stock Samsung ROM (Android 7.0). After I booted into the factory reset system I couldn't get the phone encryption to work: it failed with the message saying that the data partition is corrupt which effectively factory reset my phone again (forcefully).

  • Reflashing the official Samsung ROM didn't help, the phone kept showing me the same message about the corruption of the data partition.
  • Reformatting the partition in the TWRP didn't help either.

Any ideas how to fix it? It could also be a hardware failure.

I posted the same question on XDA but unfortunately got no response so far.

I used to run Android AOSP 6.1 on my Nexus 5 by manually flashing the boot, cache, system, userdata, recovery images one by one using fastboot. I managed to successfully flash Android 6.1 on my Nexus 5 following this tutorial https://www.youtube.com/watch?v=m5BMfvO9Xi0

I have managed to build Android AOSP 10 and my goal is to flash it to my Pixel 2. First thing I noticed is that the output dir looks a bit different now. There are a few different images and there is no more recovery.img. The Android 10 Factory 10 dir contains this images:

enter image description here

I tried to manually flash the boot, dtbo, system_other, system, vbmeta & vendor images but the device ends up in a boot loop.

Does anyone know how to flash the Android 10 AOSP images to a device?

Thank you in advance!

I am using LG V20, model number is LG-F800K. 2 days ago, I installed the official update to Android 9. However after the update, my phone became battery drained faster and worked slower than before. I have tried at least the following 3 ways to try to get back to Android 7 or Android 8:

  1. https://forum.xda-developers.com/v20/how-to/guide-lg-v20-to-life-t3827732 -> "Download failed" error.
  2. https://lg-firmwares.com/how-to-flash/#how-to-flash-new -> Unknown model.
  3. https://lg-firmwares.com/how-to-flash/#how-to-flash-old -> Error "could not connect to server".

As of now, I really don't know how to reduce the Android version on this device?

I would appreciate your help.

The Google Pixel 3a XL has a USB C port.

Is it possible to connect it to a computer that only has a USB 3 port to transfer data between the computer and the Pixel 3a XL?

Is it safe to charge tablet from phone via OTG cable if tablet's adapter is 5.2V (a bit above)?

I have been given a Huawei smartphone that needed a new screen, which I've just had replaced. I now want to sell the phone.

Am I forced to enter the Google account of the previous owner in order to complete the start up process after a factory reset?

Can I then delete the old Google account ready for the new owner?

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