问:
How to prevent the use of a phone as a second-factor security confirmation
Mobile phones are frequently used to read email and access secure online accounts.  So the average phone contains both the account signon usernames and the associated passwords.  Email has been used for resetting a password, and is also accessible using the phone.  Recently many host sites have started using text messages a second factor security mechanism.

The popular use of mobile phones as a second-factor security mechanism has inadvertently caused a huge security problem.  The odds are much higher that your phone will be lost or stolen than you becoming a victim of an online attack or suffering the compromise of your online account password.  Since a typical phone grants access to everything, including the ability to reset passwords and get past 2-factor security based on your device, the phone has become a valuable target for theft much more than ever before.

So now if your phone is lost or stolen, the attacker will be able to access everything the phone has been enabled to access.  And you will not be able to access ANYTHING without your phone.  You may not even be able to reset your password or lock your accounts.

Is there any way to stop the use of a text message as a second-factor account confirmation?  I would prefer the use of personal questions to confirm my identity.  The only alternative I know of is to not use your phone at all for email or accessing high-value online accounts.  And I highly recommend you enable tracking to allow you to find a lost or stolen phone quickly.


问:
How to change .kl file without root
I am using Xiaomi phone(redmi note 7, miui 12, mobile says it has full OTG support) and I would like to use games with my Xbox 360 wired controller. When I plugged it in, the light just flashed, and the phone didn't react to any buttons. (I tried to use otg troubleshooter, it says it's plugged in, it just don't work). I saw some answer to this question: use 1Controller (series of .kl files). I got it, and I have no idea how to use it, or write it in system/keylayouts without root. So, have anyone answer to:

How to safely and rather temporarily root my phone?

How to write to system without root?

How to use .kl files without writing it to system?

How to solve this controller issue?

ContentLicense: CC BY-SA 4.0

Title: How to change .kl file without root


问:
Android ADB Port forward returns CONNECT aborted with curl
I'm trying to use my phone's data connection as a proxy on any port on my PC. I've enabled the port forward with: adb forward tcp:5001 tcp:8080 and I get 5001 as a response from the adb shell. Different ports i've tried:

Now i'm just trying to send a curl request to ipify.org's api with curl https://api.ipify.org?format=json --proxy 127.0.0.1:8128 but the response I get is curl: (56) Proxy CONNECT aborted, for reference, i've tried this with an external proxy and it works fine: curl https://api.ipify.org?format=json --proxy 159.197.253.210:7689 returns {"ip":"159.197.253.210"} which is exactly what should happen. Pic for reference:

Am I doing something wrong? How do I use my android as a proxy?


问:
How to change download manager
Everytime i try to download anything it uses the built in android download manager.There is no download manager option at default apps . Is there anyway to force the use of my download manager?
My device is Realme 7 and it runs android 10
My download manager is advanced download manager</p>

Title: How to change download manager


问:
Internal Storage has no space even with SD card?
So I have an LGK4 android phone with 8GB of storage, and lately I've been having really weird storage problems; When I try to install or update an app I can't because the storage is full; thing is, I've already cleared my cache, deleted unnecessary apps, and all my photos/videos etc are on the SD card. The apps I do have installed all come to 3.16GB, which theoretically should be the only things on the internal storage, but it still says I just have 611MB available? What happened to those 4GB? To top it all off, I can't access any files on the internal storage, it literally doesn't have any icon or button to access it, so I can't see what's causing this. Any ideas? Should I do a factory reset?


问:
How to process live sound output
I'm new to android and new to anything related to soundprocessing.

The thing is, I have a simple deep learning model to eliminate noise (barking dogs, cars, ...). I want to apply (use) it to the sound output on android phone (ex: when I call messenger, the sound comes from my friend have barking, I will turn on my app to get rid of dog barking, I will turn on my app to eliminates dog barking) but I don't know how to do it. I have found an architecture on Windows that shows where my model is located:

On picture display shows both incoming and outgoing sound for a conversation, It adopts the driver and IOCTL protocol to interfere with the transfer of sound from user mode to the kernel and vice versa, is it the same in android? . Can someone tell me how it looks in android or any information, I've seen something here but for a novice like me it's too little information. Thank everybody!

Title: How to process live sound output


问:
How can I activate the new Chrome tab management tools tab groups & grid layout?
I make heavy use of my tablet for research & typically have 200 to 500 tabs open. So I have been looking forward to the alternate grid layout and to Chrome Tab Groups for Android, which would make my life a lot easier.

However these features, which I understood to be activated by default as of Chrome 88, do not seem to be available from my instance of Chrome (version 89). I have the file folder-style row of tabs across the top. I have neither a switch to grid mode button nor the hollow square with the number of open tabs inside. I have enabled the flags for tab grid layout, tab groups, tab group continuation, and tab group UI improvements, and restarted Chrome several times, all with no change I can see.

I couldn't find anything on the Google help site that offered any glimmer of hope -- nor of discouragement.  I can not even think of anything else to try. Help!

I am running Chrome under Android 10 on a Galaxy Tab A.

Oh, one more thing. I doubt this is relevant,  but when I first got this tablet from Amazon, it took some work to convince it that its home was not in Mexico. Maybe there are still some Mexico-base settings causing a problem? Just a long shot.


问:
WinSCP like sync on Android
An android client needs to sync files from the server and then execute app.

If it is a windows client, I can use autohotkey and winscp to do this.

appA.ahk

```<code>SplitPath, A_ScriptFullPath, name, dir, ext, name_no_ext, drive
FileDelete, %dir%/%name_no_ext%.log
runwait,D:\Tools\WinSCPPortable\WinSCP.exe /script="%dir%/%name_no_ext%.txt" /log="%dir%/%name_no_ext%.log"
sleep 3000
run,C:\Program Files (x86)\APP\APP.exe
</code>```

appA.txt

```<code>option batch abort
option confirm off
option transfer binary
open ftp://User:123456789@192.168.1.11

synchronize local -filemask=|*.db "C:\Program Files (x86)\APP\data" APP/data
close
exit
</code>```

How can I do similar task in android?

OwnerDisplayName: AllenBooTung

Title: WinSCP like sync on Android


问:
Where are epub files stored?
I have this old epub file on my phone that I'm trying to download but I have no idea where it's stored. The app I used was Lithium. I can read it fine on lithium but it won't show up anywhere else. Lithium doesn't give me an option to show file location either.

I tried installing other epub readers but none of them can locate the specific epub I want to get. Does anyone know where epub files are stored on android?

Title: Where are epub files stored?


问:
How to implement AOD functionality in Rom that lacks it (LOS)?
I'm using latest unofficial LOS 18.1 (by zeelog) on my Redmi Note 4/ mido. It works super-well and smooth and has everything I need - except for AOD (Always On Display).
Before I go into more detail, a couple of disclaimers:

I know there's other Roms out there that have it natively, such as crDroid (but I prefer LOS)

