问:
Is there such a thing as generic touch screen calibration?
I have an Orange pi 2g-IoT board with a 3.97 in TFT touch screen (the whole thing is a set)

One of the provided OS images for this board is stock Android 4.4 (at least this is what it claims, the UI does look like it is probably based on 4.4, but I am not sure whether/what kind of specific modifications the manufacturer has made)

The LCD touch detection is very flaky (sometimes works and sometimes doesn't, works consistently on some GUI components but doesn't on others, etc, see stackoverflow question about it here)

The user manual that comes with the board doesn't say anything about calibration, but I think some kind of calibration is needed. I had similar problems with the touch screen of a raspberry pi board that I had previously worked on, and it worked perfectly after calibrating the screen using the provided software, so I'm assuming that's what I need to do here as well. The board manufacturer is not very helpful with software support, I'm on my own regarding making this work

Is there anything like a generic LCD calibration app for android? I see that there are lots of apps claiming to calibrate the screen if I do a quick playstore search (never used any such app myself). So is that a real thing? How do such apps handle different phone models? I can't use google playstore on this board but I can connect to it using ADB and it has root, so I am ok with installing an apk through ADB.

After some random poking around I was able to get a preinstalled app to run on the board which shows LCD screen parameters. Here's part of what this app shows:

Is there any way to calibrate this touch screen, or any way to make my own calibration app? I can try and get more screenshots from this app pictured above, if it will be helpful.


问:
My phone starts downloading an app which is named 'Google Play' but is not the actual google play
My phone starts downloading an app which is named 'Google Play' when I press it's dialogue for a second it shows 'Download Manager' as the app which is downloading it. But I don't have any download manager on my phone.

It seems fishy, something isn't right with the app, it's probably a malware. Please help!

I've attached the screenshots.

!

ContentLicense: CC BY-SA 4.0


问:
Can any virus be removed easily on non-rooted phones?
I know that all android devices are hackable whether they are rooted or not. I have general idea of protecting an android phone (or staying safe with android device) from any viruses. What I want to know is curing an android phone. In other words, removing virus on it once it is infected. Are non-rooted phones easier to remove viruses (even backdoors)? For example, by doing factory reset on non-rooted phone, are all viruses gone? Can malware exist on /system partition or /boot partition on non-rooted phone? (In that case, I know I need to re-flash the ROM instead of doing factory reset)

I know many known viruses can be detected easily by anti-virus softwares. But nowadays hackers can easily make undetectable malwares.

P.S. My phone is not rooted and its bootloader is locked. Can all virus be gone after factory reset on my phone?


问:
Getting into Android with broken screen
My Moto Z Play died during a failed repair attempt.

The digitizer was dead immediately, the screen first still showed a faint image, but that's gone as well now.

ADB is activated, but only after login, and login only works using the gesture, not using the fingerprint sensor, at least after the phone rebooted.

I got scrcpy to work before, but while ADB isn't running, I can't use that.

My phone doesn't have any video output capabilities over it's USB C port, at least none that I ever got to work.

I can connect a mouse to unlock the screen, but without the ability to see the mouse pointer, that doesn't help either.

Does anyone have a clever idea what I could do to unlock the screen, so that I can grab the rest of the data that's left on the phone?

Or any other way of getting to the data?

Title: Getting into Android with broken screen


问:
While having the lock screen set to delay, is it possible to lock a phone instantly (Galaxy S20 FE in particular)?
I like having my phone (GS 20 FE) not lock automatically for a while, but there are times when it would be nice to be able to lock it instantly.

Often, I'll turn my screen off, put my phone in my pocket, and when I take it back out a few minutes later, it'll be in a settings menu of some random app.  Or trying to send a message to a random contact.  Or asking if I really want to delete a file.

It would be nice to be able to lock my phone immediately before I put it in my pocket but keep it on the delay setting for when I'm sitting somewhere.

Does anyone know if there's an easy way to do this?

Thanks!


问:
How to use rclone-mount with Termux:Boot?
I would like to do what is described in this post: How to mount rclone on Android? and then have Termux:Boot automatically mount my rclone remotes at boot time.

As per that post, I am using the static fusermount binary from here. I am using the official rclone binary from here.

Referring to this page, Termux:Boot, I have the general idea. However, I have several questions:

I have 3 remotes configured in rclone-mount. Is this script adequate to run with Termux:Boot to mount these 3 remotes? I appear to have it working on one device, but I can't replicate that success on my 2nd device. Also, I understand that only root can mount a FUSE filesystem, so I am confused that this appears* to be working on one device. (*The rclone mounts do in fact work on that device.)

```<code>#!/data/data/com.termux/files/usr/bin/sh
termux-wake-lock
rclone -v mount pcloud: /mnt/runtime/write/emulated/0/pcloud --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other &

rclone -v mount desktop: /mnt/runtime/write/emulated/0/desktop --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other &

rclone -v mount server: /mnt/runtime/write/emulated/0/server --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other &
</code>```

Or if I do need to run this script as root, how would I do it? For example, I tried adding these lines from the above referenced answer:

```<code>#!/data/data/com.termux/files/usr/bin/bash -e

[ $(id -u) -eq 0 ] || exec su --mount-master -c "LD_LIBRARY_PATH=$LD_LIBRARY_PATH HOME=$HOME PATH=$PATH:$HOME/bin $0"

[ $(readlink /proc/1/ns/mnt) = $(readlink /proc/self/ns/mnt) ] || nsenter -t 1 -m -- "$0"
</code>```

That does not appear to work with Termux:Boot.

Related question, what permissions do the above scripts need for Termux:Boot to work? Does it need to be executable? Who should the owner and group be? Should it be run as root? Can it be run as root?

I set executable perms for owner & group and I gave it the same owner/group that I saw for the ~/.termux/boot/ directory in Termux on the phone (which is not root, just the regular user).

During testing on one device, I got this working without running the Termux:Boot script as root, but I had made so many different attempts to get rclone-mount working on that device that I also have the rclone-mount Magisk module installed as well some another custom script. So I don't (yet) know the precise steps required to repeat this successfully.

Now I am setting it up on a second device, and I cannot get the rclone mounts to mount at boot whether I run the above script in the non-root version or with the added root privileges (as suggested by the answer I referenced). Nothing I'm trying is working, even though I repeated the same Termux:Boot steps I used on the other device. In this question, I'm seeking clarification on the details, and hopefully I will be able to understand where I'm going wrong.

I assume backgrounding the rclone commands (&) is also needed, but I'm not sure. When I run the commands in the terminal, it is needed.

I manually created my 3 mount points (e.g., /mnt/runtime/write/emulated/0/pcloud) before running the script.

When I run the rclone mount commands as root in Termux (while logged in via SSH), I get this error:

```<code>Fatal error: failed to mount FUSE fs: fusermount: fork/exec /system/bin/fusermount: permission denied
</code>```

/system/bin/fusermount is a symlink to:

```<code># ls -la /data/data/com.termux/files/usr/bin/fusermount
-rwxr-xr-x 1 u0_a212 u0_a212 95904 2021-10-21 16:48 /data/data/com.termux/files/usr/bin/fusermount
</code>```

In turn, that is the statically linked binary recommended in the other post.

When I run the rclone mount command as the non-root user, I get this error:

```<code>$ rclone -v mount pcloud: /sdcard/pcloud --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other
WARNING: linker: /data/data/com.termux/files/usr/bin/rclone: unsupported flags DT_FLAGS_1=0x8000001
2021/10/21 23:57:07 mount helper error: fusermount: failed to open /dev/fuse: Permission denied
2021/10/21 23:57:07 Fatal error: failed to mount FUSE fs: fusermount: exit status 1
</code>```

That would seem to support the statement that only root can mount FUSE filesystems.

Is it possible to get rclone mount to work with Termux:Boot? I'm wondering how I got it to work on my other device.

That working device is running Lineage OS and it also has the rclone-mount Magisk module installed -- which, by itself is not working. That is why I assumed that my non-root Termux:Boot setup is responsible the rclone mounts working.

I can't replicate that success on this device, a rooted Samsung (stock firmware). Maybe the working solution is some strange mix of the two main methods I tried (Termux and Magisk). Or maybe a working solution requires a non-stock firmware?


问:
No recent apps screen after disabling the launcher
My phone came with a launcher I didn't really like very much. So I installed Nova Launcher and disabled the in-built launcher. Now the recent apps screen won't come up. I looked up and most of the suggestions were to install a custom rom, I can't install a custom rom because there is not custom recovery as well as custom rom for my phone. To get the recent apps screen should I enable the launcher or is there any other alternative?

Device model: Tecno Spark 7
Android Version: Android 11
In-built launcher: HiOS


问:
Forward video stream to PC via USB-tethering
On my Android phone, I run AirReceiver which mirrors the screen of  my iPad connected to it via mobile hotspot. In the app, I can choose the player (VLC, the default player, etc.) to play this video stream in. I would like to redirect this video stream from the phone to my Linux PC via USB-tethering. Is there a way to achieve it?

My current solution is to mirror the phone's screen with the video running in the foreground via scrcpy. However, the iPad's and the phone's screen have different dimensions, the resolution is lost and the video has to be cropped on the PC.

I was thinking of using VLC direct somehow but I don't know how.
Thanks for any tips!


问:
How to hide or unhide app in MIUI drawer?
In MIUI I have Files app hidden. I don't have it in my drawer. I can run it by adb shell like this:

```<code>am start -n com.android.documentsui/com.android.documentsui.LauncherActivity
</code>```

But how do I add this activity to drawer? I was trying THIS way, but I cant find this piece of xml in sysconfig. Maybe because I have android 9.

Also, I don't know if I'm supposed to create new topic about this, but is there any option on sources.android.com to see previous versions of the page (It could help me to figure out how to show it in andro 9)?

EDIT:

In Android 10, the DocumentsUI module uses is_launcher_enabled to determine if the Files launcher icon should display in the app drawer.

I extracted the apk file with the ApkExtractor and checked this flag with the APK Editor Studio. I don't know if it gave me files actually used by the app, but It seems to be untouched:

AndroidManifest.xml

```<code>android:enabled="@bool/is_launcher_enabled">
</code>```

res/values/bool.xml

```<code><bool name="is_launcher_enabled">true</bool>
</code>```


问:
Termux: bad interpreter: Permission denied
I'm attempting to execute this command in a Termux:Boot script.

```<code> exec su --mount-master -c "LD_LIBRARY_PATH=$LD_LIBRARY_PATH HOME=$HOME PATH=$PATH:$HOME/bin $0"
</code>```

I get this error:

```<code>: /data/data/com.termux/files/usr/bin/su: \
/data/data/com.termux/files/usr/bin/sh: bad interpreter: Permission denied
</code>```

However, I can execute the command directly (without the exec) on the command line without any errors and I get the root prompt as expected.

The command comes from https://android.stackexchange.com/a/225612/12444

```<code>#!/data/data/com.termux/files/usr/bin/bash -e

[ $(id -u) -eq 0 ] || exec su --mount-master -c "LD_LIBRARY_PATH=$LD_LIBRARY_PATH HOME=$HOME PATH=$PATH:$HOME/bin $0"
</code>```

Also, as part of trying to get that entire script to work on my device, I am trying this in Termux:

```<code>$ tsu
# rclone -v mount GDrive: /mnt/runtime/write/emulated/0/GDrive --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other
</code>```

This gives the error:

```<code># bash: /data/data/com.termux/files/usr/bin/rclone: Permission denied
</code>```

The permissions are:

```<code>-rwxr-xr-x 1 u0_a212 u0_a212 62257128 Oct 21 16:57 /data/data/com.termux/files/usr/bin/rclone
</code>```

Any suggestions?


问:
POCO X3 Pro - Bluetooth stays on
Recently aquired a POCO X3 Pro.

Problem is, I disable bluetooth (to conserve battery), however, after a reboot, bluetooth is enabled again. It says that Google Play Services turned it on.

Any ideas please?

Title: POCO X3 Pro - Bluetooth stays on


