问:
is there a log in my android of GPS & speed? Asking after car accident 2 weeks ago
I was in an auto accident two weeks ago, and the onboard dashcam had failed to record anything.  But, I had two Android phones on (both with GPS / location enabled, one on Android 9 (LG V35 Thinq), one on Android 11 (Pixel 4)).

Is there a log in the phone for the past n days of location and speed (and perhaps direction)?

(I was not running any particular GPS tracking/logging app, probably had phone, messaging, Pokemon Go, and Facebook in the "background".)

The information might help avoid my insurance rates going sky high :)

thanks!


问:
How to decrypt and mount Android devices?
In Linux, you can read data a device encrypted e.g. with LUKS by doing cryptsetup luksOpen and mounting the volume. What is the equivalent for this in Android, i.e. what specification for encryption is used and what is the syntax to decrypt a device, e.g. my /data partition? I suppose that Android uses my lock screen PIN as the encryption key, correct?

Reason I ask: While attempting to debloat my Samsung A40FN with stock Android 9.0 Pie, I seem to have accidentally uninstalled some app required for Android to boot properly, resulting in a boot loop/soft brick (I can still enter recovery and download mode). As I've learned, uninstalling apps by pm uninstall does not actually delete the apps from the device, but just removes them from my (unrooted) user space by modifying entries in /data/system/packages.xml - which is by default encrypted by Android one a lock screen PIN is set up.

In order to rescue my data, it was suggested to flash the device (i.e. reinstall all packages) using the HOME_CSC firmware file instead of CSC, which supposedly keeps the data partition from getting wiped. However, this seems futile as the apps responsible for this mess will remain disabled as long as I don't reset /data/system/packages.xml. And to do that, I need to decrypt the data partition first.

Rooting the device does not seem to be an option as this supposedly wipes the data partition by design (is this true?). But isn't there a much simpler way to do something analogous to cryptsetup luksOpen and just copy my data?

Some information:

```<code>FRP lock: Off
OEM lock: On (L)
Bootloader level: U3
</code>```

ContentLicense: CC BY-SA 4.0


问:
How to install TWRP on Huawei Honor 8 FRD-L14?
I have tried rooting my FRD-L14 yesterday. I have successfully unlocked the bootloader, OEM, FRP, and developer mode on the phone to install TWRP. I have also installed ADB (with corresponding drivers like fastboot like the usual). I have inputted the usual flashing command through fastboot:

```<code>.\fastboot.exe flash recovery .\twrp-{version_name}-frd.img
</code>```

However, after trying to flash both TWRP versions 3.6.2 & 3.0.2-0 (as shown in a video guide to install TWRP on FRD), I am always stuck on the "Your device is booting now..." screen when entering recovery mode either through ADB or [power] + [Vol Down] buttons. I have to always press down [power] + [Vol Up] buttons in order to do a regular boot. I have already spent countless hours trying to look for a solution to install TWRP rather than giving up.

Some of the websites that I have browsed through seems to have a custom TWRP that is fit for FRD-L14 but unfortunately, the download links seem to have expired already.

XDA Developer Link with no solutions on continuing to install TWRP

Expired Custom TWRP Link Page

Link where I get my official TWRP downloads

My phone is a FRD-L14C567B402 (USA only) running on Android 7.0 Nougat with Hisilicon Kirin 950 processers and EMUI version 5.0.4....

Current Plans:
I am planning to download every single TWRP version on the Official TWRP website for FRD and try every single one of them... If this fails, I am not sure how to successfully install TWRP

Any other suggestions or solutions to solving this problem? Thanks in advance!


问:
Help me, I bricked my phone, and now it won't boot!
Samsung Galaxy Note 3, T-Mobile version. Managed to back up all my data, and wiped it. It still won't boot or start, it just remains on the T-Mobile screen. I need help with my phone, I think I triggered a security function on my phone. I rooted with Magisk and it has worked up until now.

My phone just bootloops and it stays on the T-Mobile screen infinitely, as the blue led function indicates something is being written to the memory but I can't figure out what the issue is. I have tried everything, Odin fails to flash a samsung rom, This started when I removed Magisk.zip because it kept crashing and the app became useless so I uninstalled it (Magisk.zip/manager as well). I can't find a stock rom anywhere for the android because it is taken down by Samsung. Someone please point me in a direction to where I can download the rom, maybe samsung will let me flash the rom but since I couldn't find one or the one I have used failed, because ODIN is trash. I decided to render this useless along with my phone. If this doesn't work I will find a way to flash any random rom I can find on to my phone because I don't want it to fail on me.