I know that AOD drains a considerable amount of battery (but I don't mind)

I know there's AOD apps (but I prefer native / in-built solutions)

I know it probably could be done using Xposed / Substratum, (but I don't want to use that)

That being said - is there any way one could modify the Rom so that AOD becomes possible? If the option is there, obviously it can easily be turned on and off using Shell commands

```<code>settings put secure doze_always_on 1
</code>```

and

```<code>settings put secure doze_always_on 0
</code>```

, respectively (I would use the app Tasker for that).

From what I found out, presence/absence of AOD might be related to the Gapps package one is using. I also found out that (maybe only in older versions of Android?) there is a file called AmbientDisplayConfiguration.java in frameworks/base/core/java/android/hardware/display folder which has one or several boolean(s) for AOD that just need(s) to be changed from 0 to 1(?) However, I don't find that file/folder on my phone (although I'm rooted, of course). Maybe this is just present when compiling the Rom?

There are also flashable zips out there that claim to be able to activate AOD, but this did not work for me.

What exactly has to be done to enable it (given my phone/Rom constellation as mentioned)? Like which files have to be added or modified and/or which permissions have to be changed? Is it even possible to implement this feature after the Rom has been baked, or can this only be done in the building/ compilation process?

Thank you so much in advance for any hints!  Regards, Gary

P.S. please feel free to ask for any details I might have missed!

EDIT I finally dared to compile LOS 16 for my Xperia Tablet Z (pollux). I changed the values of two AOD-related bools in .../master/core/res/res/values/config.xml from false to true, flashed the finished zip through recovery after compiling successfully. AOD now works as intended . Will try that for my mido later as well. So to answer my own question - AOD seems to be something hardcoded into the ROM. After compiling the ROM, the user doesn't see that config.xml (not even if you're rooted, and it's not in framework-res.apk, I checked that). So either this has to be set before compiling the ROM or, possibly, one could use an overlay apk that achieves the same result. In my opinion the first option is best - obviously this requires you to build LOS from source yourself, which I would encourage anyone to do - it's a rewarding experience to be able to tweak the OS to your own likes instead of having to rely on devs' decisions. Once you get the hang of it of course you can modify many other things apart from just Ambient Display settings.


问:
Why don't smartphone vendors ship without unnecessary gapps
I was wondering why smartphone vendors like OnePlus, Samsung etc ship with lot of unnecessary gapps

The user should have the independence or liberty to pick them on their own instead of getting forced and bloating the device with unwanted stuff

Like I understand PlayStore is important but for others we have alternatives. For example.

Google Maps alternative MapMyIndia, Apple Maps

Google Drive alternative Dropbox, Proton Drive etc

YouTube: Not everyone wants it

Play Games: Who needs it. When you can login with Facebook, Twitter or something else?

Actually even Playstore have alternatives like Aptoide and not everyone needs it


问:
TWRP crashes when trying to wipe/install anything on Lenovo Vibe K5 Plus(a6020a46) and reboots to system
I rooted my Lenovo Vibe K5 Plus, installed Magisk,Arrow OS ver 10, opengapps pico and it was all going very well until I applied the recent update of Arrow OS with 5 Mar 2021 patch.

I downloaded the zip, booted to TWRP, selected Install and pointed to the ZIP file. Then I booted to system without clearing Dalvik/Cache. Then the problems started.

I would download files from the internet and brave would say download failed while the file would be present. However checksums wouldn't match when I checked in my pc.
The default Files app wouldn't be able to delete files.
However the rest of the system was fully functional, network stuff, bluetooth browsing everything worked.

Another strange issue was that no matter what system sounds wouldn't just work. Alarms, timers included. However going to youtube.com on brave would play audio just fine. My music app also worked perfectly. All notification sounds were set at maximum.

I first noticed this issue when trying to use Vanced Youtube which would crash whenever I tried to play a video.

Then today, I booted to TWRP, wiped all data and formatted storage. I then flashed ArrowOS latest version again, wiped Dalvik and booted to system, it started up normally and worked fine. So I decided to install Magisk(obviously) and booted into TWRP. When I tried it to install it though, TWRP crashed(I think) and booted to system. I tried it a few times and it happened every time. No errors were shown.

Thinking it was an issue with ArrowOS, I booted into recovery and selected wipe but TWRP again crashed and booted to system. So I decided to repair the filesystems.
I booted into TWRP, selected Wipe then Advanced Wipe. I selected System and then Repair filesystem.
I got an error.

```<code>/sbin/e2fsck -fp /dev/block/mmcblk0p23 process ended with error: 1
Unable to repair System
</code>```

But when I tried with the Data partition, it worked fine. I then rebooted to recovery and tried to repair the system partition again and this time I got no error(strange since I did literally nothing different)

So anyways, I decided that ArrowOS was the culprit and I should switch to a different ROM, so I downloaded AOSP Extended, formatted everything on my phone from TWRP.

Then I installed Magisk (on a previous phone this had helped a lot, ie: installing Magisk before installing LineageOS, the custom ROM). It completed properly. I then rebooted to recovery, transferred the ZIP of AEX(hash verified btw) and installed it. It completed without any errors. I wiped Dalvik and booted to system.

The Magisk Manager is not present in the app menu.

I need Gapps so I transferred the OpenGapps zip to my phone from my PC(pico for android 10 ) and tried to install it from TWRP. TWRP crashed and booted into system.

OpenGapps are not present, magisk manager is not present and TWRP won't install anything, it will just crash and reboot to system.

I want to know if there are any software fixes I could try to apply before assuming that it is indeed a corrupted storage, the phone is about 5 years old at this point. I think that's what it may be but I want to be sure and would appreciate your views and suggestions.

What I have found scourging online -

This thread which I couldn't make any sense of.

This thread. I tried the fix, it gave no error but it isn't working for me either.

This thread but my device is not covered.

Any and all help is appreciated since this in my only working phone.


问:
How can I recover my deleted messages?
I'm a symphony i110 user.unfortunatly I deleted some sms which was important.now how can I get those back?</p>

Title: How can I recover my deleted messages?


问:
What kind of data do Google and Samsung collect from the OS itself?
Not including apps and websites. I've switched to open source phone, SMS, calendar, etc. and I use the DuckDuckGo browser to try to block some of the web trackers. What kind of data can Google and Samsung still see through stuff like Google Play Services and other OS level stuff? I assume they're still scanning WiFi and Bluetooth signals to try and approximate your location. What data do they collect and can it be stopped without flashing a custom ROM?</p>


问:
How to remove the persistent 'Mobile data turned off' message on Android 7.0?
When I turn cell data off on a Samsung Android 7.0 non-rooted phone, the Phone app always displays a notification that data is turned off.  This results in 2 issues:

The notification area gets cluttered with too many notifications.

The Phone app icon notification badge in the launcher always shows at least 1 notification.  This is an issue because it is supposed to indicate how many phone calls have been missed.  Sometimes the device has cell data turned off, and sometimes it has it turned on; thus, there is no consistency with the meaning of that important icon's notification badge.

The notification is persistent, and cannot simply be swiped away.

Is there a way to resolve these issues that are caused by the persistent unwanted 'Mobile data turned off' notification?

Related question for an older version of Android (Android Marshmallow) with a different device manufacturer: Block "Mobile Data Turned Off" Notification


问:
I recovered some encrypted pictures, but I can't decrypt them
My girlfriend lost all the pictures from our holidays. She has a Samsung Galaxy A70. She had an external encrypted SD card on it. I managed to recover the lost pictures, but they are encrypted. Do you have any idea what I can do?

I've tried putting back the pictures, and then decrypting the SD but it doesn't work.


问:
How can I direct all network traffic on my devices to 127.0.0.1 with a specified local port on an ssh that I setup on a separate android using termux?
So far, I have only been able to do the following steps:

Install openssh on termux.

```<code>pkg install openssh
</code>```

Then I turned on hotspot on my phone.

Then I found the phone's IP address using ifconfig which was 192.168.126.176 and user name by whoami which was u0_a195 on termux.

I setup the password on termux by typing passwd.

Then I ran sshd -dD on termux.

Then I connected my Windows 10 PC WiFi to the hotspot and opened CMD.

```<code>ssh -D 8123 -fqgN u0_a195@192.168.126.176 -p 8022
</code>```

I typed up the password that I already setup to ssh in.

From here nothing else happens on the CMD

In termux, it said accepted password for u0_a195 from 192.168.126.69 port 60353 ssh2

Then I go to settings on windows10 global proxy settings and select manual proxy.
I set it up as 127.0.0.1:8123

I then tried to connect to the internet on the PC but it didn't work.

What am I doing wrong?


问:
Something is copied to my clipboard that I didn't save there?
I'm running Android version 10 on a Galaxy A51. I'm fairly sure that nobody had physical access to it because it was in my pocket.

The link itself is the phrase "look at this cutie" and a twitter link. Any help would be appreciated.


问:
Kingo Root fails and gives error code 0x11f116 (Xiaomi Redmi Note 9)
I unlocked bootloader on my Xiaomi Redmi Note 9 and tried to Root it with Kingo Root mobile and desktop. Both keep failing and mobile gives error code 0x11f116. Now mobile version crashes when lauching. I couldn't find any information about that code, so can anyone help?</p>


问:
Timer stops without a sound (not every time)
I want understand such a situation. Timer in the standard watch application used to behave unstable. The situation was such that when I started the timer for the first time (after last turning on the phone), the timer sound wasnt not working at the end of time (only silent notification on the top). Another situation was that the sound was sounding for one second and then suddenly stopped. It was exactly the next time after the silent case. And after that the sound could work properly.
It seems to me that clearing the cache and application data helped to solve the problem. But why did this happen? I can well expect this to happen again in the future. The only option I changed was turning off the vibration in timer settings.
My phone is LG Spirit 4G LTE (LG-H440n), Android 6.0, timer sound: "Timer"

Phone wasn't in the silent mode,
All volume sliders were up,
No task killer

...It happened again. In the same way


问:
Memory card is not visible
I was zipping a file on the memory card, but the process of zipping hangs, then the whole Android phone hangs, and I had to remove the battery. Now the memory card is not visible, I tried it on any other phone and there is the same problem.</p>

Title: Memory card is not visible


问:
Android X86 Stuck on detecting android x86 on VMWARE with AMD CPU
If there's a link to a fix in another thread please tell me, but for now here's my problem

I want to use Instagram on an android emulator to upload reels since my phone is dead and I'm under lockdown, Neither any of the Advertised emulators work, I tried Nox,Memu,Bluestacks and LDPlayer and all of them when I install instagram the app stop working.

So back to the point;
I installed VMWare and download an android X86 VMDK and iso image, both doesn't boot, The iso one restarts on detecting android x86 and vmdk one gets stuck on detecting android x86, I tried Virtual box, same result.

How do I fix it?

Specs: Amd Athlon II x45,4GB Ram,Nvidia GT 220


问:
Nextbit robin not responding to my touch, instead tapping random places
I have a nextbit robin, but whenever I turn it on, things get selected. It's random where things are being selected for the most part, but it has been opening and selecting stuff in the bottom right corner quite a bit. I thought I saw something about "System UI not responding", but I'm not too sure. The top and bottom part are orange, otherwise nothing changed visually. Restarting the phone hasn't helped, and even in sleep mode it keeps doing stuff like turning on and off the flashlight. I did take it apart a few months ago to replace the battery, and the volume couldn't be redone. Not sure if that has anything to do with it, though</p>


问:
Recover data from Samsung Galaxy A40 after factory reset
I’m trying to recover data (especially the contacts and photos) from a Samsung Galaxy A40 that was recently factory reset. Syncing data to the Google account was disabled, so that route wasn’t successful.

I tried to get an image of the internal flash. However, with adb shell, I can’t access /dev/block/mmcblk0 because of missing permissions.

I didn’t find anything particular helpful in the stock recovery. Running a custom recovery seems to require unlocking the bootloader. However that potentially opens security holes. Will that further wipe the data?

Do you have any other ideas how to recover the contacts and photos from the device?


问:
Make Chrome tell the user that it is downloading
When I click a link to download a file (example), the file gets downloaded without any toast, popup or any indication (except in notification panel) . If I refresh the page again, it asks me if I want to download again as in screen shot below

Chrome :89.0.4389.90 (latest on Play Store, but same behavior noticed on earlier versions too)

Device : Pixel 4a, Android 11, November update (also saw the same behavior on One Plus 7, Android 10)

How can I make Chrome tell me that it's downloading the first time? (including rooted means as a last resort).

I can check the notification panel or downloads but that is an unnecessary step. Similarly, I don't want to create an automated pop up.

I checked settings and flags (Chrome://flags) but couldn't find any way to change this  behavior


问:
Recovering bricked Pixel 2 with drained battery
Bit of a weird setup but I have a Pixel 2 phone with offline charging disabled.

Today I wanted to restore the factory image so I booted the phone into TWRP, wiped all the partitions. I then got distracted and the battery drained.

Because I have disabled offline charging the battery won't charge now that the phone is off and the phone won't boot because it doesn't have enough power to switch on.

I have tried starting the phone into recovery but it seems like there is not enough juice even for this. The red LED on top flashes a couple of times but the screen stays black.

Any ideas how I can recover?

One idea I had was to open the phone and put a charged battery from another pixel in it but this involves taking apart two phones which is a bit drastic.


问:
How to stop installed apps accessing the unique hardware identifiers for the device?
I understand that Unique hardware IDs such SSAID, IMEI, serial number, and Advertising ID are accessible by installed applications on Android phones and that enterprises and certain governments make use of these IDs (via the installed apps) for purposes of location tracking, profile building, data collection, targeted advertising, and sometimes surveillance/spying. Aside from obvious privacy and freedom issues with the above, I understand that the data generated from this is also potentially inaccurate where a phone changes owner or in the case of any phone which is running more than one profile/account, eg. in a family where more than one person uses the same phone. https://www.kaspersky.com/blog/android-device-identifiers/31755/

How can applications installed on android devices be prevented accessing all these unique hardware IDs (SSAID, IMEI, serial number, Advertising ID, etc.)?  I see nothing specific regarding them in the full list of modifiable permissions for apps, which I am currently looking at using using 3C Toolbox.

Note:
i) I don't care if this means my phone is harder to trace/block if it gets stolen.
ii) IMEI modification/spoofing is not the topic of this question.