问:
I have forgotten the pattern for my samsung galaxy tab a i donot want to reset it please help
I have access to internet on the tab if that helps in any case. I have my study material there and I don't want to factory reset it what to do i hope to get help.</p>


问:
permission denied only AFTER becoming root (in Termux)
I'm running SuperSu 2.82 (latest) and Termux (latest) on Andriod 7.

What is causing the permission denied error below? I get the same error with mount namespace separation turned off (or on) in SuperSU.

```<code>Welcome to Termux!

Community forum: https://termux.com/community
Gitter chat:     https://gitter.im/termux/termux
IRC channel:     #termux on libera.chat

Working with packages:

 * Search packages:   pkg search <query>
 * Install a package: pkg install <package>
 * Upgrade packages:  pkg upgrade

Subscribing to additional repositories:

 * Root:     pkg install root-repo
 * Unstable: pkg install unstable-repo
 * X11:      pkg install x11-repo

Report issues at https://termux.com/issues

~ $ echo $0
/data/data/com.termux/files/usr/bin/bash
~ $ id -u
10212
~ $ echo $HOME
/data/data/com.termux/files/home
~ $ echo $PATH
/data/data/com.termux/files/usr/bin

~ $ ls -la /data/data/com.termux/files/usr/bin/readlink
lrwxrwxrwx 1 u0_a212 u0_a212 9 Oct 21 04:05 /data/data/com.termux/files/usr/bin/readlink -> coreutils

~ $ ls -la /data/data/com.termux/files/usr/bin/coreutils
-rwx------ 1 u0_a212 u0_a212 1032096 Jul 30 11:15 /data/data/com.termux/files/usr/bin/coreutils

~ $ exec su --mount-master -c "LD_LIBRARY_PATH=$LD_LIBRARY_PATH HOME=$HOME PATH=$PATH:$HOME/bin $0"

~ # [ $(readlink /proc/1/ns/mnt) = $(readlink /proc/self/ns/mnt) ] || nsenter -t 1 -m -- "$0"
bash: /data/data/com.termux/files/usr/bin/readlink: Permission denied
bash: /data/data/com.termux/files/usr/bin/readlink: Permission denied
</code>```

The error is not limited to readlink. It applies to all the core commands I tried, including ls:

```<code>~ # ls
bash: /data/data/com.termux/files/usr/bin/ls: Permission denied
</code>```

I get better results with tsu, but then I get a new 'permission denied' error at my next step after readlink:

```<code>rclone -v mount mypcloud: /mnt/runtime/write/emulated/0/mypcloud --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other

2021/10/23 03:30:12 Fatal error: failed to mount FUSE fs: fusermount: fork/exec /system/bin/fusermount: permission denied
</code>```

It doesn't matter which mountpoint I use. Also, the above permission error is not related to any of the options --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0:

```<code># mkdir -p /mnt/cloud/mypcloud
# chmod 775 -R /mnt/cloud/
# rclone -v mount mypcloud: /mnt/cloud/mypcloud --allow-other
WARNING: linker: /data/data/com.termux/files/usr/bin/rclone: unsupported flags DT_FLAGS_1=0x8000001
2021/10/23 03:51:33 INFO  : pcloud root '': poll-interval is not supported by this remote
2021/10/23 03:51:33 NOTICE: pcloud root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
2021/10/23 03:51:33 Fatal error: failed to mount FUSE fs: fusermount: fork/exec /system/bin/fusermount: permission denied
</code>```


问:
I want to access the data of Metamask
I want to have access to the data of the Wallet MetaMask on my android phone. After an error occured I can't enter my wallet. This error occured:

Metamask encountered an error due to reaching a storage limit. The local data has been corrupted. Please reinstall Metamask and restore with your secret recovery phrase.

Sonce I don't have my recovery phrase I try access the data. If I had used a browser extention I could have used the vault decryptor. But I only use Metamask on my mobile android phone (Samsung S10 Android14).

Is it possible to get the folder or read the data when the phone is not rooted? Can someone tell me how? I read questions asked here before but I can't get the data.

Thank you so much in advance.

Title: I want to access the data of Metamask


问:
OnePlus 6T Compass Gets "Stuck" Until Placed on Magnetic Mount and Removed
My phone is a OnePlus 6T with Android 11 Oxygen OS 11.1.1.1. I am working on an app which (among other things) provides range and bearing to a particular spot based on GPS and compass.

From time to time (every week or so) I have noticed that the compass orientation freezes. I have installed a different compass app and, it doesn't freeze, but it is clearly giving a very wrong reading (for example, north indicated directly to the sun).

Similarly Google Maps is showing the wrong reading. I am sure the bearing is wrong because if the sun was in the north we'd be really screwed. Plus I have another compass on my watch and it is OK, so I know where north really is.

I suspect the reason my app is frozen, and the other app is not frozen, is just because of the different animation approaches. The root cause appears to be that the sensor is "jammed" even though it is in a solid state.

I have tried recalibrating (maybe 40 times), shutting off the phone, resetting the phone, clear the app's memory, stopping the app, etc.

I noticed today that if I place my phone on its magnetic mount, all of a sudden the compass started working again once I remove it from the mount. To be clear, I am out in the woods many kilometers away from my magnetic mount when it is jammed, but when I return to my car and put it on/remove it from the mount everything works fine again for a few days.

I have never had an electronic compass behave like this. Unfortunately Google searches invariably point me to suggestions to recalibrate.


问:
Problems with long term rooting of phone, data loss and OS updates
I'm in the market for a new phone. I use a specific app for internal use that requires the phone to be rooted (or use a MediaTek chipset but they are mostly used in low end-phones and I want a medium-/high-end phone) and this causes me a lot of pain.

Currently I use a Oneplus 6T (before that I had an HTC M9+ - a highend phone with MediaTek) and the problem with this phone is that every update to its firmware "unroots" it (but leaves the internal storage untouched) but when I root the phone after an update the internal storage is deleted!!! (Actually, I think the key used for decryption is deleted, but the effect is the same) AFAIK, this is not specific to Oneplus but is how Android typically works.

I have done this twice and lost a lot of data - because the next problem is that there is no, AFAIK, good backup solution for Android that backs up everything to your local computer and lets you restore the phone after a factory reset (like how iOS-devices work).

So, now when I am about to buy a new phone I am not trying to find the right "hardware" but rather a complete "solution" to my use case. I guess I am looking for the right combination of a custom version of Android with, if necessary, an associated backup solution.

My question is:

does it exist a version of Android that doesn't "unroot" when updates are applied? (Or always is rooted)

or

does it exist a version of Android that doesn't factory reset the internal storage when rooted?

or