问:
How can I move back data from external SD card to internal memory?
Today I added an sd card to my smartphone (Fairphone 3+, Android 10), I selected to use it as internal storage, and moved the photos and some apps (don't know which ones) to it automatically. After the move, I now cannot see any of my photos (except a dozen of them) and some apps (like Dropbox) keep crashing. Stupidly enough, I didn't back it up. Now the camera doesn't show any photo, the files application doesn't show them, if I connect to a PC, I get an error trying to open the DCIM folder, and the SD card cannot be opened by other devices (there's no warning of it when selecting). The space is however marked as occupied in the setttings

How can I move back this data from the external SD card to the internal memory?


问:
Prevent phone from turning off video during call
I got a new Samsung phone (Galaxy A32 5G) and it has a "feature" that I find disappointing.

I was in a video call with my grandmother, using Viber. When I switched to another app (I wanted to look up something on my calendar), the video stream automatically stopped. When I switched back to Viber, I was able to turn on my camera again, after some fumbling; my grandmother did not manage to turn on hers, although I cannot say if it really was impossible, or if she didn't find the right button. In any case, it greatly distressed my grandmother (who is very afraid of "breaking" something on her phone) and was also very unwelcome for me.

On my old phone (Moto X4), when I switched between apps, Viber continued transmitting video. I think there was a small window still showing the other person, or maybe the other person just kept seeing me, and when I switched back, I saw them again.

My questions are:

Is the problem related to the Samsung UI (the Moto X4 was, I believe, very close to a stock Android), or to the fact that the new phone uses a more recent version of Android? It is on Android 12, and I noticed that, when asking for permissions, it only lists the options "deny", "allow once" or "allow while the apps is running", but not just "allow" - maybe Viber loses camera permissions when I switch?

Is there a way to prevent this from happening?

If I cannot turn it off on this phone (or if turning it off requires rooting), would returning this phone and buying another one (e.g. a current model of a Motorola-brand phone) solve the problem?


问:
How to hack into a Samsung Galaxy J5 with broken screen?
The phone is Samsung Galaxy J5 and its screen is completely broken. USB debugging is not enabled either. I don't want to throw it out since everything else seems to be working fine. And I can't afford to buy a new one.

How do I hack into it and project its screen on a PC, so that I can use it like a webcam or mini server? It shouldn't be that hard since it's such an outdated OS. Should I inject some kind of code via USB or SD card?


问:
Where are Android app settings stored?
If I uninstall apps/services on an unrooted Android device via the ADB shell (e.g. by doing pm uninstall), where is this information stored?

Note that I'm not referring to settings within individual apps, but to their installation state.

I've read that uninstalling apps without root privileges will only remove those apps from normal user space through modifications to a configuration file (/data/system/packages.xml), but the app files physically remain on the device to allow reinstallation. If this is true, is packages.xml encrypted (being located in the encrypted /data folder) or can its contents be modified even without root access?

Motivation: Access to /data seems to require root privileges. If you soft-brick an unrooted Android device by accidentally uninstalling critical system apps (and hence modifying packages.xml) resulting in a boot loop, is there any practical way of restoring packages.xml to its stock configuration? Examples may include Samsung Knox or TEEGRIS services.

UPDATE: To clarify, the goal is not to wipe the device as suggested in the comments (this can be done any time from the recovery mode menu), but to find out whether or not the boot loop is caused by a persistent misconfiguration of a file residing in a secured area (persistent meaning that it cannot be reset by flashing e.g. the HOME_CSC firmware file without wiping the entire device and losing all data). Also, the device is not rooted.

NOTE: There is an interesting comment below the answer to
Can system apps be enabled/disabled directly from the filesystem? :

"It is also safe to simply remove the package-restrictions.xml file — a new 'clean' file will be recreated on next reboot." – ccpizza Oct 3, 2021 at 16:43

As far as I understand, Android 9.0 switched from Full-Disk Encryption (FDE) to File-Based Encryption (FBE), which means that encryption is done on a file-by-file basis by default.

Is it possible to delete package-restrictions.xml (instead of modifying its content in order to restore individual app settings) from an unrooted device?

Title: Where are Android app settings stored?


问:
GPS reliability -- how to (almost) guarantee it?
Background

First, short history -- Samsung Galaxy Ace 2, I used it for years and GPS signal fix time is something like 2 minutes to 15 minutes (starting from town). On average. But some time ago the fix took one hour (I was long in open spaces) and on the last Saturday (2022-06-18) I waited around 2 hours and still did not get the fix (again open spaces, no obstacles).

I bought also two Samsung XCover 3 phones (used ones) and after buying them I checked if GPS works. GPS was fine so I thought it will be solid replacement. Yet on my previous trip (week ago) sometimes during the day it lost signal several times for few minutes. Such gaps are unusual to Ace 2, because once it is locked -- it is locked.

After returning home during the week I rechecked GPS on both of them, waiting around 15 minutes -- no signal. Next day I rechecked it -- again, no signal. This was worrying, although those short checks was within town.

So for just ended trip I took instead two XCovers, XCover + Ace2. As I wrote earlier I tested Ace2 for two hours and still nothing (I had to turn it off, because the battery is weak). On the same day XCover couldn't catch GPS for entire day+night (sic!).

On 2022-06-19 and 2022-06-20 Ace2 managed to get GPS fix within 2 minutes (starting from the forest), while XCover didn't catch at all (including nights).

As for XCover I installed some GPS status apps, and they show there are some satellites visible but not used, because "signal is too weak". The report usually goes like this -- 1 satellitte visible, 3, 5, 8, zero. And again, 1 visible, 3, 7, 9, zero. So the count is constantly cleared.

For the record -- I didn't drop those XCovers, hit them hard, or anything, i.e. I didn't damaged them in any way.

To give XCover a hand I restarted it, turned on hybrid location -- GPS assisted with GSM info. I also updated AGPS data using "GPS Test" app.

Question

How to improve GPS reliability to humanly possible levels? I would not like to repeat experience from my last trip.

including buying new phone -- how to look for the best GPS receiver installed?

using existing phone -- how to monitor the health of GPS unit, or diagnose the cause of the problems? What not to do with the phone? I put XCovers in silicone "frame" protectors (bumpers) for example. In short what can user do with existing phone to avoid losing GPS signal for good?

how to recover from such permanent GPS problem? Could GPS receivers just die or have some expiration date?

I am talking about normal usage, in plain, flat areas, not dungeons, not cave exploration, or something like this. And I opt for Android smartphone because of freedom (I wrote one tracking app myself) and as the Ace2 goes, no complains, I even didn't think the problems can be so severe.


问:
How to run a system generated Android AOSP 12L system.img file on any Android emulator?
I am trying to run an Android AOSP 12L system.img file ―that was built for arm64― on an Android emulator. I had downloaded the Android source code for the Sony Xperia 10 III device from the Sony developers guide. I followed the procedure that is mentioned on Sony's open device project website to do a custom build of the Android AOSP 12L. The build of the source code was successful after which the following .img files were generated:

system.img

boot-5.4.img

ramdisk.img

vbmeta.img

I want to run these images on an emulator before flashing them to the Sony Xperia 10 III device.

I downloaded the Android Studio by Google. The emulator version installed on it is Android Emulator 31.2.10. Unfortunately, it does not have the provision to run a custom-built image rather it only provides the Android images provided by Google. I had downloaded the Android 12 system.img for arm64 from the options listed and tried swapping that system.img file with the system.img file that was built by myself. But the emulator does not start and shows "Android emulator has been terminated".

I downloaded the Anbox emulator and that starts with its own Android image and does not have the provision to run out system.img file.

Is there a way in which I can use any Android emulator to run the system-generated .img file?


问:
How to route all my Android phone own's DNS request to 8.8.8.8 in iptables with root?
```<code>su
iptables -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to 8.8.8.8:53
</code>```

The above command is really working, but only for client phones who are using my phone's WiFi hotspot.

The result I need is for my phone itself. I want to route all my DNS queries only through 8.8.8.8 without using a VPN but with iptables.

OwnerDisplayName: WaiYan


问:
Will flashing the stock firmware using HOME_CSC instead of CSC restore all app settings?
Will flashing the stock firmware using HOME_CSC instead of CSC restore all app settings, specifically the encrypted configuration file /data/system/packages.xml?

Motivation: If an unrooted Android device is soft-bricked by accidentally uninstalling critical system apps from user space (and hence modifying packages.xml), is there any practical way of restoring the secured packages.xml file to the stock version without wiping all data?

UPDATE: There is some additional confusion. It seems unclear what exactly pm uninstall from the ADB shell does, i.e. which files get modified (see here and here). Is it packages.xml or package-restrictions.xml or both?


问:
How to connect over fastboot to Galaxy A50?
I'm on ubuntu 22.04 and I can connect over adb to my Samsung Galaxy A50, and do

```<code>adb reboot bootloader
</code>```

it reboots to bootloader mode, but I can't use fastboot devices, it returns empty.

Other phones work in this computer.

lsusb shows

```<code>Bus 001 Device 015: ID 04e8:685d Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (Download mode)
</code>```

All tutorials talk about a Windows driver, but what do I do for ubuntu?


问:
getprop: abi vs abilist
I was reading this blog post on determining the supported ABIs for a phone.  It said that, prior to Lollipop, the command is

```<code>getprop ro.product.cpu.abi
</code>```

whereas, after Lollipop, it's

```<code>getprop ro.product.cpu.abilist
</code>```

My phone is running Android 11 and I note that both properties are supported by getprop.  Specifically, abi is arm64-v8a and abilist is arm64-v8a,armeabi-v7a,armeabi.

Is the support on post-Lollipop devices for getprop ro.product.cpu.abi just for backwards compatibility and, hence, abi is just returning the first item in abilist or does the abi value hold more significance?

Title: getprop: abi vs abilist


问:
Deactivate - hide - sharing connection
I'm looking to find a solution on a android phone to deactivate completely the sharing connection option. As a result user cannot use this functionality to share connection anytime.

I'm not looking to use any manual actions that can be changed/reversed manually by the end user on the phone, but something I can manage like using android debug and so nobody can activate the option to share connection.

If anybody having a idea how to do that, would be nice,

Thanks

Title: Deactivate - hide - sharing connection


问:
How to use adb to take dumpstate logs on a Samsung device during device setup after first power on?
I need to get dumpstate logs on a Samsung Fold device during device setup after first power on (after new binary flashing or factory reset).

I am unable to set debug level high through *#9900# because the device is switching on for the first time.

Is there a way to do this through adb? I have a custom ROM in which adb is pre-enabled.

Thank you for your time


问:
Why does the stream from Twitch app disconnect while on the background?
I watch a lot of Twitch live streams of people streaming from their phones. They frequently go offline unexpectedly, then come back a few seconds (or minutes) later and say:

Sorry!! I just needed to check my messages and then it cut off!

Or even:

Oh no! I was just looking at the time!

What's up with this? Does the entire "app" close and cease streaming just because they switch to a different one temporarily? If so, why is that?

Whether they are doing something wrong or not, this happens constantly and it's very annoying. I don't understand it. Aren't modern "smartphones" like powerful portable computers?


问:
Why do I get "emulator: command not found" while running the command $emulator on Ubuntu?
I am trying to emulate a custom android AOSP 12L build by using the $emulator command.

I get the error :

emulator: command not found

The AOSP image I built is from Sony's open device project, AOSP for Sony Xperia 10 III.
Click here for Sony's guide to build AOSP 12L.

It shows error for the command $emulatorcommand.
How to resolve this issue?

I tried $./emulator too which isn't working and it does not show any AVDs for the command $./emulator -list-avds.

Please help


问:
Maintain adb port forwarding after reconnect
I've noticed that, when I do

```<code>adb reverse tcp:12345 tcp:12345
</code>```

and then later disconnect/reconnect the phone, adb reverse --list will come up empty.

Is there a way to persist this port forwarding?  That is, I'd like it so that, whenever I connect to a device (either through USB or OpenSTF), the port forwarding is automatically established.


问:
Does Heimdall have the option to boot without flashing/substituting the kernel? (like fastboot boot boot.img)
Fastboot has the option fastboot boot Image.gz to boot a kernel without flashing it to the phone. Is there something similar for Heimdall? I did not want to mess with my phone's kernel for now. It's a Galaxy A50.

By the way, what is the "no reboot" button for?


问:
Packetloss using Mobile Hotspot on S21 FE 5G in combination with Intel Wireless-AC 9260
Switching from a S7 (Android 8) to a S21 FE 5G (Android 12) phone I experience frequent packetloss issues while using the mobile hotspot via my laptop (Dell precision 5530 - Intel Wireless-AC 9260).

Especially when using webapps that do a lot of read/write operations I am noticing it.

Is there perhaps a known problem with the S21 wireless functionality or with this combination of the netword card or does anybody have a suggestion of where and how to start debugging this?


问:
Acessibility settings going off after some time
I recently started having problems with my profiles and found that "Accessibility Services" was off. After activating them again, after a while they are off.

I already did a reboot, and they appeared on, but after some time they are off again. I don't know if it has anything to do with an Android security update that came out recently, and it seems to coincide with this issue.

Can anyone help, please?


问:
What EXACTLY does "pm uninstall" do on an unrooted Android 9.0 device?
There seems to be confusion regarding the behavior of pm uninstall from the ADB shell, see also here and here.

Question: What configuration files does pm uninstall write to, is it /data/system/packages.xml, /data/system/users/0/package-restrictions.xml or both? Are there any additional files?

Note: This questions specifically concerns the behavior of pm uninstall, not pm disable. Furthermore, it concerns the behavior on unrooted devices.

Motivation: Uninstalling the wrong apps doing pm uninstall can result in a soft-brick/boot loop. Therefore, reversing the effects of pm uninstall can be the easiest way out of such problem, especially if other methods risk wiping data that needs to be rescued.


问:
How does Android device supply internet to apps and apps become online?
Apps are in an offline state. Whenever I turned on data (internet), in the blink of an eye, the apps become online. In another instance, I turned on data (but I have no internet), and apps are not becoming online.

I am assuming:

There is something in the device that somehow figures out if my device has an internet connection or not (maybe by trying to connect to a site?)

If it figures out my device has an internet connection, it notifies the apps to connect to the internet.

Since my device got internet and the apps are notified, now we need another program(s) to share (manage) internet between the device got internet and those apps.

Now to elaborate on my question, in point 1, the thing/program which figures out whether my device has internet or not, what is it called? And in point 3, what is the program's name, and how does it share the internet with apps? Or in other words, in which way can I manage my device's internet with my user-space applications, and how do I manipulate it?

If it helps, I know (more correctly, read) DNS resolution, with destination IP address apps connected to the server.


问:
Write into android/data on Android 12 using ADB?
With the addition of scoped storage in Android 11/12 I no longer have access to certain application directories within android/data.
I would like to write into this directory but since I have no permissions, I cannot do it locally using a file manager (I have tried multiple file explorers including x-plore and marc files, none of them work)

I was wondering if then there is some way to bypass this limitation using ADB?
Or any other way? Without Using Root, I am on the American S22 Ultra so there is currently no bootloader unlock/root.

Appreciate any help.


问:
Is it possible to do a full image backup of an android 11 phone?
Most manufacturers require a factory reset before sending away to be repaired. However if it's not a software fault then you are inconvenienced.

Is it possible to do a full image backup of the phone? I've read through a few of the answers here but they're a few years old.


问:
Pixel 3 stuck in fastboot loop after flashing factory image

The problem

After trying to flash a factory image of Android to my (previously working) Pixel 3, I can now no longer exit the bootloader, nor can I boot into the system. The bootloader simply reads no valid slot to boot.

I was trying to downgrade my phone to Android 11 in preparation for installing /e/OS. I attempted to flash a factory image from Oct 2021 to my Pixel 3 Android phone using ADB but after completing the process, I received the following message in the terminal:

```<code>Erase successful, but not automatically formatting.
File system type raw not supported.
Rebooting                                          OKAY [  0.000s]
Finished. Total time: 235.583s
</code>```

and then after my phone finished rebooting, it showed the following screen:

```<code>Fastboot Mode

Product revision: blueline MP1.0(ROW)
Bootloader version: b1c1-0.4-7617406
Baseband version: g845-00194-210812-B-7635520
Serial number: XXXXXXXXX
Secure boot: PRODUCTION
NOS production: yes
DRAM: 4GB Micron LPDDR4XUFS: 64GB Micron
Device state: unlocked
Boot slot: b
Enter reason: no valid slot to boot
</code>```

Current Phone State

If I attempt to reboot my phone, it simply returns to the fastboot screen.

From the fastboot screen, I have the following options: Start, Power Off, BarCode, Rescue Mode, Recovery Mode, and Restart Bootloader.

Clicking "Start" immediately returns me back to the fastboot screen.

Clicking "Power Off" powers off the phone if unplugged, or just returns to the fastboot screen if plugged in.

Clicking "BarCode" brings up the expected screen.

Clicking "Rescue Mode" or "Recovery Mode" brings up the android icon with "No command". Holding the power button and clicking the volume up button brings up the expected screen of commands.

I can also still run the fastboot reboot fastboot command from the terminal and enter the fastbootd screen successfully.

What I've tried so far

Here are the following things I have tried to recover from this:

Running the flash-all.sh script again.

Flashing each image (boot, bootloader, radio, system, vendor) individually.

Flashing different factory image versions of Android, both of Android 11 and 12, and both using the flash-all.sh script and flashing each image individually.

Switch to using a USB 2.0 cable (USB-A to USB-C). I had first tried all the above steps using a USB 3.0 (USB-C to USB-C) cable.

Prior to doing this, my phone was in working order and running the latest version of Android 12 available for my phone.

Have I simply bricked my phone? The fact that I can get to so many different screens and still access the phone from my computer makes me think this is recoverable but I've so far been able to fix it.

Additional Information

I've included the results of running the flash-all.sh script below:

```<code>chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ ./flash-all.sh
Sending 'bootloader_b' (8521 KB)                   OKAY [  0.440s]
Writing 'bootloader_b'                             (bootloader) Flashing Pack version b1c1-0.4-7617406
(bootloader) Flashing partition table for Lun = 0
(bootloader) Flashing partition table for Lun = 1
(bootloader) Flashing partition table for Lun = 2
(bootloader) Flashing partition table for Lun = 4
(bootloader) Flashing partition table for Lun = 5
(bootloader) Flashing partition msadp_b
(bootloader) Flashing partition xbl_b
(bootloader) Flashing partition xbl_config_b
(bootloader) Flashing partition aop_b
(bootloader) Flashing partition tz_b
(bootloader) Flashing partition hyp_b
(bootloader) Flashing partition abl_b
(bootloader) Flashing partition keymaster_b
(bootloader) Flashing partition cmnlib_b
(bootloader) Flashing partition cmnlib64_b
(bootloader) Flashing partition devcfg_b
(bootloader) Flashing partition qupfw_b
(bootloader) Flashing partition storsec_b
(bootloader) Flashing partition logfs
OKAY [  0.269s]
Finished. Total time: 0.902s
Rebooting into bootloader                          OKAY [  0.018s]
Finished. Total time: 0.119s
Sending 'radio_b' (71468 KB)                       OKAY [  2.780s]
Writing 'radio_b'                                  (bootloader) Flashing Pack version SSD:g845-00194-210812-B-7635520
(bootloader) Flashing partition modem_b
OKAY [  0.423s]
Finished. Total time: 3.394s
Rebooting into bootloader                          OKAY [  0.019s]
Finished. Total time: 0.270s
--------------------------------------------
Bootloader Version...: b1c1-0.4-7617406
Baseband Version.....: g845-00194-210812-B-7635520
Serial Number........: XXXXXXXXX
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product'                                 OKAY [  0.059s]
Checking 'version-bootloader'                      OKAY [  0.059s]
Checking 'version-baseband'                        OKAY [  0.059s]
Setting current slot to 'b'                        OKAY [  0.078s]
extracting boot.img (64 MB) to disk... took 0.677s
archive does not contain 'boot.sig'
Sending 'boot_b' (65536 KB)                        OKAY [  2.490s]
Writing 'boot_b'                                   OKAY [  0.321s]
extracting dtbo.img (8 MB) to disk... took 0.056s
archive does not contain 'dtbo.sig'
Sending 'dtbo_b' (8192 KB)                         OKAY [  0.400s]
Writing 'dtbo_b'                                   OKAY [  0.102s]
archive does not contain 'dt.img'
archive does not contain 'recovery.img'
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_b' (8 KB)                          OKAY [  0.120s]
Writing 'vbmeta_b'                                 OKAY [  0.067s]
archive does not contain 'vbmeta_system.img'
extracting super_empty.img (0 MB) to disk... took 0.000s
Rebooting into fastboot                            OKAY [  0.060s]
< waiting for any device >
Sending 'system_b' (4 KB)                          OKAY [  0.001s]
Updating super partition                           OKAY [  0.019s]
Resizing 'product_b'                               OKAY [  0.005s]
Resizing 'system_b'                                OKAY [  0.006s]
Resizing 'vendor_b'                                OKAY [  0.006s]
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
extracting product.img (2148 MB) to disk... took 26.647s
archive does not contain 'product.sig'
Resizing 'product_b'                               OKAY [  0.006s]
Sending sparse 'product_b' 1/9 (262140 KB)         OKAY [  9.263s]
Writing 'product_b'                                OKAY [  1.304s]
Sending sparse 'product_b' 2/9 (262140 KB)         OKAY [ 10.195s]
Writing 'product_b'                                OKAY [  1.289s]
Sending sparse 'product_b' 3/9 (262140 KB)         OKAY [ 10.014s]
Writing 'product_b'                                OKAY [  1.269s]
Sending sparse 'product_b' 4/9 (262140 KB)         OKAY [ 10.325s]
Writing 'product_b'                                OKAY [  2.340s]
Sending sparse 'product_b' 5/9 (262140 KB)         OKAY [ 10.254s]
Writing 'product_b'                                OKAY [  1.289s]
Sending sparse 'product_b' 6/9 (262140 KB)         OKAY [ 10.050s]
Writing 'product_b'                                OKAY [  1.320s]
Sending sparse 'product_b' 7/9 (262140 KB)         OKAY [ 10.353s]
Writing 'product_b'                                OKAY [  1.294s]
Sending sparse 'product_b' 8/9 (262140 KB)         OKAY [ 10.516s]
Writing 'product_b'                                OKAY [  1.277s]
Sending sparse 'product_b' 9/9 (102612 KB)         OKAY [  3.970s]
Writing 'product_b'                                OKAY [  0.544s]
archive does not contain 'product_services.img'
extracting system.img (845 MB) to disk... took 13.288s
archive does not contain 'system.sig'
Resizing 'system_b'                                OKAY [  0.006s]
Sending sparse 'system_b' 1/4 (262140 KB)          OKAY [  9.876s]
Writing 'system_b'                                 OKAY [  1.271s]
Sending sparse 'system_b' 2/4 (262140 KB)          OKAY [ 10.578s]
Writing 'system_b'                                 OKAY [  1.289s]
Sending sparse 'system_b' 3/4 (262140 KB)          OKAY [ 10.270s]
Writing 'system_b'                                 OKAY [  1.274s]
Sending sparse 'system_b' 4/4 (79656 KB)           OKAY [  3.154s]
Writing 'system_b'                                 OKAY [  0.422s]
extracting system_other.img (67 MB) to disk... took 0.737s
archive does not contain 'system.sig'
Sending 'system_a' (69440 KB)                      OKAY [  2.707s]
Writing 'system_a'                                 OKAY [  0.344s]
extracting vendor.img (442 MB) to disk... took 5.910s
archive does not contain 'vendor.sig'
Resizing 'vendor_b'                                OKAY [  0.006s]
Sending sparse 'vendor_b' 1/2 (262140 KB)          OKAY [ 10.532s]
Writing 'vendor_b'                                 OKAY [  1.289s]
Sending sparse 'vendor_b' 2/2 (191236 KB)          OKAY [  7.695s]
Writing 'vendor_b'                                 OKAY [  1.008s]
archive does not contain 'vendor_other.img'
Erasing 'userdata'                                 OKAY [  8.253s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata'                                 OKAY [  0.009s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Rebooting                                          OKAY [  0.000s]
Finished. Total time: 235.583s
</code>```

Flashing each image individually results in the following:

```<code>chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot flash boot boot
boot.img                                  bootloader-blueline-b1c1-0.4-7617406.img
chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot flash boot boot.img
Sending 'boot_b' (65536 KB)                        OKAY [  2.700s]
Writing 'boot_b'                                   OKAY [  0.392s]
Finished. Total time: 3.291s
chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot flash bootloader bootloader-blueline-b1c1-0.4-7617406.img
Sending 'bootloader_b' (8521 KB)                   OKAY [  0.440s]
Writing 'bootloader_b'                             (bootloader) Flashing Pack version b1c1-0.4-7617406
(bootloader) Flashing partition table for Lun = 0
(bootloader) Flashing partition table for Lun = 1
(bootloader) Flashing partition table for Lun = 2
(bootloader) Flashing partition table for Lun = 4
(bootloader) Flashing partition table for Lun = 5
(bootloader) Flashing partition msadp_b
(bootloader) Flashing partition xbl_b
(bootloader) Flashing partition xbl_config_b
(bootloader) Flashing partition aop_b
(bootloader) Flashing partition tz_b
(bootloader) Flashing partition hyp_b
(bootloader) Flashing partition abl_b
(bootloader) Flashing partition keymaster_b
(bootloader) Flashing partition cmnlib_b
(bootloader) Flashing partition cmnlib64_b
(bootloader) Flashing partition devcfg_b
(bootloader) Flashing partition qupfw_b
(bootloader) Flashing partition storsec_b
(bootloader) Flashing partition logfs
OKAY [  0.272s]
Finished. Total time: 0.909s
chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot reboot-bootloader
Rebooting into bootloader                          OKAY [  0.019s]
Finished. Total time: 0.119s
chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot flash radio radio-blueline-g845-00194-210812-b-7635520.img
Sending 'radio_b' (71468 KB)                       OKAY [  2.930s]
Writing 'radio_b'                                  (bootloader) Flashing Pack version SSD:g845-00194-210812-B-7635520
(bootloader) Flashing partition modem_b
OKAY [  0.414s]
Finished. Total time: 3.536s
chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot flash system system.img
Sending sparse 'system_b' 1/4 (262140 KB)          OKAY [ 10.840s]
Writing 'system_b'                                 FAILED (remote: 'Partition should be flashed in fastbootd')
fastboot: error: Command failed
chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot reboot fastboot
Rebooting into fastboot                            OKAY [  0.011s]
< waiting for any device >
Finished. Total time: 16.212s
chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot flash system system.img
Resizing 'system_b'                                OKAY [  0.007s]
Sending sparse 'system_b' 1/4 (262140 KB)          OKAY [ 10.777s]
Writing 'system_b'                                 OKAY [  1.297s]
Sending sparse 'system_b' 2/4 (262140 KB)          OKAY [ 10.784s]
Writing 'system_b'                                 OKAY [  1.306s]
Sending sparse 'system_b' 3/4 (262140 KB)          OKAY [ 10.676s]
Writing 'system_b'                                 OKAY [  1.294s]
Sending sparse 'system_b' 4/4 (79672 KB)           OKAY [  3.095s]
Writing 'system_b'                                 OKAY [  0.468s]
Finished. Total time: 39.727s
chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot flash vendor vendor.img
Resizing 'vendor_b'                                OKAY [  0.006s]
Sending sparse 'vendor_b' 1/2 (262140 KB)          OKAY [ 10.659s]
Writing 'vendor_b'                                 OKAY [  1.275s]
Sending sparse 'vendor_b' 2/2 (191236 KB)          OKAY [  7.817s]
Writing 'vendor_b'                                 OKAY [  0.977s]
Finished. Total time: 20.757s
chris@chris-XPS-13-9300:~/Android/Sdk/platform-tools$ fastboot reboot
Rebooting                                          OKAY [  0.000s]
Finished. Total time: 0.201s
</code>```

OwnerDisplayName: Chris Nemarich


问:
Auto brightness turned off, but it's not
I have problem with auto brightness setting on my android smartphone.
Auto brightness turned off in settings, however it still works via not changing the display brightness, but changing lighntess(or contrast, idk) of the intarface colors.

VIDEOS:
https://imgur.com/a/QsMygj5
https://imgur.com/a/CDycfem

SPECS:
Android 11
MIUI 12

Does anyone know a solution of this problem?
It's really important for my work with UI Design.


问:
Change settings on Samsung Galaxy tablet restricted profile
My kids have restricted profiles on my Samsung Galaxy tablet. The settings are good and I like the ability to control which apps they have access to. However, they are unable to sign in to their Google accounts on YouTube, as this appears to be a limitation of a Galaxy restricted profile. They already have Gmail accounts. Each time they try to sign in, they get an error message: "This change isn't permitted by your admin".

Since I am the admin, I would like to change this setting so that they can use their Gmail account to sign in to YouTube. Is there a way to access the settings to perform this change?

Thanks!


问:
Between fingerprint unlock vs double-tap to wake up, what consumes more power?
Due to past experiences with power buttons, I'm trying to almost not touch the power button (side key) except left with no option. So between these two alternatives of waking up a phone:

Using a fingerprint to unlock and wake up at the same time

Double-tap to wake up and then use a PIN to unlock)

What consumes more power of the two?


问:
How to enable "display over other apps" feature on Unimax UMX U696CL?
I have a Unimax UMX U696CL and when I got to give permission for an app to draw over, it tells me the feature has been turned off because it makes my phone run slow.

How to enable the feature on this device?


问:
Syncing calendar events between Samsung Galaxy J3 V and Motorola Moto G Power
My wife and I had Samsung Galaxy J3 Vs for several years. She still has hers (and loves it), but mine was accidentally destroyed last week, and I just got a new Motorola Moto G Power.

When we both had J3Vs, EVERYTHING I posted on my Calendar was automatically also posted on her Calendar, and vice-versa. This was a VERY VERY important capability for us. This was some 3rd-party calendar app that came with the phone; I don't know who created it.

My new Moto G has some version of Google Calendar, and it won't do this.  I can't find her Calendar app on the Play Store anywhere.  It was extremely simple to set up. When you added an event, there was a space to put a person's email address. Then the event would show up on that person's calendar as well as yours.

Can anyone suggest a Calendar app that will do this?

Possible solution: uninstall the Google Calendar from my Moto G, then transfer her Calendar app over from her J3V. Would that work? Please help, thanks.


问:
Not able to connect USB or gamepad through Type-C adapter
I'm trying to connect a gamepad with my mobile but it is not connecting.

On mobile 1 (Xiaomi Redmi), I connected the gamepad it was not working. I found that the gamepad works only with applications that request USB permission. So I installed an app that asks for USB permission, and it worked. I installed a game, cast the screen on the TV and everything was working fine. After a few seconds, it stopped working. And now it is not connecting anymore. Before connecting, I tried to read an SD card through a USB port and it was working fine. Now even that is not working.

On mobile 2 (another version of Xiaomi Redmi), it shows that the gamepad is connected as the light is not blinking but always on. But nothing works.

On mobile 3 (OnePlus), did a few attempts, but it didn't work. But then it started working automatically. Without giving any additional permission. Probably it was trying to download some driver in the background, no idea.

Additional info

USB tethering is disabled. It says the USB is not connected. But if I connect the data cable with a laptop then it's connected.

How can I debug or fix this issue on Xiaomi mobiles?

Update
It seems weird. But when mobile battery is less than 15% then it automatically connects.


问:
How can I stop the home screen wallpaper from blurring on my Galaxy A32 when I scroll up?
I have Samsung Galaxy A32. Here on the home screen, the wallpaper is fine. But when I scroll up, it blurs up.

How can I stop the home screen wallpaper from blurring?


问:
How do you display a boarding pass without unlocking phone?
I found that on Apple you can definitely display a boardings pass without unlocking.

For Android I found similar directions: load into Google Pay your boarding pass.

But then when I click from locked screen on the boarding pass in Google Pay it always requires unlock.

How do you display a boarding pass without unlocking phone?

This is important to ensure you don't have to pass your phone unlocked to a person you don't trust.


问:
What is the icon with what looks like Cupid and a bow and arrow?
Does anyone know what the symbol above of what looks like cupid with a bow and arrow is for?


问:
How to keep LINE Sticker disk waste under control?
I discovered the LINE app keeps ONE GIGABYTE of stickers on my phone,
with nothing I can do about it,

```<code>$ adb shell cd /sdcard/Android/data/jp.naver.line.android/files \&\& du -hs \* | sort -hr
1.4G    stickers
154M    yuki
7.7M    old_sticon
6.2M    sticon
3.9M    lineKeep
</code>```

No, of all the sticker related settings in LINE Settings, there is no
way to cut down the waste.

Anybody have any safe ideas about how to cut down on the disk waste?

OK, probably must often go in and remove stickers/* subdirectories?

No, I never use stickers myself, but sometimes others paste them in
chats with me. Non-rooted phone. Android 8.0. This kind of thing will lead to low disk space. Too bad in Android app Settings "Clear cache" won't clear them out.


问:
How to spoof/change IMEI that is sent to the service provider using an open source or "official" software?
I bought my phone (Pixel 2 XL) abroad and hence, my IMEI is not present my country's IMEI registry. Hence, I'm not allowed to use any service providers. Hence, I want to spoof/change my IMEI so that the service provider will receive a different IMEI and hence, I will be able to use my phone.

What's the most secure way of doing this? I believe there used to be the PDroid project but AFAICT, it is not maintained anymore. Likewise, there's the Xposed framework, but it doesn't seem to be maintained either. I guess I can also use stuff like Qualcomm Product Support Tool (QPST) to change the IMEI directly on the chipset, but I wasn't able to find an "official" copy. That is, I registered to Qualcomm's website but they don't let me access to their "support software" section. Hence, I cannot download an "official copy" of QPST.

So, what are my options here? I would prefer to use an open source software, or if closed source, prefer the software to be directly provided by an "official" source, such as Qualcomm, etc.


问:
Make Android to play music via handset (not via speakerphone)
When I make a phone call, I can choose one of two modes: normal mode (when I use my phone as a handset and the sound is emitted from the upper part of it) and speakerphone mode (then sound is emitted from another part of the device, and usually much louder).

But when I play some arbitrary music/audiobook (e.g. via YouTube app or from webbrowser), it initially uses the speakerphone mode and provides seemingly no way to switch to the normal mode.

So how can I actually force it to play an arbitrary music/audiobook in the normal mode? (I mean: to let me use the phone as a handset, and not to let my neighbors be annoyed with my speakerphone.)

OwnerDisplayName: Sasha


问:
What is "mobile data" in the context of the enable-able feature?
What is "mobile data" in the context of the enable-able / disable-able feature of Android ?

Specifically the question should be answered for each of the following.

the bits that are voice calls

the bits that are SMS

the bits that are MMS

the bits that are sent and received by installed applications

Are there any other categories?


问:
Use infrared LED of the proximity sensor as a remote control
The proximity sensor present in almost all Android phones have a infrared light and a sensor. There exists an app that use this infrared to act as IR remote control? If no, it's possible to construct an app to do that?</p>


问:
How to disable a broken system service in Android 11
tl;dr: the fps_hal init service on my phone is constantly restarting, and since I don't use the fingerprint sensor I want to disable it.

Background:
Trying to debug my own app on LineageOS 18.1 (Android 11), logcat gave a ton of information about a system service going haywire:

```<code>06-25 15:50:23.258     0     0 I init    : starting service 'fps_hal'...
06-25 15:50:23.262     0     0 I init    : Created socket '/dev/socket/fpc_oem', mode 660, user 1000, group 1000
06-25 15:50:24.116 30815 30815 D fpc_hidl: fpc fingerprint hwbinder service starting
06-25 15:50:24.117 30815 30815 D libfingerprint_core: core_init
06-25 15:50:24.117 30815 30817 D libfingerprint_core: worker_thread: started
06-25 15:50:24.117 30815 30817 D libfingerprint_core: pick_task: suspended 0
06-25 15:50:24.117 30815 30817 D libfingerprint_core: pick_task: No tasks
06-25 15:50:24.117 30815 30817 D libfingerprint_core: worker_thread: Waiting tasks, suspended 0, on pause 0
06-25 15:50:24.120 30815 30815 I fingerprint_key_handler: Input device qpnp_pon (/dev/input/event0) supports KEY_POWER
06-25 15:50:24.122 30815 30815 D fingerprint-oem-server: install_oem_client_handler: installed ID 2
06-25 15:50:24.122 30815 30815 D fingerprint-oem-server: install_oem_client_handler: installed ID 3
06-25 15:50:24.122 30815 30818 I fingerprint_key_handler: key_thread: starting
06-25 15:50:24.124 30815 30815 I fingerprint_key_handler: Input device qpnp_pon (/dev/input/event0) supports KEY_POWER
06-25 15:50:24.126 30815 30815 D fingerprint-oem-server: start_oem_server
06-25 15:50:24.126 30815 30815 D fingerprint-oem-server: open_socket: pass
06-25 15:50:24.126 30815 30815 D libfingerprint_core: core_init fingerprint wakeup supported.
06-25 15:50:24.126 30815 30815 D libfingerprint_core: set_env: added key 'hal_dev' value 0x71ac4e7430
06-25 15:50:24.126 30815 30815 D libfingerprint_core: task_alloc: authenticate
06-25 15:50:24.126 30815 30815 D libfingerprint_core: task_set_suspendable: authenticate
06-25 15:50:24.126 30815 30815 D libfingerprint_core: task_alloc: enroll
06-25 15:50:24.126 30815 30815 D libfingerprint_core: task_alloc: remove
06-25 15:50:24.126 30815 30815 D libfingerprint_core: task_alloc: enumerate
06-25 15:50:24.127 30815 30819 I fingerprint_key_handler: key_thread: starting
06-25 15:50:24.133 30815 30815 D QSEECOMAPI: QSEECom_get_handle sb_length = 0x80
06-25 15:50:24.134 30815 30815 D QSEECOMAPI: App is not loaded in QSEE
06-25 15:50:24.134 30815 30815 D QSEECOMAPI: app_arch = 1, total_files = 9
06-25 15:50:23.346     0     0 W QSEECOM : qseecom_load_app: App (fpctzfingerprint) does'nt exist, loading apps for first time
06-25 15:50:24.257 30815 30815 D QSEECOMAPI: Loaded image: APP id = 69996
06-25 15:50:23.464     0     0 W QSEECOM : qseecom_load_app: App with id 69996 (fpctzfingerprint) now loaded
06-25 15:50:24.264 30815 30815 E fpc_tac : fpc_tac_transfer send_cmd failed -11
06-25 15:50:24.264 30815 30815 E fpc_tac : fpc_tee_print_build_info, fpc_tac_transfer failed -4.
06-25 15:50:24.273 30815 30815 E fpc_tac : fpc_tac_transfer send_cmd failed -11
06-25 15:50:24.273 30815 30815 E fpc_tac : sensor_command, Failed to send command: 4 to TA, status code: -4
06-25 15:50:24.277 30815 30815 E fpc_fingerprint_hal: fpc_hal_open failed
06-25 15:50:24.277 30815 30815 I scudo   : Scudo ERROR: invalid chunk state when deallocating address 0x00705c4e4350
06-25 15:50:24.277 30815 30815 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 30815 (fpc_fingerprint), pid 30815 (fpc_fingerprint)
06-25 15:50:24.336 30823 30823 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
06-25 15:50:24.337   726   726 I tombstoned: received crash request for pid 30815
06-25 15:50:24.337 30823 30823 I crash_dump64: performing dump of process 30815 (target tid = 30815)
</code>```

Pulling out some keywords, I ran getprop|grep "init" and all the init services are listed as running except this one:

```<code>[init.svc.fps_hal]: [restarting]
</code>```

And that's where I'm stuck. service list gives me nothing to go on, Google gives me nothing, and my knowledge of the Android init procedure and directory structure is close to nil.

Can anyone help point me to where this service is managed from, and how to disable it? If the location is SELinux protected, is there a way to patch without re-flashing the entire ROM? Thanks in advance.


问:
Web browsers' privacy - how much does the OS know?
TL;DR: When using 3rd-party web browsers (e.g. Firefox), how much does the OS (Android) know about the user's activities?

Most information on the internet about privacy-focused web browsers focuses on tracking protection. Similarly, narrowing down the search queries to Android mostly gives results about Android permissions. But there is one glaring omission which I never see addressed: what about the OS itself? So, my question:

How much does Android itself know about what is going on in the browser app? I.e. which sites the user visits, what the user sees, clicks on...?

(...and, optionally:

1.1 Does it make any difference when using the browser's private mode or not?

1.2 Does it make a difference whether the device is running vanilla Android or one of the myriad vendors' customizations?)

In case the question is too broad, please consider specifically: Firefox / Android 12 / One UI 4.1 (Samsung).


问:
Samsung's note-taking app encryption algorithms
Does anyone know what's the encryption algorithm used in Samsung's Android note-taking app?</p>


问:
How to fix "Selected playlist is empty" in Android 4.1.2?
I have an old phone that I use as a dedicated MP3 player after my actual MP3 player died. It's a ZTE phone running Android 4.1.2 with an SD card that has all my music on it. I use the default music player on the phone. I've been having an odd problem recently where adding new music to the device causes the music player to be partially unable to play music. I'll move a song over and then when I start the music player and it loads to my song list clicking any of the listed songs merely gives me the message "selected playlist is empty". I can still play any of the songs if I switch over to any of the other tabs (organization methods?) like "Artist" or "Album" but not from the "Songs" tab. If I go back and remove the song that I moved over I can play music from the Songs tab again like normal.

This is getting very annoying because I can't put more music on the device I listen to music on. How do I fix it, without installing any new apps?


问:
How is Google Assistant listening all the time without a notification?
In Android, if an app wants to run in the background, it usually needs to create a service that runs in the background (and/or after boot is completed). So, if the app wants to listen to the microphone all the time, it needs to run such a service from my understanding, and in the modern Android version, they are forced to create a notification and it needs to clearly specify what it does in the notification or it will violate Play Stalkerware Policy which Google Assistant does not show it.

How can this be allowed? Also, how can an app implement a microphone listener if Google Assistant is already running?


问:
Share WiFi connection through my phone to a tablet
In a customer I can access to its public WiFi through my phone but not from my tablet. Both have Android.
My tablet has wifi connection and previously I can connect without problems to that public WiFi, but now I can't. In the tablet I connect to the same WiFi that from my phone. But in phone works and tablet not. So once I am connected to the customer WiFi from my phone, can I share this connection in the phone and connect my tablet to the phone and use customer WiFi?</p>

OwnerDisplayName: Rodri


问:
Raw photography with smartphone
A few days ago, I bought a Xiaomi Mi 11i phone and I want to take pictures of the night sky with this phone. The main camera of this phone is 108 megapixels, but you probably know that you can not access all of these 108 megapixels raw and you only have access to 12 megapixels of that 108 megapixels camera raw. I want to have 100% raw images from the camera of this phone with a resolution of 108 megapixels.

I tried normal Android software such as Proshot, Procam, etc., but none of them can't give a 108-megapixel raw output and I was not allowed to expose it for more than 1 second.

Do you know any software that can be used to access all the capabilities of the sensor 100% raw and without restrictions?

Title: Raw photography with smartphone


问:
Locating the initramfs partition on Android 4.4
I would like to modify the init.*.rc files on an Android 4.4 TV box (rooted).

I saw many tutorials saying that i should dump the boot partition, unpack+edit file+repack and reflash it back.

I looked at the by-name directory and saw partition names like kernel, baseparam, bootargs etc, but I found that the kernel partition contains only the kernel file itself, but not the initramfs file.

Where can I locate the ram disk file?

Edit: Please find the partitions below:

```<code>~ # ls /dev/block/platform/hi_mci.1/by-name/ -l
lrwxrwxrwx    1 root     root            20 Jan  1  1970 baseparam -> /dev/block/mmcblk0p5
lrwxrwxrwx    1 root     root            20 Jan  1  1970 bootargs -> /dev/block/mmcblk0p2
lrwxrwxrwx    1 root     root            21 Jan  1  1970 cache -> /dev/block/mmcblk0p15
lrwxrwxrwx    1 root     root            20 Jan  1  1970 deviceinfo -> /dev/block/mmcblk0p4
lrwxrwxrwx    1 root     root            20 Jan  1  1970 fastboot -> /dev/block/mmcblk0p1
lrwxrwxrwx    1 root     root            20 Jan  1  1970 fastplay -> /dev/block/mmcblk0p9
lrwxrwxrwx    1 root     root            21 Jan  1  1970 fastplaybak -> /dev/block/mmcblk0p10
lrwxrwxrwx    1 root     root            21 Jan  1  1970 kernel -> /dev/block/mmcblk0p11
lrwxrwxrwx    1 root     root            20 Jan  1  1970 logo -> /dev/block/mmcblk0p7
lrwxrwxrwx    1 root     root            20 Jan  1  1970 logobak -> /dev/block/mmcblk0p8
lrwxrwxrwx    1 root     root            21 Jan  1  1970 misc -> /dev/block/mmcblk0p12
lrwxrwxrwx    1 root     root            20 Jan  1  1970 pqparam -> /dev/block/mmcblk0p6
lrwxrwxrwx    1 root     root            20 Jan  1  1970 recovery -> /dev/block/mmcblk0p3
lrwxrwxrwx    1 root     root            21 Jan  1  1970 sdcard -> /dev/block/mmcblk0p16
lrwxrwxrwx    1 root     root            21 Jan  1  1970 system -> /dev/block/mmcblk0p13
lrwxrwxrwx    1 root     root            21 Jan  1  1970 userdata -> /dev/block/mmcblk0p14
</code>```


问:
I have a device running Android 10 and need to know what ADB commands should I run to turn on tethering?
I have developed a custom hardware gateway device that is running Android 10. This device has a USB interface and I want to be able to connect external devices such as a laptop, server, etc. to the USB interface of this device using tethering.

I would like to know what ADB commands I need to run on my device in order to use tethering when these devices are connected? Also, another use case would be if I connected a network switch to the USB interface on my device, then I could connect multiple devices to the network switch.


问:
How to show all folder sizes of Android phone in Windows file explorer?
When I run space analysis it shows about 50GB of others, and I don't what is that exactly, so I wanted to manage the space on file explorer on windows 11, but the thing is it doesn't show the folder & file sizes.
So how can I manage internal storage of the android phone on windows?
Phone: Samsung Galaxy A8 (2018) SM-530F
Android Version: 9.0</p>


问:
is it possible to run AOSP compiled for arm with QEMU on a x86 host?
Does anyone know if it is possible to compile AOSP for arm and run it with QEMU on a x86 host?

I'd like to run android apps on a x86_64 system. This includes apps that were compiled for arm. And, in principle QEMU can emulate arm code on x86 using its TGC.


问:
Run a supposedly incompatible app
I copied an app from a TV Box to another TV Box of a different brand

The app is impossible to find online, and there is no replacement for it.

But when I open the app, I'm met with a message saying the "app is not compatible with this device". It's not a system-standard crash message, but one from within the app.

But it's clearly bull: This message takes some time to appear, and until that happens, the app appears to function normally (video streaming).

The donor TV Box is Android M, while the receiver is Android 10, fully rooted.

Using AppManager I tried revoking abilities like READ_PHONE_STATE, to see if I cripple the app's ability to identify the system. No success.

I'm willing to decompile the thing if I have to, but my knowledge doesn't go beyond that point...

Edit:

I think I thought of a different approach:

Is there a way to change the fingerprint of my device to emulate the intended host ? Serial number, and etc ? Can I fool the app into thinking it is running on the right platform ?

Title: Run a supposedly incompatible app


问:
Is it possible to limit read permissions for some folders on external SD card to certain apps on Android 10?
My device has 64 GB of internal storage and it's nearly full. I can expand storage with a 256 GB microSD card. However, I don't like that everything stored on the SD card is freely accessible to every app with full storage permission and I would like a way to limit accessibility for at least some folders.

I've read some posts about formatting the SD card as internal storage and that it comes with a significant performance impact. Ideally, I'd like to combine internal storage in such a way that apps and processes run on the phone's internal storage for performance and the SD card is used as internal storage only to store media/documents for the permission system.

Is there a way to do something like that on an unrooted device running on Android 10?


问:
I've programmed my tablet to boot to a restricted user account. How do I disable the "Switching to..." message?
I'm using an Android 8.1.0 tablet which I boot to a restricted profile following Firelord's answer to the post "How to set restricted user as default user on reboot?".

Yet I want to get rid of the Switching To system message. Is there a way to disable it through Terminal Emulator?


问:
Android Email App - Bulk export Sent Emails
Doing an Office 365 migration for a client. Doesn't use a computer - only has an Android smartphone. The sent items on his phone are not syncing with the mail server.
When I set up his account in Outlook on my laptop - nothing shows up, yet he has hundreds on his phone.
Is there any way to bulk export the Sent items on his phone to some sort of format that I can download and then somehow merge with Outlook? He just uses the default mail app on his phone

Thanks!


问:
Does Google Assistant driving mode run on old cars made for Android Auto?
We have an ~3 years old Opel car which was made for Android Auto.

It always worked using an USB cable only (not over Bluetooth).

Bluetooth is also supported but only for making phone calls and not for Android Auto.

Now I heard that Android Auto was replaced by Google Assistant driving mode.

I cannot get it to work over cable nor over Bluetooth.

I hardly assume my car does not support the new Google Assistant driving mode.

Can someone confirm Google Assistant driving mode only runs on new cars?


问:
Storing files in a F2FS SD card
I recently made my SD card F2FS. After that, it is not showing in my file manager or on my PC. How can I store files like photos, videos, and documents on my SD card?

Apps and their data are stored properly on the SD card, but I want to store pictures and videos as well on my SD card. Any solution?

Title: Storing files in a F2FS SD card


问:
Why does my volume decrease after the screen turns on?
Title isn't as descriptive as I would like, so here goes:

I keep my car's volume at 10. When I plug my phone in, Android Auto takes over, and music starts playing. If I turn my phone screen on, or if the screen turns on from a Snapchat message or other notification that turns the screen on, the output volume decreases. I then need to turn the car's volume up to 12 to have the volume match. This happens consistently, every time I drive.

Is this a car problem, or an Android Auto problem? And can it be solved?


问:
Disable "close all tabs" confirmation in Chrome?
Google somewhat recently added a feature to Chrome for Android that displays a confirmation prompt when you select "close all tabs". Is there any way to disable this? I am not one to leave dozens of tabs open where I care about losing a page, so the extra step is annoying.

It doesn't seem to show up in the flags section anymore since the feature was released.


问:
Moto G7 Plus Pixel OS 12 Cannot Pass SafetyNet check
I have a Moto G7 Plus.

I installed the Pixel OS 12 Plus. I installed Magisk 25.1. I enabled both Zygisk and Enforce DenyList. In the DenyList, I only selected the Google Play Services, enabled all the items except com.google.android.gms.

I rebooted and installed module MagiskHidePropsConf-v6.1.2.zip. Rebooted and installed module safetynet-fix-Zygisk-v2.2.1.zip. Rebooted and use the terminal to change the props to Google Nexus 6P.

Rebooted, run Root Checker. It shows SafetyNet request Failed. CTS profile match N/A. Basic integrity N/A.

What else can I do to pass the safetynet?


问:
Why does my GPS service on an Android device decline after some time?
On my Android 11 phone I notice a certain decline of the GPS reception when used with the app "Caynax Sport Tracker". After a reboot of the device (realme 8 pro) the GPS tracking works just fine. But after a week or so there are random drops in the GPS reception (5-30 seconds). The application then tells me that there is no GPS reception.

After a reboot of the Android device the GPS reception works fine again. For about a week.

What could be the cause of this issue, and why can it only be solved by restarting the Android device?

Can it be:

a bad quality android (creating random errors after a week of operation...?)

a bad quality GPS software (maybe an internal counter creating random errors ..?)

a bad quality GPS device (maybe some charge building up which only can be discharged by rebooting the device?)

a bad quality application (...?)

What is the likely cause of this annoyance, and why can it be solved only by a reboot?


问:
emulator: ERROR: Can't get kernel version from the kernel image file
I want to start the emulator for the custom AOSP 12L build for arm64 using emulatorcommand. The AOSP source was downloaded from Sony's open device project for Xperia devices.

The command that I ran is :

$ emulator64-x86 -sysdir
/home/anerudh/android/out/target/product/generic_arm64/ -system
/home/anerudh/android/out/target/product/generic_arm64/system.img
-ramdisk /home/anerudh/android/out/target/product/generic_arm64/ramdisk.img
-data /home/anerudh/android/out/target/product/generic_arm64/userdata-qemu.img
-kernel /home/anerudh/android/out/target/product/generic_arm64/kernel-5.4
-sdcard /home/anerudh/android/out/target/product/generic_arm64/sdcard.img

I get the following error and do not know where to change the 'Linux version' in the kernel image

```<code>emulator : ERROR: Can't find 'Linux version ' string in kernel image <file_path>
</code>```

How do I solve this issue and start the emulator?


问:
Meaning of Accounts and Sync in general and for some specific apps
The number of ways various data can be synced with the cloud on a smartphone these days is crazy. And all this is configured in different places. I'm trying to get the syncing more or less under control on a messy smartphone with lots of messenger apps and need help in validating some parts of my understanding.

General intentions of Android authors for the menu Settings > Accounts and sync

As I understand, this menu is supposed to allow the configuration of account-specific data syncing, but not for all datasets related to this account... Let me explain:

for a Google account, sync options include contacts, calendar events, mail, but NOT photos, for example;

for a messenger account, sync options usually only include contacts in that messenger, but NOT message history.

As you can see, it's some account-specific datasets, but not the others. And although those others are perfectly possible to sync, too, you configure that in the apps, not system sync settings.

So what is the platform intention or general meaning of this menu?

I guess something like this: account-specific SMALL/SIMPLE syncs. Larger account-specific datasets (like photos or chat history) are not expected here.

Do you think this makes sense? Does Android even defines/suggests/implies any specific rules here?

Individual meanings of toggles in this menu for a couple of specific apps

Let's consider the contacts, for example.

For Google account, it means the sync between the Phone book and Google Contacts servers.

For Skype or WhatsApp... Not so obvious. Let's assume I haven't shared my phone book with these apps. What would toggling the "sync contacts" on or off do? Trying to make parallels to Google account above, I'd assume something like syncing of contacts in the messenger app on THIS DEVICE and the messenger's servers. In other words, if I turn the sync off and add a contact in the app on this device, it shouldn't appear on remote servers and other devices. But it doesn't seem to work this way for Skype or WhatsApp. Then, what's the meaning of "contacts syncing" for individual accounts here at all?

Missing accounts

The smartphone also has Viber and Instagram apps, but their accounts are not present under "Accounts and sync" at all. Why are they different to Skype and WhatsApp in regards to the availability of not only the "contacts sync" toggles, but complete account records altogether?


问:
Use tasker to pass biometric authentication dialog (root)

Main idea

I want to use a tasker action to authenticate a biometric prompt on a rooted device.

Background

My use case is that I have a Dangerous Things Apex implant that I can securely scan to activate a tasker profile, meaning no security concerns compared to a regular NFC triggered task, and I have a rooted pixel 4a running LineageOS.

I got pretty far down the rabbit hole before I had to go to bed and got here: the onAuthenticationSucceeded method of a BiometricPrompt object.

Ideas

My inspiration was lapwat's NfcScreenOffPie who patched the nfc binary

Or maybe we can emulate a second biometric sensor?


问:
Accessibility won't turn on for auto-clicker apps
If I try to turn on accessibility for an auto clicker I downloaded on my phone, it says unsuccessful and shows the dialog box below.

If an app is blocking a permissions dialog, drag the overlapping item away or close the app.

Tried different auto clickers, same result.


问:
How to make Google Assistant work ONLY when the screen is on?
In my Android 12 device (Poco X3), Google Assistant reacts to "Hey Google" only when I'm being navigated by Google Maps. In the Settings of the Google Assistant app, there is an option "Access your assistant anytime that you say Hey Google even if your screen is off." If this option is enabled, it works great, BUT I don't want it to work when the screen is off. This would mean Google is constantly listening to whatever is being said around my phone. It would also drain the battery a lot. I don't want that. Is there a solution to this?


问:
How can I stop my Android 12 phone deleting saved WiFi networks by itself?
My OnePlus 8T running Android 12 has a tendency to remove saved WiFi networks on a daily basis.

In particular, I am finding this happens with a WPA3/802.1x network with SIM EAP authentication I use on the London (UK) public transport network (WiFi Extra for you locals), but it has also happened with the unsecured version of this public transport WiFi.

I start the day by adding the network, and use it for the next hour or so. I then disconnect since I leave the area of coverage. Some 10-12 hours later I come back within the coverage area only to find the network has disappeared from my Saved Networks and the cycle repeats itself.

I have tried the following:

Manually connecting to the network by typing in name and auth method (rather than selecting it in the list of available networks)

Disabling MAC randomisation

Resetting network settings

Rebooting phone

Editing the network after it was saved

Any ideas why this may be? It only happens with this public transport network (provided by Virgin Media). Do networks themselves have the ability to make your phone remove them? Is there anything else that could be going on here?


问:
Access request to account by com.eg.android.AlipayGphone.perf
The message below keeps popping up.

Access request

The following one or more apps request permission to access your account, now and in the future.

Alipay

com.eg.android.AlipayGphone.perf

Do you want to allow this request?

How do I find out which account Alipay wants access to?

My phone is a Samsung Galaxy A22.


问:
Google Assistant: Search screen is not offered anymore
Until a few days back, whenever I opened Google Assistant as "overlay" while having open another app, the assistant always offered something saying "What's on my screen?".

When clicking, it send the current screenshot directly to Google Lens. Behaviour is the same as if I'd do a screenshot and share it with Google Lens - just without the extra overhead of doing it manually.

Looked like this:

All of a sudden, this behaviour changed / stopped.
Whenever I open the assistant, it only says "How can I help?".

As I was using the screen recognition functionality VERY often because I read stuff in apps in foreign languages and could directly translate them on screen - it's really bad for me.

Do you know how to re-enable that feature?
I did NO change to my account like Web/Browsing-History or similarly, in case that matters!?

I already tried to tell Assistant "What's on my screen", or "Search my screen" in case they just removed the permanent button... But that doesn't call the function.

I already found the option to allow access to "Screen context" within the Assistant options, it's all enabled:


问:
Fix/reset default app / "open with"
I have a Samsung Galaxy S21 android phone, android 12.

There has been an issue with playing music from dropbox for many months now.
I can't get my old preferred default music player back.

If I just play a song from dropbox it opens in this player by default:

When I open a song by longpress and choosing "open with" it opens my beloved and preferred music player overlay:

It doesn't show a list of apps to choose from and there are no other music player apps installed on the phone.
There is no option to choose "always".

If I try installing a third-party music player for test, THEN the "open with" shows a list of players including the old preferred default app (white overlay player).
But no matter what I choose and go "open with, ALWAYS", my choice is being ignored onward and it opens this player again:

I have tried doing a reset of app settings on the phone, no change.

I wish to have my old good default music player back ;)

Any suggestions or help is appreciated.

Title: Fix/reset default app / "open with"


问:
WhatsApp vanished from phone, what has happened?
Works well and handy to have BUT..... I don't know what has happened, I used WhatsApp late evening on 30 June 2020. I don't turn off the phone over night.
When I awoke the following morning (1 July) WhatsApp had vanished from the home screen on my Android Blackview BV5500pro. Not only that but it had also vanished from my apps!
I've asked someone if I'm still in their WA contacts and I am but they haven't sent me a message as requested to see what, if anything, happens.
Just to clarify, the icon has not been moved to any folder on the home screen and it does not appear in my installed apps.
What am I to do?</p>


问:
Is Microsoft outlook or Authenticator supported by Samsung Pass?
I cannot find information anywhere this, apparently if you have Samsung Pass set up, you can go in the app and check which apps are supported if that helps anyone.

Does anyone know if Samsung Pass supports Microsoft Outlook or Microsoft Authenticator?

Thanks!


问:
How does Android creates block devices and mounts it?
How does Android create block devices in /dev? Android does not support devtmpfs and Android /init does not use udev or (busybox) mdev. ueventd.rc doesn't contain strings for /dev/block/....

But, there is one difficult thing. There is many different Android devices and they have got different partitions - by size, type, number of partitions. But /init is the same for any device...

Also, I have tried to "trace" ramdisk: I replaced magiskinit with my custom init:

```<code> ~ # mkdir ramdisk
 ~ # unmkbootimg boot.img
 ~ # gzip -dc ramdisk.cpio.gz | cpio -i -D ramdisk
 ~ # cd ramdisk
 ~/ramdisk # mv init magiskinit
 ~/ramdisk # mv ../init .
 ~/ramdisk # cat ../src/init.cpp
#include <unistd.h>
#include <stdio.h>
#include <filesystem>
#include <string>
#include <vector>
#include <fstream>
#include <sys/mount.h>
using std::string, std::vector, std::ifstream, std::ofstream, std::ios, std::endl;

int main() {
    string devd;
    mount("proc", "/proc", "proc", 0, NULL);
    vector<string> devblks;
    vector<string> mounts;
    for (auto a : std::filesystem::directory_iterator("/dev")) {
        string pth = (a.path()).c_str();
        devblks.push_back(pth);
    }
    const bool mountext = std::filesystem::exists("/proc/mounts");
    if (mountext) {
        ifstream opn;
        opn.open("/proc/mounts", ios::in);
        while(getline(opn, devd)) {
            mounts.push_back(devd);
        }
        opn.close();
    }
    pid_t parent = fork();
    if (parent) {
        rename("/magiskinit", "/init");
        execlp("/init", "/init", NULL);
    } else {
        while (true) {
            bool ifext = std::filesystem::exists("/data/media/0");
            if (ifext) {
                ofstream output;
                output.open("/data/media/0/sys.log", ios::out);
                for (unsigned int k=0; k < devblks.size(); k++) {
                    output << "Block: " << devblks[k] << endl;
                }
                for (unsigned int j=0; j < mounts.size(); j++) {
                    output << "Mount: " << mounts[j] << endl;
                }
                output.close();
                break;
            }
        }
    }
    return 0;
}
// My /init is statically linked binary
</code>```

But my init does not work, it bootloop my device. My device - Android 10 (system-as-root). Maybe it could be work into Android < 10 (ramdisk-as-root devices).

I can't use UART, my device does not support LLCON and FBCON, I can't replace /init with bash shell for checking initramfs))

Also, I can't run it into chroot, it fails:

```<code> ~ # chroot android /init
</code>```

And I don't know way to run it on QEMU...

Sorry, but there is too difficult to read source code for me...

I just want to know how Android create blocks, mounts and switch_root to /system without devtmpfs and even without ueventd...


问:
How to mislead Play Store location other than using VPN
I want to deceive some apps like google play, or other apps in general, to make them think that my location is somewhere else and not in my country.

The reason I'm doing this is because, suppose there's a game launched or an update that is just available in a country X, but it's not launched yet or even not available in my country, I can access the app or feature by using something without really going to the country X. So far, the suggestion I found is using VPN, but that doesn't work. How to do this?


问:
Change IP identifier of an Android phone
There's a social media app that I had installed on two Android phones. For a reason I cannot explain, one phone was "banned" from using the app. I contacted customer service but with no reply. No matter what account I use to log in, if I sign up for a new account, or reinstall the app, the app says my account was suspended. On the second phone, everything works ok. They are both connected to the same WiFi, so clearly they are banning some identifiers of the phone.

My question is, is there a way around this? I can already join using one phone, but it's an old and slow one. There must be some hack to change the IP viewed by the app. By the way, I'm not doing anything illegal, I'm just an IT amateur enthusiast.

OwnerDisplayName: James


问:
How to recover files from a Pixel 3 XL that cannot boot anymore
My Pixel 3 XL is up-to-date regarding the OTA updates i.e. I have the latest firmware installed.
I've never done anything special regarding "tweaking", such as enabling the developer mode i.e. the developer mode is unfortunately not enabled.

I was browsing the Internet and the phone suddenly rebooted unexpectedly. Then it was in a reboot loop. I pressed power and volume down buttons to enter the boot menu.
The boot loop stopped but I was unable to do anything to make my phone boot properly again. In the recovery menu, there is no option to wipe the cache partition.
There should be roughly 400 MB of free space on the phone. I was thinking that maybe this could have been the cause of the issue.

When the phone is off and not plugged to the charger, the percentage of battery decreases. When the charger is plugged, the percentage of battery does not decrease but does not increase either. It seems I cannot charge the phone anymore. Currently remains 13%.

When the phone is off and I press the power button, the Google logo shows up and the progress bar below has just time to appear before the phone vibrates and goes off.

I don't care much saving the phone, but it's extremely important to me to be able to recover the photos it contains (standard DCIM folder).
Most of what I found googleing so far is about wiping the cache partition, but there is no such option on my Pixel 3 XL.
Since the developer mode (USB debugging) was not enabled when the phone was working fine, I cannot use adb to pull files. I can sideload though. As far as I understood, in my situation it is not possible to enable the developer mode.
I've just heard about TeamWin Recovery Project, and still trying to figure out if this can help me.

How can I, at least, backup my photos?
Of course the best would be able to boot the phone normally, but really my first goal is to save my photos.
Is there a way to reflash the firmware with the same version, or another version, without losing data, just like what happens on a regular update e.g. when a new Android version is deployed?

EDIT: I was wrong, the percentage of battery dcreases even when the charger is plugged, meaning that soon I won't be able to even turn the phone on.


问:
No audio in screen recordings on Android 10
I have several phones, all of them on various versions of Android 10 and 11. I am using an app to make conference calls and I need to record those conference calls. My main device is Huawei P20, but the same problem occurs on all the Android phones I have. When I try to screen record the calls, there is no audio at all. I have tried a bunch of screen recording apps, including the one that came with the system and all the major screen recording apps available. Same problem.

I have also checked and tweaked the sound settings and did everything I could, (internal, mic, mic + internal/system have all been tried) but the problem persists. A lot of screen recording apps say if the Android version is lower than 9, there might be issues with the audio, but 10 and above shouldn't have any issues.

One error message comes up sometimes: app ABC (that app's name) is recording audio (or using the mic) so the audio can't be recorded. I don't know what that means, because all I need the screen recorder to do is to faithfully grab the audio from the system.

I tried screen recording the same app on iPhones and there was no problem at all. The audio was clearly kept.


问:
APK files download will not work
In Facebook Messenger, I found this slot machine I wanted to download. I use iPhone 8 Plus for everything along with my Windows 10 computer at home/work computer, plus I'm always on Google as my main email provider. I just switched to iPhone only for tracking my kiddo so I'm still not sure how all this will work. I get the link to download it on my phone. I open it up from my computer, thinking it would be best for more viewing on my monitor. It says:

android.permission.REQUEST_INSTALL_PACKAGES

android.permission.INTERNET

android.permission.ACCESS_WIFI_STATE

android.permission.ACCESS_NETWORK_STATE

android.permission.CHANGE_WIFI_STATE

android.permission.VIBRATE

android.permission.REQUEST_INSTALL_PACKAGES

android.permission.INTERNET

android.permission.ACCESS_WIFI_STATE

android.permission.ACCESS_NETWORK_STATE

android.permission.CHANGE_WIFI_STATE

android.permission.VIBRATE

"Waiting for device...."

From iPhone, I have to open it in Safari. Well, I made Google my browser and do everything with that on an Apple phone. Stupid really, I should go back to Android, just can't afford it right now.

So that is why I'm trying to download this link and it did. It just can't open it after saving it without some type of installer. So APK files are where I'm having issues.

I'm a newbie here.  I really need to be educated with simple step-by-step help. Can anyone please try to help me?

Title: APK files download will not work


问:
Improving DNS resolution success rate on Android
We have an Android app that is periodically sending data to our backend server via url panel-lb-ext.unolo.com.

Sometimes, we have Android devices that are unable to connect to our backend because of a dns lookup failure:

20220701_091732:AppDataRepository:Root cause while running upload task:Unable to resolve host "apollo-lb-ext.unolo.com": No address associated with hostname

This url is configured in AWS Route 53 to point to an application load balancer. The TTL is configured as 60 seconds and I don't have the ability to change that value. Route 53 will want to keep it short so that in case of a failure in any one of the targets, the time duration to pick up a new server is short.

Here is the dig output for reference:

dig a apollo-lb-ext.unolo.com

; <<>> DiG 9.16.1-Ubuntu <<>> a apollo-lb-ext.unolo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20375
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;apollo-lb-ext.unolo.com.  IN  A

;; ANSWER SECTION:
apollo-lb-ext.unolo.com. 60    IN  A   13.235.199.252
apollo-lb-ext.unolo.com. 60    IN  A   3.108.34.182
apollo-lb-ext.unolo.com. 60    IN  A   15.206.49.163

;; Query time: 100 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Sat Jul 02 12:58:09 IST 2022
;; MSG SIZE  rcvd: 100

What can I do to reduce the changes of temporary DNS lookup resolution failure on these Android devices? I have listed some thoughts below but I need outside counsel to help me go on the right path:

I could try looking to increase the TTL on the DNS record but this would mean that in case of failover then I run the risk of increased failover time.

EC2 Load balancers come with something called "Global accelerators" which "Create an accelerator to get static IP addresses that act as a global fixed entry point to your load balancers in a single or multiple AWS Regions". The only reason I would consider using this is that it comes with a static ip address. As inflexible as a static ip address is, I would consider it if it helps stop these DNS errors.

Any other thoughts would be much appreciated.dns


问:
I cannot root my Android subsystem on Chrome OS
I want to root my Android subsystem (I believe that is what it's called) and I have gone on many sites that tell how to do this. I still cannot do what I want to do. I have an HP Chromebook 14a with Octopus Android 11. I want to root the Android on my Chromebook so I can use apps like GameGuardian.

I have gone onto sites like Github with their more modern tool, CrAnberry. Others are more outdated, and thus, they are practically useless. There were no results from either Github or the rest of the World Wide Web.

OwnerDisplayName: LeninYT


问:
Media of WhatsApp app disappeared
yesterday I noticed that my all media from WhatsApp application were deleted or disappeared. While I check the usage of the application, I saw that user storage is still big enough to store media (about 20 GB).
The media not deleted only from the gallery. It is also disappear from the media section at the chat (every chat).
What could happen? And if anybody know how to fix it and restore it?

I am using Nokia 8.3 with Android 12 operating system.

Thanks :)

Title: Media of WhatsApp app disappeared


问:
How do I connect to a MSCHAPv2 VPN?
I can connect to my Office VPN. The config screens look like this (see images).

I am running Android 11 on a Pixel 2XL.

When I try to add the VPN details, I can't get it to work. Is it because I can't use MSCHAPv2? Am I missing something?
(The main config screen only has the login name, that's it)

Title: How do I connect to a MSCHAPv2 VPN?


问:
HttpCanary target app uses a non system certificate
I'm looking for a way to bypass a target app using a non-system certificate. The HttpCanary app itself does give a 'solution' however it's incredibly unclear:

```<code>Goto Settings->HttpCanary root CA settings and export HttpCanary.pem, and then reverse the target app to replace the cacert file.
</code>```

I feel like I've looked all over, but it seems like no one is talking about it.

I've looked into the AndroidManifest.xml of the app to find the certificates the app uses, but that just pointed me to the system and user certificates.

Next I looked into /data/data/<app>/files/ of the app which does contain a Certificates.pem file, which contains a list of different certificates, so maybe if I replace it with HttpCanary's certificate it could work?

Anyway, I'd appreciate any insight on this. If you'd prefer to discuss it in private just let me know.

Thank you for any help.


问:
Forbid system to change orientation
I recently "upgraded" against my will from Oreo to Pie, and a problem that wasn't there came up:

I have apps that fine control the orientation: Rotation Control, and Tasker (they don't fight).

But every time I turn off the screen for a little while, the system overrides my apps and the phone is back to portrait!

Any way to FORBID Android to do that ?

I also noticed an orientation-related animated icon on the corner, next to the app history button, when the screen orientation is in disaccord to the accelerometer. This clearly indicates that Android added a (stupid) feature.

Rooted

I believe the solution might be to prevent system to see the state of the accelerometer, but without compromising everything else.

.

Hated this Pie ! Not only has this problem, as it also overrides my screen brightness. And they completely misorganized the settings and the volume menu from the previous version.

Title: Forbid system to change orientation


问:
How "turn on data" works
Instead of letting all the apps connect to internet, is it possible to let selected apps connect to internet?

Hence my question how "turn on data" works?

Title: How "turn on data" works


问:
how do I prevent the 'open with' dialog from popping up?
I'd like to know if it's possible to disable this dialog:

Two apps I'm trying to use at the moment open this darn dialog window: Tailscale and GitHub. I'd like to open the links inside the respective applications. GitHub works, but I was going to submit an issue and the GitHub app is trying to force me to open it in the browser. As far as Tailscale goes, I can't log in because it redirects me to the external browser instead of opening inside the app, thus not receiving the hash that's required for logging in.


问:
How do I change the boot logo/splash screen on my tablet?
A simular question was asked back in Dec of 2015 with zero responses. So I'm trying again. I'm also and Android Jelly Bean 4.2.2, have already changed the bootanimation.zip butI still don't like the boot logo. I'd prefer just a standard green android dude. Can anyone spare the time to help?
I'm rooted, have ES explorer, been working with computers since 1979 but Android/Linux are still kinda new to me.

TIA
Pike


问:
Bought refurbished Galaxy S7. Cannot access, because it is previously synced with another Google account
I recently bought a refurbished Galaxy G7 for my husband, who had broken his old T-Mobile phone. According to the seller, the refurbished phone is "factory unlocked". When activating the phone we reach the screen: "Verify your account with your Google Account. This device was reset. To continue, sign in with a Google Account that was previously synced on this device."

Our research seems to indicate that the solution to this is a factory reset, but we have performed this-- several times-- and when rebooting the device we always end up here. I also tried "Wipe cache partition", though tbh, I do not fully understand what this means (and it didn't help). We have contacted the seller describing the problem, but have received no response yet.

Is there anything else we can try?

Thanks for your help!


问:
FRP locked Android tablet
I have an android tablet that I can't get to work because there is a FRP lock, I can't bypass it in any way even with the keyboard trick, I tried to unlock the bootloader, but it fails because OEM unlock is not enabled in the settings developer, I can't enable it because the FRP prevents me from moving forward, I have tried to flash its firmware, both from SD Card and from Fastboot via flash command but nothing to do and then I can not in any way to have it detected on ADB.

Without unlocked bootloader I can't do anything!

Can anyone help me?

my tablet model is: Majestic TAB 611 3G

OwnerDisplayName: Steforgame 910

Title: FRP locked Android tablet


问:
Is there a way to read CPU temps on Android 9+ under root?
Given the fact I have rooted device, is there a way to get that data? Raw or w/ tools.

P.S. I was looking around for a build of htop with cpu thermals but I dont think there is any compatible for Android.


问:
How to secure Android X and upgrade
So I have been doing lots of digging and research and basically forced into learning all the codes and packages that come with Linux and Termux and I have to say I am hooked on all this now. Maybe my terminology is incorrect, but I am still learning and it has been overwhelming the last few weeks soaking it all in.

I would like to know how to remove mirror packages through Termux command and what is the best packages that are secure. My Android has been somehow showing as unknown-linux-android. It also shows bad gateway.

Is there a code to see what are the current packages in my Android and how to remove or replace them?

Title: How to secure Android X and upgrade


问:
Samsung A20s stuck in safe mode and volume button is completely gone
I have Samsung Galaxy A20s. It's stuck in safe mode, and the volume button is completely gone.

I tried all the guides I could find to take off safe mode but my problem is not having volume buttons.

Can I use my PC instead, like USB debugging?


问:
Problems with wifi and mobile data after adb
This is problem I faced with: I was need to test a few features in a test app but my emulator had troubles with wifi connection so I decided to upload the app on my own cell phone through adb install "app".
After I setted up the proxy - adb shell settings put global http_proxy "ip":8181 (i was need to intercept a few request from the tesp app)
and the last thing I did were adb tcpip 9090 and adb connect "ip":9090 (for connecting over wifi).

That's all I did and the internet connection on my phone just disappeared (wifi and mobile data). I tried to reset networks setting but It doesn't working at all ofс I can do full reset but it's my plan "B" :)

But my telegram and WhatsApp works (I can text in it but when I try to search something my browser tell me: "No internet connection"


问:
write on android camera buffer
I'm trying to set and image/video as the visualization of android camera, i'm using goldfish/ranchu emulated camera, i found out that is possible to write to gbm on camera/fake-pipeline2, since i'm not using qemu, i have to do it the hard way, my final goal is to authenticate qr codes without having the need for a camera.

eg.:

Any tips are welcomed!

Title: write on android camera buffer


问:
How to stretch any unsupported full screen app until goes to the very bottom of my screen phone?
I noticed that some app can appear full screen without "the navigation bar". For example this app, it stretches all over the screen without a single gap:

Although you can still clearly the navigation bar, when I open this app, the navbar will disappear after a few seconds and will reappear only if I swip the bottom screen. To demonstrate what I just said, see these screenshots:

Full screen without navigation bar:

Full screen with navigation bar if I swip the bottom screen (The right hand side if it's landscape).

So, this is exactly what I expect to have for any apps which I wish to
stretch.

Take a look at the common app looks like, for instance a browser app:

And many other apps will look similar to this. And I want any apps will be stretched to the end of the screen.

Why do I want this? Related to the previous question I posed, I tried to force a certain app to have the dark background and someone has told me to try "colour inversion" so that it gives the similar effect to "the dark mode". The only problem is the default colour of the navigation bar is black, and it will turn white if I set the "colour inversion".

Then why wouldn't I just get rid of the navigation bar? I tried that, but the result was unsatisfactory.

This is what I tried to remove the navbar in the display setting:

(Even though it's said "more options" it only has 2 options there). And this is the result. Note that I'm using colour inversion, so, the real colour from my screen and this screenshot aren't the same since it won't let me to capture the inversion.

As you can see, there's still a big enough gap to annoy my eyes when I use colour inversion. I.e. it will turn white.

I also tried this setting, but didn't work:

Is it possible to do this? I don't need to remove the navbar but only stretch the app just like the app on the first screenshot until the navbar is hidden, and only appear if I swip above. Is there any setting or app to do this?


问:
Google Keep keeps signing me out
The following messages appear

You’ve been signed out. Please reload the page to sign in again and continue working.

Access to Keep is unauthorized.

Tried both browser and app, but did not work.

Only happen on one account.

Time happened: 06/07/2022.

Location: UTC+7.

Does my account get locked or is it a server-side problem?

Title: Google Keep keeps signing me out


问:
Anbox doesn't have a WiFi in settings
I installed an Anbox to test a few features in a test app (the app needs a WiFi connection) but I found out that I don't have WiFi in the settings. Don't know what to do.

I installed an Anbox without snap:
1)apt install anbox
2)mkdir /var/lib/anbox
3)mv android_amd64.img /var/lib/anbox

Image was downloaded from https://build.anbox.io/android-images/2018/07/19/

Title: Anbox doesn't have a WiFi in settings


问:
Regarding native SIP integration, how can I call back a number using the mobile network instead of the SIP account?
When I receive SIP calls, missed calls go to the system call log, but their format is modified:

[trimmed_prefix][phone_number]@[domain]

so for example

+1 555 1234

becomes

15551234@voipprovider.com

and that makes it look like an unknown number, even if I have it in my contacts. Furthermore, it prompts the dialer to call back using the SIP account instead of the mobile network.

I Googled around:

First I wanted to build a dialer from the AOSP project, one that un-modifies the number so that it appears as one of my contacts, as it should. Alas, I need to build the whole ROM because the dialer depends on some framework files. So not a solution.

Then I thought I might write a small app that listens to the hang up event and updates the call log to fix the number in the last let's say 10 entries, which I hope will prompt the dialer to call it using the mobile network and not the SIP account. Problem with this is it needs to start on boot, always run in the background, and make sure it receives all hang up events. Three things nobody seems to vouch for the reliability of.

Can anyone think of another solution? Is there something I'm missing? I know there's rumors Google wants to drop the native SIP stack, but until then a solution to this would be really helpful.

If it looks strange I want to use a mobile subscription and not the SIP one, we have a very good unlimited minutes offer, and the SIP account is just for maintaining the landline number for personal reasons.