Question and Answer about Android from Stack Exchange network.


Since .apk is a regular executable file, I was more than sure that I will be able to trick mobile Gmail in the same way as I was able to trick PC version of Gmail years ago to force it to send a PC executable (.exe) which it prevented as well. Turned out, I was wrong.

Usually changing file extension to .dat or some other or compressing it with password (encrypting file) was enough for PC version of Gmail.

However, for mobile version, everything that I have ready at a hand and tried failed as well:

  • sending as plain file (obviously),

  • changing .apk extension to .dat or some other,

  • compressing with ZIP with no password,

  • compressing with ZIP (ultra compression) and encrypting archive with a password,

  • compressing with 7ZIP (ultra compression) and encrypting archive with a password,

  • using an 7 years old idea of double compression:

    • compress .apk file into .zip file without password,
    • compress resulting .zip file again into another .zip file with password / encryption.

If mobile Gmail is able to detect that I am sending .apk executable file even in 7zip compressed file with password (or it can prevent me from sending such file for any other reasons) do I have any option left? Is there any way to send .apk file over mobile Gmail (attach them to message composed in mobile Gmail)?

I have an LG V40, and in both Android 9 and 10, it seems that the "Screen Recording" app is always running, and not possible to keep it Stopped.

Greenify shows it as running in "Foreground":

enter image description here

If I force hibernation, seconds later it will be running in Foreground again.

It is not possible to disable this app, and it requires access to Camera and Microphone:

IMG:

These permissions cannot be removed either:

IMG: IMG:

Should I be concerned? Is there any way I can fully disable this app?

My OS is European.

I recently let my Nokia 3.1 to upgrade to Android 10. I don't know if it's Nokia's will or Google's but rounded black corners appeared on my screen, and are kept permanently visible during any app runtime. Is there a way to remove this feature ? I have found nothing in the system configuration menus. I also tried some app implementing custom corners but apart to add another layer of corners, it can't remove the ones I initially want to disappear.

Some pictures:

Rounded corners 1 Rounded corners 2

The rounded corners don't appear in screenshots.

Google Calendar's event's drag'n'drop functionality stopped working... again, after nearly exactly two years since previous report. Tried to restart both Google Calendar and phone itself (Motorola Moto Z2 Play with Android 8.0.0), cleared app cache and then data, without any results.

I did very little to my phone before that happened:

  • no configuration changed,
  • nothing actually doing with my phone.

I have only installed one new up -- FakeStandby -- as suggested here, but since this app has nothing to do with the calendar itself, I would be surprised, if that would be a source of the problem.

To clarify problem:

On a day view (not: agenda) long-pressing any event now brings no effect. Previously it caused an event box to be risen up visually above others, and moving finger around screen allowed to move event to some other hour or day. Now, drag'n'drop functionality does not exist / does nothing.

Is there any know report about some bug, bug's regression or is this a generally known problem? Or is this again my stupid phone going wako in exactly the same way during second anniversary of the moment, this problem appeared for the first time?