does any of the phone manufacturers (or third party) offers a backup solution that backs up everything (for example, WiFi-passwords are usually not backed up - they can only be backed up to Google's cloud) to a local computer?

or

Any other solution that lets me keep my phone rooted, updated and leaves the internal storage untouched? (This is actually the main question. The approaches above are just my suggestions for how a solution should work but I am agnostic to how my problem is solved as long as these three conditions - rooted, updated, internal storage untouched - are fulfilled.)

Finally, I don't want to spend a lot of time tweaking my phone and fixing odd problems (i.e., like using a custom version of Linux on a desktop often forces you to do).

Footnote: I have tried Helium for backup but couldn't get it to connect to my computer (a Mac). Besides, it required very old versions of ADB or something like that.


问:
Cannot make backup or do a factory reset on Samsung Galaxy A40
I need to make a backup on Samsung Galaxy A40 to factory reset my phone because I'm having a problem with it. I cannot log in. Every time I log in, it gets stuck at "Starting Android". If I turn my phone on/off normally, it gets an absurd timeout. Removing my SIM card doesn't change anything. For that, I cannot fully restart it because you need to log in for that, and I need my stuff before I reset it. I also cannot use the volume down button because it's broken and the ADB is not authorized.

EDIT:

There is no way to do it in my case there are a few tricks that can help someone else though:

If you cannot restart your phone because you are logged out do the following; remove SIM card tray and put it back in, when you can put the PIN in for the SIM card hold the power button.

If you cannot come in the recovery menu with your volume down do; restart your A40 (tap the restart button twice) then keep holding [power+volume up] until the recovery menu shows up.

Are you stuck at "Starting Android" and cant do anything; swipe down from the top, where your notifacations and flash light are in the upper right corner is a settings cog, press that an you get to the settings menu note that not everything works in there!

OwnerDisplayName: Lualt


问:
How use mobile data for internet and wifi for LAN devices in sametime at Android
I have a Samsung S21 Ultra and I want to keep both mobile data and WiFi on. My aim while doing it is using LTE for internet services(eg. Spotify, YouTube) and using wifi for LAN devices(eg. Printer, IoT devices) I don't have internet connection at WiFi router. It's just a local network.

My problem. Android's own network manager denies to use LTE when connected to any WiFi. I'm sure LTE is working in background because I have VoLTE and it's working but Android doesn't want to do internet routing with LTE when it's to WiFi connected.

How Can I route the traffic in LTE when I can still reach local printer at WiFi? Thank you.


问:
Recover data from soft bricked (unrooted) Galaxy S8
My S8 G950F got stuck in a boot loop after an update (there was little storage left before the update, but not sure if this is the reason for failure). I tried flashing it with Odin (with HOME CSC), which was successful according to Odin. Now if I start the phone, it says “installing update”, then “no command” and loads recovery mode.

If in recovery mode I select “Lacking storage booting” it will go into “Optimizing app X of …” which goes through all the apps, but then loops again until it reaches some other “Android recovery” mode that has only 4 options: “try again”, “power off”, “erase app data”, “view rescue logs” – the last two options regular recovery mode doesn’t have.

My goal is to backup or pull the data from the phone as sadly it was not backed up.

One thing I have left to try is to install TWRT via Odin and try to do a backup using it. From what I understand, in order to do so I need OEM to be unlocked in dev settings which would allow the bootloader to be unlocked. I don’t think I had OEM unlocked. I also don’t know if my bootloader is unlocked regardless of that setting: there is a “reboot into bootloader” option in recovery and when I do that it boots into a mode that says “Downloading” and looks exactly like regular downloading mode but without the writing that usually shows in the background (such as “odin mode”, model, binary etc.) Does this mean I have bootloader unlocked or is it a locked version? Is there a way to find out if OEM and bootloader are unlocked without booting?

Another Hail Merry option would be to wipe and factory reset it after flashing (which hopefully will take it out of the boot loop) and then root and try to recover some files with a data recovery tool, but is there any real chance of getting stuff back? Since data on SSD isn’t truly erased without being overwritten, it has to be recoverable somehow, right?

Finally, I would like to know if anyone has any idea what could potentially be wrong given the symptoms? Since flashing didn’t fix it, then it isn’t the firmware that’s the problem, so it seems? But then what is it?


问:
LG Secure Start-Up On Boot
I encounter this once. My phone was dead batt and I didn't do anything or remember anything that I deleted something in the settings before this happened. All I know is that I slept and my phone's locked so that I cannot do any harm to it.

But according to this issue similar to mine: Locked out of secure startup, they deleted secure files in the settings, that's why it happened. The screen on secure set up is nothing but a white screen and a text field that asks your password and even though how many times you attempt it's stuck on loop attempt 29/30.

Anyway, I told you I didn't do anything but this happens to my LGM400. This is already fixed because I just shut it down and turn it on my phone again. That secure setup only happens once. I would like to say this because I wanna know what is going on with LG. And it's kind of bothering.

Title: LG Secure Start-Up On Boot


问:
How Can I Configure the Gargantuan Android 12 Lockscreen Clock?
On Android 12, at least on Pixel devices, the lockscreen has a massive clock when there are no notifications — vertically, it takes up perhaps 2/3rds of the screen. I would rather the clock be smaller, akin to the one where there are one or more notifications showing on the lockscreen. I cannot find anything in the Settings app or the system Clock app's settings that controls this behavior.

Is there way to configure the lockscreen clock size?


问:
Keeping phone plugged in vs. using a charger control?
I have an old, quite banged-up Huawei Y6II. I want to use it as a static device and turn it into a security camera, web server, wifi hotspot, etc. Is it okay to keep it plugged in all the time? Or should I use a DIY solution that controls the charging cable with a relay in a way that the cable is turned on when the battery is low and then turned off when it is full?

To clarify, I am not asking about the DIY solution, I have a plan for that already. My question is, is it worth going into the hassle, or is it just fine to normally keep the phone plugged in 24x7?

Please note, there are frequent power outages here.

And in case this info is useful - the battery of the phone was replaced once and the new battery was purchased from a "don't know how trustworthy" shop, but it works okay, and the price was close to an original replacement.

Thanks.


问:
How to install Magisk without an unlocked bootloader?
Before you say, "It cannot be done," read the link below by topjohnwu. I too had been under the impression that Magisk could not be installed unless the device had an unlocked bootloader. However, yesterday I was reading this:

Deployment | Magisk (from which I quote the contents below):

Exploits

(Note: Magisk could only be used as root)

Occasionally, there would be exploits in certain devices that could lead to full fledged root. On modern Android, it is possible to use MagiskSU if you can gain a shell with the following conditions:

Effective UID should be privileged (root, or euid=0)

Have the ability to reload sepolicy (which 99.9% of the time means SELinux permissive)

You can check out scripts/emulator.sh as a reference for bringing up Magisk with a root shell. Note that these changes are not persistent, and you will need to find ways to rerun the whole process every boot.

My device meets the conditions for that "exploit" as shown below:
```<code># getenforce
Permissive

# id -u
0

# id -Z
context=u:r:supersu:s0
</code>```

So I checked out scripts/emulator.sh as suggested. However, I don't understand the code very well.

It seems topjohnwu is suggesting one run that script on a device which meets the conditions, but he is also suggesting it is a "reference" implementation I guess. Since I'm not an expert, I have a lot of questions. Could I safely run it and then debug any issues/errors I see? If so, where do I find the referenced "app-debug.apk"? What directory should I run the script from? I appreciate any advice.

If running the script is not the right approach, can anyone offer suggestions for how to can install Magisk on my device without an unlocked bootloader?

Also, at what point should I remove SuperSU? (BTW, my device is a US Snapdragon S8, so the bootloader will not get unlocked.)


问:
Show battery at 100% when it is charged to lower value?
On the Samsung Galaxy Tab S7, you can limit your battery to 85% and have it show 100% when it is at 85%.

Can I somehow replicate this behaviour on my OnePlus 6 running on LineageOS 18.1 with root?
I am already limiting charging to 85% through ACCA with a brand new battery, and would like the capacity at that point to be considered 100% to the phone as well.


问:
Can't left click with USB Mouse on Firefox for Android in Tablet mode
I have a Rog Phone II (ZS660KL) & Desktop dock (ZS600KLD). When docked, the Rog phone asks the user to pick a display mode between:

Mirror mode

Twinview mode

Tablet mode

Mirror mode is way too small (huge characters and icons) for an external screen. On both of the other modes, Android gets a second display; in Tablet mode, the second display is more adapted to a desktop-sized external monitor.

However, when using Firefox for Android (main or Nightly, versions 92 and 95), in both "Tablet mode" and "Twinview mode", my Logitech mouse (M-U00007) connected by USB to the ZS600KLD dock, cannot left click on any link or item inside Firefox. Clicking on a link with the physical left button results in an action similar to right click: a context menu appears to open the link in a new tab etc. Middle mouse button does the same "software right click" action. The physical right click does nothing. The back button works, but the forward button does not.

I also tried with an M185 that does not have the forward/back buttons, and the issue is the same. More interestingly, for both mice, the left click works in the address bar field, because it hands over to the Google keyboard. It's only where Firefox actually renders stuff that it does not work.

I currently do not see how to correct this bug, except switching to Chrome or using Mirror mode. This very specific issue does not happen in Chrome for Android or in Mirror mode.

Any idea how to solve this? For example, force a re-mapping of mouse events to specific actions?


问:
Are these apps with package name and random numbers malware?
Did a factory reset on my phone late last month and noticed a strange app/process in data usage the last few days titled "com.sec.mimage.uid.retouching:10076", low filesize but enough to weird me out. Did another factory reset and had this come up

which seems to have similar if not the same data usage size. Potential malware or normal?


问:
Are there way to remove swipe up but have a number or a pattern lock on a modern Android
Is it possible to remove swipe before entering a number code or drawing a pattern on modern versions of Android (10 for instance)?
There is a similar question but it's about Android 3.


问:
Android TV Box Gigabits Connection
Is there any android apk app which is able to display a LAN network connection speed such as 100Mbps or 1Gbps.

If this is not possible, is there any app that is able to display the network chipset info in Android TV box?

OwnerDisplayName: Alvin Lim

Title: Android TV Box Gigabits Connection


问:
PGN file cannot be opened when sent using WhatsApp
I play chess quite every weekend. After the game, I enter my game moves into Analyze This, and see my errors. Then, I save a PGN file into my Android phone.

Then, I have 2 ways to share it :

I send the PGN file "attached" to an email, and all my colleagues that receive it
can re-play it on their "Analyze This" app, clicking on the attached file.

I send it using "WhatsApp" - no way they can play it (even me !) -
"You may not have a proper app for viewing this content" is the error message.

Analyze This is v5.4.8. Android is version 11.

Any clue?


问:
Any way to disable the "Blank is draining the battery" notifications?
I get this little popup all the time on my phone:

I can "Ignore for now" but it just comes back a few hours later.  The thing is, I'm not running the "Amazon Alexa" app currently.  I'll go in there sometimes to check my shopping list, but it's not really something I always have running.  My phone can also use Alexa as the voice assistant, but I keep it off:

Lastly, it doesn't even appear to be true.  The phone has been on for hours, and when I get that notification the battery is at 99%.  So, I'd hardly call that "draining" the battery.

Any way to disable this notification, or all notifications of this type?  Thanks!


问:
Launch app in chroot environment
I want to setup a chroot environment on my android x86 installation in which I can perhaps run or install various apks.
Is there any way to launch an application in a custom chroot environment?</p>

Title: Launch app in chroot environment


问:
Do mobile coolers prevent battery from bloating?
Do any of those mobile coolers help prevent battery from bloating? or it'll just bloat due to natural aging? I'm a hardcore gamer so I play games all the time. All my previous phone tend to bloat within 1-2yrs so I'm just wondering if a mobile cooler is gonna help prevent battery from bloating?</p>


问:
ES File Explorer suddenly not able to view root?
My tablet is rooted, and all the "root" features on ES File Explorer are on. It's just that for some reason, after I do a search, the root files suddenly (and mysteriously) fail to show up, and then I have to disable the "root" features on ES File Explorer and re-enable them in order to see the root files again. And then it repeats itself.

I'm using a Lenovo ThinkPad tablet. Has anyone else seen this happen, or know what I could do?

ContentLicense: CC BY-SA 3.0


问:
Reset factory and recovery in android
I want to reset my phone. After resetting, can photos be recovered with recovery software? If not, what can I do to prevent deleted photos from being recovered?
My phone: redmi note 9pro</p>

Title: Reset factory and recovery in android


问:
I wish to export Chrome history synced from a mobile device as a csv list, but this information is not stored in the 'History' file. Where is it?
...AppData\Local\Google\Chrome\User Data\Profile #\History usually has all URLs that you have visited, and you can open this up using DB Browser for SQLite. While I can hit Ctrl-H and see the links I've visited on my synced Android device, they are not there when I pull up the History file on the browser, so they must be stored elsewhere. I could not find any relevant Google results that answers my question, however.

What is the easiest way to export my Android Chrome history as a CSV file? And where is the synced history stored?

Thanks.

OwnerDisplayName: Vendolheim


问:
SD card not recognized by Cubot Note 7
I recently switched to a Cubot Note 7 android phone. This phone has a slot where one may put an additional SD card. As I used a 16 GB Fujifilm micro SDHC card in my old smartphone, I just put that one in. However, this card is not recognized by the Note 7.

There is no popup or notification notifying me of the new card.

There is no indication of a recognized sd card under the storage settings. In fact: Nowhere in settings, I find any option concerning an sd card. When searching the settings, the only "card" related option is "load certificate from sd card" (which does not work as the card is not recognized in the first place).

I tried formatting the card on my PC either with FAT32 or with exFAT. The PC, however, is perfectly fine with the card.

Details:

Card 16 GB Fujifilm micro SDHC

Cubot Note 7 with android 10

Title: SD card not recognized by Cubot Note 7


问:
password protect my android
I am looking for a way to prevent the installation of apps from any sources (eihter playstore or apk)

Is there not anything similar to a "sudo" password for apps installation on android so a password is required before installing any app?

Title: password protect my android


问:
Oppo A5 2020 (CPH1931) won't go in to fastboot mode/bootloader
I want to root my phone, install custom recovery and eventually a custom ROM. For this, I need to unlock the bootloader.

I have an Oppo A5 2020 CPH1931. It should go into bootloader when I press volume+ and power buttons together for 5 seconds after completely turning off the phone. But when I do this, it boots like normal. Tried all different combinations and durations. I am able to boot into recovery but not fastboot mode. I have turned on the "OEM unlocking" option in developer options.

I tried it through ADB, it says fastboot on the screen for half a second and then once again jumps back to normal booting. I also tried to already put the fastboot command "fastboot oem unlock". When it says  I use another terminal to try to boot into fastboot with ADB. But this does not work (also tried this with "fastboot flashing unlock").

By the way, my devices only shows up with adb devices when I select transfer files upon connecting the USB cable. When I select just charge it doesn't even show.

There are tons of guides online on how to enter the bootloader of this device, so it must have been possible at some point. I considered trying to revert to an old STOCK ROM that still has fastboot. I contacted Oppo about this but they keep trying to confuse me and then just left the conversation.

Is there a way to go back to an old STOCK ROM that still supports fastboot mode?

EDIT:
I tried using the EDL toolbox provider by Björn Kerler like Alecxs suggested, but it cannot find a loader for my device:

```<code>Qualcomm Sahara / Firehose Client V3.53 (c) B.Kerler 2018-2021.
main - Trying with no loader given ...
main - Waiting for the device
......
main - Hint:   Press and hold vol up+dwn, connect usb. For some, only use vol up.
main - Xiaomi: Press and hold vol dwn + pwr, in fastboot mode connect usb.
        Run "./fastpwn oem edl".
main - Other:  Run "adb reboot edl".

...............
...main - Device detected :)
main - Mode detected: sahara
Device is in EDL mode .. continuing.
sahara -
------------------------
HWID:              0x0010a0e100510000 (MSM_ID:0x0010a0e1,OEM_ID:0x0051,MODEL_ID:0x0000)
CPU detected:      "nicobar"
PK_HASH:           0x6e91b529aad0307f1fc67310dab1ff821eb7aa02fa5620157a9d20e124f4e0b8
Serial:            0x31276e91

sahara
sahara - [LIB]: Couldn't find a loader for given hwid and pkhash (0010a0e100510000_6e91b529aad0307f_[FHPRG/ENPRG].bin) :(
Device is in an unknown sahara state, resetting
resp={'cmd': 1, 'len': 48, 'version': 2, 'version_min': 1, 'max_cmd_len': 1024, 'mode': 0, 'res1': 0, 'res2': 0, 'res3': 0, 'res4': 0, 'res5': 0, 'res6': 0, 'object_size': 48, 'raw_data': bytearray(b'\x01\x00\x00\x000\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')}
</code>```


问:
Boost sound volume on my MXQ Android box where Audio Boost apps don't work
This is MXQ Pro 4k box on Amlogic S905 chip.

It is embarrassingly quiet when playing through the AV jack with some good active speakers attached. My Ubuntu laptop is able to play loud on those speakers. The MXQ Box itself is able to play loud via the HDMI when connected to a regular TV.

I suspect Android thinks it's headphones attached to the AV jack and halves the volume to save my ears. But actually it's good speakers and I want it loud.

Volume boost programs don't work. One of them - "Volume Booster GOODEV" - splashed a baloon saying something like "Loudness Enhancer Effect" is unavailable to the app.

So I went redeye and started exploring the files on the device.

/system/etc/audio_effects.conf mentions the loudness enhancer twice, the .so file is in place at the path mentioned, looks ok to my ignorant view:

```<code>libraries: {
......
  loudness_enhancer {
    path /system/lib/soundfx/libldnhncr.so
  }
}
.....
effects: {
  loudness_enhancer {
    library loudness_enhancer
    uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
  }
}
</code>```

So I thought I am unable to give the Goodev app and plethora of other equalizers access to the effects, and started to dig more.

I somehow managed to add "volume steps" in the build.prop:

```<code>ro.config.media_vol_steps=16
</code>```

unfortunately that didn't make the speakers any louder.

Is there a ro.config.media_vol_max_db anywhere? How do people know what magic letters to spell in the config?...

Okay, then I've googled about the mixer_paths.xml that allows people to boost the voulmes of their phones from some default 84 mystery units to 100... unfortunately, this is how my mixer_paths.xml file looks like:

```<code><mixer>
  <!-- dummy xml conf, do nothing here -->
  <path name="speaker">
  </path>

  <path name="headphone">
  </path>

  <path name="main_mic">
  </path>

  <path name="headset-mic">
  </path>
</mixer>
</code>```

Question: what should I try next?

The firmware looks a little like this if you want to really dig in

https://mega.nz/file/l1x0GLDY#p3hs8aZxIAMM5LwIOtfpyis_w7C7XPQgYYBevGxkAmc

the board looks like this

https://ds-blobs-3.cdn.devapps.ru/8413380.jpg

Add: There are some ALSA artifacts in the filesystem, too: /usr/share/alsa/alsa.conf and ../pcm/default.conf


问:
How to add user for busybox su
I have successfully been able to copy busybox into system/bin/. I have also set busybox

```<code>chmod +g busybox
chmod +s busybox
chmod 4777 busybox
</code>```

When I run busybox su it says user root not found. How do I add the user in android?. Maybe I will need to write some files in system/etc maybe?

Title: How to add user for busybox su


问:
How to find the long device model name in LineageOS/Android 10?
If I search for "how to find model name on Android", I get a bunch of results like:

https://www.sony.co.in/electronics/support/articles/SX368101

Use the model name from Settings

Open your phone settings menu
Android 10
Tap Settings > About phone > Model

Sure, but when I look there in LineageOS 17.1, I see Model & Hardware / Model : SM-A320FL

How do I find that this is "Samsung Galaxy ... [what?]"?

Has it been like this always? That Android never writes out the full/long/marketing name of the device, but only model number?

EDIT: I'm aware I can look up in a search engine "SM-A320FL", but I'm not interested in that - I'm interested in finding the device long model name from the running Android, even if it does not have Internet connection


问:
Recovery mode for tab A6 SM-T585
my tablet entered a restarting loop I want to go to recovery mode but I can't using buttons I tried miracle box doesn't working how can I exit this loop or force it to get into recovery mode ?</p>

Title: Recovery mode for tab A6 SM-T585


问:
Parallel Space alternative with apk installation support
So, there exist some apps which can work as a container to install (Clone to be precise) other apps in it. One eg app is Parallel Space

It's not hard to find a whole bunch of them, but all of them lack the ability to install them directly from apk file. It requires the app to be installed on the main device first to be cloned (after that you can uninstall them from the main device of course), some of them do allow direct installation from Google Play but that's all about it while I'm looking for a solution that can install from apk files too.

I'm not looking for multiple-user solutions (that Island-like apps provide).

I'm aware of VMOS-like apps, which do support installing apk (by emulating a whole android environment, which seems overhead (i.e. an expensive option) for me).

Some conceptions that I hold: (please correct them if I'm wrong)

Apps inside [Parallel Space]-like apps can't run in the background if the host app itself is not running in the background.

VMOS-like apps are very resource-consuming (CPU, GPU, RAM, Storage) than [Parallel Space]-like apps.


问:
How to enable usb debugging with locked screen in Samsung Galaxy A51?
I forgot my pattern to unlock my phone and I rebooted it, so no way to use finger print or facial recognition. I want to remove the gesture.key file with adb command but USB debugging option needs to be on.
Is there any way to enable USB debugging with the screen locked ?</p>


问:
Let's Encrypt Root certificate expired on old Android tablet. How to fix?
I have an old Android tablet, and websites with Let's Encrypt SSL certificates no longer works.

On Let's Encrypt's web site they basically just says it should still work
But in my case, it doesn't, I get "NET ERR_CERT_AUTHORITY_INVALID" error. Date on the device is correct.

Does anyone know if there's a solution to this? Shouldn't it be possible to install the updated certificate manually? If so, exactly where can I download it, and how is it installed?

OwnerDisplayName: James T


问:
Is it possible to bypass the lockscreen using adb without a factory reset?
I found my old htc desire (O2 network) lying in a drawer and decided to boot it up
to see what's on it.

I seem to have forgotten the lock pattern (at least it doesn't recognise the one's I remember).

It has a SIM in it but it is ancient as I upgraded phones twice since.
Likewise I have changed my wifi password more than a few times since.
So its impossible to use my gmail password as it has no wifi connection.

It does have adb debugging switched on however and I have managed to get "adb shell" to work.

Q Is it possible to bypass the lockscreen using adb without a factory reset.

The first thing I tried was:

```<code>reboot recovery
</code>```

The phone rebooted but now displays a picture of a phone with a red triangle and an exclamation mark.
This apparently is recovery mode but I could not see how to do anything from here.

adb does not work in recovery mode.

I think the only thing that can be done from there is a factory reset.
but how?

To exit recovery mode I had to remove the battery, wait 5 seconds and power on the phone.

The next thing I tried is:

```<code>adb shell rm /data/system/gesture.key
</code>```

which gives:

```<code>rm failed for /data/system/gesture.key, Permission denied
</code>```

I'd like to see what data is left on it without a factory reset if that's possible.
Is it?
What can I do from here?

This page suggests I need to be in recovery mode to do this.
But adb does not want to connect in recovery mode.

Would putting a pay as you go SIM in help? Assuming I can find a full size SIM anywhere these days?
If it was recognised I could then try the recovery via gmail option.

See also Can not unlock my Android device as have no internet connection?

Answers to suggestions in comments:

```<code>>adb ls /sdcard
/sdcard/: 0 files pulled, 0 skipped.
</code>```

Unsuprising as there is no SD card
However I can pull default.prop:

```<code>>adb pull /default.prop
/default.prop: 1 file pulled, 0 skipped. 0.0 MB/s (118 bytes in 0.026s)

>more default.prop
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=0
</code>```

This is what I can see:

```<code>>adb ls /
000041ed 00000000 12d941d9 .
000041ed 00000000 12d941d9 ..
000043ff 0000003c 12d941f1 app-cache
00004140 00000000 12d941d9 config
000041f8 00000800 4f6201b3 cache
0000a1ff 0000000b 12d941d9 sdcard
000041ed 00000000 12d941d9 acct
000041fd 00000000 12d941d9 mnt
0000a1ff 00000011 12d941d9 d
0000a1ff 0000000b 12d941d9 etc
000041ed 00000800 4f620179 system
000041ed 00000000 00000001 sys
000081a4 00000000 00000000 shutdown.bravo.rc
000041e8 00000000 00000000 sbin
0000416d 00000000 00000000 proc
000081e8 00003980 00000000 init.rc
000081e8 0000068d 00000000 init.goldfish.rc
000081e8 00000f2f 00000000 init.bravo.rc
000081e8 0001b54c 00000000 init
000081a4 00000076 00000000 default.prop
000041f9 00000800 4bd8043c data
000081a4 000001cc 00000000 bootcomplete.bravo.rc
000041c0 00000000 4c921e8f root
000041ed 00000564 12d941da dev
</code>```

This is the first time I've used adb so I'm not familiar with what I can and can't do.
If I do:

```<code>>adb pull /
</code>```

I think I can pull all that is pullable. Is there any important user data in the read protected files I miss doing this?

A wifi hotspot with the old settings is a good idea but I can't remember them.

Just found a driver full of backup data for this phone dated 2011. Possibly from when I upgraded. So even older than I thought.

--

```<code>>printenv
ANDROID_ROOT=/system LD_LIBRARY_PATH=/system/lib
PATH=/sbin:/system/sbin:/system/bin:/system/xbin
ASEC_MOUNTPOINT=/mnt/asec
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.htc.framework.jar:/system/framework/com.htc.android.pimlib.jar:/system/framework/com.htc.android.easopen.jar:/system/framework/com.scalado.util.ScaladoUtil.jar
ANDROID_BOOTLOGO=1
ANDROID_ASSETS=/system/app
EXTERNAL_STORAGE=/mnt/sdcard
ANDROID_DATA=/data
ANDROID_PROPERTY_WORKSPACE=10,65536

>adb shell getprop
[ro.secure]: [1]
[ro.allow.mock.location]: [0]
[ro.debuggable]: [0]
[persist.service.adb.enable]: [1]
[ro.factorytest]: [0]
[ro.serialno]: [HT083PL02777]
[ro.bootmode]: [normal]
[ro.baseband]: [5.11.05.27]
[ro.carrier]: [O2-UK]
[ro.bootloader]: [0.93.0001]
[ro.bootreason]: []
[ro.hardware]: [bravo]
[ro.revision]: [131]
[ro.cid]: [O2___001]
[ro.emmc]: [0]
[ro.FOREGROUND_APP_MEM]: [3584]
[ro.VISIBLE_APP_MEM]: [4096]
[ro.SECONDARY_SERVER_MEM]: [6144]
[ro.BACKUP_APP_MEM]: [6144]
[ro.HOME_APP_MEM]: [6144]
[ro.HIDDEN_APP_MEM]: [7168]
[ro.CONTENT_PROVIDER_MEM]: [7680]
[ro.EMPTY_APP_MEM]: [8192]
[ro.ril.ecc.O2-UK]: [112,911,999]
[ro.ril.enable.a52.O2-UK]: [1]
[ro.ril.enable.a53.O2-UK]: [1]
[ro.ril.hsdpa.category]: [8]
[ro.ril.hsupa.category]: [5]
[ro.ril.hsxpa]: [2]
[ro.ril.disable.fd.plmn.prefix]: [23402,23410,23411]
[ro.ril.enable.sdr]: [0]
[ro.aa.cidlist]: [O2___102]
[ro.aa.modelid]: [PB9920000]
[ro.aa.skulist]: [207]
[ro.aa.maincid]: [O2___102]
[ro.aa.project]: [Bravo_Froyo]
[ro.aa.romver]: [2.29.207.4]
[ro.build.changelist]: [345089]
[ro.aa.mainsku]: [207]
[ro.aa.customizationid]: [58488]
[ro.aa.rid]: [1128]
[ro.aa.taskid]: [224278]
[ro.com.google.clientidbase]: [android-htc]
[ro.build.id]: [FRG83G]
[ro.build.display.id]: [FRG83G]
[ro.build.version.incremental]: [345089.4]
[ro.build.version.sdk]: [8]
[ro.build.version.codename]: [REL]
[ro.build.version.release]: [2.2.2]
[ro.build.date]: [三 11月  2 21:23:24 CST 2011]
[ro.build.date.utc]: [1320240204]
[ro.build.type]: [user]
[ro.build.user]: [root]
[ro.build.host]: [ABM041]
[ro.build.tags]: [release-keys]
[ro.product.model]: [HTC Desire]
[ro.product.brand]: [o2_de]
[ro.product.name]: [htc_bravo]
[ro.product.device]: [bravo]
[ro.product.board]: [bravo]
[ro.product.cpu.abi]: [armeabi-v7a]
[ro.product.cpu.abi2]: [armeabi]
[ro.product.manufacturer]: [HTC]
[ro.product.locale.language]: [hdpi]
[ro.product.locale.region]: []
[ro.wifi.channels]: []
[ro.board.platform]: [qsd8k]
[ro.build.product]: [bravo]
[ro.build.description]: [2.29.207.4 CL345089 release-keys]
[ro.product.ua]: []
[ro.build.fingerprint]: [o2_de/htc_bravo/bravo/bravo:2.2.2/FRG83G/345089.4:user/release-keys]
[ro.build.project]: [Bravo_Froyo:224278]
[ro.product.version]: [2.29.207.4]
[keyguard.no_require_sim]: [1]
[ro.sf.lcd_density]: [240]
[rild.libpath]: [/system/lib/libhtc_ril.so]
[ro.ril.enable.dtm]: [1]
[ro.ril.gprsclass]: [12]
[ro.telephony.default_network]: [0]
[wifi.interface]: [eth0]
[wifi.supplicant_scan_interval]: [15]
[ro.opengles.version]: [131072]
[dalvik.vm.heapsize]: [24m]
[ro.ril.def.agps.mode]: [2]
[ro.phone_storage]: [0]
[ro.ril.disable.power.collapse]: [1]
[ro.ril.avoid.pdp.overlap]: [1]
[ro.ril.enable.prl.recognition]: [1]
[ro.media.enc.file.format]: [3gp,mp4]
[ro.media.enc.vid.codec]: [m4v,h263]
[ro.media.enc.vid.h263.width]: [176,1280]
[ro.media.enc.vid.h263.height]: [144,720]
[ro.media.enc.vid.h263.bps]: [64000,2000000]
[ro.media.enc.vid.h263.fps]: [1,30]
[ro.media.enc.vid.m4v.width]: [176,1280]
[ro.media.enc.vid.m4v.height]: [144,720]
[ro.media.enc.vid.m4v.bps]: [64000,2000000]
[ro.media.enc.vid.m4v.fps]: [1,30]
[ro.media.dec.jpeg.memcap]: [20000000]
[ro.htc.checkin.url]: [http://andchin.htc.com/android/checkin]
[ro.htc.checkin.crashurl]: [http://andchin.htc.com/android/crash]
[ro.htc.checkin.url_CN]: [http://andchin.htccomm.com.cn/android/checkin]
[ro.htc.checkin.crashurl_CN]: [http://andchin.htccomm.com.cn/android/crash]
[ro.htc.checkin.exmsg.url]: [http://fotamsg.htc.com/android/extra/]
[ro.htc.checkin.exmsg.url_CN]: [http://fotamsg.htccomm.com.cn/android/extra/]
[ro.bt.chipset]: [Broadcom BCM4329-B1]
[ro.bt.version]: [Bluetooth 2.1 + EDR]
[ro.bt.stack]: [Broadcom BTL-A]
[ro.bt.stack.version]: [2.0.50.032]
[ro.bt.profiles]: [4270339]
[service.brcm.bt.activation]: [0]
[service.brcm.bt.srv_active]: [0]
[service.brcm.bt.hcid_active]: [0]
[service.brcm.bt.btld]: [0]
[service.brcm.bt.btld_pid]: [0]
[service.brcm.bt.avrcp_pass_thru]: [0]
[service.brcm.bt.avrcp_toggle]: [1]
[ro.url.legal]: [http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html]
[ro.url.legal.android_privacy]: [http://www.google.com/intl/%s/mobile/android/basic/privacy.html]
[ro.com.google.networklocation]: [1]
[ro.setupwizard.mode]: [DISABLED]
[ro.config.ringtone]: [Innovation.mp3]
[ro.config.notification_sound]: [Color.mp3]
[ro.config.alarm_alert]: [Light.mp3]
[ro.config.cal_notification]: [Vector.mp3]
[ro.config.msg_notification]: [Ascend.mp3]
[media.stagefright.enable-player]: [true]
[media.stagefright.enable-meta]: [true]
[media.stagefright.enable-scan]: [true]
[media.stagefright.enable-http]: [true]
[ro.com.google.gmsversion]: [2.2_r5]
[media.a1026.nsForVoiceRec]: [0]
[htc.audio.alt.enable]: [0]
[htc.audio.hac.enable]: [0]
[ro.media.enc.hprof.file.format]: [mp4]
[ro.media.enc.hprof.codec.vid]: [m4v]
[ro.media.enc.hprof.codec.aud]: [amrnb]
[ro.media.enc.hprof.vid.width]: [720]
[ro.media.enc.hprof.vid.height]: [480]
[ro.media.enc.hprof.vid.fps]: [24]
[ro.media.enc.hprof.vid.bps]: [2000000]
[ro.media.enc.hprof.aud.bps]: [12200]
[ro.media.enc.hprof.aud.hz]: [8000]
[ro.media.enc.hprof.aud.ch]: [1]
[ro.media.enc.hprof.duration]: [60]
[ro.media.enc.lprof.file.format]: [3gp]
[ro.media.enc.lprof.codec.vid]: [m4v]
[ro.media.enc.lprof.codec.aud]: [amrnb]
[ro.media.enc.lprof.vid.width]: [176]
[ro.media.enc.lprof.vid.height]: [144]
[ro.media.enc.lprof.vid.fps]: [15]
[ro.media.enc.lprof.vid.bps]: [256000]
[ro.media.enc.lprof.aud.bps]: [12200]
[ro.media.enc.lprof.aud.hz]: [8000]
[ro.media.enc.lprof.aud.ch]: [1]
[ro.media.enc.lprof.duration]: [30]
[ro.media.enc.aud.codec]: [amrnb]
[ro.media.enc.vid.h264.width]: [176,800]
[ro.media.enc.vid.h264.height]: [144,480]
[ro.media.enc.vid.h264.bps]: [64000,6000000]
[ro.media.enc.vid.h264.fps]: [1,30]
[ro.media.enc.aud.amrnb.bps]: [5525,12200]
[ro.media.enc.aud.amrnb.hz]: [8000,8000]
[ro.media.enc.aud.amrnb.ch]: [1,1]
[ro.media.dec.aud.wma.enabled]: [1]
[ro.media.dec.vid.wmv.enabled]: [1]
[ro.media.cam.preview.fps]: [0]
[ro.media.enc.jpeg.quality]: [95,85,70]
[ro.setupwizard.enterprise_mode]: [1]
[dalvik.vm.dexopt-flags]: [m=y]
[net.bt.name]: [Android]
[net.change]: [net.dnschange]
[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
[persist.service.mount.playsnd]: [0]
[persist.radio.prefer.network]: [0]
[persist.sys.timezone]: [Europe/London]
[persist.radio.mosms.service]: [3]
[persist.sys.localevar]: []
[persist.sys.country]: [GB]
[persist.sys.language]: [en]
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.SECONDARY_SERVER_ADJ]: [2]
[ro.BACKUP_APP_ADJ]: [2]
[ro.HOME_APP_ADJ]: [4]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.CONTENT_PROVIDER_ADJ]: [14]
[ro.EMPTY_APP_ADJ]: [15]
[ro.error.receiver.htc.apps]: [com.android.updater]
[net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
[net.tcp.buffersize.wifi]: [4095,87380,110208,4096,16384,110208]
[net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
[net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
[net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
[net.tcp.buffersize.wimax]: [107380,221184,524288,4096,16384,110208]
[init.svc.servicemanager]: [running]
[init.svc.vold]: [running]
[init.svc.netd]: [running]
[init.svc.debuggerd]: [running]
[init.svc.ril-daemon]: [running]
[init.svc.zygote]: [running]
[init.svc.media]: [running]
[init.svc.dbus]: [running]
[init.svc.installd]: [running]
[init.svc.keystore]: [running]
[init.svc.ipd]: [running]
[init.svc.akmd]: [running]
[init.svc.zchgd]: [stopped]
[init.svc.adbd]: [running]
[ril.reload.count]: [1]
[ro.ril.nv.compare.result]: [128]
[ril.preferred.language]: [3:en]
[ro.ril.ecclist]: [112,911,999]
[ril.ecclist]: [112,911,999]
[init.svc.bootanim]: [stopped]
[hw.keyboards.65537.devname]: [curcial-oj]
[hw.keyboards.65538.devname]: [dummy_keypad]
[hw.keyboards.0.devname]: [bravo-keypad]
[hw.keyboards.65540.devname]: [bravo-keypad]
[hw.keyboards.65543.devname]: [projector-Keypad]
[hw.keyboards.65545.devname]: [h2w headset]
[net.hostname]: [android_200141cf2cba2a8b]
[net.active_wan]: [-1]
[sys.settings_system_version]: [8]
[dev.bootcomplete]: [1]
[init.svc.bootcomplete]: [stopped]
[ro.runtime.started]: [316228081821]
[wlan.driver.status]: [ok]
[init.svc.wpa_supplicant]: [running]
[gsm.version.ril-impl]: [HTC-RIL 2.2.0028HM (Sep 20 2010,22:33:44)]
[gsm.sim.types]: []
[gsm.sim.operator.numeric]: [23410]
[gsm.sim.operator.alpha]: []
[gsm.sim.operator.iso-country]: [gb]
[gsm.sim.cbmi.channel]: []
[net.dnschange]: [297]
[gsm.sim.state]: [READY]
[gsm.current.phone-type]: [1]
[gsm.operator.numeric]: []
[gsm.operator.alpha]: []
[gsm.operator.iso-country]: []
[gsm.operator.isroaming]: [false]
[net.gprs.data.connected]: [0]
[sys.settings_secure_version]: [1]
[gsm.version.baseband]: [32.49.00.32U_5.11.05.27]
[gsm.sim.change]: [false]
[gsm.cb.max.channel]: [10]
[gsm.allapns.created]: [1]
[ro.runtime.firstboot]: [316228100916]
</code>```


问:
Where to locate a dir without W^X? (/data/local/tmp)
I have an Android 10 LGK22 No-Rooted without option to do it (so rooting is out of the question/solution). Which is not ridiculously forcing W^X (the option to stop a binary from being executed from a home directory). At least on Termux.

However I'm trying to execute a busybox binary from SimpleSSHD's home folder. But I keep getting errors: permission denied. Same happens with Simple-Busybox, can't execute busybox on its own home folder.

I know it's doable within the tmp folder, but the default location on my phone /data/local/tmp is not world readable/writable/executable 777.

Is there any subfolder within /data/local/tmp with x permissions or somewhere else to execute a binary from?


问:
Is the bootloader button sequence defined in the firmware?
For a custom device that doesn't have the traditional phone buttons and no screen, is there a way to determine the button sequence to enter bootloader? I've seen the article howtogeek.com/249439/how-to-enter-androids-bootloader-and-recovery-environments/ which lists different manufacturers however I'm curious if there is a definition in the firmware itself.

For a small detail there are references that Xiaomi was used as the base for this custom firmware however since it's not a Xiaomi phone I don't want to button mash combinations and brick the device.


问:
Secure and legitimate way to get remote access to another Android phone (without root)
Let's say that I have a legitimate reason and permission of someone to do something akin to screen-mirroring (a'la VNC, desktop sharing of PCs) through remote login of their Android phone, over the network on my PC or my Android phone, without requiring phone to be rooted, in a very secure manner s.t. others or malafide crooks cannot use same method for nefarious reasons. Is there some such solution available that someone could share pointers to with the above requirements ? It'd be also very desirable that I do not have to involve a third-party server (s.a. to avoid any potential man-in-the-middle security issues).

Please note that the use-case is legitimate because it is set up with the express knowledge and permission of the owner of the target Android handset and it is not for eavesdropping or other illegal purposes.

As for mechanism being secure, I'd hope that it'd be based on some strong security mechanisms s.a. preshared secrets, or preshared certificates for mutual authentication and ideally multi-factor.

When the device is being remote-controlled, on the target device there should be a very clear visual indication of such being underway.


问:
Android localhost to hotspot wlan0 UDP port not accesible
I have a drone remote that has android in it. It has an internal telemetry server that is publishing data on localhost:14445 via UDP. When I open the hotspot from this device and connect to it with my computer I'm getting the usual 192.168.43.xx type of IP address. I can ping internal IP addresses of the remote (other than 192.168.43.xx form, for example, devices attached to eth0 interface with IPs like 192.168.144.xx) so I have some sort of access to internal IP's from the hotspot.

But I cannot communicate with the internal UDP port I mentioned before. As Wireshark shows, something is blocking the UDP connection between hotspot and internal IPs.

I tried port forwarding and it didn't work but I don't know if I did it correctly.

I have busybox and root access, please help me. I can give further information upon request.


问:
Certificates and deadlines
Scope: mobile - Android

Subject: Let's Encrypt certificate, ISRG Root X1

Hi, as Internet veterans know well, this certificate has expired since September 30th.

Many "obsolete" devices have been affected, experiencing an unpleasant block when accessing sites that use Let's Encrypt for SSL certificates.

The certificate root in devices no longer supported are therefore no longer valid.  This limitation would have affected systems from Android 7 onwards.  I have experienced too the inconvenience, with the unpleasant surprise of suddenly being denied access to a domain of my interest.

Many users, within that domain, have complained.  One of them suggested manually installing a certificate 'pem' directly from Let's Encrypt (https://letsencrypt.org/certificates/).

This operation worked, but then, shortly after the numerous complaints, the site was again visible even to those who had not followed the manual installation procedure of the certificate.

For this reason I removed the certificate immediately after, and indeed the navigation continued to give no more problems.

I then read (https://letsencrypt.org/2020/12/21/extending-android-compatibility.html) that Let's Encrypt had found a buffer solution to stem the incompatibility of the old certificate root with the SSL read by browsers (made except for Firefox, which does not give problems, since it has its own certificate's independent of the root ones mentioned).  This fallback solution is expected to work until early 2024.

After these premises and illustration of the matter, I would have a couple of doubts:

How come I currently find myself among the user certificate's (not the pre-installed or automatically updated system ones) a certificate ISRG Root X1, issued by the issuer CA Internet Security Research Group (as many will know, at the base of Let's Encrypt), which even certifies a deadline of 6/4/35 (release date 6/4/15 - June 4th)?  that is, how is it possible that it has self-installed without my intervention?

Is it possible that something as trivial as an obsolete certificate cannot be adjusted by the user, precisely by installing the new certificate issued (as I had done at the suggestion of the aforementioned user, evidently better informed)?  If the answer is that it is possible, then, on the fateful date of 2024, there will be hopes of keeping their browsers "alive" for owners of devices mounting, e.g., an Android 7 or older? How is it possible, moreover, that Google is unable to update these certificate's, regardless of whether the device is no longer supported by the manufacturer?

Title: Certificates and deadlines


问:
Change icon shape and display [Android 11 Go edition]
Just bought a new Nokia C01 which runs Android 11 Go Edition. Settings > About phone > Android version has these details:

Android version = 11

Kernel version = 4.14.193+

Build number = 00WW_1_210

On the main run screen, the icon for a group of apps shows up to four icons from the apps internal to the group. The Chess group below is a good example...very messy!

The icon for a single app, like Iron Will, is perfect. On my previous phone, the group icon was taken from the 1st app in the group. This was a much cleaner design.

Is it possible to configure the group icon display on the home screen on my version of Android?

When I click-hold > Home settings on my version of Android, there are no options to modify the style or arrangement of icons on the home screen.

OwnerDisplayName: AlainD


问:
How can I downgrade/compile Python in Termux?
I started using termux 1-2 weeks ago and I'm in love with it. Funnily, the first days in, everything worked fine and then a Python update hit, and I can no longer use my Python plugins in Neovim. It requres v3.9 or earlier.

I tried searching online and asking in Termux discord about how to downgrade Python to v3.9 or how to fix this but got nothing so far.

I would appreciate it if someone could tell me a solution or point me in a better direction about fixing the issue on my own.

OwnerDisplayName: Not Amused


问:
Are snapshots of apps stored somewhere?
Had an instance recently where a 'snapshot' of an app appeared in the recently used section of my phone months after it was last opened. Wondering how this could happen if the app hasn't been physically opened? Is the image stored somewhere?</p>

Title: Are snapshots of apps stored somewhere?


问:
Using ICSx5 with a local file
The page at https://icsx5.bitfire.at/ says:  ICSx⁵ is an Android app to subscribe to remote (“Webcal”) or local iCalendar files  (my emphasis). But I don't understand how to add a file from the local storage of my Android phone to icsx5.

The app asks for a URL.  The path to my file is:

```<code>/Interner Speicher/Documents/calendar.ics
</code>```

So how do I translate this into a URL?  Guesses so far:

```<code>file://Interner Speicher/Documents/calendar.ics
</code>```

gives a complaint about an illegal character (the white space).

```<code>file://Interner%20Speicher/Documents/calendar.ics
file://Documents/calendar.ics
</code>```

each throw the error "URI has an authority component".

```<code>file:///Interner%20Speicher/Documents/calendar.ics
file:/Interner%20Speicher/Documents/calendar.ics
file:///Documents/calendar.ics
file:/Documents/calendar.ics
</code>```

each throw the error "file not found".

What else could I reasonably try?

(I first tried posting this question in the icsx5-support forum at https://forums.bitfire.at/category/5/icsdroid but that website seems to be broken in my browser -- I can't select a category for my question, and of course I can't submit the question without selecting a category.  If anyone else could post there, that would be greatly appreciated.)

Title: Using ICSx5 with a local file


问:
Replace EMUI systemui with stock
My phone broke just a bit too early. I am currently waiting for a Fairphone 4, but the delivery time is quite long, so I am stuck with an old Honor 9 Lite which we had lying around.

But EMUI is really annoying, especially the systemui.

Is there a way to replace the systemui with the AOSP version of that? I have root (Magisk), but since I won't be using this phone for too long, I wouldn't want to flash a custom rom.

Title: Replace EMUI systemui with stock


问:
Disable fullscreen keyboard in landscape mode?
Do we have any solution for this, without rooting the phone?

I've seen videos from 6 years back when people are hunting for this.

Now in 2021, in the time of foldables, it's pretty awkward having a fullscreen keyboard on a 1768 x 2208 pixel screen (ok, more frankly, on a 2208 x 1768)

Please let me know if you are aware of anything.

I'm specifically searching the disabling option for Samsung Keyboard, if that matters, or making it more easy by any chance.

Thanks.


问:
recommendation for charging plan
Using Termux on an Android smartphone and a WiFi Smart Plug the phone can control its charging via half hour cron'ed termux-battery-status, MQTT and openHAB to control the plug. Termux hasn't battery status events (Termux issue 382) hence cron.

When I get home, I plug in the phone and manually switch on the WiFi plug.

I wonder what is the best charging plan for battery life.

Currently the plan is simply

```<code>if between 10pm and 5am
   if charge < 20%
      power on plug
else
   if charge < 50%
      power on plug

if charge > 80%
   power off plug

at 05:00am
   power on plug
</code>```

(at 7:00am the charge should be at 80%)

Do you know a better plan? Are the 50% / 80% limits ok?

This way I also control an old tablet that is used as smart home display and speaker, but as it is alway at home I only let it cycle between 30% and 80%.

Title: recommendation for charging plan


问:
Redmi 9T stuck in fastboot mode after flashing recovery
I decided to root my phone, but after rebooting into Fastboot via adb, I was a little wary, because I noticed not Fastboot, but FastbootD, but even scored on it, because it was detected through fastboot devices. I wrote all the necessary commands for flashing the recovery partition, everything seemed to be successful, but after writing fastboot reboot, the phone got stuck in fastboot mode. Like, no matter how much you reboot or flash it - it literally doesn't care, it reboots back to fastboot mode. Also, after several such reboots, fastboot began to issue as many as two devices when trying to find them, and you have to execute it through the -s operand in order for the commands to be used. In addition, there was a delay in the region of two to three seconds before the command was executed.
What to do about it? Reflash via flash-all.bat in the firmware archive, or is it possible to restore it without it?


问:
Approaches to support exFat on AOSP Android 10+ where it isnt native
Just found out that my AOSP Android does not support exFat. Any thoughts about getting exFat support  added.  I read about this plugin that will work  only for USB-OTG not for memory card - lest I will be forced to go VFAT with the 4gb limitation.I have seen some discussion on stack regarding this but no solution.

--How do I compile exFat support in Kernel
--
 -- If my /proc/mounts list ext4  does it mean if I format this to ext4 it will auto mount it or 1st partition of SD card unless vfat will not auto mount

 Alternatively how can I adopt this  posix-vold project to my ROM .  I modified the install script & removed the checks ( for Oreo ,Arm64 etc )  and installed it via magisk and it get stuck at this point

```<code>Compressing Ramdisk to fit in partition.....insufficient partition size ...installation failed
</code>```

 /proc/filesystems looks like this :

```<code>     # cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   ramfs
nodev   bdev
nodev   proc
nodev   cpuset
nodev   cgroup
nodev   cgroup2
nodev   tmpfs
nodev   configfs
nodev   debugfs
nodev   tracefs
nodev   sockfs
nodev   dax
nodev   bpf
nodev   pipefs
nodev   devpts
    ext3
    ext2
    ext4
    vfat
    msdos
    iso9660
nodev   sdcardfs
    fuseblk
nodev   fuse
nodev   fusectl
nodev   overlay
nodev   pstore
nodev   selinuxfs
nodev   functionfs
</code>```

I am looking for something that will work. How about an X-posed mod any out there ?


问:
attempt to install twrp 3.0.0.0 on Samsung G930U (heroqlteue) fails
I downloaded TWRP from here and Odin from here and tried flashing the .img file which I compressed to .tar using 7zip.

Odin outputs that:

```<code><ID:0/005> Added!!
<ID:0/005> Odin engine v(ID:3.1401)..
<ID:0/005> File analysis..
<ID:0/005> Total Binary size: 17 M
<ID:0/005> SetupConnection..
<ID:0/005> Initialzation..
<ID:0/005> Get PIT for mapping..
<ID:0/005> Firmware update start..
<ID:0/005> NAND Write Start!!
<ID:0/005> SingleDownload.
<ID:0/005> recovery.img
<ID:0/005> RQT_CLOSE !!
<ID:0/005>
<ID:0/005> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)
</code>```

using Odin with the downloaded .md5 file gets me this:

```<code><ID:0/005> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/005> Odin engine v(ID:3.1401)..
<ID:0/005> File analysis..
<ID:0/005> Total Binary size: 17 M
<ID:0/005> SetupConnection..
<OSM> All threads completed. (succeed 0 / failed 1)
<ID:0/005> Removed!!
<ID:0/005> Added!!
<ID:0/005> Odin engine v(ID:3.1401)..
<ID:0/005> File analysis..
<ID:0/005> Total Binary size: 17 M
<ID:0/005> SetupConnection..
<ID:0/005> Initialzation..
<ID:0/005> Get PIT for mapping..
<ID:0/005> Firmware update start..
<ID:0/005> NAND Write Start!!
<ID:0/005> SingleDownload.
<ID:0/005> recovery.img
<ID:0/005> FAIL! (Auth)
<ID:0/005>
<ID:0/005> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

</code>```

And my phone beeing in download mode outputs a red colored line SECURE CHECK FAIL : recovery in both cases

Using exactly this tutorial step by step Odin outputs this:

```<code><ID:0/005> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> CF-Auto-Root-heroqlteue-heroqlteue-smg930u.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/005> Odin engine v(ID:3.1005)..
<ID:0/005> File analysis..
<ID:0/005> SetupConnection..
<ID:0/005> Initialzation..
<ID:0/005> Get PIT for mapping..
<ID:0/005> Firmware update start..
<ID:0/005> SingleDownload.
<ID:0/005> recovery.img
<ID:0/005> NAND Write Start!!
<ID:0/005> cache.img.ext4
<ID:0/005> FAIL! (Auth)
<ID:0/005>
<ID:0/005> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

</code>```

Can someone tell me how to install twrp onto this device or root it anyhow else?


问:
How can I sort android 10 app updates by time of release?
Android 10 app update notifications do not include the name of the app. Some apps are intentionally not updated. Is there a way to tell which app has a newly available update? Perhaps an OS feature or a 3rd-party utility is available.</p>


问:
Is it possible to update the security patch level of Android 7.1.2 to 2019-10-01?
I need help in understanding Android security patch level. I am running Android 7.1.2 in an IMX.7 board. That is the maximum version supported by my h/w.

From the NVD vulnerability database, running CPE name search against cpe:/:google:android:7.1.2 results in 1214 vulnerabilities, published from 2010 to 2021. The current security patch level of my android is 2017-05-05 which will fix most of vulnerabilities published earlier to 2017. The 2019-10-01 android security bulletin link says it fixes vulnerabilities for 7.1.1, 7.1.2. So is it possible to update my android security patch level to 2019-10-01, so that I can eliminate the vulnerabilities (not all but most) before Oct, 2019.

But I also found from this page, the max security patch level for android-7.1.2_r39(last Nougat release) is 2017-10-01. And I also found the code change for vulnerabilities listed in 2019-10-01 security bulletin are missing in android-7.1.2_r39. So this means 7.1.2 security patch level cannot be updated to 2019-10-01 or Fixes in 2019-10-01 are not implemented in android-7.1.2_r39? I lack understanding on android releases and security patch levels & would like the help from the community.


问:
customize swiftkey layout
The title sums it up: how can we customize swiftkey layouts?

To ensure I don't do Y-X problem, my intention is to put an apostrophe (single quote) and median point on the main layout (abc keys, no modifier).

I expect we can retrieve the layouts somewhere, modify the one we want to our wishes, and push it back/ or at least push it to our device(s)?

Title: customize swiftkey layout


问:
How to get work profile container working on a rooted device
I want to use work profile container with shelter on a rooted device

I have pached most of samsung knox by using smali patcher magisk module and to use shealth changing build.prop entry from ro.config.tima=1 to ro.config.tima=0

This is all the progress that I have made so how so I get work profile container to work

It's displaying

The security policy prevents the creation of a managed device because a custom OS is or has been installed on this device


问:
Internal memory block device like "/dev/block/mmcblk0" is missing
I would like to ask for an advice. I've got LG V40 mobile phone from a friend. Unfortunatelly, he has done factory reset even though he had important photos in the phone (internal memory). I would like to make block a copy via dd and try to rescue at least some photos. Someone already rooted the phone and installed TWRP there and I don't know what else. Now I can only access fastboot and TWRP on the phone. When I list "/dev/block" folder through adb, I can see this:

```
judypn:/ # ls -la /dev/block/
total 0
drwxr-xr-x  4 root   root       2660 2019-09-09 06:33 .
drwxr-xr-x 10 root   root       4620 2019-09-09 06:33 ..
lrwxrwxrwx  1 root   root         37 2019-09-09 06:33 bootdevice -> /dev/block/platform/soc/1d84000.ufshc
drwxr-xr-x  2 root   root       1940 2019-09-09 06:33 by-name
brw-------  1 root   root     7,   0 2019-09-09 06:33 loop0
brw-------  1 root   root     7,   8 2019-09-09 06:33 loop1
brw-------  1 root   root     7,  16 2019-09-09 06:33 loop2
brw-------  1 root   root     7,  24 2019-09-09 06:33 loop3
brw-------  1 root   root     7,  32 2019-09-09 06:33 loop4
brw-------  1 root   root     7,  40 2019-09-09 06:33 loop5
brw-------  1 root   root     7,  48 2019-09-09 06:33 loop6
brw-------  1 root   root     7,  56 2019-09-09 06:33 loop7
drwxr-xr-x  3 root   root         60 2019-09-09 06:33 platform
brw-------  1 root   root     1,   0 2019-09-09 06:33 ram0
brw-------  1 root   root     1,   1 2019-09-09 06:33 ram1
brw-------  1 root   root     1,  10 2019-09-09 06:33 ram10
brw-------  1 root   root     1,  11 2019-09-09 06:33 ram11
brw-------  1 root   root     1,  12 2019-09-09 06:33 ram12
brw-------  1 root   root     1,  13 2019-09-09 06:33 ram13
brw-------  1 root   root     1,  14 2019-09-09 06:33 ram14
brw-------  1 root   root     1,  15 2019-09-09 06:33 ram15
brw-------  1 root   root     1,   2 2019-09-09 06:33 ram2
brw-------  1 root   root     1,   3 2019-09-09 06:33 ram3
brw-------  1 root   root     1,   4 2019-09-09 06:33 ram4
brw-------  1 root   root     1,   5 2019-09-09 06:33 ram5
brw-------  1 root   root     1,   6 2019-09-09 06:33 ram6
brw-------  1 root   root     1,   7 2019-09-09 06:33 ram7
brw-------  1 root   root     1,   8 2019-09-09 06:33 ram8
brw-------  1 root   root     1,   9 2019-09-09 06:33 ram9
brw-------  1 root   root     8,   0 2019-09-09 06:33 sda
brw-------  1 root   root     8,   1 2019-09-09 06:33 sda1
brw-------  1 root   root     8,  10 2019-09-09 06:33 sda10
brw-------  1 root   root     8,  11 2019-09-09 06:33 sda11
brw-------  1 root   root     8,  12 2019-09-09 06:33 sda12
brw-------  1 root   root     8,  13 2019-09-09 06:33 sda13
brw-------  1 root   root     8,  14 2019-09-09 06:33 sda14
brw-------  1 root   root     8,  15 2019-09-09 06:33 sda15
brw-------  1 root   root   259,   0 2019-09-09 06:33 sda16
brw-------  1 root   root   259,   1 2019-09-09 06:33 sda17
brw-------  1 root   root   259,   2 2019-09-09 06:33 sda18
brw-------  1 root   root   259,   3 2019-09-09 06:33 sda19
brw-------  1 root   root     8,   2 2019-09-09 06:33 sda2
brw-------  1 root   root   259,   4 2019-09-09 06:33 sda20
brw-------  1 root   root   259,   5 2019-09-09 06:33 sda21
brw-------  1 root   root   259,   6 2019-09-09 06:33 sda22
brw-------  1 root   root   259,   7 2019-09-09 06:33 sda23
brw-------  1 root   root   259,   8 2019-09-09 06:33 sda24
brw-------  1 root   root   259,   9 2019-09-09 06:33 sda25
brw-------  1 root   root   259,  10 2019-09-09 06:33 sda26
brw-------  1 root   root   259,  11 2019-09-09 06:33 sda27
brw-------  1 root   root   259,  12 2019-09-09 06:33 sda28
brw-------  1 root   root   259,  13 2019-09-09 06:33 sda29
brw-------  1 root   root     8,   3 2019-09-09 06:33 sda3
brw-------  1 root   root     8,   4 2019-09-09 06:33 sda4
brw-------  1 root   root     8,   5 2019-09-09 06:33 sda5
brw-------  1 root   root     8,   6 2019-09-09 06:34 sda6
brw-------  1 root   root     8,   7 2019-09-09 06:34 sda7
brw-------  1 root   root     8,   8 2019-09-09 06:33 sda8
brw-------  1 root   root     8,   9 2019-09-09 06:33 sda9
brw-------  1 root   root     8,  16 2019-09-09 06:33 sdb
brw-------  1 root   root     8,  17 2019-09-09 06:33 sdb1
brw-------  1 root   root     8,  18 2019-09-09 06:33 sdb2
brw-------  1 root   root     8,  32 2019-09-09 06:33 sdc
brw-------  1 root   root     8,  33 2019-09-09 06:33 sdc1
brw-------  1 root   root     8,  34 2019-09-09 06:33 sdc2
brw-------  1 root   root     8,  48 2019-09-09 06:33 sdd
brw-------  1 root   root     8,  49 2019-09-09 06:33 sdd1
brw-------  1 root   root     8,  50 2019-09-09 06:33 sdd2
brw-------  1 root   root     8,  51 2019-09-09 06:33 sdd3
brw-------  1 root   root     8,  64 2019-09-09 06:33 sde
brw-------  1 root   root     8,  65 2019-09-09 06:33 sde1
brw-------  1 root   root     8,  74 2019-09-09 06:33 sde10
brw-------  1 root   root     8,  75 2019-09-09 06:33 sde11
brw-------  1 root   root     8,  76 2019-09-09 06:33 sde12
brw-------  1 root   root     8,  77 2019-09-09 06:33 sde13
brw-------  1 root   root     8,  78 2019-09-09 06:33 sde14
brw-------  1 root   root     8,  79 2019-09-09 06:33 sde15
brw-------  1 root   root   259,  14 2019-09-09 06:33 sde16
brw-------  1 root   root   259,  15 2019-09-09 06:33 sde17
brw-------  1 root   root   259,  16 2019-09-09 06:33 sde18
brw-------  1 root   root   259,  17 2019-09-09 06:33 sde19
brw-------  1 root   root     8,  66 2019-09-09 06:33 sde2
brw-------  1 root   root   259,  18 2019-09-09 06:33 sde20
brw-------  1 root   root   259,  19 2019-09-09 06:33 sde21
brw-------  1 root   root   259,  20 2019-09-09 06:33 sde22
brw-------  1 root   root   259,  21 2019-09-09 06:33 sde23
brw-------  1 root   root   259,  22 2019-09-09 06:33 sde24
brw-------  1 root   root   259,  23 2019-09-09 06:33 sde25
brw-------  1 root   root   259,  24 2019-09-09 06:33 sde26
brw-------  1 root   root   259,  25 2019-09-09 06:33 sde27
brw-------  1 root   root   259,  26 2019-09-09 06:33 sde28
brw-------  1 root   root   259,  27 2019-09-09 06:33 sde29
brw-------  1 root   root     8,  67 2019-09-09 06:33 sde3
brw-------  1 root   root   259,  28 2019-09-09 06:33 sde30
brw-------  1 root   root   259,  29 2019-09-09 06:33 sde31
brw-------  1 root   root   259,  30 2019-09-09 06:33 sde32
brw-------  1 root   root   259,  31 2019-09-09 06:33 sde33
brw-------  1 root   root   259,  32 2019-09-09 06:33 sde34
brw-------  1 root   root   259,  33 2019-09-09 06:33 sde35
brw-------  1 root   root   259,  34 2019-09-09 06:33 sde36
brw-------  1 root   root   259,  35 2019-09-09 06:33 sde37
brw-------  1 root   root   259,  36 2019-09-09 06:33 sde38
brw-------  1 root   root   259,  37 2019-09-09 06:33 sde39
brw-------  1 root   root     8,  68 2019-09-09 06:33 sde4
brw-------  1 root   root   259,  38 2019-09-09 06:33 sde40
brw-------  1 root   root   259,  39 2019-09-09 06:33 sde41
brw-------  1 root   root   259,  40 2019-09-09 06:33 sde42
brw-------  1 root   root   259,  41 2019-09-09 06:33 sde43
brw-------  1 root   root   259,  42 2019-09-09 06:33 sde44
brw-------  1 root   root   259,  43 2019-09-09 06:33 sde45
brw-------  1 root   root   259,  44 2019-09-09 06:33 sde46
brw-------  1 root   root   259,  45 2019-09-09 06:33 sde47
brw-------  1 root   root   259,  46 2019-09-09 06:33 sde48
brw-------  1 root   root   259,  47 2019-09-09 06:33 sde49
brw-------  1 root   root     8,  69 2019-09-09 06:33 sde5
brw-------  1 root   root   259,  48 2019-09-09 06:33 sde50
brw-------  1 root   root   259,  49 2019-09-09 06:33 sde51
brw-------  1 root   root   259,  50 2019-09-09 06:33 sde52
brw-------  1 root   root   259,  51 2019-09-09 06:33 sde53
brw-------  1 root   root     8,  70 2019-09-09 06:33 sde6
brw-------  1 root   root     8,  71 2019-09-09 06:33 sde7
brw-------  1 root   root     8,  72 2019-09-09 06:33 sde8
brw-------  1 root   root     8,  73 2019-09-09 06:33 sde9
brw-------  1 root   root     8,  80 2019-09-09 06:33 sdf
brw-------  1 root   root     8,  81 2019-09-09 06:33 sdf1
brw-------  1 root   root     8,  82 2019-09-09 06:33 sdf2
brw-------  1 root   root     8,  83 2019-09-09 06:33 sdf3
brw-------  1 root   root     8,  84 2019-09-09 06:33 sdf4
brw-------  1 root   root     8,  85 2019-09-09 06:33 sdf5
brw-------  1 root   root     8,  96 2019-09-09 06:33 sdg
brw-------  1 system system   8,  97 2019-09-09 06:33 sdg1
brw-------  1 root   root   254,   0 2019-09-09 06:33 zram0
brw-------  1 root   root   254,   1 2019-09-09 06:33 zram1
```

There is no device like "/dev/block/mmcblk0". This should represent whole device internal memory. Am I right? What could be a problem? Or how can I address and copy (block level) whole internal memory? My knowledge about Android is really limited so I appreciate every hint you can give me. Thank you!


问:
How can I do low-power step counting on the LG G5?

Background information (you can skip this)

The Sensor Detect app says that the LG G5 includes a "LGE Step Counter Sensor" made by "QTI" which uses about 0.18 mA of energy.

"QTI" could theoretically be QTI Sensing, but I suspect it's actually Qualcomm Technologies, Inc.

This Medium post discusses QTI sensors for Android devices.

Google writes that, on Android devices, the "step counter and step detector sensors are either hardware-based or software-based."

The LG G5 includes a Qualcomm Snapdragon 820 MSM8996 system-on-chip (SoC).  This chip, in turn, includes a Hexagon 680 DSP with a Low Power Island for sensor processing.  Qualcomm explains:  "The aptly named 'low-power island' is designed to improve the battery life of always-on use cases, including step or activity counters".

All modern Qualcomm SoCs sold nowadays include a Hexagon DSP built in.  Software developers can download the Qualcomm Hexagon DSP software development kit (SDK) at no charge.

Questions for you

A.) Do you suspect that all major step-counting apps, when installed on the LG G5, do low-power step counting?

B.) How can I get some hint as to whether a step-counting app is doing high-power or low-power step counting?  For example, can I unzip the .apk file and search through the contents to see what libraries it includes or what methods it calls?

