text:
On a Pixel 6 with Android 12 and the March 5, 2022 security update, is it possible to change where you swipe up to unlock the phone?
This morning, I applied the March 5, 2022 security update to my phone. After this update and restart, I needed to change where I swipe up on the lock screen in order to bring up the PIN pad.

Prior to this update - as last as last night - I used to place my finger on or near the lock icon and swipe up, as indicated by the green circle and arrow. However, after updating my phone to the latest patch, I now need to put my finger at the bottom edge of the screen and swipe up, as indicated by the red circle and arrow.
I may eventually get used to this, but right now, it's rather frustrating. I went through the settings related to swiping and the lock screen, but nothing seemed relevant. Enabling face or fingerprint unlock is not a viable option.
Is it possible to restore the original behavior? Is this this an intentional change and was it documented somehow?

I just tested on Pixel 3a, but looks like the position is irrelevant, only speed is the factor. Swiping up very slowly full to the top, even from the very bottom of the screen, will still fail. On the other hand, swiping up very fast from the lock icon will still successfully show the security option. Not sure if the Pixel 6 has a different behavior...

@AndrewT. It has a different behavior now. That was the pre-update behavior on the Pixel 6, as well. Speed may still matter, but location also matters a lot.

Something else that I've observed is that I can now long-press on the lock icon on the lock screen. I'm not sure if that was an existing feature that I just didn't know about.


text:
Init services does not start at Boot time
I flashed Patch Boot.img via fastboot after flash device start normally but didn't get Root Access..
When i try to get boot logcat i observed that my device didn't start init services at boot time...
Boot.img Contains Ramdisk & Init. Rc files
Device:
Vivo S1, Android 11 version,
Chipset MT6768 Helio P65

https://github.com/topjohnwu/Magisk/issues/5148

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

sort: votes


text:
Android phone cellular hotspot with security camera
I have a spare Samsung note 8 that I am using as a cellular hotspot for a security camera. I leave this at the marina on my boat's tower to keep an eye on the weather as it takes a pic every minute. I am having two issues, the first one is that when the camera is using wifi to hotspot it doesn't upload pic to ftp server.. the second issue is that I cannot connect to the camera by using the public ip and port 80 to access the camera dashboard.
When the camera is connected to the router's wifi then I can access the dashboard and the camera can upload to ftp. Is this due to phone firewall or I need some sort of port forwarding or how can I get this to work?

Phones usually can not be accessed via cellular network because of CGNAT used by mobile network provider. If the cellular uses IPV4 this today simply a technical necessity as most MNOs don't have enough IPv4 addresses to provide every phone one.

maybe you are interested in opposite

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
How do I switch to an older version of a build for Google Play Store Internal Testing
In Apple Testflight the app allows me to switch to an older build so long as it hasn't expired.  What's the equivalent of that on Google Play Store?


text:
Logging into Facebook from any apps , but through a browser
Problem:
So, my problem here is there's an app (for convenient reason we don't talk about the name of the app) that when I login to the app, it will always be directed to the Facebook that I have installed. The Facebook itself wasn't installed by default, so that I had to install it from Play Store, that means by default (without any help), this Facebook can't be disabled.
I'm talking about a system app or whatever its name. I.e. the system app usually has this button below, my phone with android 8.1 has this button on the Facebook, but my phone with android 11 doesn't

The thing is, whenever I login, it will fail to be connected to Facebook, please see the screenshot below:

So, somehow, I need the app to be always directed to the browser instead. First of all, of course, I need to login to Facebook in a browser, afterwards I want, when I login to the app, it will be directed to the browser that I've logged in, instead of to the installed Facebook app, which will usually happen.
How to do that? I've contacted the developer about this problem but haven't got answered. I'm sure it's possible, because when I uninstall Facebook, it will be directed to the browser. But I don't want to uninstall my Facebook. Is it possible to be done without root?
I'm thinking of using Appcloner. This app has a feature directing the app to web.

I'm not a fan of cloning app, though. I just don't like it. Do you have any ideas as to how to solve this problem without cloning the app, uninstalling my Facebook, rooting?

Unpack apk, search and replace the string and repack Also there's an app that can change link behaviour

Thanks, which app exactly? Other than the app cloner?

While this might work, mind to explain how that's done? Not all our users are tech-savvy. While on it, please also include what this means to app updates.

@user516076 does WLFX's suggestion work?

@AndrewT. Honestly I've no Idea. I've searched on YT and Googled all the possibility apps but I haven't found how. My best way to do this, though, it isn't what I want, is uninstalling Facebook.


text:
Changed /system permissions, now corrupt
I own a Galaxy S5 and recently rooted it using SuperSU/TWRP.
I was trying to set the /system partition to read-write, but instead, I accidentally set the permissions of the /system folder to R W for User and nothing for Group or World (using Root Explorer)
Now my S5 won't boot - it gets to the boot screen and then into recovery (TWRP). Is there any way I could fix the permissions of the /system folder (without re-flashing the firmware)?
I tried using chmod 755/777 - didn't work...

sure that's the real issue (consider dm-verity)? adb shell; mount /system -w; chmod -R 0755 /system/system;