问:
Stuck on Mi Flash for an hour now
Hi, I'm stuck on the following line in Miflash for over an hour now:

[20:58:19 3825d80]:MiFlash 2018.5.28.0

[20:58:19 3825d80]:Thread id:12 Thread name:3825d80

[20:58:19 3825d80]:image path:D:\Downloads\root20032021\cepheus_eea_global_images_V12.0.4.0.QFAEUXM_20210115.0000.00_10.0_eea

[20:58:19 3825d80]:env android path:"D:\Downloads\root20032021\MiFlash20180528\Source\ThirdParty\Google\Android"

[20:58:19 3825d80]:script :D:\Downloads\root20032021\cepheus_eea_global_images_V12.0.4.0.QFAEUXM_20210115.0000.00_10.0_eea\flash_all.bat

[20:58:19 3825d80]:Physical Memory Usage:3317760 Byte

[20:58:19 3825d80]:start process id 4372 name cmd

[20:58:20 3825d80]:info:$set CURRENT_ANTI_VER=1

[20:58:20 3825d80]:info:$for /F "tokens=2 delims=: " %i in ('fastboot -s 3825d80 getvar anti 2>&1 | findstr /r /c:"anti:"') do (set version=%i )

Is it safe to unplug the device and try again?

Title: Stuck on Mi Flash for an hour now


问:
How to separate settings for each user with Android's multi-user?
I had to use one android device for a while with multiple people, so I adopted the multi-user function. This seems to work at first because it separates video and audio files for each user.

However, changes to some settings (private DNS settings) also affect other users' settings. For this reason, it takes time and effort to correct these settings by yourself each time the user is switched.

How can I avoid such configuration interference? I'm using Xperia 10 II.


问:
How to fix bootloop (C5 PRO SM-C5010)but saving USERDATA
my device C5 pro (SM-C5010), Android 8, Fully STOCK ,knox not tripped, firmware: dont know exactly as i am on bootloop but it is Hong Kong.

PROBLEM: I remove cache memory from recovery but then it didn't start , it is in continuous restart bootloop. In recovery it is also giving error "dm-verity verification failed".

now i want my imp data safe/backup(including secure folder)as it contains my 7 years of data.. Please someone help what should i do to save userdata as well as keep knox un-touched..

I tried many softwares like dr fone fonLab etc etc , drained its battery completely then charged, alot of Google searches, but bootloop is not fixing neither I get any solution.


问:
How can I dump the fscrypt per-file nonce by getfattr command?
According to document of kernel about fscrypt: Filesystem-level encryption (fscrypt):

Per-file encryption keys

Since each master key can protect many files, it is necessary to “tweak” the encryption of each file so that the same plaintext in two files doesn’t map to the same ciphertext, or vice versa. In most cases, fscrypt does this by deriving per-file keys. When a new encrypted inode (regular file, directory, or symlink) is created, fscrypt randomly generates a 16-byte nonce and stores it in the inode’s encryption xattr. Then, it uses a KDF (as described in Key derivation function) to derive the file’s key from the master key and nonce.

It says that the nonce is stored in xattr. But I can not dump them by getfattr command with dump parameter.

How can I get the nonces?


问:
Cannot find apps
I have the Samsung Galaxy S21 5G. So far, it has been great, however, this morning, I noticed my "games" folder has disappeared from my homescreen. I assumed I had accidentally deleted it while in my pocket or something. However, when I swipe up to look at installed apps, I cannot see them anywhere, and they aren't the only apps that have gone missing. If I search for them in the search bar, they appear and I can open them, but there are no icons anywhere. They appear on the apps list in the settings, and they appear as installed in the play store. So where are the icons?!</p>

Title: Cannot find apps


问:
Add more clock speeds
I know that the phone's kernel contains the clock speeds but is there a way to add your own clock speeds?
What do I have to do to edit the kernel, where is the the clock speed data stored?</p>

Title: Add more clock speeds


问:
Tablet Homescreen Widgets for Specific Webpages
I'm looking for a way to make a custom shortcut on the home screen to open a specific browser to a specific site.  As a hypothetical example, I want to create a shortcut to birdwatch.com/watchnow with the birdwatch.com logo as the shortcut with a custom size and design.

I know how to launch specific apps as a custom widget with KWGT but I am unsure how to launch specific webpages.

I also know how to do it from within a browser but that leaves just a small 1x1 regular shortcut on the screen.

Does anybody know of a solution?


问:
How can I make my android turn the screen on and unlock when I touch the screen?
I want to mount an android tablet on the wall, and want it to turn the screen off when not in use, but turn back on whenever you tap the screen (similar to waking up a computer while jiggling the mouse). Is there any way to accomplish this?</p>


问:
How to recover data from image?
I have an encrypted complete .img of the userdata partition.
What tools or steps can I take, with the assistance of my phone, to decrypt this image?
It is my understanding that decrypting it without the phone is usually not possible. Given that I do have the phone however, what can I do?

Title: How to recover data from image?


问:
Is is possible to make a non-rooted Huawei U8110 (T-Mobile Pulse Mini) recognisable by the `adb devices` command on OS X?
Currently, on OS X 10.6.8 Snow Leopard, this is all I get, even with USB debugging enabled on the phone:

```<code>$ ./adb devices
List of devices attached

$
</code>```

The phone shows up under About This Mac, and its SD card mounts and unmounts perfectly on command. I have tried several USB cables.

ContentLicense: CC BY-SA 3.0


问:
How clearing cache solves all your problems?
My phone is Android A30s. I recently have encountered two problems: I couldn't download an application from appstore and I couldn't open the Yahoo app. Both problems I solved by deleting the cache from the respective apps. The question is: how does it work? How deleting the cache resolved these two problems, exactly? Thanks!</p>


问:
When some program crashes, how can I send the feedback to myself?
When a program crashes, I can view the crash info by clicking on send feedback, then preview. However it is sometimes quite inconvenient to go through the error log on the phone and I would instead prefer to view it on my computer. How can I email the feedback to myself, or in some other way view the error log on my computer?

I use Android 10 on unrooted Samsung Galaxy S9.


问:
My Newly Installled Games Keep Crashing
I have downloaded 3 new games: Idle Slayer, Shadow Hunter and Archero. They are all small games that don't require that much space or graphic processing. I was able to play them for 3 days with no issues whatsoever but out of nowhere they started to crash. I open them, it shows the title screen for a second and it closes entirely on it's own. This problem doesn't happen with any other games or apps I previously had installed. I have a Huawei Mate 20 Lite, it has 25,40 GB of free space out of 64 GB and 4 GB of RAM. I clean up space weekly. I cleared the caches of all the previously mentioned games and it still kept happenning. So I uninstalled Archero and Idle Slayer because I knew I had them connected to Google Games so I wouldn't lose progress. When I reinstalled them they worked but when I closed them and tried to open them up again, they had the same problem of crashing and it's been that way ever since. My phone's not old, it's been 1 and a half years since I've bought it and I haven't installed from nor visited sketchy websites. My software is up to date and it's not a problem of internet, I've checked that angle too. Can someone please shed light on what I can do to resolve this issue? I quite enjoy these games and I worry it'll affect future installments to my phone. Thank you from advance.</p>

Title: My Newly Installled Games Keep Crashing


问:
Google Drive: Make Folder/All Files in Folder Available Offline
I'm using the Google Drive app on the latest Android system, Android 11. I can make files, specifically PDFs, available offline by long pressing and clicking Make Available Offline. Further, if I select two PDFs, both of which are not yet available offline, then I have this option.
As such, I was able to initially select all files in a folder and pick Make Available Offline.

The issues is that I add to the folder regularly. If I select two files in the folder, one of which is available offline and the other is not, then the Make Available Offline option is not there. Currently I have some ~290 PDFs which are available offline and ~10 which are not. I do want all to be available offline, as I never know when I'll need them. But I don't want to manually go through and add them all.

TL;DR. Is there a way to make all files in a folder, or just simply the folder, available offline?

This needs to work if the folder currently contains a mixture: some available offline already and some not.

I would even accept the following horribly inefficient solution:

remove the 'available offline' property from all files in the folder;

select all files and Make Available Offline.

However, removing the property from all seems just as hard as adding it.

OwnerDisplayName: Sam OT


问:
msa keeps stopping
I have recently this message
"msa keeps stopping"

Can someone help me to repair the problem . My phone is a mimax3

Title: msa keeps stopping


问:
How to cryptographically verify the authenticity and integrity of Android Studio releases (with gpg?)
For a given Android Studio release published by Google, how can I cryptographically verify the authenticity and integrity of the .tar.gz file that I downloaded before I copy it onto a USB drive and attempt to install it on my laptop?

Today I wanted to download Android Studio, but the download page said nothing about how to cryptographically verify the integrity and authenticity of their release after download.

```<code>https://developer.android.com/studio#downloads
</code>```

I expected to see a message on the download page telling me:

The fingerprint of their PGP release signing key,

A link to further documentation, and

Links to [a] a manifest file (eg SHA256SUMS) and [b] a detached signature of that manifest file (eg SHA256SUMS.asc, SHA256SUMS.sig, SHA256SUMS.gpg, etc)

Unfortunately, the only information I found on the download page was how to verify the integrity of the tarball using a SHA-256 checksum found in a table on the same page. Obviously, this checks integrity but not authenticity. And it provides no security because it's not out-of-band from the .tar.gz itself.

How can I preform cryptographic integrity and authenticity verification with Google's Android Studio releases?


问:
Phone apps crashing
My apps won't start up if they do its not long enough to use them. Either they just close as soon as i open them or a message reading (app name) has stopped responding and its even apps that I haven't opened like my Google play will pop up saying it has stopped. I'm not sure what to do I've shutoff and restarted my phone I've uninstalled and reinstalled my apps anf it works for a minute but then it's right back to crashing.  I can't even use google to search it won't allow me to type more than 1 letter and it freezes then closes the app...</p>

Title: Phone apps crashing