Postscript

In case I need to root my phone in order to get an answer to question B:

My particular LG G5 variant (H831) is locked down by design.  It's only partially rootable; see this post and this other post.

I haven't tried the Snapdragon Profiler, but I know it doesn't require root.

Edit

This post from Google states that Google Fit uses your device's step counter sensor.


问:
Can my Huawei U8220-6 get an upgrade?

Possible Duplicate:

  When will my phone get the Android 2.2 update (FroYo)?

I have a Huawei U8220-6, bought in China. This is NOT T-Mobile pulse branded, so I wanted to know if there is anyway to put Froyo (or Eclair) in it. My current version is 1.6.

ContentLicense: CC BY-SA 2.5

Title: Can my Huawei U8220-6 get an upgrade?


问:
How to keep cell phone number private to non white-listed numbers
Is there an app or developer tool to keep phone number private when say calling Chinese take-out yet have the phone number displayed when say calling one's aunt? This would be automatic without entering any codes.</p>


问:
Prevent Facebook app from getting automatically updated on Samsung device
I have my auto-update turned off for all my apps on the Play Store. Still, I have noticed that my Facebook app shows updated 3 days ago. This happened today. I have noticed the same problem before 5th October 2021. This is happening only with my Facebook app and no other apps.

I have also checked my Galaxy Store to see if Facebook is being updated from that store. But there is no Facebook app in the Galaxy store (Samsung) whereas there are other apps like Facebook Lite, etc. there.

