Question and Answer about Android from Stack Exchange network.


The questions says it all.

This is what I know.

  • Pressing & holding the vol+ button while pressing Power - Boots into fastboot.
  • Pressing & holding the vol- button while pressing Power - Boots into download.

The question is how can I boot into Recovery Mode?

I have Xiaomi Redmi Note 9. With standard Camera app I can make video using wide angle camera (x0.6). But using DJI Mimo, A Better Camera or Filmic pro I can use only my standard camera (x1.0). Can I fix it somehow?

When I try to flash GApps right after flashing LineageOS with TWRP I get,

Updater process ended with ERROR: 20
Error installing zip file '/sdcard/open_gapps-arm64-10.0-micro-20201114.zip

What is the cause of this problem, how can I fix it?

If I have ADB access to device, how can I specify the boot partition and reboot. I tried with setprop but this failed,

#> setprop ro.boot.slot_suffix _b
libc: Unable to set property "ro.boot.slot_suffix" to "_b": error code: 0xb
setprop: failed to set property 'ro.boot.slot_suffix' to '_b'

When I run dmesg I see a bunch of these errors,

FF SUSPEND INT                  0 ?\x09
FF WAKEUP                       0 ?\x09
FF GAD SUS                      0 ?\x09

What do these mean? Is this normal?

Android can install to an A or a B partition. This seems to be a default these days. How can I tell which one I am booted into using adb?

I am using LineageOS 17.1.

❯ adb sideload lineage-17.1-20201108-nightly-guacamole-signed.zip
* daemon not running; starting now at tcp:5037
* daemon started successfully
adb: sideload connection failed: insufficient permissions for device: user in plugdev group; are your udev rules wrong?
See [http://developer.android.com/tools/device.html] for more information
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: insufficient permissions for device: user in plugdev group; are your udev rules wrong?
See [http://developer.android.com/tools/device.html] for more information

So there is this settop box in india, called airtel internet tv(codename ganesa) It's gone 2 years with no updates, stuck on android 6. it has no usb adb but does have wireless adb. got root using dirtycow and updated default.prop to this:

before

#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.hardware=ganesa
ro.product.board=ganesa
ro.adb.secure=1
ro.secure=0
security.perf_harden=1
ro.allow.mock.location=0
ro.debuggable=0
ro.zygote=zygote32
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
ro.dalvik.vm.native.bridge=0
debug.atrace.tags.enableflags=0
#
# BOOTIMAGE_BUILD_PROPERTIES
#
ro.bootimage.build.date=Tue Jul 16 04:42:11 UTC 2019
ro.bootimage.build.date.utc=1563252131
ro.bootimage.build.fingerprint=airtel/ganesa/ganesa:6.0.1/MUE91/06.02.73:user/release-keys
persist.sys.usb.config=none

after

#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.hardware=ganesa
ro.product.board=ganesa
ro.adb.secure=0
ro.secure=1
security.perf_harden=1
ro.allow.mock.location=0
ro.debuggable=1
ro.zygote=zygote32
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
ro.dalvik.vm.native.bridge=0
debug.atrace.tags.enableflags=0
#
# BOOTIMAGE_BUILD_PROPERTIES
#
ro.bootimage.build.date=Tue Jul 16 04:42:11 UTC 2019
ro.bootimage.build.date.utc=1563252131
ro.bootimage.build.fingerprint=airtel/ganesa/ganesa:6.0.1/MUE91/06.02.73:user/release-keys
persist.sys.usb.config=none

After a quick reboot wifi adb went rip, I dont have a male-to-male usb cable rn, but can quickly make one if it is the only option!

So I would want to regen stock default.prop

Many thanks!

In January 2021 all devices with Android prior to 7.1.1 will not be able to connect to HTTPS servers using Let's Encrypt certificate (Let's Encrypt blog post explaining the details)

Is there any workaround that's system-wide (i.e. all apps, not just a single app, like using Firefox) for the SSL certificate expiration on Jan 11th 2021? Assume that one has root access to their device, and that upgrading to a newer device is not an option.

I have a Redmi Note 3 (INDIAN VARIANT Kenzo/Snapdragon variant running on Marshmellow 6.0.1 with MIUI Global 10.2) on which I performed an bootloader unlocking procedure via the tool XiaoMiTool V2 from xda since the official method kept denying me for some reason

I also want to let you know that during the procedure i left the oem unlocking option disabled and ran the tool

So after the device's bootloader was unlocked (ss attached)enter image description here enter image description here

I noticed that the OEM unlocking option was still active (meaning I can flip the button and it will just ask for the pass and warn me and enable the option: again ss attached)

enter image description here

enter image description here

So my question is is my device properly unlocked? OR Did I mess up with procedure ? I know i could dial *#*#7378423#*#* (which doesn't work in miui devices) or using fastboot method mentioned here- but the problem is that my device's usb port is damaged in a way that charging works but MTP or any other option doesn't (Yeah I tried multiple usb cables, brought a brand new from official store and multiple devices) or is there any app to do that ?

EDIT : Okay now I tried by adjusting the chord into the port and running fastboot getvar unlocked(ss attached)

enter image description here

Now what does this mean ? Is it still locked ?

I would really thankful if someone can help

Summary

I use my phone (Android 8.1) as access point. The qualified name of clients is resolved for other clients, but not for the phone itself.

Details

My laptop (Linux Mint 19) is set up to connect to WiFi networks using DHCP. When it does, it registers its qualified name laptop in the DNS of the access point. This is verified in several circumstances (e.g., when the laptop and other devices are connected to the WiFi network of my home DSL box, they can ping the laptop using its name).

When the laptop is connected to the phone access point, its qualified name seems to be registered as well. I test this by running host laptop 192.168.43.1 on the laptop itself, where 192.168.43.1 is the IP of the phone in the access point network. The command returns 192.168.43.44 which is the IP of the laptop (it is shown in the connection informations on the laptop).

However, apps and commands run on the phone cannot use the qualified name. Two tests:

  • the DAVx⁵ app cannot reach Radicale running on the laptop at http://laptop:5232/ (whereas it can at http://192.168.43.44:5232/). the log says:
  java.net.UnknownHostException: Unable to resolve host "laptop": No address associated with hostname
    at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:111)
    <snip>
  • under adb shell (phone connected in debug mode via usb), the command ping laptop returns an "unknown host" error.