问:
Missing App Data files after One UI 3.0 update on Samsung
After updating my Samsung A50s to the version a507fnxxu5dub6, which is the One UI 3.0 latest update, I noticed that the app files stored in Android/data are all missing

Even the obb files are missing from the default file manager, but when I used a third-party file manager, only the obb files are shown

I already ticked the option to show hidden files to no success, also rebooted the phone, but nothing changed. Tried looking for the patch notes just in case the files had been moved somewhere, but I can't seem to find anything. My apps/games are all working fine so the files are not deleted/removed.

What would be the solution for this? I was planning to share a game including its file, and since the game's folder in the Android/obb does not have its game files, I presumed it must be in the data folder. That's when I noticed the folders are missing


问:
How to suppress the welcome note and sign-in form on freshly installed chromium(for android) browser startup
I have created a script for modifying the chromium browser's behavior when it starts. If the browser is freshly installed and if anyone opens it for the first time, the user will get a welcome note and sign-in form, which I want to suppress.

According to my findings, the solution is to replace the /data/data/org.chromium.chrome/shared_prefs/org.chromium.chrome_preferences.xml file with a version that is generated after skipping the welcome note and sign-in form. The script changes the folder's permission successfully, replaces the file, and again changes back the folder's permission.

But when I open the browser after reboot or without rebooting, that file is overwritten again and I still get the welcome note and sign-in form in both cases. But if I manually replace that file through the Android device monitor and reboots the device, it works.

The browser I am using is Chromium v73.0.3674.0 for android.

And here is the script

```<code>#!/system/bin/sh
su -c "chmod 777 /data/data/org.chromium.chrome"
su -c "chmod 777 /data/data/org.chromium.chrome/shared_prefs"
su -c "rm -r /data/data/org.chromium.chrome/shared_prefs/*.*"
su -c "cp /mnt/internal_sd/MokiMDM/org.chromium.chrome_preferences.xml /data/data/org.chromium.chrome/shared_prefs/"
su -c "chmod 660 /data/data/org.chromium.chrome/shared_prefs/org.chromium.chrome_preferences.xml"
su -c "chown root:root /data/data/org.chromium.chrome/shared_prefs/org.chromium.chrome_preferences.xml"
su -c "chmod 771 /data/data/org.chromium.chrome/shared_prefs"
su -c "chown root:root /data/data/org.chromium.chrome/shared_prefs"
su -c "chmod 751 /data/data/org.chromium.chrome"
su -c "chown root:root /data/data/org.chromium.chrome"
</code>```


问:
Google can't record now as Duo is recording
Hi All

Whenever I am making call in Duo some Error message is coming in screen like Google can't record now as Duo is recording.and while Playing pubg and stream in Omlet arcade same Error is coming like Omlet arcade can't record now as Pubg is recording. Can any one solve this issue please


问:
AOSP 7.1.2 - Firefox (Fennec and IceCat) result with just a white screen
I have installed a Custom ROM (AOSP 7.1.2) on a Samsung tablet. It is rooted, and also has gapps (pico).

Most everything works - except, when I installed both versions of Firefox for mobile - Fennec and IceCat (both via F-Droid), and the installation was successful (though neither of them asked for any permissions).

However, when I start either of them, they simply start as a white screen, and ... nothing happens (Fennec occasionally crashes after a few seconds of white screen, I have not seen IceCat crash so far, it just keeps at the white screen).

I captured a bit of logcat - first fennec is started, then icecat - it has been pasted here:

https://pastebin.com/ijGSr8X0

Would anyone have any idea as to why specifically these two Firefox apps start with nothing else but a white screen; and how to fix that?

(BTW, I use the same IceCat on an Android 4.x device; it works fine there.)


问:
How to automate user actions?
I've seen a few questions similar to this before, but they all seem to be concerned with performing tasks in apps rather than actually simulating user action (e.g. swipes, taps, keypresses, etc.) in a similar manner to how AHK would work on Windows. I've seen a few solutions on the web calling for things like SL4A, but I can't find a clear explanation as to how I would go about fully automating an Android device.

Basically, what I want to do is open an app and activate a script (or something to the effect of a script, maybe an APK?) that will click on buttons and swipe up and down in a predetermined pattern (again, think AHK for Windows). Is something like this possible?

Title: How to automate user actions?


问:
How to make Joplin app in my Android phone read-only?
I am using Joplin note taking app both in my Ubuntu 20.04 PC and Android phone running Android 10. I sync my notes from both devices into my Dropbox account such that the notes are same in both my PC and phone. I edit and add new notes from my PC only and use my phone to only read the notes. But sometimes by accident, I end up editing or outright deleting my notes from my phone.

So how can I set my Joplin app in Android phone to read-only mode to prevent any accidental deletion or update?


问:
Disabling lock screen app in a Oukitel WP5 Pro afr
A friend just bought a Oukitel WP5 Pro powered by Android. It's up and running but he doesn't want the lock screen. In security it does not give the option "none". I went into app manager it doesn't so the app so i can't disable from there, I would really like some help. If I have to do a hard reset was should I do before I do it? I would like answers specifically for the Oukitel WP5 Pro. Thank you</p>


问:
No or very poor cell signal in areas I know have good signal
My phone worked fine till about the middle of yesterday. I live out in the country but usually I see 3 to 4 bars sitting at my desk in the basement. But now even if I walk up to the top of the hill (200 ft) on the property, from which I can see 3 cell towers, the signal comes and goes. For about 30 seconds there is full strength and then nothing, and I mean absolute zero signal, for a minute or 2. I had this problem last year as the phone was in warranty I just got a replacement. I figured the antenna wasn't connected correctly and it came loose. But to suddenly get this bad again, and I am sure I haven't dropped or jarred phone, I have to think something else is screwed up.

This morning I figure since I hadn't done any updates in a while I should do them. I used my WiFi connection to update and it worked for a couple minutes after I did the update, then the signal was gone again. This makes me think some setting is messed up but where and how to fix it is my problem.

As I drive around I get signal, but noticeably I have to be closer to a tower to get signal and then it gives me 4 to 5 bars otherwise nothing.

I have checked the "Mobile Network" settings; "Roaming" is on, "Preferred Network Type" is set to "Global", and "Enhanced 4G LTE Mode" is on. I have tried changing them all but no difference.

If it is relevant my phone is Motorola Moto E6

This is such an odd problem I am not even sure where to start digging for answers


问:
app keystore and certs in phone storage?
is there method to view and export files from phone storage keystore?

the android app i got has the keystore to managed digital user certs, it can be viewed via UI, i wanted to view them in phone storage but could not locate them.


问:
wrong checksum(sha256) when copying from exfat samsung t7 touch external ssd to android(galaxy s10)
I bought a Samsung t7 touch SSD(1TB), it works just fine with my computer. but when I copy some files(200MB<) from the SSD to my phone which is a galaxy s10 the files get corrupted, and sometimes the SSD automatically disconnects itself from the phone while copying files.

I use the USBc to USBc cable that comes in the box.
Strange thing is that when it use the USBa to USBc cable in SSD's box and a USBa to USBc adapter that came with my phone, it is ok, but transfer speed is really slow.

By the way the USBc to USBc cable is not faulty cause I tested the cable with the SSD and my PC and it works fine, meaning all the files copy fast and with no problem regarding checksums.


问:
How do I make the Calendar app stop harassing me about permissions?
A few months ago I got a new phone.  After a bit, I tapped on the Calendar app, and it popped up with a supremely silly request: it wanted access to my contact list!

Now there's no good reason why an app should need my contacts in order to show me a calendar, so I denied the permission, figuring it would go on just fine without it.  Apparently not; though!  The app failed to launch, and ever since then, multiple times a day, it's been throwing notifications at me that the Calendar app needs me to go in and enable that permission.

Well, screw that!  There is no conceivable reason why a calendar app could possibly require access to my contacts to run.  To support certain features, perhaps, but to run at all?  No.  Just no.  But it keeps spamming me with requests to enable it.

How do I make the notifications stop?  It's a system app that I can't uninstall, but at this point all I want is to shut the thing up!


问:
Can you connect to multiple vpns at the same time on android 11?
I have an always on VPN connection for security and privacy. I would like to connect to my home vpn for Music Player Deamon access. I would not like to announce my home IP to every WiFi I use. Can I and how to multi hop VPN on android 11, also second hop is conditional as I only want traffic for my system. I do not have root.</p>