Can someone please tell me why is my Facebook app getting updated automatically and what should I do to resolve this issue?


问:
In TWRP recovery how to fix unable to mount data internal/external/otg USB storage 0mb in twrp permanently
I have a mobile lyf water 8 ls 5015 with Android 6.1 marshmellow vendor updated  I want to take NAND backup before rooting through loading twrp recovery in fast boot mode (fastboot recovery twrp.img) .

I tried  with 3 twrp recovery Images  listed below one twrp 2.8.4 recovery image original   from  twrp website and other two from XDA. Links given below but all giving same error of  mount  "0mb" storage in backup menu as not  able to select any the  destination drive for saving NANDROID backup  system.img boot.Img data.img  to store.

https://i.stack.imgur.com/5z5a5.jpg

Twrp recovery 2.8.4 image  original twrp website  image

https://twrp.me/lyf/lyfmobee01a.html

Twrp recovery image for lyf water 8 Android 5.1 lolipop from XDA

https://forum.xda-developers.com/t/twrp-recovery-ls-5015-for-lyf-water-8.3626841/

Twrp 3.1 recovery image modified for lyf water 8 Android 6.1 marshmallow from XDA

after searching googling found that it's been encrypted and have to decrypt .The solution are as below with links

Twrp mount Zero mb error screen lock pin solutions in appuals link
https://appuals.com/how-to-fix-twrp-unable-to-mount-storage-internal-storage-0mb/