Hey alecxs, thanks for your reply! Luckily, I found an article which was a great help (https://androidforums.com/threads/changed-system-permissions.921257/) but I'll keep your answer just in case!


text:
Simultaneous USB connections limitation
I get my hand on a Samsung Galaxy Tab A7 Lite LTE and I want to connect several devices to it. I use an USB Hub with 7 sensors connected to it and my app retrieve all the data. My problem is I can't connect more than 5 devices simultaneously with the samsung tab. This is odd because I have a Huawei (MediaPad M5) and I can plug it in 10 devices at least without any trouble. Unfortunately, Huawei doesn't produce GMS compatible devices anymore so I need to change my supplier brand.
So my questions are: Why is this USB connections number restriction? Do you think it's a soft or hard issue? Can we find out any list of tablets with the max devices number supported? Why doesn't it show up in the technical specs ?
Thanks for reading me, any help would be appreciated !


text:
reboot won't work after rom flash
I successfully flashed a pre-rooted stock rom (C.17) using SP Flash Tool on my Realme 6 but after that, reboot won't work. When I tried to reboot (using power button or adb) it just shuts down so I had to turn it on manually, so rebooting is turn it off then on manually. Everything works but reboot. I have TWRP 3.6 and Magisk 24.3.

If I am not wrong the C.17 and Realms 6 are two different ohones. Flashing a ROM developed for a different phone is a bad idea as it will not work and has just the chance to brick your phone. Android ROMs do only work on phones that have 100% the same hardware, not the same hardware specs, really identical hardware!

What i meant is flashing the update rmx2001_c.17


text:
When to use WiFi Direct if I already have Quickshare and Nearby share?
Is there a point to use WiFi Direct when my Samsung phone already has Quickshare and Nearby share?


text:
Merge 2 WhatsApp Accounts into one new fresh number
I alraedy found questions like this: Merge whatsapp accounts
But there were no significant answers or scenarios which fit exactly my use case...
So my question is, is there any possibility (I have a OnePlus 8 Pro with Dual-Sim and DualApp) to merge BOTH accounts from my current setup to ONE new number and still have all chat-history?

Does this answer your question? Copying WhatsApp chat history to new Android

@alecxs I don't know if I'm feeling comfortable doing what you described in that question. I don't have any experience in this stuff. the last time I was doing stuff like this was with Android 2.3 and flashing MIUI to an HTC Desire S. Can I lose my data?

yes there is a risk when uninstalling WhatsApp. -k flag should keep app data, but I have no experience. Kindky refer to xda thread for further support

You might want to clarify if you (1) want to have both numbers actively sharing chat and accessible on one/both number, or (2) just want to merge chat history from one account to another and only use the new number (the old account is ignored afterward).

@AndrewT. I just want to merge 2 chat-histories from 2 seperate numbers/accounts into one account and then changing to a completely new fresh number. So just a one time merge. And actually it's only 2 chats from the one number. One group and one single-chat.

Noted, then I think alecxs' answer on the linked question might work, but the update to WhatsApp app might also break it.

if bootloader is already unlocked there is of course no risk as you can just backup everything straight from /data instead


text:
Delayed Notifications Xiaomi Redmi Note 11 Pro
I ordered the Xiaomi Redmi Note 11 Pro (China ROM) and the phone is doing fantastic except 1 annoying issue.
All my notifications are being delayed and only get delivered when I wake up the screen.
I have tried several things :
power management to performance mode
no battery restrictions
no wifi/3g/4g/5g restrictions
allow all apps to autostart
disabled battery restrictions on app level
no battery restrictions
Allow all background data & location access of apps will be enabled
Allow all app notifications, lessbattery life

It just seems that the network connectivity is being lost after a certain time of inactivity when the screen is sleeping. For example: Whatsapp web is disconnecting after a while.
This is happening for 2 months now and I'm clueless where I can find a solution. I'm still waiting to flash the ROM to the global version but this hasn't been released yet.
Any help is much appreciated!
Phone specifications:
Android: 11
Miui : 12.5.18Stable (12.5.18.0(RKTCNXM)
Model: 21091116C

I think you have done most of what Don't kill my app! suggested, but you may check and try the rest.

I did with no success. It seems to happen only on 4g/5g connections and not on Wi-Fi. Any suggestions maybe?


text:
Where is physical location of apps in Android 12
Where is physical location of apps in Android 12?
I use x-plore as file manager to browse files. I look in both internal and SD storage but cannot find many apps. These same apps show on my phone and work.
For example I cannot find Amazon App anywhere in phone folders,

Apps are stored in /data/apps and their data in /data/data but on a non-rooted device you don't have full access to those locations.

you can't find any apps on any android version, they never existed on internal storage or SD

@Robert There is no apps folder under data

@alecxs So when app saves some mp3 files. Is there anyway to find them?

I see x-plore has a search function. Hopefully those mp3s are not saved internally in the App.

ah you're talking about media files. location has changed from /sdcard -> to /sdcard/Android/media/

@SNash there is an app or apps folder but you don't won't see it as neither apps not the adb user have the permission to list the files and folders inside /data/.

@Robert So you are saying if I Root my phone I will be able to see it?


text:
How do phones from non-famous brands usually update their version of Android?
Stuff like 11T Pro or i13 Pro Max are just examples of Android phones that don't have any famous brand.  My question is, how do these phones usually allow us to update?
Is the updating mechanism something in Android itself and is done from Google's servers?  Similar to how Microsoft Windows updates itself regardless of which PC hardware we use?

These type of phones are largely considered disposable and are not updated, ever... Not the OS anyways, apps would be updated via your software store of choice (Google Play, F-Droid, etc).

Related/possible dupe: Is there a technical reason Android update story is so bad? (posted in 2014, but still relevant until now)

Compared to a PC the update process is a bit different, because Google does not provide binary updates for devices (only modern devices load some system apps via Google Play Store but these system apps only cover a small part of the OS).
Google Android devices always load their updates from a site operated by the phone manufacturer. Google is in the update process only involved at two points:

Google provides the security and/feature updates in source code form, which are then compiled and integrated by the phone manufacturer into their device fimware.
After everything is ready for an update Google gets the update an proves if it is compliant to a large list for rules each device and firmware have to satisfy. If the update passes all test the manufacturer gets the OK from Google and can then provide the update on their servers.

How long, how often or if a device gets updates at all depends on the phone manufacturer. The general rule is that the cheaper the phone the less updates you will get. For the extra cheap section on AliExpress or similar sites this means you are lucky if you get an update at all.


text:
Building Lineage os : Device manifest and framework compatibility matrix are incompatible
I am trying to build Lineage OS for the A52 4G, I'm at the building step, and then the compiler exits because "Device manifest and framework compatibility matrix are incompatible".
Kernel
Device tree
Second one which is required by the first one
Vendor files
How can I fix this ?
The full error log:
For ODM SKU = EMPTY_ODM_SKU_PLACEHOLDER, vendor SKU = EMPTY_VENDOR_SKU_PLACEHOLDER
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:241] Cannot parse "out/target/product/a52q/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt" as kernel version, parsing as GKI kernel release.
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:251] Cannot parse "out/target/product/a52q/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt" as GKI kernel release, parsing as kernel release
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:261] Cannot parse "out/target/product/a52q/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt" as kernel release
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:241] Cannot parse "4.14.190-perf" as kernel version, parsing as GKI kernel release.
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:251] Cannot parse "4.14.190-perf" as GKI kernel release, parsing as kernel release
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:278] Successfully parsed content of out/target/product/a52q/obj/PACKAGING/check_vintf_all_intermediates/kernel_version.txt: 4.14.190-perf
checkvintf I 04-02 04:47:47 119521 119521 VintfObject.cpp:58] getFrameworkHalManifest: Reading VINTF information.
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/etc/vintf/manifest/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service@2.2.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest/manifest_media_c2_software.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest/android.system.keystore2-service.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest/android.frameworks.stats@1.0-service.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest/android.system.suspend@1.0-service.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest/android.hidl.allocator@1.0-service.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/product/etc/vintf/manifest.xml': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/product/etc/vintf/manifest/': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/system_ext/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/system_ext/etc/vintf/manifest/': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 VintfObject.cpp:58] getDeviceHalManifest: Reading VINTF information.
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:79] Sysprop ro.boot.product.vendor.sku=
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/vendor/etc/vintf/manifest/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.3-service.widevine.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.nfc@1.2-service.samsung.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.cas@1.2-service.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.wifi@1.0-service.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/vendor.qti.hardware.display.allocator-service.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.graphics.composer-qti-display.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.usb@1.2-service.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.health@2.1-samsung.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.wifi.supplicant.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.neuralnetworks@1.3-service-qti-hta.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/vendor.lineage.trust@1.0-service.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.vibrator-service.sm7125.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/android.hardware.wifi.hostapd.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/manifest/vendor.samsung.hardware.biometrics.fingerprint@3.0-service.sm7125.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:79] Sysprop ro.boot.product.hardware.sku=
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/odm/etc/vintf/manifest.xml': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/odm/etc/manifest.xml': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/odm/etc/vintf/manifest/': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 VintfObject.cpp:64] getDeviceHalManifest: Successfully processed VINTF information
checkvintf I 04-02 04:47:47 119521 119521 VintfObject.cpp:64] getFrameworkHalManifest: Successfully processed VINTF information
checkvintf I 04-02 04:47:47 119521 119521 VintfObject.cpp:58] getFrameworkCompatibilityMatrix: Reading VINTF information.
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/etc/vintf/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.6.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.4.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.device.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.3.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.5.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/system_ext/etc/vintf/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/system_ext/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/product/etc/vintf/': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 VintfObject.cpp:64] getFrameworkCompatibilityMatrix: Successfully processed VINTF information
checkvintf I 04-02 04:47:47 119521 119521 VintfObject.cpp:58] getDeviceCompatibilityMatrix: Reading VINTF information.
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/vendor/etc/vintf/compatibility_matrix.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 VintfObject.cpp:64] getDeviceCompatibilityMatrix: Successfully processed VINTF information
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:112] fetched kernel version 4.14.190
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:116] fetched kernel level from RuntimeInfo ''
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:130] read kernel configs from out/target/product/a52q/obj/PACKAGING/check_vintf_all_intermediates/kernel_configs.txt
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/etc/vintf/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.6.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.4.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.device.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.3.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.5.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/system_ext/etc/vintf/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/system_ext/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/product/etc/vintf/': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/etc/vintf/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.6.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.4.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.device.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.3.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.5.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/system_ext/etc/vintf/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/system_ext/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/product/etc/vintf/': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/etc/vintf/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.6.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.4.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.device.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.3.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/etc/vintf/compatibility_matrix.5.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/system/system_ext/etc/vintf/': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:43] Fetch 'out/target/product/a52q/system/system_ext/etc/vintf/manifest.xml': OK
checkvintf I 04-02 04:47:47 119521 119521 HostFileSystem.cpp:54] List 'out/target/product/a52q/product/etc/vintf/': NAME_NOT_FOUND
checkvintf I 04-02 04:47:47 119521 119521 check_vintf.cpp:384] All HALs in device manifest are declared in FCM <= level 5
checkvintf E 04-02 04:47:47 119521 119521 check_vintf.cpp:620] files are incompatible: Device manifest and framework compatibility matrix are incompatible: HALs incompatible. Matrix level = 5. Manifest level = 5. The following requirements are not met:
checkvintf E 04-02 04:47:47 119521 119521 check_vintf.cpp:620] android.hardware.power:
checkvintf E 04-02 04:47:47 119521 119521 check_vintf.cpp:620]     required: IPower/default (@1-2)
checkvintf E 04-02 04:47:47 119521 119521 check_vintf.cpp:620]     provided:
checkvintf E 04-02 04:47:47 119521 119521 check_vintf.cpp:620] : Success
INCOMPATIBLE```

Sorry, but ROM building is off-topic since Android Enthusiasts focuses on end-users or power-users (but not necessarily developers) solving their issues.

Oh, okay thanks, I guess I'll post it on Stack Overflow


text:
How do I prevent overwriting of sysctl variables?
Android 10.
Trying to disable ipv6 (yes, I know the second line below appears redundant).
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6

The values stay as long as I have wifi turned off:
# cat /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
1

But as soon as I turn wifi on, something changes (only) the wlan0 value back to 0:
# cat /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
0

If I change it back to 1 again, it gets changed back to 0 within a few seconds (and in Settings / About phone, I can actually see the ipv6 addresses return). Does anyone know what causes this (and how I can prevent it)?

I don't think that's the right way. you are trying to change on linux, but you forgot android. probably it's set by apn/wifi settings app

Results from searches for how to disab/e ipv6 for wireless networking in android all note that doing so requires root, and suggest the method above.

messing with runtime linux kernel parameters doesn't make sense to me on android. anyway that would be temporary only. I could only image some build.prop tweaks might work (can be done from Magisk). but the proper way is imho from android framework side. kindly wait for better qualified response

Android uses the linux kernel sources (built with the ANDROID flag). Applications exist (and I have one) to apply kernel parameter changes on every reboot. The "android framework" link you provided (every VPN has a similar page) applies only to mobile data, and has no relevance whatsoever to wifi.


text:
Can I always open Google Maps links in OpenStreetMaps instead?
From the Android courier app I use for work, the target address gets provided as a Google Maps link.
However I would much rather be using OpenStreetMaps (via an app like e.g. Guru Maps) instead. Is there a way how I can configure Android so that the Google links automatically get opened in an OpenStreetMaps app?

That depends on how courier app sends the data to the map app. This can be done using a general Google Maps link (https://maps.google.com/...), a special link with a protocol scheme provided by Google Maps (not sure if the GM app implements such a scheme) or in the end the app can search for the Google Maps app and directly send the map coordinates to it. If Courier uses option 1 or 2 then this might be possible if Guru Maps would also implement the URL Google Maps host or scheme. If it is option 3 you cant change it.

@Robert Is it possible to find out what option it is without contacting developers?

By decompiling the apps or may be by checking adb logcat events.

@Robert Ok, that doesn't sound like something I wanna dive into further. Thanks anyway!


text:
How to open/inspect data stored in .thumbdata3 files?
A THUMBDATA file is a cache file created by some Android devices' Gallery app. It contains indexed property information about every thumbnail image shown in Gallery.
I accidentally lost all my images on my phone and all I have is some files named: x.thumbdata3-xxxx they sized about 1-1.5GB each.
the question is how can I extract the data inside these files? I Don't care if they tiny sized or anything. I managed to install some apps on android and extracted a couple of images but all the data extracted was not even close to 2MB. is there any solution for this? *not looking for any sort of online tools. Thanks.


text:
Why is there a box floating on top of my other apps?
I'm coming back to Android after many years, and trying to manage Notifications.  That's supposed to be accessible by holding a finger on a notification and a menu will pop up allowing you to adjust the app's notification rights.
Except something wild happens instead.  The menu flashes up for 1/4 second, and then, the undesired app opens in a "half-size window" that floats over my home screen, or anywhere else I try to go.  If I click away from it, it "minimizes" and becomes an icon at the top right corner of my home screen.  Tapping it there brings back the half-size window.

So clearly there's a cool, productivity-enhancing feature that I need to be red-pilled on.  Can anyone help?

What is it?
Is it inherent to Android, or a trick done by certain apps such as Mod Pizza?
How do I get rid of an unwanted window/icon?
How do I use it as intended?

Also, back on the notification screen, am I correct it's a timing thing on the finger-hold? Like "short" = go to the app, "medium" = adjustment menu, and "long" = do the above feature?  Can that be adjusted?

What is it?
Is it inherent to Android, or a trick done by certain apps such as Mod Pizza?
How do I use it as-intended?

This is a Samsung feature called "pop-up view".
Aside from the split windows, Samsung also offers pop-up views (similar to the picture-in-picture mode) as an alternative for multi-tasking.

How do I get rid of an unwanted window/icon?

To remove the pop-up window:

Tap the small bar on the top of the window, then tap the "X" icon, or
Tap and hold the small bar, then drag the window to the "X Remove" text on the bottom of the screen

To remove the minimized icon:

Tap and hold the icon, then drag it to the "X Remove" text on the bottom of the screen

back on the notification screen, am I correct it's a timing thing on the finger-hold? Like "short" = go to app, "medium" = adjustment menu, and "long" = do above feature?

Correct. The behavior is:

Short tapping will open the app (or open the minimized notification)
Medium holding will show the simple notification settings
Long holding will allow the user to open the app in a pop-up view or full-screen view (similar to long holding the app from the Recents screen)

Can that be adjusted?

As far as I know, no, it is not adjustable.


text:
Who is the "shell" user during ADB session?
In the Android environment, who is this "shell" user that I'm SSH-ing through ADB, as I attempt to see how much I could do with my Amazon Fire 10 tablet?
Said user's level seems very, very client-level, yet I get the impression it is the same administrator user directly calling the commands to facilitate the installation of the packages.
How does it work within the Android system?

shell is a special user (with UID 2000). Its privileges are controlled by mapping its UID with a dummy system app (with package name com.android.shell). All permissions which are granted by the Android framework to the app are also granted to the shell user. These include some signature-level manifest permissions which the normal user apps cannot have.
shell user does not and can not do the app installation. It just forwards the request to the related services running in the Android framework (system_server process) which then performs the installation as explained here.


text:
How is an APK prevented from making security changes during their installation process
What if the APK installation ran a few scripts? Overwrote files outside it's designated folder? Edited a few files? etc? What would prevent it from doing so?

An APK does not have any control over its installation process. Installation is performed by the Android operating system. Details can be found in this answer.
But once an app is installed, it can then run its code and try to make malicious changes.

What would prevent it from doing so?

At Linux kernel level:

DAC (UID, GID, mode)
MAC (SELinux labels)

Read more about Android app sandbox.
At Android platform level:

Manifest permissions
AppOp permissions

Read more about permissions here, here and here.
Related:

Are multiple-users protected from each other differently than apps?


text:
unlock password screen for htc m8 steps
I have an HTC M8 that is password screen locked.  I'm tryin to save the data on this phone. Can't get into settings cause its locked. Tried to install Twrp fastboot but can't I think because usb debugging isn't on. Try using Adb to run commands but doesn't work either. I want to unlock bootloader but I think this erase the data.
Any help is greatly appreciated, I'm stuck. Thanks

get HTC leaked prog_emmc_firehose_8974.mbn, dump partitions from edl.py, mount userdata.img on linux, delete locksetting.db and restore partition image


text:
Error while unlocking bootloader | FAILED (remote: 'Unlock failed - Err:0xffffffff')
I was trying to unlock the bootloader of an old Redmi Note 4x, Downloaded fastboot and adb.
I first enabled developer option and turned on USB debugging. I tried finding OEM unlock option which was not present on the phone. After few hours of searching about it online, I finally concluded it is not available for the phone. So I went on and fired up my terminal [in administrator mode];
$ adb devices
> List of devices attached
> 8H4DZP69S44DQOEM        device

then I rebooted my device in bootloader (fastboot)
$ adb reboot bootloader

My Phone restarted in bootloader, then I went back to my terminal and checked if the fastboot was working or not;
$ fastboot devices
> 8H4DZP69S44DQOEM        fastboot

After confirming that the fastboot is running, I tried unlocking OEM;
$ fastboot oem unlock
> (bootloader) Start unlock flow

> FAILED (remote: '
> Unlock failed - Err:0xffffffff
> ')
> fastboot: error: Command failed

which.. well... failed and I don't know why. I tried searching this very error code online but failed to find anything close to it.
My other attempts like unlocking flashing failed in similar fashion;
$ fastboot flashing unlock
> (bootloader) Start unlock flow

> FAILED (remote: '
> Unlock failed - Err:0xffffffff
> ')
> fastboot: error: Command failed

$ fastboot flashing unlock_critical
> (bootloader) Start unlock flow

> FAILED (remote: '
> Unlock failed - Err:0xffffffff
> ')
> fastboot: error: Command failed

Nothing seems to be working, Please help!

It doesn't work because you use a tutorial not meant to be used with your phone. Search for a matching tutorial and you will notice that you need the "MiFlashUnlock" tool https://en.miui.com/unlock/download_en.html

I tried using MiFlashUnlock, when I try to sign in on my PC, it says that it needs to verify my phone number. And when I click on send CODE, the app prompts "Checking for security issues" and never stops loading. I still haven't got any OTP code, the tool is broken for me.

you need mi account bonded to phone and sim activated for 7 days - RTFM ;)

The sim has been with me for almost a decade now, created an MI account during the unlocking. But it seems to get stuck while sending the OTP code with a prompt "Checking for security issue" which never ends.

that's a broken CAPTCHA use QR-Code instead @Thebluedragon there exist instant unlock methods but requires some basic linux skills (@ me if interested)

I solved mine when I enter in MI website and put my phone number and verified it on the website. After this, I tried again, and then something happens differently.
However, in the next step, you are going to have to unlock something in developer options. It required internet from a SIM card, not WiFi. After this, enable OEM unlock in the developer options to run the program, and then you have to wait for 200 hours.

There's no "OEM unlock" option inside the developer option and I tried virtually everything I found on the internet.


text:
How do I boot into recovery mode on an HTC Dream/G1?
I'm trying to revive and root an old HTC Dream. According to every ten-year-old tutorial I've been able to find, you should be able to boot into recovery mode by holding the Home + Power button as you boot the phone up. This simply doesn't work for me - the phone just boots up normally.
Is there anything else I can try? Does it differ for different specific HTC Dream models, or something?
It might be relevant that I've downgraded this phone down to Android 1/RC29 following tutorials. I've also noticed that the Call + Menu + Power combination to reboot the phone doesn't work, either.

adb (shell) reboot recovery or adb reboot bootloader and from bootloader menu select recovery maybe?

@alecxs Yup - since posting this question I found out about the reboot recovery, reboot fastboot etc family of commands. They don't work over ADB in my use-case, but they do work over the root telnet session (a long story, but anyone in the middle of trying to root an HTC dream will know what I'm talking about). I would love a clarification on why the keyboard commands don't work on my device, but I doubt anyone will know. I'll post an answer in a while.

maybe home button is not functional

Did you ever get root access on this device?

Press the Power button to switch off the device.

Press and hold the Home button + Power button at the same time.

Keep holding the buttons until a black screen with a warning sign appears.

Next, press ALT + L.

Then Alt + W for 'wipe data/factory reset'.

Press the Home + Back key.

Device will restart and after that, you can use it.

Appreciated the images, but looks like images 3 & 4 and 5 & 6 are the same?


text:
Certain Apps Do Not Work on Cellular Data
Some apps (Outlook, Gmail, Life360) do not function on cellular data, but function perfectly on WiFi. I've already checked for unlimited cell data, resetting APNs, reinstalling the apps, factory resetting and installing only those apps... I uninstalled Family Link as well after reading about that on a Google forum. I also saw the "google apps lose connection..." article, but its steps don't help. Needless to say, everything is updated.
Other apps, like Google Search, NHL, etc. work fine on cell. However, some websites like discord.com give certificate errors when loading.
When I say Outlook doesn't work, here is more detail about its symptoms: Message notifications appear, but the messages don't load. Outlook says "no connection." Similar issues with Gmail. Life360 can't load locations/sync at all, either. Trying to set up Outlook on just cell leads towards this article (https://docs.microsoft.com/en-us/troubleshoot/azure/active-directory/adal-authenticate-android-devices-fail), but I can't verify that this is indeed the problem (I have am not redirected to a federated STS login page.)
The phone is a T-Mobile Revvl V+ 5G running up-to-date Android 11. Other iPhone devices on the same T-Mobile plan work fine, so this appears to be a T-Mobile/Android/device problem, especially as the problem is with many (but confoundingly, not all) apps.
Note: the issue appears both with WiFi enabled, but unavailable, and with WiFi off.
This is most irritating, as if I needed a WiFi device, I would use a laptop. Any help is extremely appreciated!

Since how long do you have these problems (hours, days, weeks)?

It's happened as long as the phone has existed, sadly, apart from a few hours after the first time I set it up. (I made no network/wifi/app settings changes in that time)


text:
Oneplus Internal Storage not accessible
Since this morning after powering up my Oneplus 6 I'm unable to see any data in my phone via gallery or file manager or any application, and I'm unable to save any data to internal storage. (example: I'm able to use whatsapp for texting, but I can't receive/send any audio/picture and I can't access the old ones).
And I keep getting this error message:"com.android.providers.media.MediaApplication keeps stopping."
I don't know if that's what causing it or if that's just a consequence of not being able to access internal storage.
I can still see all the used storage from settings though.
Phone has unlocked bootloader, but no root.
I see other Oneplus users started getting the same error these days... (I have a Oneplus 6, but others have different models like Oneplus Nord).
I tried rebooting in safe mode, cleaning media and media.module packages from adb but no luck even if successful.Looks like the only remaining option is to reset the phone through recovery, but I wouldn't like to go through this and lose app data.
If anyone has any other suggestion on things to try, post it here please.

com.android.providers.media.MediaApplication is the central database that maps the files to their file location. Since Android 11 it is the only way for regular apps to access shared files. If it encounters a media file it can not process correctly (e.g. crashes while processing it) you can end up in such a situation. You can regenerate the database by clearing the app data for the aforementioned system app. It will then be regenerated (depending on the number of files you have stored this can take minutes or hours.

Thank You for the comment @Robert!
I've already tried cleaning cleaning the media packages successfully through adb with
"$ adb shell pm clear com.android.providers.media
$ adb shell pm clear com.google.android.providers.media.module" but I still have the same issue... Is there a way to specifically clean "com.android.providers.media.MediaApplication"?

@alecxs I cannot install any apps since it's like I don't have any storage left at all, even if I try unistalling apps

'adb reboot bootloader; fastboot boot twrp-3.6.1_11-0-enchilada.img' (use screen lock pattern to decrypt) create backup and delete /data/data/com.android.providers.media

So is there no way to clear "com.android.providers.media.MediaApplication" app data directly from adb like Robert suggested?

you wrote you already did successfully - obviously that is not the cause. my suspect is broken encryption (you will figure out from recovery.log)

Hey @alecxs, I deleted /data/data/com.android.providers.media from Twrp as you told me last time but nothing changed... (I saw other users resolved with a wipe and all storage files were still there, I don't know if in broken encryption case it would be like that)
Also in my last comment I was asking about clearing "com.android.providers.media.MediaApplication" app data, while I already cleared "com.android.providers.media" data through adb, I don't think they are the same thing since they show up as two different system apps in settings... but dunno

yes my comment is about com.android.providers.media.MediaApplication, too. or whatever  you want to clear (way to clear app data directly) I also said that probably wont solve your issue

The problem is that I can't find the MediaApplication package.. I just see media, that's why I asked how I could clear that one...

in TWRP have a look into /data/user_de/0 some apps store data there (instead /data/user/0 -> /data/data) if no dir exist that means no app data exist

Hi @alecxs, I looked in both folder and I just found another providers.media folder but no providers.media.MediaApplication folder, I deleted both (the one in data/data and the one in user_de/0) but nothing changed.
Also when I'm in recovery mode I can see all the files and even copy them from the pc, so I don't think the problem is broken encryption...
Do you have any other hint by any chance or my only option is to wipe data?

I have replied on xda-developers as it's more suitable for troubleshooting dialog. once you found solution you can come back here and post as answer

Hi @alecxs, I have an update for this on the xda thread [link](https://forum.xda-developers.com/t/help-internal-storage-not-accessible-a-k-a-how-to-clear-com-android-providers-media-mediaapplication-data.4431743/
Hope you could check it out...
Thank you in advance


text:
Missing signal icon on lineage os
I've just installed Signal from an APK package downloaded from here on a LineageOS smartphone.
I performed the installation from a Linux laptop using adb:
$ adb install Signal-Android-website-prod-universal-release-5.32.15.apk
Success

Signal works OK, e.g. I could start it and set up an account, but I can only start it from the app list inside the system settings: There is no Signal icon at the top level.
I cannot find any documentation or any information on how to solve this problem.
Do you have any hint?
EDIT
Here is some more information.

Lineage OS version: 18.1, build 31st March 2022.
Smartphone: Samsung Galaxy A520F.
With top level I meant the home screen.

By "top level", did you mean (1) the home screen, or (2) the app drawer? Because, unlike installing from Play Store (there's a setting in it), installing by ADB won't automatically create an icon on the home screen. Otherwise, have you tried different 3rd-party launcher apps?

If an app icon is automatically added to the launcher depends on the launcher. You can add any app to the launcher by pressing and holding the icon in app drawer and then move it up to the button "add it to the start screen".

I have found it in the app drawer (thanks Andrew) and added it to the launcher by pressing and holding the icon (thanks Robert).


text:
How to clean com.android.providers.media.MediaApplication App Data?
com.android.providers.media.MediaApplication keeps throwing errors on me and I cannot access internal storage on my Oneplus since this morning.
I've already tried cleaning the media packages successfully through adb with
adb shell pm clear com.android.providers.media
adb shell pm clear com.google.android.providers.media.module

but I still have the same issue...
I tried looking specifically for the MediaApplication package but it doesn't come up when I list packages with adb, even though it's marked as a system app in settings.
Is there a way to specifically clean "com.android.providers.media.MediaApplication"?

Does this answer your question? Oneplus Internal Storage not accessible


text:
Getting a timeout error when trying to reach Yahoo mail through all apps. That's the only site with an issue. Samsung s20 fe 5g 1ui4.0
Received a replacement s20fe last week and haven't been able to reach Yahoo mail since. It times out or returns a 'This page isn't working' message. Can't even get through with the Yahoo mail app.
No problems reaching any other site or service. The only problem is getting to Yahoo, with any app.

AT&T sent an OTA that resolved the issue.


text:
Is it possible to transfer app data from a backup to another backup/pc?

The backup on the bottom has more app data  (85 app data) than the one at the top (33 app data). I was wondering if it is possible to extract/transfer the data onto the backup on the top or onto another storage platform such as a pc or an sd card. I cannot renew the backup at the bottom as the device that backup was made from has been reset and the backup at the top was the retrieved data from the backup at the bottom. If it is not possible, is the data still stored in some other cloud storage app such as google play?

I personally never used that kind of backup. looks like it is urgent. maybe try to download to PC, or try to increase the expire date straight from PC browser https://drive.google.com/drive/backups if you enabled sync in photos app you might download pictures before they get deleted by unwanted sync https://photos.google.com

How do i increase the expiry date using the PC browser? I'd only want the app data transfered.

it's you!

please reply, i've got little time left!

as I said never used that. searching for drive+backup will give you some hints. https://support.google.com/android/answer/2819582

should be even possible to restore on emulator (like BlueStacks) https://android.stackexchange.com/a/213374

Very late reply, but I was wondering what kind of backup system you use?

TWRP + Migrate-NG


text:
Bug when opening pdf with reader on android
When I try to open any pdf file downloaded from my browser (Chrome or Firefox) it does not open successfully in any viewer. For example opening it with Adobe Acrobat Reader (4.5) I get the error:
"This file cannot be accessed. Check your connection or make the filename shorter."
At some point in the past this was working correctly. (Note the actual filename length does not seem to matter. The issue occurs for files with short names.)
Weirder yet, I can open the same file when selecting Open with Adobe Acrobat reader for the exact same file through my file browser Total Commander instead of through chrome. The downloaded file is clearly not actually corrupted in anyway.

Android 10 on moto g(9) plus

Take a known readable pdf file you already have from your PC and put it on the phone to see if it opens. If the file you can't open is from social media or from email, it may not be a legit pdf (and probably bad).

I know that if I save a pdf with too long a name it cannot be written. If it really is someting you can trust a shorter name may allow you to read it.

It happens with legit files. I will also clarify that even on the phone I can open the exact same file correctly as long as I do so from Total Commander instead of from a browser.


text:
How to mount an Azure file share on Android?
I tried a couple of Android file explorer apps to mount an (SMB3) Azure file share, but I got an "Access Denied" error with each of them.
Does anyone know a solution?
I tried the most common File-Apps on PlayStore:

Cx File Explorer
File Manager
X-plore
AndSMB
CIFS Documents Provider

Authentication is with username and Azure storage account key based on the snippet provided by azure for Linux:
sudo mkdir /mnt/fileshare1
if [ ! -d "/etc/smbcredentials" ]; then
sudo mkdir /etc/smbcredentials
fi
if [ ! -f "/etc/smbcredentials/aname.cred" ]; then
    sudo bash -c 'echo "username=aname" >> /etc/smbcredentials/aname.cred'
    sudo bash -c 'echo "password=akey" >> /etc/smbcredentials/aname.cred'
fi
sudo chmod 600 /etc/smbcredentials/aname.cred

sudo bash -c 'echo "//aname.file.core.windows.net/fileshare1 /mnt/fileshare1 cifs nofail,vers=3.0,credentials=/etc/smbcredentials/aname.cred,dir_mode=0777,file_mode=0777,serverino" >> /etc/fstab'
sudo mount -t cifs //aname.file.core.windows.net/fileshare1 /mnt/fileshare1 -o vers=3.0,credentials=/etc/smbcredentials/aname.cred,dir_mode=0777,file_mode=0777,serverino

Which apps have you tried: do they claim to have SMB3 support because at Azure requires SMB 3.0 or 3.1 support? https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows What credentials have you used (e.g. pattern of user-name). Please edit your question and add those details.


text:
Switch firmware to enable U.S. cellular phone towers on LG V50 ThinQ?
I had bought an LG V50 ThinQ a few months back to exchange with my old phone. However, lately, people have been calling me and it goes straight to voicemail from time to time.
It turns out that I have the Korean version (V500N), and it's not as compatible with U.S. cellular phone towers or whatever.
Would it be possible to change the phone's Korean firmware to USA's?

I assume by "compatible with U.S cellular phone towers" you are referring to the bands/frequencies supported by the device in 4G/5G. Only those bands can be used that are supported by both, cell tower and phone. Unfortunately I would be surprised if the supported bands could be changes by replacing the firmware. To my knowledge the frequencies an antenna is sensitive to is determined by it's length, thus it is a physical restriction and nothing you can change by a firmware.


text:
Gboard personal dictionary with Bluetooth keyboard
With aid from Android Enthusiasts and Reddit, I was able to bring my Microsoft Word Autocorrect shortcuts from my Windows 10 desktop into my Gboard personal dictionary on Android.
I see, now, that when I enter one of those shortcuts using Gboard's onscreen (virtual) keyboard in Android, that shortcut's full expansion is offered at the center of the top bar in the Gboard keyboard. For example, if I type my initials into the onscreen keyboard, my full name appears in that top bar. Then I can just tap that suggestion to enter it into my document.
Unfortunately, this doesn't work when I enter the shortcut using a Bluetooth (physical) keyboard. The shortcut appears onscreen, but Gboard's top bar does not change accordingly. The explanation is presumably that Gboard is designed to recognize only its own (virtual) keyboard.
My question: can Gboard or some other app be persuaded to expand shortcuts entered via physical keyboard? In Word on the PC desktop, the expansion occurs as soon as the user enters a spacebar, punctuation, or Enter keys following the shortcut.


text:
Do keyboard apps which are enabled but not selected have access to input text?
I installed a keyboard app on Android 6 and when enabling it, the OS showed a warning that the keyboard app has access to input text.
Since the warning appeared on enabling, not selecting, this question appeared: do keyboard apps which are enabled but not selected have access to input text? If it is another way in other Android versions, feel free to describe that, as a part of the answer.

I assume this warning comes because you can select a different keyboard app for each regular app (from the list of enabled keyboard apps). This means that every enabled app can be used at any time.

i have copied this to https://stackoverflow.com/questions/71795934/in-android-do-keyboard-apps-which-are-enabled-but-not-selected-have-access-to-i


text:
Can Android 12 update trigger "new access" notification?
I recently got an e-mail warning that an app has been granted access from a nearby location, just after updating to Android 12. Device used was "app" not web browser.
I changed password and re-logged in. The location was the same, unfortunately IP address is not provided.
Could it be a false positive triggered by the Android update?
Should I be worried about any phone intrusion? To be clear, I do not download third-party apps, from unknown source and whatsoever.

The update didn‘t trigger it for me. I would also recommend putting what device this was on, and maybe checking any recently installed apps?

fishing e-mail?

You haven't mentioned which app and email source, so it's hard to give feedback of what really happened (you mentioned you don't download 3rd-party apps, but we don't know if the app and/or email itself is actually from the 3rd-party or not). Otherwise, I'd assume the email is from Google Account. Though Android updates don't do anything to the apps, other than possibly only updating some of the system apps.


text:
Cannot pair Galaxy S8 with PC
My PC is an old Sony Vaio SVF model. The last official supported OS is Windows 8.1.
The PC has a Broadcom 43142 Bluetooth adapter.
From early days of Windows 10 till now, I had issues connecting my Galaxy S8 to my PC. On the other hand, the S8 BT works fine.
However, whenever I tried to pair my S8 with the PC:

I get the prompt on both devices about BT connectivity authorization.
I approve it on both devices.
PC prompts that S8 is paired successfully, and shows it as "connected" for a few seconds. Then it changes to "paired".
S8 says "couldn't connect" every time I tap on the PC name in Bluetooth screen.

I repeated that a million times. Even tried with the Sony driver for Windows 8.1.
I convinced myself that this is either a hardware or driver issue, so I purchased a Bluetooth dongle (Orico BT-409). It is detected by Windows 10 just fine, but even with that, and after removing both from PC and phone and pairing again, the above message (couldn't connect) appears again even though I've turned the PC's internal BT adapter off.
Perhaps there's something with the S8 and not my PC after all?

What do you want to do using Bluetooth between phone and PC? The number of useful Bluetooth services/profiles in that scenario is as far as I know very limited.

Microsoft Your Phone app. And I didn't ask for use case advise.


text:
Is my Xperia Z3 hopelessly locked or there's still second chance? (Forgot pattern, USB debugging on but not OEM unlock so can't flash)
So basically I have a Stock Sony Xperia Z3 Docomo variant (if I recall correctly it was D6653) that I used all the way from 2017, until I had to store it on my desk cabinet for two years because the screen was broken (although before the screen went completely messed up, I managed to enable USB debugging in order to mirror the screen on my laptop with scrcpy so I can use it). Until finally I got a chance to replace the screen earlier this weekend
Problem is, I already forgot the pattern to unlock it. Not even my brother (who used it sometimes to game back then) remember the pattern. Worse part is some of the SIM card, even when it does have data plan (I just simply put the SIM from my other phone), the phone is just going to show as full bar Roaming (R) and no internet at all so this phone completely have no network (although I do also have suspicion that data connection is probably disabled), and obviously that means I can't use google account to unlock it
Wanted to use TWRP or Aroma File Manager to delete the pattern lock file, but then I realized I have to flash recovery first, and even if I do now understand how to do it on Z3 model because I already read various guide from various forum since Saturday, the problem is that OEM unlock isn't even enabled simply because at the time it was still a bit functional, I don't see it as something I need, as I don't root or flash a custom ROM on any phone that I use. And as additional note, as time goes on obviously all of the laptop at home had gone many clean reinstall, which means no ADB key backup, and I can't authorize because pattern lock
Is there hope left, or this phone is completely locked?
(TLDR: Phone locked because I forgot lock pattern, no Internet, data stuck at R, no connection so I can't recover with google account, USB Debugging on but not OEM unlock)

not sure what is the question, assume you want to recover its data. first get linux (or Re LiveDVD) from rufus pendrive and do full dump from edl.py come back here when done

@alecxs I want to remove the pattern. About the data... At this point I don't really mind that much since I still have the backup before the entire screen got messed up.

I am not quite sure if FRP even kicks in.. and it looks like device isn't encrypted at all. so deleting locksettings.db is probably easy. But if you don't care about data, either do factory reset from recovery (only do that if bonded google account password is known FRP?) or factory reset from suggested raw flash tool (erase userdata + cache partitions)

the "backup user data" option in recovery is nice.. do you have it? my scripts removes locksettings.db in case you want to restore backup from TWRP or convert/unpack on PC (unencrypted backup only)


text:
Is app_process executable directly?
When I ran the "file" command on app_process32 and app_process64, they are listed as shared objects (so files). From my understanding, .so files are not directly executable.
However, based on what I read online (https://elinux.org/Android_Zygote_Startup and https://github.com/Genymobile/scrcpy/issues/902), it seems that app_process can be executed directly?
Example, I see snippets such as
adb shell app_process -Djava.class.path=/data/local/tmp/classes.dex /sdcard shellService.Main

app_process [java-options] cmd-dir start-class-name [options]

Perhaps my understanding of app_process is wrong?

Yes it is. Why and how are some shared libraries runnable, as though they are executables?.

Thanks @IrfanLatif, now it makes sense to me.


text:
Fastboot Kernel Install
I want to install Arrow OS with OrangeFox.  I understood the installation step, but I want to install the KVM opened kernel.  I have it in the form of boot.img file and I install it with the fastboot flash boot boot.img command.  How can I install it on Arrow OS?
My Phone: Redmi Note 10S (Secret)
Note: This device uses A/B

ask maintainer of kernel to provide anykernel3 zip

So, can it be installed as .img with OrangeFox?  Or what happens if I install the .img file via Fastboot?

please clarify what is your understanding of kernel, boot and .img file. boot partition typically contains kernel + ramdisk + dtb. .img files can have different formats. maybe provide the link to whatever "KVM opened kernel"?

I just uploaded it to my own Google Drive account: https://drive.google.com/file/d/11UjxXIXq66L2oLLyBGUW7H-KRGyWZYpw/view?usp=drivesdk

sorry that's of no use to me. what I meant is link to origin of that kernel (thread/tutorial/changelog etc) not the file itself. If you are the author I recommend to read about anykernel3, and recommend not to share binary only, without any source code (which is violating GPL licence)


text:
How can I set my device to display time in UTC?
I want to try thinking in UTC instead of my local time. There is no UTC region and no UTC time zone under the United States region.
How can I set my device so it always displays the time in UTC instead of my local time zone?

Now Select time zone has a sideways ... that you can select Select by UTC offset; this is an alternate way you can select UTC GMT +00:00 without selecting a region. (Android 10, 2022-02 patch.)
I assume that this is the same time that one uses for SSL certificates, which I'd imagine is probably UTC instead of GMT. I use this as well, and it mostly works. The only trouble I've had is getting re-certified with Microsoft's OAuth mail server.

Additional note: according to Google/AOSP developer, this feature has been added since Android 9.0 Pie.

Set your device to the Iceland region. Iceland has a single time zone with a UTC offset of +0, and they do not use DST. Other time zones that may work are listed here.


text:
Android Erisin ES8715V - Boot loop
I have Erisin ES8715V and problem with boot loop.
Last time when I had this issue I entered in Recovery mode and did factory reset. I entered with holding power button and reset for 10 seconds.
Now I have again same issue and can't enter in Recovery mode.
Can someone help me is it possible something with ADB or maybe different way to enter into Recovery mode?
Thank you in advance!

adb/fastboot requires usb connection to PC, does this device support this? what did customer support say about your issue?

@alecxs
Yes, this device support USB.
I've tried to contact Customer, they only have marketign email and still waiting answer from them (disappointed).
Thanks for answer.

https://forum.xda-developers.com/showthread.php?t=3734376

https://androidmtk.com/use-rockchip-factorytool

https://androidmtk.com/use-rockchip-batch-tool


text:
Can I use my TV as a display for a tty while using my Android screen as a virtual keyboard?
I use Termux on a rooted device to run Alpine Linux in a chroot, but since the screen is small it is hard to type with a virtual keyboard + get a good view.
I want to use my Android's screen for the keyboard while using my TV's screen as a display for a terminal. The TV in question supports VNC and Miracast.

Does this answer your question? How do I project the screen of my Android phone for a presentation?

@alecxs Unfortunately I don't have access to a physical keyboard.

@alecxs Can I use screenrecord/miracast with a custom resolution? I just need the tty instead of the Android screen and casting the Android screen has the demerit of not being able to set a custom resolution.

I understand, but since I have have an input device (virtual keyboard) + screen (television display) + system (alpine), it shouldn't be necessary to need another input device right? And after all I only need a tty which doesn't need a mouse for input

some devices have two screens (like LG Velvet) so obviously android supports dual-screen. Kindly wait for better qualified response

but let me tell you, custom screen resolution is pointless on screen mirror without physical keyboard - either virtual keyboard is too big and will cover half of screen, or it's too tiny to type! haven't found any dual-screen app btw...

LineageOS has "Force desktop mode" in developer options: "Force experimental desktop mode on secondary displays"


text:
Spam porn notifications from Google Drive
Regularly I've been getting Google Drive SPAM notifications saying that a file was shared with me and a porn / sexual message linked with it.
I'm familiar there's a block feature

https://support.google.com/drive/answer/10613533

but thing is the files are coming from new emails.
What can be done to stop this?

create new google account and drop the old one

Known exploit with Google Drive. AFAIK, unfortunately, there's nothing that we the users can do to prevent them.


text:
Does modifying system partition disturb Android system updates?
I want to root my device and then modify files on the system partition.
I want to enable multi user support and install busy box. But there are many other reasons why someone would want to do this.
My question is if this can disturb system updates (not app updates)?
Will a system update simply overwrite the old system image? (Reverting all my changes).
Or will the update fail?
To answer my question it would be good to know how an Android system update works.
(File based/image based. Is it delta?)

The answer is maybe unfortunately... All depends what you change, it can cause updates to fail, and if they go through and you have a patched boot image (common in rooting) and it get's over written, it might not boot after an update until the new image is patched again (you root again). It will not overwrite your system, updates are delta changes not entire images in almost every case. Basically once you root, make a system image backup and be prepared that any update could break your phone, but there is no definitive answer really. This post really belongs in Android Enthusiasts though.

why modify system? https://android.stackexchange.com/q/232388

This all depends on how your device OEM handles it. My experience with OnePlus 6 has been positive. OnePlus always detected that my system was modified and informed me that it would download complete OTA (not delta version) and install it. Because my device came with partition layout that supported seamless updates (A/B updates), system updates (which I rarely did anyway) worked out fine. "As expected" updates overwrote changes I had made to non-data partitions earlier. But I was able to update the device nonetheless.

@alecxs Your post is about removing pre-installed apps. I want to do other things like editing the build.prop file (which is located on the system partition).

same applies - magisk has resetprop applet which does it systemless-ly ;) check the system.prop file

@alecxs I have read "How to Install Magisk" and it seems I need to modify the boot and recovery image. I think then there is the same problem as when modifying the system image.

right, magisk lives in boot (or recovery for some samsung devices) but magisk used to keep backup of stock boot.img ready for OTA survival. btw having your mods in module handy makes it easier to restore

there is nothing against rooting with other solution and modify /system (even possible on dynamic partitions) just beware of avb/dm-verity on recent android versions https://android.stackexchange.com/q/217116


text:
How to permit secondary profile to create/manage hotspot
How can I modify the permissions of my Android's secondary profile/user to be able to create & manage a WiFi hotspot on the device?
I'm running Android 11 (LineageOS). I have a secondary user that I would like to be able to manage the hotspot. However, when I navigate to Settings -> Network & Internet -> Hotspot & tethering, I see the following error message:

Tethering settings are not available for this user.

I also have the credentials for the primary user profile.
I also have root on this device.
How can I modify the permissions of this secondary user profile such that they can create and manage the hotspot settings on the handset?

For context: I'm trying to share a large file between my Android phone and my laptop. My current WiFi won't allow clients to connect to each other, so I want to use a hotspot. The primary user can't see the file as it's owned by the secondary user. The secondary user can't share the file because they can't manage the hotspot on my phone to bypass the LAN's firewall fuckery. The file is too large to copy around. My laptop can't take the file over USB because it's running QubesOS. There's other solutions, but the easiest would be to just let the secondary user manage the hotspot.

See also https://android.stackexchange.com/questions/246200/hotspot-dhcp-issues-without-mobile-data-dhcp4-request-timed-out

Please just integrate your comments into your question and delete them.

See also https://github.com/onionshare/onionshare/issues/567#issuecomment-1091963143

@Robert the comment is not necessarily relevant to the question as the question is intentionally more broad than my specific use-case.

Hotspot from the admin account then switch to the user account. Otherwise it is not possible to hotspot from the user account. Set up all your hot spot from the admin account before switching to the user account.

This is not an answer to the question. Perhaps it's possible with root and XPosed framework.


text:
Hotspot DHCP issues without mobile data (dhcp4 request timed out)
By default, does the Android "hotspot" functionality provide a DHCP server to its clients? Or does it just pass DHCP info on from the network that it's connected to?
I'm trying to create a hotspot for LAN-only communication between my laptop and my phone. I do not have a SIM card, so "Mobile Data" is disabled." I also don't have access to another WiFI network, so "WiFi" is disabled.
I created a hotspot and try to connect to it from my laptop, but I get this error from NetworkManager's logs (I'm using GNU/Debian 11 Linux):
[user@sys-net ~]$ sudo journalctl -u NetworkManager -f
...
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.7570] device (wls6): Activation: starting connection '<SSID_REDACTED>' (501ce9ff-854f-472a-81cd-5eb447c47379)
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.7585] device (wls6): supplicant interface state: disconnected -> interface_disabled
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.7585] device (p2p-dev-wls6): supplicant management interface state: disconnected -> interface_disabled
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.7654] device (wls6): supplicant interface state: interface_disabled -> disconnected
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.7655] device (p2p-dev-wls6): supplicant management interface state: interface_disabled -> disconnected
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.7667] device (wls6): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.7675] manager: NetworkManager state is now CONNECTING
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.7840] device (wls6): set-hw-addr: set-cloned MAC address to <MAC_ADDRESS_REDACTED> (stable)
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8065] device (wls6): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8087] device (wls6): Activation: (wifi) access point '<SSID_REDACTED>' has security, but secrets are required.
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8087] device (wls6): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8248] device (wls6): supplicant interface state: disconnected -> interface_disabled
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8248] device (p2p-dev-wls6): supplicant management interface state: disconnected -> interface_disabled
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8250] device (wls6): supplicant interface state: interface_disabled -> disconnected
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8250] device (p2p-dev-wls6): supplicant management interface state: interface_disabled -> disconnected
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8405] device (wls6): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8412] device (wls6): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8461] device (wls6): Activation: (wifi) connection '<SSID_REDACTED>' has security, and secrets exist.  No new secrets needed.
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8473] Config: added 'ssid' value '<SSID_REDACTED>'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8474] Config: added 'scan_ssid' value '1'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8474] Config: added 'bgscan' value 'simple:30:-70:86400'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8474] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK SAE FT-SAE'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8474] Config: added 'auth_alg' value 'OPEN'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.8475] Config: added 'psk' value '<hidden>'
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9055] device (wls6): supplicant interface state: disconnected -> authenticating
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9059] device (p2p-dev-wls6): supplicant management interface state: disconnected -> authenticating
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9109] device (wls6): supplicant interface state: authenticating -> associating
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9110] device (p2p-dev-wls6): supplicant management interface state: authenticating -> associating
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9365] device (wls6): supplicant interface state: associating -> 4way_handshake
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9365] device (p2p-dev-wls6): supplicant management interface state: associating -> 4way_handshake
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9611] device (wls6): supplicant interface state: 4way_handshake -> completed
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9611] device (wls6): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "<SSID_REDACTED>"
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9611] device (p2p-dev-wls6): supplicant management interface state: 4way_handshake -> completed
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9616] device (wls6): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Apr 07 16:15:24 sys-net NetworkManager[1446]: <info>  [1649340924.9621] dhcp4 (wls6): activation: beginning transaction (timeout in 45 seconds)
...
... <here it got stuck waiting for an IP address before timing out>
...
Apr 07 16:16:10 sys-net NetworkManager[1446]: <warn>  [1649340970.5783] dhcp4 (wls6): request timed out
Apr 07 16:16:10 sys-net NetworkManager[1446]: <info>  [1649340970.5783] dhcp4 (wls6): state changed unknown -> timeout
Apr 07 16:16:10 sys-net NetworkManager[1446]: <info>  [1649340970.5784] device (wls6): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Apr 07 16:16:10 sys-net NetworkManager[1446]: <info>  [1649340970.5799] manager: NetworkManager state is now DISCONNECTED

Why is my android device failing to provide my laptop with an IP Address? Is it because my android isn't already connected to another network running a DHCP server? How can I make my android hotpsot provide a DHCP IP address to my laptop when I connect to my android's hotspot?

See also How to permit secondary profile to create/manage hotspot

See also Stack Overflow - Android Wi-fi AP hotspot - without internet

This issue was caused by my firewall and due to complexity between multiple user profiles.
I was able to fix all issues by entirely disabling the firewall setup by the afwall app.
However, as a slightly better option, I was able to fix this issue as follows:

As the 'Owner' profile, enable Airplane mode. Make sure WiFi and Mobile Data are off if you want to use the phone's own internal DHCP server. Then enable Hotspot

In the user's account where afwall is configured, check the box to give "wifi" access to the row named (any app) - Same as selecting all apps - !! WARNING !!

Note: I did try to isolate the wifi permissions to a single app, but I found that if every app's "wifi" setting was enabled (except the entry for (any app) of course), then it wouldn't work. But if the "wifi" setting was enabled for the (any app) row, then it worked.
So it appears that there is, in fact, a distinction between selecting all apps or selecting the (any app) entry. My guess is this distinction is most relevant when using multiple user profiles.

On another handset, I was able to resolve this issue and get an IP address when only enabling the "wifi" permission for the (root) - Apps running as root entry (as opposed to the (any app) entry). YMMV device-to-device, version-to-version, ROM-to-ROM.

This question is linked in comments in other similar question with Highly active question rank but excessive reputation points are needed to answer it. So I answer here because those two questions are linked, and answer explains mentioned there problem.
On Samsung phones it is not possible to turn on hotspot without inserted SIM card.
But there are tools to create in newer Android versions offline hotspot - more info here

Except the Op has it working.

This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review


text:
Finding shutdown event in Android bug reports
My Phone which runs on Android 11 has been crashing frequently. This happens randomly - while attending a call or playing a video.
I have tried to report it to my manufacturer multiple times to no avail.
So, I decided to take and analyse the Android bug report in order to understand what is causing the issue. The bug report generates a zip file - which consists of a txt file containing logs.
Is there any generic message which is logged by Android before initiating a shutdown? Or is there any other way - any bug report analysis tool in which I can isolate the events around the crash?

You could link your phone to Android Studio.  It has a logcat display that shows exceptions from everything, not just your app.  If your phone resets while connected, you'll have a running log of everything up to the reset.  In Android 11, it natively supports wireless ADB so you can do this wirelessly.

Hello. A crucial part of the question has remained unanswered, which is: "Is there any generic message which is logged by Android before initiating a shutdown? Or is there any other way - any bug report analysis tool in which I can isolate the events around the crash ?" Logcat throws all sorts of log output. One needs to know what they are looking for in that hay of logs.

logcat would quit logging when the phone resets.  Whether or not the final log could even be logged is up for debate anyway.  Logcat has many useful features making it easier to peruse including filters.  There's not a whole lot more that can be done here since he isn't capturing errors from his own program.


text:
How to force Android to install app with date or security problem?
I want to install an app on my new Samsung phone. The app was already working on my old Samsung phone. It seems that it cannot be installed due to security reasons.
I get the following errors with different versions of this app:

Failure [-3000: INSTALL_FAILED_REJECTED_BY_DATE]
Failure [-3003: INSTALL_FAILED_MISSING_CERTIFICATION]

How can I force Android to install this App?
Device model: Galaxy S21 FE,
Android version 12,
App: Ubridge Plug-in1 for SAMSUNG.

Could you mention the device model, Android version, and the app you're trying to install? Browsing the AOSP source code, this doesn't look like a standard error code but was added by Samsung (ref: XDA Forum - Samsung Gear 360 Manager app)

Dear Andrew, thanks for your reply. @andrew-t.
Device model: Galaxy S21 FE.
Android version 12.
app: Ubridge Plug-in1 for SAMSUNG.


text:
Is there a way to suspend the system?
I have Android tablet, whenever I lock the device it goes to sleep, but it is actually operating mode, when programs can run, notify me, etc.
I am looking for suspend mode, just as with regular computer, when program do not run in suspend mode.

Android devices are designed to be always on. There is no suspend mode, you can only power it off or leave it running. When keep it running you can enable all battery savings like disable all wireless interfaces).

Some history: Do Android 3.0 tablets have standby/hibernate mode? (asked about Android 3.0 specifically, but mostly true until now in 2022). Possibly related/some alternative suggestion: How to make an Android smartphone actually go to sleep?. For notification, the Do Not Disturb mode might also help.

Suspend to RAM requires specific support at hardware, bootloader, Linux kernel and userspace level. All or some of these are not available on Android devices.


text:
How to check which installed apps have been taken off the google play store?
Each time I restore my apps using my Google account I find out that some apps were just left out; the apps were no longer available on the Google Play Store.
How can I confirm that all apps installed via the Google play store are still available on the Google Play Store, so that when I restore my backup via my Google account I don't have apps missing.
I would do this by using an Apk Exporter to store the apps which are no longer available on the Google Play Store.

The easiest way to check if an app is still in Play Store kein my opinion the Google Play web site. The app package name is in the URL and if the app is still in store the web page exists, if not an error page is displayed. Using the device package list gained by pm list packages and a small script it would be possible to filter out apps that are missing in Play Store. May be there is already an app that uses this way to check the installed apps but I don't know such an app.

See How to get notified about removed apps from Google Play Store?. Has my own answer there written long time ago.

While Firelord's linked question has a title that is more specific ("notify" vs "check"), I believe his automation approach should work well in general, and I may consider this a duplicate of that question. Consider trying his answer and let us know. Thanks.

@AndrewT. I was more assuming there would be an app that could be installed rather than scripts.


text:
Google drive does not sync over wifi
My samsung note 5 has 2 google accounts.

When refreshing contents of google drive or google docs via wifi, neither of them can sync to fetch new information nor can it open existing files. When trying to refresh contents, this error message pops up: 'Can't retrieve file information. Check your network connection'.

However, both the apps can sync with the google accounts over mobile data.

Already have tried existing suggestions such as, cache/data cleaning for the apps, restarting router, uninstalling/reinstalling google drive/docs, toggling syncs on for both my google accounts etc. Still the issue persists.

Have not switched to a different isp connection or a new router in a while. Currently using tp link WR741ND v4. It does not have any IPv6 toggling option.

Anyone facing similar issues?

Have you tested connecting to different WiFi Access Point/ISP? Also, do other Google services work properly on WiFi?

I did connect to 2 different ISPs other than my home network. One of them worked and the other didn't. Have been experiencing this syncing issue on some wifi only with google drive and google docs. Other google services seem to work just fine. I reckon this is a router issue because I tried everything else, as mentioned before.


text:
How to reinstall (or install) android 6 (7) on HTC one m9 plus?
My HTC one m9 plus OS is not working properly (e.g. It reboots several times when I turn on WIFI or data, etc) So I decided to install Android 6 or 7 on it. But after downloading this file
During the installation (using adb or putting OS file directly into smartphone's SD card and pressing Power+ - keys in locked mode) it return an error.
Probably these errors occur because of unofficial version of OS. If so where can I download official Android 6 or 7 for HTC one m9 plus? and how do I install it?
UPDATE: Recovery try:

press and hold the Power button together with the Volume Down key and hold them until you can see the Download Mode on your screen.
select the reboot to bootloader option.

go to the boot to Recovery Mode option.

after choosing Recovery Mode it shows the following:

My smartphone details is as follow:
S-ON
htc_hiau_ml_thul PVT
LK-1.01.0000
RADIO -UNKNOWN
openDSP-UNKNOWN
OS-2.30.401.1

I've tried the following with cid_num error:
modelid: 0PK711000
cidnum: HTC__001
cidnum: HTC__J15
cidnum: HTC__M27
cidnum: HTC__032
cidnum: HTC__Y13
cidnum: HTC__031
cidnum: HTC__102
cidnum: HTC__A07
mainver: 1.85.401.6

modelid: 0PK711000
cidnum: HTC__044
cidnum: HTC__038
mainver: 2.30.707.1

and this unrelated one:
modelid: 0PJA10000
cidnum: HTC__001
cidnum: HTC__J15
cidnum: HTC__102
cidnum: HTC__M27
cidnum: HTC__002
cidnum: HTC__032
cidnum: HTC__016
cidnum: HTC__031
cidnum: HTC__A07
cidnum: HTC__Y13
mainver: 4.28.401.3

please note android ROM is read-only, it's very unlikely that installing ROM will fix anything. best fix is factory reset. the file you tried to install is update.zip. you can find proper update from > Settings > About > Software updates https://www.htc.com/mea-en/support/htc-one-m9-plus/howto/631756.html

The keyword for finding official Android firmware binaries (often with installer) from HTC is "RUU", search for your model with RUU and I am sure you will find some installers.

@alecxs: It is impossible to update or do anything with Android setting itself such as About > Software updates, because it don't allow me to turn on WIFI or data and it reboots quickly.

@alecxs: I've tried it as well, but after some minutes nothing changed. All my previous apps were there.

@alecxs: So what is its remedy?

https://www.hardreset.info/devices/htc/htc-one-m9-plus kindly repeat this and post the error/success message here (edit question)

@alecxs: after step 4, it shows smartphone image and a red danger sign inside a red triangle. and reboots after a while.

Does this answer your question? What does the "no command" screen mean? (Trying to execute hard reset Recovery)

@alecxs: it is related but my "No Command" screen is not Android figure lying on his back!

please go on with Roberts suggestion. I have other things in mind (if everything else failed) there are quite few expert tools for mediatek

'fastboot oem rebootRUU;
htc_fastboot flash zip ruu.zip'


text:
Is it possible to recover deleted files without root on Android 12?
I clicked the "free up space" button in Google Photos, and it deleted the original copies of all my photos and videos in the past 3 years. It happened on a non-rooted Galaxy Note 10 Plus (Android 12), about 120 GB worth of data, in the internal storage, /DCIM folder.
There are tons of discussions and tutorials on this topic, but they all seem outdated. Is it still possible to do data recovery in my case, being non-rooted? Is it even worthwhile to consider rooting the device (would probably wipe it in the process) then try to recover data after reset? After Google Photos deleted my original files, I shut down the devices immediately and have not turned it on ever since.

combination ROM with root shell is your only change, if device isn't encrypted FBE https://forum.xda-developers.com/t/is-it-possible-to-us-majisk-without-factory-resetting.4395617/post-86656619

google photos app has trash can - have you checked? also make sure not connect to internet as google photos might sync and delete all files from google drive, too. from PC web browser check https://photos.google.com

@alecxs I ran adb shell getprop ro.crypto.type it says file. So basically, "rooting it first (and wipe it in the process)" and then run file recover tool after root, is not a worthwhile approach? And being non-root, even adb cannot scan/dump the whole file system to recover files?

file = (FBE) file-based encryption, each file becomes unrecoverable instantly right in the moment of deleting (because each encryption key is secure deleted, too). recovery attempts only "make sense" on block = (FDE) full-disk encryption (or unencrypted devices). FDE of course only when block partition is NOT wiped during the process (unlocking bootloader + root with Magisk is no option). only combination ROM might worth a try (FDE). But afaik even flashing combination ROM requires some authorization nowadays (DID unlock token)

@alecxs Thanks! If I understood you correctly, file encryption is even more secure than block, because each individual file is encrypted with a different key, and deleting a file would secure wipe the key, so the actual file content is just gibberish, which means, even with root access, right after a file is deleted, no recovery is possible.

@alecxs which file encryption do poco x3 pro uses? i accidentally formatted device and want to recover files


text:
How to disable wipe my phone option on ADM for me and for anyone else who have access to my account
So, I recently recalled how my account was compromised years ago, and the hacker proceeded to delete two of my old devices. It was frustrating because not only was my account gone, but so was all of my data on my phone. I'm sure it has something to do with Google's ADM service. I looked through the options and discovered the toggle to keep the device from being deleted.
Now that I've remembered the incident, I'm becoming quite paranoid since I don't want to lose all of my data again without notice. So I went back up to the toggle and looked for it again, but there was nothing there. I looked on Google for a solution and the only one I found was to either delete my Google account or disable ADM for all of my accounts, which would be awful if I forgot where I put my phone.
I've already gone through my settings and discovered that disabling ADM's admin privilege prevents it from erasing my phone, though I'm not sure if it works or not because I obviously don't want to test it out.
Is there a way to merely disable the wiping and keep the rest? Is disabling ADM's admin privileges sufficient?
To avoid being hacked, I know I can safeguard my accounts using 2FA and strong passwords (which I have already done). However, mistakes do happen, and I'd rather be safe than sorry.

I dont like asking Google to help me remember anything, but I still find myself using their oh so accessible tools. However, ADM is completely unnecessry. Your phone's settings should have the ability to help find it already present. As for backing up your data, there are a number of alternatives available. You could even back it up to your own pc if you like: https://www.google.com/url?q=https://www.lifewire.com/how-to-backup-android-phone-to-pc-4769775&sa=U&ved=2ahUKEwiysd7HmIb3AhUHSjABHe3CBt0QFXoECAoQAg&usg=AOvVaw2rWroggBCcCt4El2ucjDn4. You just have to decide what feels right for you.
Unless you are a programmer well-versed in cyber security, you're going to have to rely on someone else to do the heavy lifting. It really just comes down to trusting whatever source you choose.

How does this answer the question?

It provides an alternative to ADM, which in effect nullifies the question since ADM is then unnecessary.

so how can OP find device if ADM is disabled completely?

As stated in my initial response, most phones, mine included have the ability to assist location of said device, without utilizing Googles ADM, which was the service in question. Does your phone have location assistance natively? I'm not a guru, and am new to all of this, so if u know something better plz just come out and say it. I abhor being toyed with. If I misunderstood your position or motivation, I apologize.

no need to apologize :) but please give example for "location assistance natively" so others can learn from your answer - without any instruction it's hard to follow you. (personally my phone is running google's android with google's ADM location assistance "natively", but that doesn't matter)