问:
How to recover the encrypted data after a hard reset of a moto G8
I forgot my pattern to unlock my moto G8 so I decided to make a hard reset to access it; which I successfully did and gained access into my phone. I never had any data in the sd card nor google drive; I got access  to my Gmail acct, photos app etcetera; but then I realize that some apps like google messages, whats app, and some others didn't show the previous data or messages.
After trying to get that data I found that google has that old data encrypted and is asking me for the pattern (Which I forgot and that's the reason that I did the hard reset!!) I tried to get encrypted data using the new pattern with no success and i also used what I think was the old pattern but finally I got a warning saying that I have only 3 more chances to try the pattern before the data will be wiped off.
Does anyone of you guys know how to recover that encrypted data?</p>


问:
ICS (Samsung Nexus) Calendar Default Event Duration
Been trying to change the default duration while creating an event on my Samsung Galaxy Nexus stock calendar. It's defaulted to be 1 hour but I'd like to change to 30 minutes like I can on Google Calendar on Chrome. Thanks.</p>


问:
Is it possible to install ICS in BlackBerry Playbook

Possible Duplicate:

  Can I install Android on my non-Android device?

Is it possible to install ICS in Blackberry playbook ?
If so is it possible to revert back to Stock ROM ?


问:
How do I unlock my bootloader with Omnius?
I want to unlock the bootloader of my Carrier Locked O2-UK Xperia Play. When I go into the service menu and check if my bootloader can be unlocked it says "allowed:no". After further research I found out that there are multiple ways of unlocking it; one of them being Omnius. Which one of the licences do I have to buy to do one unlock? Some of them say "No Xperia" and thats why I am confused.</p>


问:
Resume play function on standard music app for Galaxy S2?
How can I get the standard Music app for my S2 to resume play from where I had got to in a podcast, rather than having to start the whole 90 minutes again?

I operate on Android version 4.0.3


问:
Can I update my Nexus One to Android 4.0, and how do I do it?

Possible Duplicate:

  When will my device get the Android 4.0 update (Ice Cream Sandwich)?

I've never even used Android before, and I've been given this Nexus One for app development by my supervisor.

I'd like to get it updated to Android 4.0 from 2.3.x, but I'm not sure how and I can't find clear-cut instructions.

Can it even be done?


问:
How to unbrick a HTC Magic?
I have bricked my HTC Magic. Now when I try to boot it normally or in hboot or in fastboot or in recovery, it only shows a white box with an arrow and a bugdroid then a blank screen. It's not detected by adb or fastboot in any mode. Is there a way to unbrick it?

I think I flashed a bad radio. At least, it was after flashing a radio but I thought it was a good one. The old radio version was 2.22 and the new one was a 6.35 and I used ClockworkMode recovery to flash it.

Title: How to unbrick a HTC Magic?


问:
One channel audio
When I record sound with my Samsung 9, with all the different apps (4 or 5) I've tested up to now, including the default one, the resulting file is one-channel.  Why?  Is there a way - if any - to have a 2-channel file as a result of an audio record via Android smartphone?  Thanks for any help.

Rodolfo

Title: One channel audio


问:
My RCA Voyager Tablet is in a bootloop and I can't get into recovery mode
Can anyone help me please, My RCA Voyager Tablet is in a bootloop and it keeps showing the logo screen. I was trying to install the trwp for my tablet but I think I accidentally put the worng trwp file into my RCA tablet. I tried to go into recovery mode but nothing happened and I tried flashing it but I couldn't find any firmware file for my model ( my model is rct6873W42) I also tried connecting my computer to my tablet and it's not detecting my RCA Voyager Tablet. I hope someone can please help? P.s I also think it's brick but I am not completely sure.</p>


问:
Connected android device is not showing up in android studio in m1 Mac mini
I have installed android studio in m1 Mac mini and connected pixel-5 to it. The device is not listing, instead it is showing "loading devices". I have the same setup in intel MacBook Pro and it is showing the pixel-5 when connected. Thanks in advance.</p>


问:
Globally turn vibrations
This question comes up occasionally - but in the hope there is now a way to do it I'll ask again.

Is there a way to toggle vibrations (specifically on Samsung's UI 3.0)?

Example use-case: at work, with my phone on my desk, I'd rather have a quiet discreet sound notification than a vibration (which is more disturbing to my colleagues).

At the moment, I'd have to go through every single app and turn off vibration for all notifications to achieve this.

I struggle to believe that Google haven't introduced this in 2021!

Title: Globally turn vibrations


问:
Is it possible to create a .ISO or .IMG of my smartphone and emulate it in a Android Emulator?
I have a Moto G6 running Android 9. I would like to generate a ISO or IMG of my smartphone and load it by using a Android Emulator in a computer. Is that possible?</p>


问:
Redirect the output of 'time' to a file
I'm getting the following error when trying to capture the output of time to a file (reference).

```<code>adb shell su 0 "{ time -p echo hello world; } 2> /data/local/tmp/file"
/system/bin/sh: syntax error: unexpected '}'
</code>```

But the command is successful when running without su i.e. adb shell "{ time -p echo hello world; } 2> /data/local/tmp/file"

Please provide inputs on why it's not working when running with su.

Title: Redirect the output of 'time' to a file


问:
How do you root a merlinnfc? (Redmi note 9/10X 4G)
Hey there people of this.. site.
I've tried every "Real" method of rooting xiaomi 11.0.5 (My current ROM)
I've tried patched vbmeta images, TWRP, and all of the one click root apps ( Yes my antivirus did flag all of them), and I mean ALL of them. Kingo root, king root, whatever.

I've tried 2 TWRP methods:

The official one: I flashed the recovery partition with the "merlin" image (Yes this did in-fact worked, and my OEM is unlocked btw)
Result: The recovery partition DID NOT BOOT. simply stayed at ADB recovery for a while and rebooted.

An un-official method: I flashed 3 main partitions. Vbmeta, Misc, and recovery. The result? A firm-brick. Somewhere in between in severity of a soft / hard brick. What I mean by this is that it booted and just.. stayed black. There wasn't even a post screen saying "REDMI Powered By Android", luckily it somehow went into ADB recovery allowing me to go into fastboot and flashing the stock global ROM. And.. it worked, thank God.

Other recovery ROMS don't seem to support this device (merlinnfc) like orange fox for example.

In a sense, I've tried everything, and I am yet to defeat the 2020 November security patch.


问:
How to get key to decrypt msgstore.db.crypt12 database in Whatsapp in non-root Android?
I want to decrypt msgstore.db.crypt12 in my non-rooted android phone. I tried multiple steps using adb but nothing worked

```<code>run-as com.whatsapp
adb backup com.whatsapp
</code>```

How can I do so? Is there any way to backup full android to a file on laptop and extract key from it? Please suggest.


问:
Android runtime permission's internal working?
I was checking Android runtime permissions and was very curious about how Android runtime permissions work. Like if some application is asking for access to external storage, it will ask for permission, user will be presented with a dialog, and after pressing allow button, app will be granted read/write external storage. I just want to know what happens internally when user presses allow button on the dialog, what are the changes internally occur in Android.

I know permissions are stored in different files like /data/system/packages.list, /data/system/packages.xml and /data/system/users/0/runtime-permissions.xml but changing them manually does not effect app's permission preference. So what actually happens when user give permission to certain app, what corresponding file gets updated?


问:
How to know if a broken screen phone has been factory reset?
I have an old Samsung phone with a broken screen and pass code but before I try to unlock my phone I want to know if there is any possible way to know if it has been factory reset because if it has then I won't need to open it.
I would also like to add that I have a different phone that has been factory reset so is there anyway to know if it has a backup?</p>


问:
Black screen when opening a random camera app on Galaxy S7 Edge on LineageOS 18.1
Since last week I upgraded my Samsung Galaxy S7 Edge from Samsung's stock firmware to LineageOS 18.1 by using this message of the XDA forum and installed the "full" edition of NicGApps. Since yesterday the camera does not always work, which is a behavior I never experienced on the stock Samsung firmware at all. When I open the camera app the screen is black. Also, when I change to the front facing camera. The only temporary solution is to reboot my device and everything works again.

During these two days, I rebooted my device three times, and that cannot be the intention. I tried this with several apps: OpenCamera, Footej Camera, the QR Code scanner of my banking app, all the same and as I wrote, after a reboot everything runs normal again. Does someone know a permanent solution?


问:
Android device ro.crypto.state returns "encrypted", but I can access the /data partition. How?
I have a OnePlus 3 with an unlocked bootloader and LineageOS. I forget the PIN and I am trying to recover access to it, and I have access to the recovery. The data is encrypted.

My understanding is that, if the device is using FBE, the value adb shell getprop ro.crypto.state will return encrypted, and the /data partition will be impossible to read.

Despite the fact that adb shell getprop ro.crypto.state returns encrypted, and despite the fact that I have not entered the PIN stored in the hardware keystore, I am able to browse and copy files from /data using adb shell.

So this seems to be in conflict: I should not be able to access /data if that returns encrypted. Is this true? If not, why is this not a conflict?

(I apologize if this has been asked before, I could not find any questions on this.)


问:
How do I force a new DHCP IP address on my Android?
I have a Linux system with the default DHCP server (ISC) and an Android phone Galaxy J7 which connects and gets its IP address from the DHCP server.

Right now, the Galaxy J7 was allocated an address automatically, but I'd like to force assign a different one. I've changed the settings in the DHCP server and I know those work since I had those used before and it was just fine. Now I changed the network IP address for my new WiFi router so the device was assigned a new IP automatically before I changed the setup to force the static IP.

How do I force the phone to pick the new IP address? I tried for forget the WiFi setup and re-enter it, but the exact same IP was re-assigned. So I think that the server memorize that IP. I looked in the leases:

```<code>less /var/lib/dhcp/dhcpd.leases
</code>```

and I can't find the IP of my phone!?

I tried to restart the server too, but that usually doesn't help at all and guess what... It didn't do anything about the existing lease (and yet it's not in the list of leases!)

So I'm at a loss.

For Linux, I've seen that you can use dhcpclient -r and then dhcpclient to reassign a new IP. But for the Android, Termux says those commands do not exist. I probably need to properly reset on both side...

Someone has done that successfully before?


问:
Whatsapp Bug - Voice is not sent outside of local network
I encountered a somehow strange problem, which leaves me in the dark. I have a Samsung S10 connected to my local WLAN. When i call my relatives - whether voice or video call - my voice and video is not send to the other person. However, when i call my other phone - also connected to the local WLAN - everything just works fine. I disconnected the phone, deleted the WLAN connection, reinstalled WhatsApp and restarted the phone, but nothing seems to work. Calling my relatives from another phone also works just as expected.

Does anybody know a solution or a something i could try?


问:
How to stop an SMS message thread from being a "conversation" in Android 10?
I have noticed today that in the SMS Messages app on Android 10, it's very easy to add someone to the "conversations" feature which enables contact-specific message and notification settings by clicking on the thread in question, clicking on the ellipses in the top right, then Details. The thread is then a "conversation". It is very easy to do this by mistake. I do not want specific messaging options for specific contacts.

On Android 11 a contact can easily be stopped from being a "conversation" by going to:

Messages thread > vertical ellipses ⋮ > Open Details > Click Notifications > Click "This is a conversation"

However, in Android 10 the "this is a conversation" option does not exist.

How does one remove a thread from being in a "conversation" on Android 10?

EDIT: This is for a Sony Xperia 10 II, the app in question is the standard Google messaging app.


问:
Does software update decrease device performance?
I’ve been using an Android tablet for a month, and I’ve just got a notification on an update for my tab for Android 11 or One UI 3 (not sure if they mean the same thing). I’m on Android 10.

Based on my experience in using iOS devices, every major update decreases my older device’s performance and battery life for some reason. I’m used to seeing updates as something to avoid.

Do software updates have any bad effects on an Android device’s performance/battery life?


问:
Run Workspace One Hub on a Non-Root version of Android VM on Android Phone?
I want to run VMWare's Workspace One Hub inside of a virtual machine on my Android (Pixel 5) device.

I have tried Parallel Spaces and VMOS and I can install Hub fine but when I try to set up my account, Hub says the account cannot be set up with a rooted device.

How can I turn off root in my virtual machines so Hub can set up my account fine?


问:
switch off sound effects, when headphones are connected to phone
When I use headphones, music is only in headphones, but info sound(ie when I get  email our IM message) is playing to phone dynamics. How to change this behaviour?

Phone is Galaxy S plus.


问:
Unlock phone with adb without text or keyevent input
Is there a way to unlock an Android phone with adb using adb shell without a keyevent input?


问:
What is the "phone index" in the hidden menu for "phone info"?
Device: OnePlus 7 Pro (GM1917), Oxygen OS 10.3.8.GM21AA, stock ROM

When I enter the hidden menu *#*#4636#*#* and select "Phone info", the first line under "Phone info" says "Select phone index" with a drop-down menu:

Phone 0

Phone 1

All of the info listed after "Select phone index" is the exact same no matter which index I choose: Phone 0 or Phone 1.

What is a phone index? Why are they identical?


问:
Contacts app on new phone is not pulling in contacts from Google Account
According to Google help:

If you save your contacts to your Google Account, they automatically show on your phone after you sign in.

My wife got a new Google Pixel 4a and successfully added her Google Account, but no contacts appear in the Contacts app. Needless to say, this mean that all phone numbers have to added manually for calls or text. Gmail contacts still autocomplete.

We've tried following some of the suggestions at Google's Fix account sync issues page, including:

Manually sync your Google Account

Remove & re-add your account

Neither one has solved the problem.

How do we get the Contacts app to populate with all the contacts in the Google Account?


问:
How can I transfer blocked numbers/phrases?
I have many blocked numbers/message phrases list on my Samsung S8 Plus phone. Never rooted it and it has still official rom. I will use with the same rom. I will just format it but I don't want to bother with
insert the numbers one by one after formatting.
So, is there a way to restore numbers/phrases with a JSON/XML file or something else on stock rom?


问:
myTv+ app returns error code 100 when running on Android TV box
I have installed an app called myTv+ (https://mytv-plus.com/mytvws/) for Samsung A7 and it worked fine.

I tried to install it on the Android TV box (MX9 Pro 4K) but it's simply not working, just getting "Error Code: [100]".

I contacted the developer he said this app is designed only for the smartphone and "Error Code: [100]" means that your Android is rooted.

I noticed SuperSU on my Android TV box, I went for a full unrooting, yet the app still shows "Error Code: [100]".

Is there any way I can force the app to work with the Android TV box?


问:
(ROOTED PHONE) Using WiFi and LTE Simultaneously
I have a rooted Google Pixel 4a and an IoT device which I connect to over WiFi. This WiFi network does not have internet connectivity and simply serves as a way to control the IoT device. I have a termux process (it is run within an Ubuntu chroot jail) with which I want to be able to get information from the IoT device (over WiFi) and then POST it to a server (over LTE). I have tried so hard to get this to work. I'm fairly sure this should be possible with root access but I've exhausted my options at this point. Here's what I've tried:

Connecting to WiFi normally. Doesn't work because even though Android knows the WiFi has no connectivity, it still attempts to connect through it. To be clear, I have mobile data always on and I'm able to ping through LTE interfaces while connected to my IoT WiFi. It baffles me why Android doesn't direct traffic to LTE for non local IPs when it knows WiFi is down. This functionality should come out of the box in my opinion.

Changing the routing tables. This doesn't work since the LTE interface being used tends to change names at seemingly random times so the entries must be kept up to date. I can't seem to bind processes to interfaces from the command line either (but you can from the ConnectivityManager), as far as I'm aware. This is the disadvantage of circumventing the system commands for these things and directly modifying them. I am not notified of any changes or any other things going on and stuff simply stops working.

Assigning my IoT network a static IP with no gateway. This works on Apple phones but not on Android. It still attempts to access the network through the WiFi even with a 0.0.0.0 gateway.

Bypassing the GUI WiFi connection system to try to connect to WiFi from the terminal. This involves turning WiFi off, then using iwconfig to link it to the right network so Android still thinks it's in LTE only mode. Doesn't work because wlan0 interface doesn't permit this action on Android, even with sudo (couldn't figure out how to give myself permission to do so).

[PENDING] I'm trying to see if I can build a wrapper app that runs this process from inside it. Then, using the ConnectivityManager, I can bind the process to use the LTE interface. Then, I run a second process which is piped into the first which handles all communication with the IoT device, and I bind it to use WiFi. I'm not sure whether this strategy works but it seems very hacky. Also, I'd prefer a more elegant solution.

Looking at the Android source to find out how ConnectivityManager's bind process to network interface works and if there is an equivalent instruction for the command line. I have not found anything yet.

If any of you has insight on new strategies or has suggestions on how to fix my approaches to any of the above, let me know! Thanks in advance for your help!


问:
Why do LTE Network Interfaces Change Names?
You may have seen my earlier question here detailing my struggles with multiplexing LTE and WiFi on a rooted Android device. Much of this stems from an issue I seem to run into with the LTE network interfaces used by my device (Google Pixel 4a), namely v4-rmnet_data{$X} where $X is some number from 0-9. When I do an ip link show, I can see many LTE interfaces formatted rmnet_data{$X} but only one formatted like v4-rmnet_data{$X}. I'm assuming this v4 interface is an IPv4 link generated from one of these IPv6 links. Occasionally, I will see that the $X used by the v4 link has changed inexplicably. I can't seem to find a good explanation as to why this happens. One second, the active link is v4-rmnet_data0, the next it is v4-rmnet_data2 and the v4-rmnet_data0 link has ceased to exist. Does anyone know what causes this to occur? Is there anything I can do to prevent it from happening? Since I am manually changing routing tables, disruptions like these cause disaster.

Thanks for your help!


问:
Xiaomi phones battery compatibility
Xiaomi phones have several batteries, for example, BM35, BM21, BN43, and etc.

I'd like to know the compatibility of those batteries, for example, if BM35 has the same pin and size as BM21 something like that.

I have this Xiaomi Redmi Note 4x it's kinda old but still working and the battery is now needed to be replaced because it's already draining fast. Instead of using the BM43 which is the current battery of it, I'd like to purchase a different model with a higher capacity for example the BN62.

If I only know the pin type and the size of those batteries, it will be easy for me to upgrade and replace them.

OwnerDisplayName: Papilion

Title: Xiaomi phones battery compatibility


问:
XLogger on Xiaomi?
Installed a simple file explorer on my pocket telescreen, Xiaomi MI 8 Pro, right now is running on unrooted MIUI 12.04

It happens that I have found a .log file, (completely by accident)
with hundreds of entries, day by day but they are encrypted somehow.

Here is the sample, mostly all look like this:

```<code>LV:I, TM: 2020-12-10 19:26:37, TAG: ##XLogger##, MSG: #&^hNNLFjwHJGwbUDpLDrj5urK+b6mXPcFQNJvkXgL5SVPxtfZBOzyPpBFgPDEUxllkC+FxzWWV2HyrPe0UE6F3ml9RFkJ4/kzHAnrdxHL4z5++zba4l8tq6w7WIqcmYEGbMkSfPnpErw7JTmIwvqer7t8uJJwn8NSHUmAFA49PiFg=!!JU07CfBL9bt46QcTJLLe9RN0juHv6fnuDUFD0yagTM9wm0gJxrWzy9zNOxSXpLJBOSBMw/2wJ1eGFj5VZqcjYmCidBHV4JR7IXMwfayEy7bVw0z98Fje1Eb5PymyU4RqosTTuF/V85pPRAvUscI1GwKAZogwuGlM776r84QJh0X3xcccccccccvvvvvvvvvvv+rX^&#
</code>```

How can I open and or decode them?

Title: XLogger on Xiaomi?


问:
I have transferred (all) my files from my SD Card (phone) to my computer and my android phone ( Galaxy S9) is frozen. What can I do to save the phone?

My phone froze and won't respond to anything, what can I do ?

my internal storage is still full ( pics and docs all from there is still in the phone )

I thought of transferring those files in picture back to the SD card but I doubt it would do anything.(Would this work)?

There's also a write protection on the card.

Also, there's an android & system folder from the phone's SD Card that got transferred as in the picture above. Would that have caused my phone to freeze and be unresponsive?


问:
How to turn off the vibration, which happens when phone call is connected or the camera is turned on?
I've seemed to turn off all the vibration settings, including settings for camera application, but it keep vibrating when I turn my camera on (by pressing side button twice), the same happens when I call someone and they answer the call.

Android 10

Phone: King Kong Mini 2

I use Microsoft Launcher.


问:
Android 11 "raw/:storage/..." file paths
Hello Android community!

I am trying to recreate a way of putting a file on my emulator in a location, so that when picked it produces the following uri: "raw/:storage/..."

My challenge right now is I do not have a reproducible way of doing this. I have only gotten this raw uri once in my testing and can't anymore.

This is react native app, and we're using a forked version of image-crop-picker library.

Function: https://github.com/aarongrider/react-native-image-crop-picker/blob/master/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java#L369

This is the function that returns the uri of the selected file: https://github.com/aarongrider/react-native-image-crop-picker/blob/master/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java#L672

We're getting the following error from line 691 probably:

from calling the resolvePath which has a specific way of resolving the uri for Android API 19 and above: https://github.com/aarongrider/react-native-image-crop-picker/blob/master/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java#L546

I am a complete newbie with Android, and just need a consistent way of producing the raw/:storage/.. file uris. I appreciate any guidance provided here! Thanks :)


问:
How to control phone with broken screen from computer when there is a password?
My phone's screen is broken. I want to be able to use it using a PC (I just need to use two apps for a short while). I have a password on my phone. If I remember correctly, I have USB debugging enabled. I don't know if I had ever checked the option to always allow from this computer when the allow USB debugging modal pops up. I am trying to use scrcpy to control my phone from my computer. The phone is Samsung Galaxy J7 (2016).

This is what I have tried:

I downloaded adb from here. I downloaded scrcpy from here. I moved the adb files to a folder. I moved scrcpy files to the same folder, overwriting the duplicates.

I opened the command prompt from that folder (I'm on Windows). I connected my phone to the computer using a USB cable. As soon as I connected it, I ran the command adb devices -l. This is what I got:

```<code>List of devices attached
31002adf4e2c435f       device product:j7xeltexx model:SM_J710F device:j7xelte transport_id:1
</code>```

The I ran the following commands:

```<code>adb shell input swipe 600 800 150 900 300                            (swipe to get to screen with password prompt)
adb shell input text "[mypassword]"                                  (enter my password)
adb shell input keyevent 66                                          (press enter key)
scrcpy
</code>```

This is what I got in the command prompt (after the last command):

```<code>INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy>
C:\Users\[User]\Desktop\New folder (2)\scrcpy-server: 1 file pushed, 0 skipped. 5.0 MB/s (34930 bytes in 0.007s)
[server] INFO: Device: samsung SM-J710F (Android 8.1.0)
INFO: Renderer: direct3d
INFO: Initial texture: 720x1280
WARN: Device disconnected
</code>```

I am stuck here, with no idea what to do. I've tried using Vysor, but it also didn't work. I'd like to stick with scrcpy, unless there is a better option. Please keep in mind that I don't intend to transfer data; I want to use two apps (one of which is the Signal app, to transfer my chats).


问:
How to install recovery image with fastboot? (Asus zenfone go 5.5 zb551kl)
I have an old phone "Asus Zenfone go TV zb551kl" and I am trying to fix it so I can give it to my nephew. It had a problem where the only thing that it can load is the "fastboot". And, it says "Invalid boot image!!" whenever I boot recovery or normal boot. I just want to install the stock recovery image so I can re-install the stock ROM.

I'm just wondering if someone can help me with my problem.


问:
Is it possible to reduce WhatsApp "msgstore.db" file size?
My WhatsApp backup file (msgstore-**.db.crypt12) size can reach up to 380MB+ for a single file. Because WhatsApp automatically backup chats every day and will keep the 7 most recent backups, my phone will store up to 2GB worth of these files.

In case anyone's wondering, my phone is not rooted, but I have the WhatsApp key and wa.db files, so I can decrypt (and re-encrypt) the msgstore.db file. What I have tried is to manually delete some messages in the messages table in the msgstore.db file, it sure reduces the file size, but then it fails when I try to restore WhatsApp chats using that file. Also, I have tried to clear chats in some groups that have a lot of messages using the Clear chat feature, this deletes the messages in the messages table, but doesn't reduce the msgstore.db file size, I guess the deleted messages are moved to another table which I don't know where.

I don't need a trick to stop WhatsApp auto backup, I just want to reduce the msgstore.db file size, is it possible?


问:
How to get back media if media not restored during restoring without affecting recent chats and media?
So I backed up my whatsapp a month ago and then while restoring I was not able to find a wifi source so it just stopped restoring media, only the chats were restored. Now after a month use I have more chats and some media, what do I do to bring back all the older media and keep all the latest chats and media?</p>


问:
NFC tags to execute commands
I would like to know if there is such a possibility to create NFC tag and then use it to execute complex commands on a tablet, for example opening a specific application or changing a certain system setting.

Is this kind of project possible to accomplish?

Title: NFC tags to execute commands


问:
Enabling debugging with broken screen and usb keyboard (Google assistant working)
Is there a way to enable USB debugging with broken display - black screen and touches are not registering.
Ultimately I want to control my phone (answer phone calls, see messages, restore images, access bank mobile 2fa) through scrcpy, but it requires USB debugging mode.

Most tutorials make use of USB keyboard/mouse but for some reason they are not functioning (Oneplus 5t), and I have tested adapter+keyboard on different phone and it works.
What I have at my disposal

Unlockable phone - fingerprint sensor

Google assistant - it responds to "hey google"

Phone is connected to Wi-Fi and I can install apps through google play store on my PC


问:
HTC Amaze 4G (Videotron) - Is there a way to install Android 4.0?

Possible Duplicate:

  Where can I find stock or custom ROMs for my Android device?

I just got my new HTC Amaze 4G with Videotron and I only have Android 2.3 on it. Videotron says that they will release Android 4.0 soon.

Is there a way to install it before this? Like a Beta or something like that?


问:
Will my phone be unlocked after it factory resets itself?
I forgot the password of my phone, and it says after 4 more failed attempts that it will be wiped clean. If that happens, will my phone be unlocked and ready for use again? I really don't care about the data on it, because everything I had is easy to get back (mainly just social media apps like instagram/discord).

Any sort of help would be appreciated to the fullest, because I just want to be able to use my phone again.


问:
Recover draft text message
I have a Samsung Galaxy J7 Star.

I was recently hospitalized and needed to write important information but didn't have anything to write on. I chose a random contact and started to write the information as a text message and never sent it because it was not for that person.

When I left the window, a message appeared "message saved as draft"; later I chose the same contact to add an important link and it appeared in the window but the previous draft messages disappeared.

I need to recover that important information and cannot find any folder where my draft was supposed to be saved.

Title: Recover draft text message


问:
Wifi Hotspot - Getting 504 Timeout (and CORS) when cache is not disabled
I have an android phone that I'm using for wifi hotspot to which I connect my laptop to. There is generally no problem with it however sometimes content just doesn't load.
I tried checking the Network DevTools to see what the problems are and figured out what requests were causing it. The causes were requests to a different domain and they are in "(pending)" status for a long time and eventually turning "CORS error missing Allow Origin". Upon examining further (using a different network) the responses properly have the needed headers and the requests properly have the origin matching the allow orgin header. When I tried checking again (with the mobile network), the response it receives is the 504 Gateway Timeout (which doesn't have the allow origin header) so Network DevTools i think treated it as CORS.

Now the thing is, when I try to use the "Disable Caching" feature of devtools everything works fine (except that caching is disabled so it eats quite more). So I am not sure what would be the cause of the 504 timeouts and if possible find a solution for it.

I've also noticed that I can load the requested url on a different tab and then that specific resource would load fine on the main site I was visiting but doing this for every resource is pretty tedious and doesn't really fix the issue. I have also tried using a different android device with the same SIM but it still had the same results.

As a band-aid, I was thinking of disabling cache for the specific domains but I am still unsure of how I will do it.


问:
Unable to connect Pixel Phone to TP Link WiFi extender
Please bear with me because I have very limited technical knowledge.
I have successfully installed a TP Link WiFi range extender and my iPad connects to it fine. My Pixel phone detects the extender but will not connect to it. When I try to manually select the extender it gets as far as saying Authenticating but then just goes back to showing it is a saved network in my list.
What can I do, in really simple terms,to ensure my Pixel connects to the TP Link extender?
Many thanks for any help.</p>


问:
I'm looking for a data recovery program for my android phone
I had a Samsung Galaxy J7 it was stolen I managed to get it back but not before it was wiped completely but they weren't able to get passed the frp lock and I had some very valuable data on some of witch is not replaceable my question is since nothing was saved over the old data and I've got access to developer settings is there a program for windows 10 that I can get to recvoer my data preferably a free program
I'd even be willing to try rooting it if I knew it would get my data back</p>


问:
ADB and Galaxy A71 5G
I use ADB to reprogram the toggle for Airplane Mode such that turning on Airplane Mode does not turn off WiFi and Bluetooth. The command is:
adb settings put global airplane_mode_radios cell,nfc,wimax

I've used this on several different phones, including my Galaxy S20 with no issues. On my wife's A71 5G, it accepts the command, but only partially works. Following the command, if I turn on Airplane Mode, WiFi stays on (good), but Bluetooth turns off (bad). Turning Airplane mode off brings back Bluetooth and continues to leave WiFi on.

BTW, do phones still come with a Wimax radio?

Any idea?

Title: ADB and Galaxy A71 5G


问:
At what level of the android architecture can I find a devices audio configuration files?
I would like to change the granulation of volume steps on an android 10 device. The limited mods on xda don't work on my device (lenovo m8 fhd) What level in the android architecture should I focus on when searching for a configuration file and what file types typically exist for this purpose?


问:
Does adb shell RUN_IN_BACKGROUND ignore really works?
I did

./adb shell cmd appops set com.whatsapp RUN_IN_BACKGROUND ignore

for lots of apps in my android. However, when I go into the app settings, I still can press "force stop". Does that mean the app is still running in the background, even if I setted it to ignore?

How can I see the apps running? adb shell ps shows too much thing and I don't know which ones are the apps.

Also, will these settings work after reboot?


问:
Debugger to a non-debuggable Android app
I want to know can we attach a debugger to an app running on the smartphone which is published over Google Play Store without modifying the original app?

The reasons for asking this is by default the app which is there over Google playstore are non debuggable, i.e in the AndroidManifest.xml file, either they won't have android:debuggable flag or if it is, then it will be set to false


问:
Sharing Apps between Accounts (due to user age)
Good Morning Everyone,

Before I ask the question about sharing apps between Android users, I wanted to quantify the use case. This is because I don't want to come across as trying to illegally distribute apps in any way.

We have a tablet in the house that was specifically purchased as my child has a learning development disability. That means I have purchased a lot of apps from the Play Store to find things that were to help this. In the past it was easy; they were not adept enough to work out how to buy things on tablets. Now she is older and wiser, as is their sibling. Both are still single digit in age.

So the tablet is a Samsung Galaxy Tab A6, running Android 8.1 - stock updates, no root, no modifications.

In the past, when multi-user first appeared, I was able to buy apps from my Play Store, and it would appear on her non-admin user. I understand that this is now not possible though, and certainly I have not been able to achieve this with anything I have downloaded in recent memory.

The problem is though that both children are still under 10, so can not have their own Play Store account to have a Family set up.

So is there anyway to get around this? preferably without rooting the tablet? I am quite happy to wipe their account from the tablet if that helps things.


问:
Turn bluetooth on when screen off and volume key is pressed
I would like to be able to toggle bluetooth on when phone screen is off (locked) and I press the volume up button, ideally twice (two quick presses).

What options do I have to accomplish this on a rooted Android 7.1.2 phone? ROM is Ressurection Remix 5.8.5.

So far I tried Tasker with AutoInput plugin, but it only works when screen is on. Apparently AutoInput does not register keypresses when screen is off.

I also tried Xposed Additions, which does react to volume button when screen off, but I can not assign a Tasker action to it that enables the bluetooth. There are only a limited number of actions I can choose when screen is off.


问:
Sniff Android protected app HTTPS requests
I am going to capture an app's HTTPS request to get its Login API.

I am using Fiddler. When inputting the username and password and pressing sign in, the app is working. But in Fiddler, I can not find the HTTPS request for login.

I tried with Charles Proxy too, the same problem

Also, I did with some more apps, but getting the same problem in some apps.

How to solve it?


问:
What makes the android boot sequence different from Windows boot sequence?
I've just studied the Windows boot process (theoretically) and now I want to compare the Android's boot sequence with the Windows boot sequence. One point I've found is that in Windows there is BIOS and in android there is BOOT ROM that does the same task. Can you please help me to get more differences? Also which is more secure in terms of boot process and why?</p>


问:
Force black navigation bar
The navigation bar at the bottom of my screen adapts with the app I'm using at any given time. This would be nice if it actually worked, but for some apps even while using dark theme the bar would turn into a bright white, which just looks distracting. I'd prefer to have it be all black at any given time, but I couldn't find any system settings for it. Is there a way to accomplish this using ADB or something?

I've got a Huawei Mate 20 X with EMUI 11.

Also here's an example screenshot of an otherwise dark app having a white navigation bar:

Title: Force black navigation bar


问:
Should there always be a '/system/default.prop' in android 10?
I can't remember if there was a /system/default.prop file or wether its missing. Should there always be one, because I only have 'build.prop in system folder?</p>


问:
Is it possible to record MJPEG directly on Android?
Is it possible to record video from an android camera directly as MJPEG? I am interested in MJPEG for quality purposes. I don't want to record video via default android settings and then convert to MJPEG, but directly from the camera device as MJPEG. Is this possible? I can't find any information suggesting this is possible.</p>


问:
Lenovo M8 FHD - how to enter service mode on a 'wifi only' device?
Apparently theres this thing called 'service mode' or 'engineering mode' for most / some / all ? devices. Was news to me, can anyone tell me how to access this on the titled tablet without a dialer (wifi only).
Many thanks!

I tried app store - MTK engineering mode - says its made for previous versions of android - may not work, why nothing since, it was released late 2019 (or am I missing some big event!) Maybe Lenovo changed their service policies or this is to do with 'treble project'?


问:
Does android keystore and “Clear data” of the “Settings” app are related?
I am working on a system app where i am storing some sensitive data in EncryptedSharedPreference.
I realise that my app is not working as expected if I do clear data of android Settings app. That is happening because my sensitive data stored in encrypted shared preference was changing.
When I observe the encrypted_myapp_pref.xml file, I observe that encrypted value of those sensitive data is not changing. but value of key material was changing (androidx_security_crypto_encrypted_prefs_key_keyset and androidx_security_crypto_encrypted_prefs_value_keyset). Hence while decrypted my sensitive data, it gave me wrong value and that was affecting on app. When I tried the same logic with priv app or user app (without using sharedUserId="android.uid.system" it is working as expected.

So the problem is, if I am using system app with shared user id and clearing the data of settings app, on device reboot, key material of my own app changes and Encrypted shared preference will not give proper values back.


问:
Android device does not display Google contacts in correct sort order
I cannot get Google Contacts to display my contacts in alphabetical order sorted by surname, with surname shown first.

The problem has existed since about a fortnight after I bought the phone almost a year ago although the operating system and the Contacts app have obviously been updated since then.

I'm currently running Android 11.1 (Oppo ColorOS 11.1) with (Google) Contacts 3.41.1.361694705 . The settings show

Display -> Sort by -> Surname

Name format -> Surname first

Edit contacts -> Default account for new contacts -> Device

... but despite the settings, Contacts shows surname first (as wanted) but always sorts in first-name order! This is true whether I access Contacts directly, or though the Phone interface.

Curiously, if, from within Signal Messenger, I go to attach a contact card to a Signal message, then Contacts displays the contacts correctly (i.e., in alphabetical order by surname, with surname shown first). And just to be clear, this is not the Signal Messenger contact list I'm talking about here; this is the complete Google Contacts list.

What is the likely cause of the problem?
Is this a well-known bug?
Where is the sorting done? On the device, as one would hope, or by having Google do it?


问:
Here GPS tracking
I have been lured into the world of FOSS apps, apps using known trackers and loggers, DNS, and firewalls. My phone is rooted via Magisk. It's a Huawei P20 Lite. Running Havoc 2.9 and Android 9.

So I have started replacing all the Google store apps with new open-source apps found on FOSS and F-droid.

Currently, I am running RethinkDNS providing Firewall and DNS services. So looking through the resolved queries and the firewall log of RethinkDNS, I found an internal IP (used PCAPdroid for packet capture) on UDP port 53 which resolves to sodium.slp.pos.here.com.)

I have read up on Here's services which is location-based tracking for apps using HERE's SDK. My phone does not have a Google Play Store installed. I used MicroG for a while until I started moving over to other open-source apps.

Looking at the packet data, PCAPdroid does a good job of finding the apps which connect to Google's or other servers for tracking purposes. So then I go ahead and look for an alternative app on the above-mentioned app stores.

Also, I used ClassyShark3xodus and found so juicy titbits on trackers/loggers on my phone. Loggers from what I read up are not all that bad for app devs (GitHub?).

Currently, I have RethinkDNS blocking UDP traffic from unknown apps.

The following is captured via PCAPdroid.

```<code>IPProto SrcIP   SrcPort DstIp   DstPort Uid App Proto   Status  Info    BytesSent   BytesRcvd   PktsSent    PktsRcvd
17  10.215.173.1    39132   10.215.173.2    53  1051    netd    DNS Closed  sodium.slp.pos.here.com 69  527 1   1
6   10.215.173.1    59738   3.124.142.17    443 1021    GPS TCP Closed      657 120 3   3   1617287557
17  10.215.173.1    52141   10.215.173.2    53  1051    netd    UDP Closed      138 0   2   0   1617287634
</code>```

Also from what I have read, and please correct me when I am wrong! This is how netd sends network-related info to other Android services requesting such network traffic.

Currently, I am blocking via RethinkDNS all GPS-related requests. Now I am not interested in any GPS service. I just want to know where my traffic is heading.

Also, I tried Bitwarden to find the origin of these requests to no avail.
Any help or info would be greatly appreciated as I want to learn how all these things connect.

Title: Here GPS tracking


问:
Is there any way to force apps to use internal memory only on rooted Android device?
I have OnePlus 5T 8GB RAM + 128GB internal storage. 100GB free space is available on phone. I rooted the device.

Now, I am facing a problem regarding installing apps from Google Play Store. When I try to install any random app, it's showing

App Requires External Storage

[app name] can't be downloaded. Insert an SD card or USB storage with sufficient storage, and try again.

And also no apps are using Internal Storage for storing the data like Camera, WhatsApp, etc. I am even not able to download and see the WhatsApp images or any document shared and not able to download anything from Chrome too.

How to solve this issue?


问:
What are android batteries PIN type?
I'm trying to determine the different PIN types of the batteries used in Android, specifically to those batteries that use flex cable.

For example;

The image above is a sample of batteries for Xiaomi phones, I'm not sure which models used it but they do have a different PIN type, I assumed that these pin types are universal and are not limited to the Xiaomi brand only.

Title: What are android batteries PIN type?


问:
Discretionary Access Control (DAC) for sockets?
How to add DAC for sockets in config.fs?

https://source.android.com/devices/tech/config/filesystem

after making user and group of non-root, using the config.fs changes as mentioned in the page, with non-root user our application creating a problem with network I/O error so read we have config for sockets as well but no example is given in that page.

Anybody has an example of adding sockets in config.fs page.


问:
How to know the address of the dns server I m using?
Simple question but I couldn t find the answer anywhere. It is not part of ip informations and the information is not trivial when being connected to the Internet over lte.

getprop | grep dns is returning nothing.


问:
How to load an HTML file on an SDCARD in a browser using Android 11
Background

Using a file explorer I can select an HTML file and it will start the default browser and then do its thing.

The HTML file is on an inserted SDCARD

In the browser, the HTML file takes some options and displays text relevant to those options

The reverse does not work (The Problem):

In a browser I enter the path for the HTML file shown by the file explorer

An example: the file explorer shows the path as /storage/####-####/folder/filename.html

In the browser I enter file:// then the path above (####-#### is 8 numbers in two sets of 4)

This generates the response: "Access to the file was denied: it is not readable. may have been removed, moved or file permissions may be preventing access."

There is no user code

I wish to enter the file URL within the browser so it can be bookmarked for easy future access


问:
Using DeX with two external Monitors?
I would like to replace my desktop computer with an android phone.
I only do word processing (in google docs) and internet browsing (chrome), so I figured the processing power of a new phone should be enough for that.
However, I like to write on one screen, while I read pdfs or research websites on another screen.

I have two HDMI monitors.

Can I use Samsung DeX or android desktop mode for this?

What should I look out for, when buying a phone or a suitable docking station? (I haven't seen ones with two HDMIs yet)

Title: Using DeX with two external Monitors?


问:
What is my overseas Hardware and how to Flash it?
My phone was bought online and it came from overseas. Various benchmarks have determined that my phone's Android system and hardware does not match the description given on the site or the About Phone section. The About Phone section says my system is an Android 10 and that I'm running an eight core processor with 12 gigs of RAM and 512 gigs of an internal storage.

The various benchmarks determines that I'm running Android 8.1. That I have less than 1 gig of RAM and only 8 gigs of internal storage and a 4 core processor.

I cannot get a clear-cut picture of my entire system to be able to Flash it properly. Is there an app or a website system that isn't going to charge me, that can determine any of the specifics that I need so that I can Flash a new ROM or Find and Flash for me?

I have done every possible search that I know of considering that I am not all that fluent with this area. Most of the benchmarks say that I'm running an Alps manufactured machine. But I can't verify that they are the manufacturer or that they even have manufactured a phone. So I really need some help. Any help that can be given, I would be greatly appreciative


问:
Is the memory card still recoverable?
I had a memory card that was almost full, and recently when I was working with it, it suddenly crashed. The memory card was completely clean and looked like a new memory card. So the problem is not the connections.

I own a Samsung Galaxy. Normally, When I insert the SD card inside, it says "Preparing SD Card (Checking for errors)" and then a few seconds later it becomes available to use.

But when I insert this memory card into the device, the device does not show any reaction.
Neither message nor anything, the device is completely indifferent to its entry and exit.

I do not know if there was any important data in it or not, but I know it would be better if it could be retrieved.

Is the memory card still recoverable?

Title: Is the memory card still recoverable?


问:
Is it possible to automate a complex task without using apps or rooting? If not, which is recommended?
So, we are part of a company that provides VPN services to retailers. One of our clients doesn't want to have their employees open up the VPN and login every time they turn the device (an Android tablet) on. This involves opening up OpenVPN, putting in credentials and clicking the Connect button. Is this possible natively, without rooting - opening up an app and putting in credentials automatically - or do I absolutely need an external app? If so, which app is the most recommended in this case?</p>