EDIT: From what I have learned, when Calendar becomes "locked" (no event's drag'n'drop) all items in calendar are visually more flat than usual. When functionality "returns" they again become a little bit 3D-like.

I know there's many app that clean cache every boot but I would like to use init.d/script to save storage.

Dalvik-cache is /data/dalvik-cache/arm/ as I can just rm -rf *

But, app cache is located at /data/data/app_name/cache and don't know how to automate it, because cache folder is a sub-directory

I'm new to bash scripting and this would help me significantly in programming overall

Phone is magisk'ed Android 10.

I'm using apksigner to verify the authenticity of a Google Podcast apk that I downloaded from an apk mirror. This apk (and older versions) verifies successfully (v1/v2/v3) and returns exit code 0 but in the output I see this warning:

WARNING: META-INF/services/com.google.protobuf.GeneratedExtensionRegistryLoader not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.

I do not understand what the impact of that is. If the APK is signed, and verified, why do I see this warning? Does it mean the APK could be trojaned or modified? How could an attacker exploit that?

I am downloading some older versions of some Google apps and I want to be sure they aren't trojaned, which is why I'm trying to verify the authenticity before I install them on my phone.

Placing scripts into /system/addon.d/ makes them execute before and after every OTA packag upgrade. This is used or mentioned in multiple places.

I have multiple questions about this:

  • Is this a general Android feature or just provided by many custom ROMs? If only ROMs, any notable exceptions?
  • Where is the documentation / specification / source ? I would like to get to the APIs that I can work with.
  • (related) What is it with this /tmp/backuptool.functions that seemingly anyone is sourcing at the beginning of the script. How could I find out which functions are provided by this and what they do?

Thanks a lot!

When I connect my cell phone to my vehicle, Android Auto displays a very limited list of APPs that are on my phone:

enter image description here

(The clipped APP at the bottom is weather).

Supposedly more APPs that are compatible with that interface will be released.

How do I determine if an APP on Google Play is compatible? I don't see anything on the Google Play webpage for a given APP that indicates it can be used or not used for Android Auto.

(In particular, I want navigation with offline maps beyond what Google Maps offers).

I've been wondering a lot about this when it happened which I was using Walli* app yet after I have changed my ROM, maybe the app gets blank no matter how I install it. But after a time, I've also realized that there is another app called Reface with the same problem in which I can't use them because they're blank like there is no connection to the Internet.

enter image description here

enter image description here

enter image description here

Note: I'm using Cloudflare Family DNS on my router and Firewall settings such SPI and DOS protection. My ROM: AOSP based 7.1.2 Android custom ROM

I'm joining a Zoom call on my laptop, but I also want to join the same call on my Android device in order to share my Android device's screen and to use my Android device's camera. I don't want to hear other people's voices coming from both my laptop and my phone, I only want to hear their voices coming from my laptop. So I need to turn off the volume on my Android phone.

If I press the Volume down button, Zoom won't let me decrease the volume all the way to zero. I expected they developed the app this way to help users who don't realise that the volume on their device is set to zero. However, in my use-case, this is proving annoying, as I'm now hearing the same voices coming from my phone and from my laptop.

How do I turn off sound on an Android device when on a Zoom call?

Up to 16.1, LineageOS provided su as an add-on, in the shape of an extra zip file which could be installed along with the OS itself using a recovery image such as TWRP.

However, with 17.1 they have discontinued their su addon and no longer support root access. Those who still want it are getting pointed to “one of the other su solutions out there”.

A quick search pointed me to Magisk as pretty much the only solution under active development. However, the install instructions are a bit confusing.

The device is a OnePlus One (bacon), upgrading from LOS 15.1. For now, I am just interested in having a replacement for what su offered up to LOS 16.1; any other features offered by Magisk are secondary to me.

Will it work if I just grab the latest Magisk zip from the Github release page and install it alongside the OS, through the recovery of my choice (currently on TWRP 3.2.2-0)? Or is using Magisk Manager a hard requirement?

Are there any major differences in UX over my current LOS + su setup?

Device Info

  • Phone: Samsung Galaxy S7
  • Carrier: Verizon Wireless

My issue

My phone is low on available space, so I wanted to delete some things. I noticed that the path Android/data/com.vcast.mediamanager/files/instabug/logs is taking up 1.47 GiB of just .txt log files! What is generating these, and is it safe to delete them?

I am wondering whether, with eSIM technology, I would be able to mirror my smartphone physical SIM to my smartwatch eSIM (as if I had cloned my phone, like in the movies).

Telling you my final goal could explain better what I am trying to achieve.

Basically I am trying to understand if I could leave my smartphone at home (SIM included), then going out with my smartwatch (e.g. running/cycling/etc) and still receive my smartphone's notifications, texts, etc from the 3G/4G network (essentially I'll be out of bluetooth range).

I lost my old android phone. Decided to try out an iphone just to get literate. I'm wondering what the process is for transferring my contacts from my old android phone (which i don't have access to) to my new iphone.

I'm using Verizon as a provider, so might be able to leverage their cloud, though I am not sure if that's an option. I'm wondering if anyone else has done this before, and / or knows of a standard way to go about it.

Where can I change the timezone in Microsoft Outlook for Android?

I am trying to flash a customized update.zip on a pre-Kitkat device.

In the zip there are 2 files with SHA1 signatures of other files in the update. But they have different signatures for the same files.

Example:

META-INF/MANIFEST.MF:

Name: system/lib/libcustom_jni.so
SHA1-Digest: +PhV5XphkQTNTyM2TSRTeiaDlCA=

META-INF/CERT.SF:

Name: system/lib/libcustom_jni.so
SHA1-Digest: 7ooFhqk1oYWF5pmVuSAhF2pFVNw=

I can get the first one using:

sha1sum system/lib/libcustom_jni.so | cut -d\  -f1 | xxd -p -r | base64
+PhV5XphkQTNTyM2TSRTeiaDlCA=

How is the second one computed? The second file has a hash of the first file, so maybe the other hashes are salted with the first file or something?

From what i found in java doc the SHAs should be identical, except all SHAs are the version 1 in the original update.zip.

It seems hat the certificate used to sign the update was the android test one so it should work, but aborts instead.

Using Outlook version 4.2041.3 on my Samsung Galaxy A30s with Android 10.

If I receive an email with links in it

enter image description here

And then click in the link

enter image description here

it opens up in a weird browser.

I would like for it to open in Chrome instead. How can that be done?

Already contacted support.

Until yesterday my SwiftKey keyboard showed arrow keys in the middle of the keyboard. I had switched on the thumb layout and the arrow keys for a compact yet functional layout.

Since yesterday (October 26, 2020) the arrow keys can only appear at the bottom, increasing the keyboard height with one full row.

The thumb layout still exists, but now just leaves an empty gap in the middle where the arrow keys were before.

How can I get the arrow keys back in the centre of the keyboard?

How can I remove vibration when the phone is turned off on my Samsung Galaxy S9 (non-rooted Android 9, One UI 1.0)?

I don't have any option item Settings app > Accessibility > Vibration.

I'm testing an app that will require users to verify their identity with front facing id, back facing id and a selfie. It's really tedious to do the tests by hand one by one, i'd like to have a few people make videos in different lighting conditions, then I can send those videos to the camera feed of a real android phone and see how the app fares.

I know it's possible to do something like this on PC with ManyCam, where you can send a video to the camera api, I was wondering if there's a similar app or method to achieve the same thing on androids.

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