Above link says

The first thing to try is if somehow your internal storage became encrypted when using a legacy screen lock method. Go to your Android
device’s Settings > Security > Screen Lock, and change your screen
lock method to either Pass or Pin. Create a new one. Reboot into TWRP,
and it should ask for a password – enter the pass or pin you just
created. TWRP will attempt to decrypt your device’s internal storage,
and if it succeeds, you should not have further issues. However, if
this does not solve your issue of “unable to mount data, internal
storage 0mb”, continue with the rest of this guide. Reboot your device
into TWRP again. Navigate to Wipe > Advance Wipe > Data, and choose
Repair or Change File System. Press Repair File System to see if this
fixes the issue. If not, continue. Press Change File System, choose
Ext2, and swipe to confirm. Now switch back to Ext4 and swipe to
confirm. Go back to TWRP main menu, then the Mount menu, and check if
your partitions can be mounted now. If you are still unable to mount
your partitions, you need to repair Internal partition, which will
most likely wipe your internal storage.
The password  pin I put in screen lock  is never asked if I  boot the two recovery image k. Fast boot mode (fastboot recovery rwrp.img
2. Twrp recovery mount 0mb fix solution to wipe repair the file syste ext2 the. Extra in XDA

https://forum.xda-developers.com/t/how-to-fix-unable-to-mount-data-internal-storage-0mb-in-twrp-permanently.3830897/

: This will wipe/format your Data partion and your data will be reset.

INSTRUCTIONS :

Reboot your device into TWRP Recovery.

Go to Wipe menu.

Go to Advance Wipe.

Select Data and go to Repair or Change File System.

Click Repair File System. (If not fix, go to step number 6)

Go to Change File System.

Select Ext2 and swipe to confirm.

Now change back to Ext4 and swipe to confirm.

Now go back and check if your partions can be mount or not from
Mount menu.

If not fix, repair your Internal partition. (This may wipe your
Internal storage).

OR Unlock your bootloader again.

As per wipe option  I tried to repair the file system of /data or. External HDD card it gave following errors . As k. Screenshot below

https://i.stack.imgur.com/cVrcc.jpg

Any solution  for solving the two Mounting problem decrypting or converting file system any solution any expert can help


问:
How to configure AWS VPN with Federated authentication on Android?
I have an AWS Client VPN that I use successfully in my laptop. Nonetheless I've not been able to configure it on my Android phone.

The issue is, I think, that this VPN uses federated authentication (with Microsoft's Active Directory), and the OpenVPN Android client doesn't know how to use it.

From my laptop, using the AWS VPN Client it opens a web browser that authenticates against Microsoft each time that I connect to the VPN, but on Android this browser window is not being opened.

Does anybody know how to set this up?

This is what my AWS VPN client file looks like:

```<code>client
dev tun
proto udp
remote hello.cvpn-endpoint-REDACTED.clientvpn.us-west-2.amazonaws.com 443
remote-random-hostname
resolv-retry infinite
nobind
remote-cert-tls server
cipher AES-256-GCM
verb 3
<ca>
-----BEGIN CERTIFICATE-----
REDACTED
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
REDACTED
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
REDACTED
-----END CERTIFICATE-----
</ca>

auth-user-pass
auth-federate
auth-retry interact
auth-nocache
reneg-sec 0
</code>```

Notice that:

My endpoint says hello as I found out the OpenVPN app doesn't honour remote-random-hostname to prepend the random string to the url (used to bypass DNS caching), so I had to add a random string manually.

The config file says auth-user-pass but I don't have a username and password for the VPN, besides the one from Active Directory, which I've already tried with no luck.

OwnerDisplayName: MondKin


问:
How to extract data from non-rooted phone via ADB?
So, I was thinking that ADB is a superior method of backing up any device then using an App, out of privacy concerns if not for the flexibility. However, when I try to extract a system database I get an error:

```<code>adb -s X50L0000000012374 pull /data/data/com.android.providers.telephony/databases/mmssms.db D:\BACKUP\contacts2.db
adb: error: failed to stat remote object '/data/data/com.android.providers.telephony/databases/mmssms.db': Permission denied
</code>```

I need to extract stuff like:

Contacts

SMS/MMS

Call logs

Alarms

Calendars

Browser Bookmarks

Surely, I must be doing something wrong?
I red that ADB is crucial in android forensics, but I can't imagine the police not succeeding to gather evidence because, get that, suspect's phone is not rooted...


问:
Messages on Bluestacks 5
I would like to text from my PC, so have installed Bluestacks and google Messages.  Although messages runs, when I try to send a text it says "Not sent, tap to try again"

I have set my phone number in advanced settings.  But still won't send.

Is it possible to use messages within bluestacks?  I can see potential abuse, so wondering if messages requires it run on a real phone

Title: Messages on Bluestacks 5


问:
Malware propgating through usb debugging
Summary:

Computer probably had malware. Didn't know. Connected phone to use as midi. Could have turned on usb debugging or usb tethering to see if that helped without knowing what it does as I was an idiot at the time. 4 months or so has passed. No evidence of malware. Should I bother with formatting it?

Questions:

Should I bother with formatting it?

Is it even possible for malware to exist without any indicators?

Extra info:

Did antivirus scans with Avast, Malwarebytes, Kaspersky and Google Play Protect. None of them found anything.


问:
Recovering forgotten lock
I have forgotten a 3x3 pattern lock on my phone, luckily I do have TWRP.
Is there an easy way to brute-force it, then? I'm willing to wait a while if that's what it takes.
The reason I ask is because Android internally represents the lock as a PIN anyway, but the orientation isn't known hence the brute guess.
Any ideas? I'm not too familiar with fancy scripting/linux stuff honestly.

Title: Recovering forgotten lock


问:
Camera taking too long to open in Redmi Note 9
I have Redmi Note 9 which is about 1 year old but everything is up to date.

Now the problem is that whenever I open the camera a black screen appears and it takes 15 seconds to open it and as I tap the shutter button the screen freezes with the photo and after another 15 seconds it updates.

I have tried everything on the internet including:

Restarting the camera

Restarting the phone.

Clearing the camera data.

Restoring camera settings to default.

I suspect that it is the problem in the memory as I see that only 700-800mb memory is available every time out of 4gb. But every other app just runs fine.

So how can I fix that.

Any help would be appreciated.

OwnerDisplayName: Michael Stevens


问:
Can I put a 512GB sd card in my Xiaomi Redmi Note 8?
I bought a 512GB sd card but right after I investigated the characteristics of the Redmi Note 8, and everywhere it says that it supports up to 256GB memory, I got frustrated but still I inserted the memory to see what happened.

I was curious, but it did not happen nothing out of the ordinary, he accepted it, so it seems suspicious to me. If I leave it inside, do you think it will have an impact on my cell phone?