Questions

Is this a bug or a "feature"? Can it be corrected without rooting the phone? (I need DAVx⁵ to be able to connect to Radicale with the same URL whatever the WiFi network used by the phone and the laptop, hence the need to use a qualified name that will be resolved to the laptop IP in any circumstance.)

Well there's not really more to say about my question apart from: Yes, I've looked for this feature on the Internet and on my phone.

Steps before the problems :

  1. The tablet was inactive, whitout recharging, for arround 1 year and half.
  2. Acidentaly pressed the keys to 'Download a custom os', and restarted the tablet during the process of download depsite the warning saying i shouldn't.
  3. Did a factory reset trough the config option.

The problems :

  1. All apps from playstore cant be updated or installed. When clicked on install, it will be 'installing' forever.

  2. Cant install apk from outside playstore, i get a messsage "There is a problem with the analisys of the package" (translated freely from my language). Tried 3 apks so far.

  3. The time is wrong, 1h fowrward, maybe due to summertime.

solutions i tried :

  • For the problem 1 : Clear the cache and the data of the playstore, the download manager and gmail and forced them to stop (in a lot of diferent orders); Logged out and in the email on playstore (with diferent emails); checked for system updates (had none); checked if internal storage was fine downloading several thing from browser, all downloaded and executed normaly; Tried other apps, working pefectly(one, a store, even updated itself, but i couldnt install its apps as well; Restarted ; did another(s) factory reset; and changed the time manually.
  • For the problem 2 i just tried to find apk to android 4.0, and im not shure i did it ok.
  • For the problem 3 i changed the time manually; automatically; selected the region manually and automatcally, rebooted ; and just used the tablet for 2 days to see if would change. Did those repeatedly in various diferent orders.

Nothing worked, for any poblem. The youtube says, when i open it, that i have either the datetime wrong or a bad internet conection, even when i put the right time manually. So i think the time maybe could be causing the playstore problem also ? I dont know. Im tired.

info :

  • Tablet samsung p5100
  • Android 4.03
  • hardware has arround 7 years old
  • Touchscreen broken once, replaced in the past.
  • no sd card
  • The device might be rooted, cant tell, because cant install root checkers (it had the app supersu installed even after the factory reset. I removed it from an option inside the own app and it dosent persists factory resets anymore. Its gone)

Ps: there is no google play services installed, at least not with this name.

Sometimes when an app updates it's icon disappear from start screen (launcher) but still in the apps menu.

What is the reason for this and how to avoid disappearing? Samsung S7

Has LineageOS or any other open source Android ROM moved into the Smart Clock (bedside alarm clock space)?

It seems some of these run Android Things:

The touchscreen isn't as robust as Google's other smart displays, but it uses the same Android Things software which is a trimmed-down version of Google's mobile operating system meant for smart home gadgets.

On my Android, there is a feature that I can set password for app that I want to. Example, let's say I set a password for my gallery and then I install new app from play store or browser and the new app want to access my gallery. Can that new app access to my gallery?

I want to edit the contents of an .adb backup file. I found a command to extract the contents:

dd if=mybackup.adb bs=24 skip=1 | zlib-flate -uncompress | tar xf -

I edited the extracted files as needed but how do I build adb files with the modified files?

I thought of streaming the directory, compressing it with zlib-flate and generating the tar file. Is it possible?

I wanted to pair the LG Q6 with the Mi Band 2.

I installed Mi Fit, created a google account and wanted to pair with the device. However, after a while, an error is displayed stating that it couldn't be paired and if I want to reset the device.

If I select yes, the 4-digit number will be displayed on Mi Band 2. A window with a box where I should enter the number will appear on my mobile phone. However, this window is partially covered by another error message that it cannot be reset and whether to cancel or resend. In any case, this window cannot be hidden, so it was not possible to write the number.

So I uninstalled and installed the application, but the only thing that has changed is that the reset fails and the number doesn't appear on the device at all.

Please help

Thank you

PS. Android itself can be paired with the device.

UPDATE

I searched for a solution and found a link to Fix-it for Mi Band 2. Although it has a low rating, I still tried. I followed the instructions and everything seemed fine, but it didn't help.

I would be grateful for a solution, but I personally gave it up.

I've already followed the steps here (although modified a bit, since I think that example wasn't using Android 11) to disable screenshot sound notifications:

enter image description here

But the setting seemed to have no effect.

There is still a sound whenever I take a screenshot by holding the power button and the Volume Down button.

How can I disable the sound?

I'm looking to delete a folder that is in /config/sdcardfs. My device is rooted and I'm trying as superuser. I still get the results operation not permitted.

What do I need to do to get the permission to do this.

I have tried to do sudo rm -rf name-of-folder with no success. I have also tried to do it after running tsu (Termux's version of su). No success.

P.S.
I haven't had any issues deleting in other places even in places I need root permission (for example in the /data folder.

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