问:
Camera stops recording (but doesn't crash)
(Phone: Samsung Galaxy A5 (2017))

Since a few months back, every time I try to record a video with my default camera app or any other third party app, what happens is the following:

I start the recording.

A timer starts at the bottom with a blinking red light to indicate that the phone is indeed recording.

In a random amount of time (half a minute up to 3 minutes) the red light disappears, the timer stops, but the camera doesn't crash or anything - it just stays frozen and stops recording. I have to exit the app and reenter to get it working again.

Additional details:

Photos I can take just fine.

The problem doesn't seem to affect Snapchat or Google Meet, which I both regularly use.

Yes, the problem also occurs with the front camera.

When I tried to record on another application, when it stopped recording it stated "Failed to reconnect to camera" and "Server died, video halted".

What I have tried so far (and not one has worked):

Deleting app data/cache

Restarting my phone

Changing between SD and internal storage for the saving location

Going into safe mode

Factory restarting my phone twice - once after I had restored everything, second time when the first thing I did after setting up my phone was going into the camera app to record.

I'm unsure if this is the right place for this question, but any help at this point would be much appreciated, as I'm in a big need for a recording device currently. Thanks!


问:
Relocked bootloader
I had unlocked bootloader on Moto g5s, and then relocked it again with  fastboot oem lock, now it shows warning "Your device has loaded a different operating system" and when turned on, asks a password
is it a brick now?
How can this be solved</p>

ContentLicense: CC BY-SA 4.0

Title: Relocked bootloader


问:
Firefox Android Clearing download history without deleting the file
On the desktop version of Firefox, when I open "Show All Downloads" and there "Clear Downloads", the history of downloads is cleared, but the downloaded files are present in the folder still. This is the desired behavior.

However, on Android Firefox, if I open Tools->Downloads, I only get the option "Delete All Downloads" and when I press it, the list gets cleared, along with the files from the folder. How do I avoid this and get the behavior similar to that in the desktop? Basically, I wish to clear Firefox download history in Android without deleting/renaming the downloaded files.

OwnerDisplayName: mahesh


问:
What was my phone doing and why?
I have a Samsung Galaxy S7. Yesterday and today it behaved very strangely. In the order I noticed things:

it thought it was Thursday on Wednesday. I got reminders about appointments that had "already started", that sort of thing. I restarted and it now agreed it was Wednesday

mail stopped coming in. (I use Outlook.) I didn't notice for some time, but looking at what mails I actually got that day, this was the next thing to happen

mail stopped going out. I forwarded some emails to someone else who didn't get them

when I typed a text, I could see the words I was typing, but they disappeared when I pressed Send and were not visible in the conversation. The recipient got the texts.

when I received a text, I got the expected noise and could see the text contents in the notification at the top of the screen, but if I tapped it, the conversation did not update

A hard power down fixed nothing

Throughout this, it worked fine as a phone (voice calls) and both Skype and WhatsApp worked perfectly. There is no doubt that I had data all the time. A game I play while waiting which insists on being connected worked fine, except for the first time when I came home and got on the wifi, where it would neither connect nor object that it couldn't connect. That's when I did the hard power down, left it 10 minutes, and powered it up again.

In the morning I sent a text and to my great surprise, what I typed stayed on the screen and I saw the reply too. However sending me pictures still did not work. Several hours later, emails started coming in and an hour or two after that the person I forwarded the emails to got them. And four or so hours after that, pictures in texts (multimedia messages) are happy to download and display.

Is there a single thing that can be wrong with a phone (and remember, it's not "you don't have data") that could cause this constellation of strange behaviours and magical self fixing?

There is plenty of storage space:

Title: What was my phone doing and why?


问:
Can I access both cameras, wide and normal at the same time?
Some smartphones have two cameras, working together as one implementing different parts of the zoom range.

Is it possible to use both of them at the same time?

With both at the same time, I do not necessarily mean reading the frames at the same time synchronously, reading both with 30 Hz from different threads would be great.

A problem could be if a camera needs to be initialized somehow, and only one can be in the active state at a time.


问:
How do we know when an android version is going phase out and not maintain anymore in the near future?
From the security bulletin I can know that which version of Android is not being supported by Android anymore.

For example I can tell that Android version 7.1.1 and 7.2.1 are not being supported around 4th Nov 2019, by referring to the 4th Nov 2019 bulletin.

Questions:

1) Are there any ways to get the precise dates when Android 7.1.1 or 7.2.1 are deprecated?

2) Or are there any official announcement to get the date for Android 8.0 or 8.1 being deprecated beforehand? So we can plan accordingly to stop supporting that version for security reasons.

3) In wikipedia, old versions means it's unmaintained. But how to get this information from the official docs?


问:
Samsung Chat Service Privacy
I'm trying to find out privacy settings behind the wifi chat offered by... Samsung? Its built into my S10e as an additional chat service with little to no information about it. It's free and enables chat over WiFi and to groups of users who have the feature enabled. It also enables Android users to see when others who have the service are typing like on the iPhone.

My concern is privacy. If it's free, how do I know that I'm not the product here?

The Stack Exchange app won't let me upload a 256KiB image so I've added a URL for the screenshot: screenshot of new messages feature

Title: Samsung Chat Service Privacy


问:
Digital Wellbeing in Secure folder Android 10
How can I use Digital Wellbeing in Secure folder Android 10? I am using Samsung A70.

Basically I would like to restrict usage of certain apps inside my secure folder and if possible I would like to have a launcher for secure folder like Desert Island - A Digital Wellbeing Experiment - Apps on Google Play. I am able to install it but I have  to manually activate it everytime I go inside secure folder.


问:
Android detects SIM change – gmail synchronized messages deleted?
After gmail detects SIM change – it asks to renew login to gmail account.

This is a very good security action. But does it maybe also clear synchronized messages (that have been downloaded before SIM change)?

ContentLicense: CC BY-SA 3.0


问:
How to modify CSC file of samsung sm-j500fn?
My phone origin is the UK and I am in Sri Lanka now. My phone modemst1, modemst2 were reset and also I forgot to backup.

```<code>dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2

</code>```

After reset it has asked to unlock the network.
I've tried many solutions such as flashing stock ROM of UK before I had custom rom(arrow os), zx3 tool pro. I could not do it. I don't plan to buy a code since I think, It can be recovered.
I think it can be done via modifying the CSC file since it is specific to geographical region and carriers and it contains the software packages specific to that region, carrier branding and APN setting but I don't have enough knowledge to modify the CSC file.
Another possible solution may be flashing the living country CSC file but I could not find CSC file only for my j5nlte phone with Sri Lanka.
Can anyone suggest how to modify the CSC file or provide any solutions to unlock the network in my device?
Thanks in advance.........


问:
Unable to unlock Asus Zenphone 3 bootloader
tried unlocking using official APK as well as the unofficial .
https://forum.xda-developers.com/zenfone-3/how-to/zenfone-3-ze520kl-ze552kl-unofficial-t3738811
https://wiki.lineageos.org/devices/zenfone3/install

I guess bootloader is not unlocked, although it said unlocked. Any other way to unlock the bootloader or troubleshoot the unlock

```<code>###############################################################################
#                                                                             #
#                           Device Unlocked                                   #
#                                                                             #
###############################################################################
< waiting for device >

...
(bootloader)    Device tampered: false
(bootloader)    Device unlocked: false
(bootloader)    Device critical unlocked: false
(bootloader)    Charger screen enabled: true
(bootloader)    Display panel:
(bootloader)    Device is_authorized: false
(bootloader)    ssn_num: G9AZCY05W199BPD
(bootloader)    isn_num: N0CY1637MB0028482
(bootloader)    check_fused: 0
(bootloader)    Device resize: false
(bootloader)    BOOT_COUNT : 466
(bootloader)    SB=Y
(bootloader)    Re-partition: false
(bootloader)    Device had been rooted: NO
(bootloader)    Device has copy fsg to fsgCA: false
(bootloader)    Device last copy fsg status: fail
(bootloader)    verity_mode: 1
(bootloader)    is_ffu: false
(bootloader)    verity_counter: 0
(bootloader)    total verity_counter: 0
OKAY [  0.211s]
finished. total time: 0.212s

target reported max download size of 534773760 bytes
sending 'recovery' (21090 KB)...
OKAY [  0.511s]
writing 'recovery'...
FAILED (status read failed (Too many links))
finished. total time: 0.663s
</code>```


问:
"Keep WiFi on during sleep" on Always not working
I have set "Keep WiFi on during sleep" on "always", however it does not seem to work.
The connection keeps established with my router (I can see the wifi icon), however I need to unlock my phone and open WhatsApp before web.whatsapp notices my phone is connected again.
I'm not sure if this is a whatsapp or an android problem, I was hoping someone has the same issue and/or solution.</p>


问:
MicroSD permissions & move applications to microsd
I am using Android version 9.

I was using my mobile with an microSD, formatted as external storage.
Most applications were moved to microsd/running from there.
So I decided to buy a faster one; I copied all files to my PC (just copied all files loosing all extra attributes).

Then I formatted the new one as external storage and I copied all files.
But it crashed (DoA) after a few hours. During troubleshooting I accidentally formatted as internal but didn't work (obviously). Luckily no data was lost as it wasn't writable.

Now I have again a working microSD formatted as external.
I copied all files to it. However, all application are not capable of moving to microsd and use the internal storage.

Any idea how to make "move to sd card" button available again ?

Thank you


问:
Recover data from Download/Odin Mode on phone that won't boot into Recovery?
Is there any way to get the data out of a Samsung phone that will boot into Odin Mode / Download Mode but won't boot into Recovery or anything else?</p>


问:
Macrodroid -- stop loop when screen touched
Macrodroid question.

I have the following macro, which needs to loop:

UI Interaction

Wait 1 second

UI Interaction

Wait 2 seconds

Macro Run [This Macro]

How can I break the loop between Step 4 and Step 5 (Macro Run), if the screen is tapped, during that 2-second delay?

I have considered creating a second macro, that will terminate the first macro, upon trigger of screen tap, but screen tap is not a UI Interaction option as a trigger for the second macro.


问:
Can't load operating system
I recently flashed a local build of AOSP to a Pixel 3a XL.  After rebooting and re-locking the bootloader I get the following error:

can't load operating system

Any suggestions to resolve this?

The steps which got me here: I downloaded and installed a factory image for 'bonito', flashed to the Pixel 3a XL, and after rebooting everything works fine.

I then built and flashed AOSP from Build: QQ2A.200501.001.B2 with TAGNAME:  android-10.0.0_r35 via the usual:

```<code>choosecombo 1 aosp_bonito user
m
</code>```

and then:

fastboot flashall -w

The result is the error above.  Any suggestions would be great!

Title: Can't load operating system


问:
Android File Transfer shows folder ans then pops up the can't access device storage message
android file transfer was working fine until today.
Usb debugging is on.
File transfer is selected on the usb connection.
I am able to see the folders and files but the message pops up and it is not letting me access them and it also works with another androis plugged in to the same mac, it just doesn,t work with my android.
I dont have samsung kies nor samsung smart.

What can i do?


问:
update linked table in Google docs Android
If I link a table into a docs, then later change the linked table, I can click on update when I'm on the desktop.

If there a similar function on Android?


问:
Allow WhatsApp calls in Silent / Do Not Disturb mode - Android 10
Has anyone come across a way to allow WhatsApp calls to ring & vibrate when a phone is set in Silent / DND mode on Android 10 (Device = Pixel 3A)?

The starred contacts route seems to work for regular phone calls & SMSes only and does not seem to include WhatsApp calls in the exceptions list.

If anyone has come across a solution to this & is willing to share it, would be appreciated.

Regards,

Harsh


问:
Why does Google Photos "Free up space" feature tell me I can free up only 12MB?
I'm using Google Photos to backup and sync my photos to the cloud. In the menu in the Android app there's an option called "Free up storage", which will supposedly

Remove original photos & videos from your device that are already backed up.

Clicking it brings up a dialog that says

Free up 12.46 MB

Remove 6 items from device

These items have been safely backed up to your Google account. You'll still be able to view them at any time.

This makes no sense at all, considering I have backed up 500+ photos using the app. They all appear at https://photos.google.com so I'm 100% sure they are backed up. Of those 500+ photos, only 31 are recent ones (less than 30 days old) and the rest are older, up to a year old.

Why does it say that it can only remove 6 photos and free up 12 MB? Is it because my phone has 3 GB free internal storage and 20 GB free SD Card storage already?

I am aware of the "Delete from device" option to delete individual photos, what I'm interested in here is how the "Free up storage" feature works, and why it won't actually free up all the backed up photos.


问:
Xiaomi mi a2 lite stuck on headphones mode
I was doing a mod with my car for an aux input mod but along the way I had to try different pinouts on my radio pcb to get the signal into it from my phone and unfortunately I damaged the phone audio circuit because when i unplug the jack it still puts the signal through headphones and speaker is out of play . I did find a temporary solution using lesser audioswitch app but when i restart the phone it switches again to headphones and I have to manually put it back to speaker mode .Does any one know a way to permanently set the audio output to loudspeaker as I will not use headphones anymore . By the way I physically removed the headphone port on my phone to be sure it is not in short or something. Any solution is appreciated.

Thanks in advance.


问:
Removing Do Not Disturb feature in Motorola phone
I am trying to completely eliminate Do Not Disturb on my Motorola phone. If I'm in a doctor's office, I just turn the volume down.

I've tried all the simple settings on the Settings pages.

Is there any way to remove it?


问:
Formatted sd card android 6 Marshmallow
I have a big problem with recovering files from a SD Card.
I had a SD Card putted as internal memory on an Infinix android 6 Marshmallow, i've accidentally formatted the sd card when inserted on my PC to copy files, i've tested all the recovery program but no luck, i've found that when the sd card is used as internal it got encrypted.
So is there any way to recover files or to decrypt the sd card ?

Best Regards,

Title: Formatted sd card android 6 Marshmallow


问:
Can baking EMMC chip revive a dead motherboard?
I think my phones EMMC chip is dead.
At my days i baked some dead graphic cards and get somewhat good results.

Can same thing work with EMMC chip on a phone?

If you never heard of it here a link.

https://www.instructables.com/id/How-to-repair-your-Graphics-Card-by-baking-it/

My original problem here if you are curious.Asus zenfone 6 E:failed to mount/ cache


问:
restore data from internal storage of android phone
I am struggelling with the file recovery of an internal storage of an android phone.

I made a dd copy of the /dev/sda device which includes the system and userdata and some other partitions of the phone.

```<code>bla@bla:/media/Volume$ mmls sda.raw
GUID Partition Table (EFI)
Offset Sector: 0
Units are in 4096-byte sectors

      Slot      Start        End          Length       Description
000:  Meta      0000000000   0000000000   0000000001   Safety Table
001:  -------   0000000000   0000000005   0000000006   Unallocated
002:  Meta      0000000001   0000000001   0000000001   GPT Header
003:  Meta      0000000002   0000000002   0000000001   Partition Table
004:  000       0000000006   0000000015   0000000010   padding0
005:  001       0000000016   0000016399   0000016384   recovery
006:  002       0000016400   0000032783   0000016384   boot
007:  003       0000032784   0001011727   0000978944   system
008:  004       0001011728   0001026063   0000014336   apppreload
009:  005       0001026064   0001041423   0000015360   cota
010:  006       0001041424   0015447055   0014405632   userdata
011:  007       0015447056   0015450106   0000003051   reserve0
012:  -------   0015450107   0015450111   0000000005   Unallocated
</code>```

I am able to mount some partitions:

```<code>bla@bla:/media/Volume$ sudo fsstat -b 4096 -o 32784 sda.raw
FILE SYSTEM INFORMATION
--------------------------------------------
File System Type: Ext4
Volume Name: system
Volume ID: 7019a2b4b48a33b92c4409cbe0a229c7

Last Written at: 2020-05-28 21:04:07 (CEST)
Last Checked at: 2019-07-22 16:11:16 (CEST)

Last Mounted at: 2020-05-28 20:55:42 (CEST)
Unmounted properly
Last mounted on: /system

Source OS: Linux
Dynamic Structure
Compat Features: Journal, Ext Attributes, Resize Inode, Dir Index
InCompat Features: Filetype, Extents, Flexible Block Groups,
Read Only Compat Features: Sparse Super, Large File, Huge File, Extra Inode Size

Journal ID: 00
Journal Inode: 8

METADATA INFORMATION ...
</code>```

But not the userdata partition. Are there any tricks I missed so far?

```<code>TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk sda.raw - 63 GB / 58 GiB - CHS 7694 255 63
     Partition               Start        End    Size in sectors
>P MS Data                   262272    7971615    7709344 [system]
 P MS Data                  8093824    8208511     114688
 D MS Data                  8208512    8331391     122880
 D MS Data                  8331390  123576413  115245024
</code>```

Outputs for userdata:

```<code>bla@bla:/media/Volume$ sudo fsstat -b 4096 -o 1041424 sda.raw
Cannot determine file system type
</code>```

Thanks for any hints in advance!

Klaus


问:
Phone overheats after powering on
I've seen this with plenty of smartphones,usually after 1-2 years of use.The phone overheats for a minute or 2 before cooling down,but it's performance doesn't differ from a non-overheating phone that has been powered on.

Is this simply due to the natural wear and tear which causes a CPU overload for the first few minutes,or it it because of the failing/malfunctioning of a particular component in the phone/(which would in turn, adversely affect its battery life)

Title: Phone overheats after powering on


问:
How to Cast or Stream all Playback Audio from Android device to a desktop Pc
I have my Nokia 6 always next to my desk, and I'm using a desktop PC Windows 10 i7 64x
32gb ram and also running Voicemeeter, I use my desktop for everything, I can control all my devices from my desktop and I want to be able to listen any playback audio from my mobile device into my desktop audio system...

I don't need to cast the mic audio to my PC, just the playback audio
I'm not talking about streaming music either.

Anyone can help? Please thank you


问:
Connecting USB Type C Flash Drive to Samsung Galaxy S9
Just bought the Kingston 64 GB DataTraveler microDuo 3C flash drive. The drive has both USB Type C and USB 3.1 port.

I tried connecting the drive directly via USB Type C port but it did not list the external storage. However when using the Samsung OTG it did recognize the drive.

The drive with dual port seems point less if the phone doesn't recognize the drive without OTG. Is this limited to only Samsung phones? Are there ways to connect the drive directly without the OTG? I have seen couple of videos on YouTube which reviewed the drive by connecting to phones without OTG. Thanks.


问:
How to force SELinux to permissive even when setenforce 0 is not working and kernel was 100% permissive when flashed?
I don't know what to do, I'm using Samsung Note 3 (Exynos) - N900 with custom Resurrection Remix 5.8.5 ROM (Android 7.1.2) with it's own permissive kernel and rooted with Magisk. Yesterday it turned to enforcing status, then SPenCommand stopped working. And when I tried to setenforce 0 in terminal, it gave me error: invalid argument. I don't want to flash phone again, backup takes a lot of time, as well as restoring, because I have very old PC and I flashed it on friend's laptop who is now 50 miles away and won't come just because of this (my computer still uses USB 1.1 interface - I know it's garbage but its working for 15 years stable. Any suggestions how to do it on phone itself, would be helpful. Please help me somebody :)</p>


问:
SUPolicy to allow custom service to read and write from Internal Storage
I'm setting up custom service with custom sepolicy using this as a base:
How to fix SELinux "avc: denied" errors when launching DNSCrypt as init.d script?

In 99% I follow the quick summary from link 1:1 except some small, irrelevant differences like naming, paths, etc. My issue is that now I want config and log files to be read and written (respectively) from the internal storage /sdcard aka /storage/self/primary

Custom sepolicy looks like this

```<code>supolicy --live 'allow init my_service process *'
supolicy --live 'allow my_service my_service * *'
supolicy --live 'allow my_service node tcp_socket { node_bind }'
supolicy --live 'allow my_service node udp_socket { node_bind }'
supolicy --live 'allow my_service port tcp_socket { name_bind name_connect }'
supolicy --live 'allow my_service port udp_socket { name_bind }'
supolicy --live 'allow my_service proc_net file { open read }'
supolicy --live 'allow my_service proc_stat file { read }'
supolicy --live 'allow my_service properties_device dir { read }'
supolicy --live 'allow my_service devpts chr_file { open read write }'
</code>```

dmesg shows me permission denials for
avc: denied { search} [...] scontext=u:r:my_service:s0 tcontext=u:object_r:storage_file:s0 tclass=dir

How can I update current custom policy I load on boot via:
exec u:r:magisk:s0 root root -- /system/bin/load_policy /system/etc/selinux/sepolicy

with new additions? And how would I specify storage_file? Does this object covers whole internal sd memory access or I somehow need to specify path?

UPD:

I collected all selinux denials and allowed them and now I'm in the clear in terms of selinux permissions. Still, I dont have access to storage, process reports error:

[FATAL] open /data/media/0/config/my_config.cfg Permission denied

which makes no sense to me. chown for the file is root/everybody and chmod is 660


问:
SP Flash Tool Windows 10
I am unable to run the flash tool. Says the following dll files are missing although they are shown in the unzipped file. Flashtoollib.dll   FlashtoolllibEx.dll  QtWebKit4.dll  SLA_Challenge.dll  I am running Windows 10  I have tried downloading the flash tool file a few times but get the same messages. Can anyone help please?</p>

Title: SP Flash Tool Windows 10


问:
how to upgrade operating system of micromax E311 device for a novice user
I have Micromax E311 phone.

For some reason the settings of phone have become unreachable. So on the display I see com.android.settings. Setting icon with a mechanical gear on it but when I tap it then I get a pop up

Unfortunately, Settings has stopped.

I clicked Ok.

Then again the same message pops up within a fraction of second this keeps happening then I restart the phone somehow and if I touch settings then same thing happens. If I don't touch the setting's icon, there is no problem I can keep using the phone.

So I am not sure what is the OS in this phone. My guess is that it has been formatted to the factory settings, so it's having Android 4.4.2. I read many tutorials about rooting the phone and installing custom ROM on it. Like

After rooting an Android phone, you can switch the operating system
  ROM whenever you want. The rooting process removes the preinstalled
  operating system on the Android phone, replacing it with a rooted
  Android OS.

as given on https://smallbusiness.chron.com/change-roms-rooted-android-30006.html

How to root any device
https://www.xda-developers.com/root/

How to install custom rom
https://www.xda-developers.com/how-to-install-custom-rom-android/
For my device flash rom
https://www.gogorapid.com/flash-stock-rom-on-micromax-e311/

What I am confused with is to upgrade my device OS to android 10, first I should replace the ROM and then do "something"  as mentioned on lot of forums or what exactly I should to to upgrade the OS of my phone.
I am very confused with all the tutorials available on internet.
I want to know simple steps in bullet points like

Step 1 change ROM

Step 2 change this

Step 3 change that

Step 4 boot phone.

Meaning such a guideline will help me when I read tutorials, and I was getting confused with them.I am not sure if with android 4 OS I can directly upgrade to some thing like android 9 or so.


问:
Huge difference in transfer speeds when using separate directories for transfer
I was transferring around 12k images (total size around 2 GBs) from my laptop running Windows 10 1909 to my Android phone via USB. Initially, it was around 5-6 images copying per second and soon after around 500 images speed began to drop and reached more than 5 seconds per image. I tried copying them in batches of 500 images but that was no better. It was like the more the number of files in a directory the slower it is to add more to it.

Then what I did is make separate folders in the same directory and copy only about 500 images at a time to each. This way I got speeds of 5-6 images per second similar to what I was getting initially when I was transferring them all at once to a single directory. Later, I simply moved the images out of those folders using native file manager in my phone, which was almost instantaneous.

Why is that speed was decreasing exponentially when I was copying all files to the same directory?

OwnerDisplayName: Apoorv Goyal


问:
Error while running an emulator
=== About ===

Build version: Android Studio 3.6.2 Build #AI-192.7142.36.36.6308749 March 19, 2020

Java version: 1.8.0_212-release-1586-b4-5784211amd64

Operating System: Linux (5.4.0-31-generic, amd64)

JVM version: OpenJDK 64-Bit Server VM JetBrains s.r.o

Event Log :

```<code>31/5/20
7:37 AM * daemon not running; starting now at tcp:5037

7:37 AM * daemon started successfully

7:38 AM Gradle sync started

7:38 AM Gradle sync finished in 5 s 456 ms (from cached state)

7:38 AM Executing tasks: [:app:assembleDebug] in project /home/adeshchoudhar/AndroidStudioProjects/HigherOrderFunctionalities

7:38 AM Emulator: E0531 07:38:29.247262716   10618 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1590890909.247245520","description":"SO_REUSEPORT unavailable on compiling system","file":"/mnt/tmpfs/src/android/emu-master-dev/external/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":169}

7:40 AM Gradle build finished in 1 m 52 s 648 ms

7:41 AM Install successfully finished in 37 s 891 ms.
</code>```

I have 8GB ram, and I know the emulator is quite heavy to load, so it is slow. But it was working fine, however while working I messed up something and ended up in this error message.

```<code>7:38 AM Emulator: E0531 07:38:29.247262716   10618 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1590890909.247245520","description":"SO_REUSEPORT unavailable on compiling system","file":"/mnt/tmpfs/src/android/emu-master-dev/external/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":169}
</code>```

The emulator is now also working fine. But sometimes, my system hangs. I have to wait for to everything run smoothly and also there is a problem in closing the emulator. My questions are:

1. (top priority) How to resolve the above error / what is the reason / what is the meaning of the error?

2. Emulator hangs the system and does not get shut down or closed quickly, is this normal?

3. What does the size on the disk in the AVD manager means? Is it ram which is taken or just memory?

4. How to optimise the speed of emulator? How to properly use it from start to end?

I know I'm asking more questions, but they are linked, as long as I think, so please contribute.
Any help would be appreciable, your contribution will help me a lot to learn.

Please comment and help me, if you know anything regarding my questions.

Title: Error while running an emulator


问:
Finding the microphone settings on Android One 10
My headset microphone has stopped working recently, and I would like to have a look in the microphone settings to fix the issue. However, I cannot find any setting related to the microphone volume, noise filters, etc. (such as described in point 1 here) in the settings app.

Where could I find the related settings? I cannot imagine that there are no microphone settings, but if this is the case, could there be an app that would give me more control?

I am using Android One 10 on a Nokia 6.2.


问:
Changing User Agent in Chromium browsers on Android
Is it possible to change Chrome, Bromite or Brave browser user agent? I am on Android 10 AOSP rom. Rooted device. </p>

<p>It can be done easily on Android Firefox or Kiwi browser with addons and extensions. But what about the chromium browsers which dont support extension. </p>


问:
Bypassing account verification on a Nook BNTV450
I recently bought a Nook BNTV450 from someone on Ebay, to replace a like model that I used for years until it was damaged in a fall.  I got stymied early in the setup by the message "This device was reset. To continue, sign in with a Google Account that was previously synced on this device."

I reported this to the seller, who simply apologized and offered a refund.  Probably I should just give up and buy a newer model Nook, but I really liked my old device, and this is also my third attempt at replacing it (don't ask) and I hate to admit total defeat.

First, I contacted two separate chat support people via the Barnes and Noble web site, who both told me to do a factory reset from the recovery menu.  That didn't work, of course.  Then I called and spoke to a real person, who just flatly told me it was impossible to use the device without the previous owner logging in.

Nearly all pages I've found when searching for the lock message have focused on phones, not Nooks, but one answer on this site got me reasonably far; I'm able to access the general Settings menu.  However, when I repeatedly click the "Android version" button on the "About tablet" menu, it doesn't activate the developer settings.  Instead, one of the following two images fills the screen:

All I can do at this point is click the back arrow to return to the "About tablet" menu.  Develop settings are not enabled.

Other pages suggest one should click repeatedly on other "About tablet" buttons to activate developer settings, such as the "Build number," but only the "Android version" button has any effect on my device.

Even if I were able to turn on developer settings, the Stack Exchange answer I linked to above says the next step is to attach the device to one's computer with a USB cable, but the Nook doesn't have a USB port.  Then one is supposed to run an adb command.  I've installed Android Studio for Linux, but it doesn't come with an adb command.

Is there any way to reset my Nook so I can use it, either by continuing the process described above, or any other way?


问:
Bootloop, can't go to recovery, oem not unlocked
I'll try to be straightforward. A couple of days back, I was using my phone and it got stuck, so I removed the battery as usual, and restarted it. It got restarted at that time, I plugged it in for whole night, and in morning it again stopped responding. I restarted it, and this time, it got bootloop. I opened recovery (It was accessible for first 2-3 trials), wiped cache, restarted and nothing happened. Its still on bootloop.  Now, I cant enter into recovery.

Device: Intex Aqua Turbo 4G, MTK 6375M, unrooted, oem locked, Debugging was turned on.

Things tried:

SP Flash tool: Download DA goes to 100%, then it shows BROM Error, code- 4008, or fax8 (different codes on different versions)

Fastboot: is accessible, device is detected on pc (using fastboot devices), but as OEM was not unlocked, cant flash)

Recovery, as stated is now unaccessible, all it shows is "Intex logo" on selecting recovery mode. Same goes for normal boot mode. Only fastboot works.

I can attach the BROM Error logs, if required. The memory tests of SP Flash tool goes fine, except that it writes NAND flash was not detected , and UFS was not detected. I dont know what this means. I can attach the scatter file too, (I thing that can be the culprit) if required.


问:
Moto e4+ fast charging issues
My moto e4 plus is 2yrs old.Suddenly at 75-80% it's charging rate drops then after a while suddenly it charging very fast after that stoppage.can anyone tell me reason !please</p>

Title: Moto e4+ fast charging issues


问:
Automatic downloads
I've noticed in several occasions that on mobile browsers (I suppose it happens also on desktop ones) downloads can be forced without user consent. I've studied the matter and I've learnt that this is made possible by using server-side languages as, for example, php. The downloaded files, in these cases were malware.

I wonder if it is possible to bypass this unwanted behaviour of mobile browsers, in particular of Chrome, for which I have found the downloads are named as hidden and incomplete files, '.com.chrome.google.xyz'.

Moreover, do these standard names used by Chrome make the malware ineffective and not activable nor executable?

EDIT
@Robert, I don't understand why the question was closed as OT; it seems instead very connected to Android: all I've mentioned happens on Android 7, and I think it is a very problematic and interesting matter.

I have AVs that warn me of threats all the times, and every file is trashed soon after the warning. What you've said seems imply that AVs are completely useless, because the file is processed and executed by exploiting vulnerabilities in the mentioned Android component. I knew that it was problematic on previous Android versions due to a bug of intense battery discharge caused by scanning of corrupted media files that made it go into an infinite loop. However, that component isn't listed among system apps on my device.

I've checked the offending link; I've seen only a bit of html code lines indicating 308 Permanent redirect; no resources as JS, CSS and so on. Why? Moreover the preview was completely different from the original malicious page of autodownload.

It seems as Chrome for Android acts as a trojan downloader, and what's worse, Android automatically executes the code independently of user interaction with the file (though I don't think it happened on my device)

Title: Automatic downloads


问:
How to access BlueStacks' localhost from Windows?
After some research I managed to access Windows' localhost from Bluestacks. If I open Google Chrome in BlueStacks and type 10.0.2.2:/... I can access Windows' localhost.

How do I do this the other way around? Is there a way to connect to Bluestacks' localhost from Windows?


问:
Unlocking Samsung S10 to first page of home screen
I am using a Samsung Galaxy S10. I am trying to find a way to go to my default home screen (the first page of home screens) every time I unlock my phone. I tried MacroDroid and AutomateIt.</p>


问:
How to make an android app access browse external SD card?
The apk im trying to get to work is exagear 3.0.1. It is the one with which you can get some things running on windows, including what i want to run but things I want to run are too big filesize to stay on my internal memory. Exagear is Wine based but dead project, whoever worked on it left it. Few tried to modify it by adding with extra MS frameworks but not proper access to all your folders.

Exagear browses only your internal memory's Download folder, you cant even see dcim, pictures, etc all these common folders. Now I saw on a youtube video in spanish someone made some exe shortcut that works for older version but the Exagear version 2.9 crashes when start and obviously isnt a working version. I use an English version and 3.0.1.

An unpacking the apk shows the Mainfest has the  WRITE_EXTERNAL_STORAGE which helps, nothing, nor if I added READ_EXTERNAL..

I have Magic Dosbox which asks you to grant access to folders, and when you do it from the program, it is added as Special apps access (using Android 9 Pie btw). I thought I needed to do same w Exagear.

I pulled data/system/urigrants.xml and added the line

```<code><uri-grant sourceUserId="0" targetUserId="0" sourcePkg="com.android.externalstorage" targetPkg="com.eltechs.ed" uri="content://com.android.externalstorage.documents/tree/9C64-18E6%3A" prefix="true" modeFlags="3" createdTime="20482846090" />
</uri-grants>
</code>```

great, that adds it to the list of Directory access (under Special apps access) just like Magic Dosbox. Alas, still see only root folder with mnt, storage, and in storage/emulated/0/Download

External SD card is usually storage/30D0-DS35  can be like that, instead of name that says 'external sd'

ADB shows me as I can access this folder just fine but Exagear refuses to show any other folder. Losing patience with this, any1 knows whats needed?


问:
Counting the number of mobile phones in communication range with an Android phone
It is clearly possible to count how many WiFi devices are in the communication range using a computer with a wireless card. The idea apparently is to sniff WiFi probe requests coming from the WiFi devices, including smartphones with WiFi enabled.

Here comes my question - is it possible to do the same using an Android smartphone instead of a PC? That is to say, can a phone WiFi be put in such a mode that it is able to count not only the access points in the range, but other devices as well?


问:
Enable USB-Debugging and delete display pattern on OnePlus One Android 6
I tried to get some data from my OPO that i screen crashed 3 years ago. I'm not able to unlock it, because i forgot the display pattern.
So the plan was to enable usb-debugging via adb in recovery and then to remove the pattern via adb command, but i guess it doesn't work with CM 13 Recovery.
I put my new SIM into the OPO to get internet connection so that it can sign in into my google account automatically but it didn't, even though it was linked to this account when i used this phone.
Is there any possibility to unlock it? Or maybe to connect it as media device to my computer to get the data?

Back in the days i used to have TWRP Custom Recovery, it was pretty easy to connect with a computer and use the phone as a usb device while in recovery mode.


问:
Is it possible to decrypt an encrypted SD card without rooting the Android phone? (How to get the .key file of /data/misc/vold?)
I'd like to encrypt my SD card for Android conveniently, safely and in a cross-platform way so that it can also be used on other devices. I asked about that here.

As of right now there doesn't seem to be a way to do that (an app on FDroid or Playstore which doesn't put data at risk and is secure and very convenient/easy/fast to use).

This is why I decided to keep using the Android's default way of encrypting the SD card. However, this way it's not possible to access the data from other devices. Here it has been described how data of the SD card can be decrypted from other devices but that way requires rooting the Android phone. Is it possible to do this without rooting the phone? In specific how could one get the .key file in /data/misc/vold?


问:
Does my Smartphone Listen to me for Ads?
I was talking to a friend about a tour to a location, the next day I'm getting ads about that travel plans. I asked a friend something about the best way to root an android device... the next day when I open youtube the very first suggestion for me to watch was how to root an android device!”

Is Google always listening on Android? Does Google keep a log of everything we say? And if so, what can we do about it?


问:
How to diagnose bootloop?
My Sony Xperia Z5 sometimes heats up, starts lagging and crashes after a few minutes to end up in a boot loop. I have the teamwin recovery project 3.1.1-0 installed and the phone is rooted with magisk on Android 7.

Usually, it was enough to keep power and volume down pressed, enter the recovery, and choose "reboot" to get out of the bootloop. This time, it seems different, so I'm caring a bit more now.

What are steps to take for finding the reason of and/or getting out of the bootloop?

I have access to a terminal through the recovery.

I have used a script called mm that I had lying around on my sdcard and that I have used before when I had a bootloop due to a broken magisk module, to activate "Core Only Mode" which is supposed to deactivate the loading of any magisk modules. So I assume that the problem is actually not magisk.

Also, I haven't updated magisk, modules, or the system since at least a few months, so it would be weird if that were it.

Wiping the dalvik cache as adviced by the boot-loop tag wiki did not help either.

The tag wiki for logging sent me to android boot up messages for debugging which recommends a few things.  But /proc/last_kmsg is inexistent, dmesg is more output than I know what to do with, especially much recovery stuff which I don't care about, and adb logcat won't react because the device crashes before it is found.

The boot process crashes at the xperia logo - so before the animation

Title: How to diagnose bootloop?


问:
how to export bookmarks from Silk web browser without rooting?
I would like to export my Silk browser bookmarks, ideally to an HTML file.  Amazon has apparently made it impossible to export bookmarks from its Silk web browser on Kindle Fire.

Searching on StackExchange, I note several old recommendations to download certain apps in order to export bookmarks from Chrome or Firefox, and recommendations to root the Kindle.  I would rather not root the Kindle as I am not particularly tech-savvy and my connection to Amazon via the Kindle is important to me right now.

I have enabled the Google Play Store.  Is my best bet to download some app from there, or is there another way I can export Silk bookmarks without possibly messing up my ability to access Amazon content?


问:
"System" is trying to access Internet
I am using OnePlus 3T, Android 9. Recently I installed an app called "NoRoot Firewall" to prevent the apps from accessing the internet. I explicitly allowed and denied access to internet for some apps but didn't allow or deny the "System" (default) app to access the internet. If you don't allow or deny the the access, it will send you a notification when that app tries to access the internet.

I started receiving notifications when the "System" app tried to access the internet on multiple occassions. I ignored it for a week and I didn't see any issues in my phone as such. I was expecting if the system doesn't get internet, it will fail the operation that it was trying to do and I would notice it if I use that feature but I didn't notice any change.

Here is a screenshot of the URLs/IPs that it tries to access.

I tried hitting those URLs/IPs in my browser to check the certificate but it says it's missing certificate even though in the URL it shows that it's trying to access it on port 443.

Please provide your thoughts.

Title: "System" is trying to access Internet


问:
GPS not working on Samsung after Android 10 update
Since the update GPS stops working most of the time.

I have an A6, but it's a widespread problem on many Samsung devices.

I only found a workaround so far:

work-around until Samsung fixes it.  Download and install "GPSTest".   Once installed, turn off mobile data, open GPSTest and it will get a GPS signal with coordinates.  Turn mobile data back on, then hit the home button and open whatever app you want.  Basicaly GPSTest keeps the GPS alive and it will allow other apps to function as well.  I have to do this almost every time I need to use a GPS app.  It works, but is a pain...

Source: https://us.community.samsung.com/t5/Galaxy-S9/GPS-not-available-after-Android-10-update/td-p/1101309

But this works only sometimes.

Is there a better way to fix GPS? Or is there a reliable way to apply that workaround?


问:
Is there a way I can disable part of my display that has a green line?
I have a Pixel 3, and I picked up my phone after momentarily charging it on a wireless pad (for about 30 minutes) this morning, as I usually do, and now it has a green line near the right edge of the screen.

Seeing as it is a display issue, I will probably need to get it replaced.

In the meantime, though, logistics make this difficult, and I would much rather have a black streak on the side than a green one.

Is there any way I can get the phone to just disable a vertical line of pixels?

The touch aspect of the screen works fine, so I don't want to modify that.


问:
Boot on Charger, power down on charger remove and autostart app
I am looking to do the following:

Auto boot device on charger connection.

Auto start an app on boot.

Auto power down on charger disconnection.

It looks like I'll need at least one app to do this, but wondered if there was a single app I can use to achieve what I need (rather than 2 or 3).

I'd rather not root, but would do if I have to.

The device is a Samsung Galaxy Tab A SM-T510.

Thanks.

Update :

I have resolved items 2 and 3 with Tasker, but still stuck with item 1.
I cannot run the fastboot command (so autoboot on charger connect) because Samsung devices do not have fastboot mode. Still looking for a solution to item 1.


问:
Android fail to read screen timeout
I use Motion Detector & Tasker to turn screen on.
It works OK ... like this:

when screen is off and Motion Detector discovers a motion it will turn screen on.

Tasker sets display timeout to 30 sec

Here is where it goes wrong ... the screen is not turn off after 30 sec but after 6-8 sec ... but when I tap the screen when it is turned on then it stays alive 30 sec.

I seems that Android can't read the timeout in Display settings which is 30 sec ... only when I tap the screen it reads the settings.

I have Android 9 & Galaxy Tab S5e.

Then I took another approach ....

I installed SETEDIT from Play to check the value of 'screen_off_timeout'. Then I ran two different test - one with Tasker disabled - one with Tasker enabled.

Taker disabled:

In 'Settings/Dislay/Screen timeout' I set to 15 sec

The display shutdown occured after 15 sec first time ... OK

When I woke the display its shutdown occured after 15 sec ... OK

In SETEDIT the value of 'screen_off_timeout' was 15000 ms = 15 sec

In 'Settings/Dislay/Screen timeout' was still 15 sec

So it seems that without Tasker it behaves as expected.

Taker enabled:

In 'Settings/Dislay/Screen timeout' I set to 15 sec

In Tasker I set 'Display Timeout' to 1 min

The display shutdown occured after 15 sec first time ... OK

When the display woke up due to a motion was detected ... its shutdown occured after 5-7 sec ... not OK

In SETEDIT the value of 'screen_off_timeout' was changed by Tasker to 60000 ms = 1 min ... OK

In 'Settings/Dislay/Screen timeout' was also changed to 1 min ... OK

So both SETEDIT & 'Settings/Dislay/Screen timeout' shows the correct values ... why is screen shut down after 5-7 sec???

Title: Android fail to read screen timeout


问:
Default app for file type
I have a Nokia 6.1 with Android 10 (Android One).

I was trying to download my account statement in Revolut app. It gives me an option to select either PDF or Excel (CSV) format to download. But instead of downloading it opens PDF in Android's default PDF viewer, and for CSV it attaches it to a new e-mail in Gmail app instead. I assume this happens because of file associations, but I can't find an option to configure them.

My problem is that I don't want my account statement coming straight through Google. It's just my personal preference to avoid feeding Google sensitive data directly.

Is it a problem with Revolut or Android? If it's Android, can I configure behavior for file types to open CSV in a different app?

Title: Default app for file type


问:
What are the various technical specs of a fast charging cable?

What technical specs do I need to look for to know a cable will be compatible with my phone?

I just bought a new Motorola G7 supra and none of my existing USB type C cables work with it. I plug it in and nothing happens, no data connection and no power connection.

I don't know if it is USB speed, amperage rating / wire gauge or something else.
Also I want to know all the the technical specs so that when I buy a spare cable I can get one at least as good as the one that came with it.

This information is helpful yet does not seem to answer my question.

How does fast charging work? Here’s every single standard compared
https://www.digitaltrends.com/mobile/how-does-fast-charging-work/


问:
TWRP Advanced Wipe Soft Bricked?
Messed around with my Moto G7 Plus Lake on Lineage 17.1 & ended up with TWRP on partition B & Lineage Recovery on Partition A, no matter my inexpert fumblings. I somewhat unfortunately carried out an advanced wipe on A/B with TWRP & now recovery is unresponsive over ADB or touch. I assume device is toast?

So is there any procedure to rectify, or do I need pop to Shenzhen market & solder new ROM?

Title: TWRP Advanced Wipe Soft Bricked?


问:
android phone enters bootloop after removing packageinstaller
I am trying to block my phone from installing packages from unknown sources.

I rooted my device and removed com.android.packageinstaller.
A reboot after this step forces my phone into a bootloop.
There are two questions I have:

How is the package com.android.packageinstaller related to the booting process of a phone.

Is there any way through which I can block my phone from installing packages from unknown sources. (The switch "Install From Unknown Sources" in the Setting Menu can be toggled easily and does not meet my purpose.)

Model name : Redmi Note 4,
Android version : 7.0

Thanks in advance.


问:
Lost owner privileges on Android 10 after flashing boot image
it seems that my user on Android lost the "owner privileges": Any function or feature that is only available to the main user is disabled in the UI. Unfortunately, this includes user administration and all backup functionality. It seems that I became a secondary user, but I do have the data of the original main user.

Is there any way to get owner privileges back?

This happened after flashing different kernels of Android 10. I do have the correct stock kernel now.

Best Regards!


问:
No slot (not A or B) selected but can get to bootloader screen and use fastboot
long story short I messed up my phone trying to get TWRP/root/magisk on my razer 1 phone (I can provide gruesome details if requested). I can fastboot and get to the bootloader screen. I seem to be stuck, I can't do anything since I have no slot selected on my phone. Any thoughts on how to get a slot selected or to repair this in general? I appreciate any help, thank you very much.</p>

```<code>C:\Razer\platform-tools>fastboot flash boot twrp-3.2.2-0-cheryl.img && fastboot reboot
fastboot: error: Failed to identify current slot

C:\Razer\platform-tools>fastboot --set-active=a
Setting current slot to 'a'                        FAILED (remote: 'set_active failed')
fastboot: error: Command failed

C:\Razer\platform-tools>fastboot --set-active=b
Setting current slot to 'b'                        FAILED (remote: 'set_active failed')
fastboot: error: Command failed

C:\Razer\platform-tools>fastboot getvar current-slot
current-slot:
Finished. Total time: 0.001s
</code>```


问:
USB disconnects on Samsung Galaxy A51
I have Samsung Galaxy A51 (SM A515F) running latest official Android 10 and macOS 10.15 development machine.

ADB authorization is given, but sometimes (~ once per 30 minutes) it disconnects and shows the dialog again.

It happens only with this device (I have ~10 different devices). I've tried different USB ports and cables (including one that was shipped with device) with no luck.

I see the device in the ioreg output:

```<code>SAMSUNG_Android@00400000  <class AppleUSBDevice, id 0x100fbd4da, registered, matched, active, busy 0 (2 ms), retain 18>
</code>```

But not in the adb devices output:

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

It connects again only after few repeatedly accepted dialogs and re-connection.

How to fix it?

UPD. Now it just periodically disconnects and reconnects, sometimes with prompt, sometimes without it.

Logs at the disconnection time (removed unrelated lines):

```<code>06-16 18:04:54.650 12533 13319 D SDHMS:com.sec.android.sdhms.thermal.siop.y: SIOP:: AP:261(261,0) BAT:263(263,0) CHG:263(263,0) USB:0(0,0) WIFI:209(260,50) LRP:268(268,0) LRF:266(266) LRB:268(268)
06-16 18:04:54.758 18551   346 I adbd    : USB event: FUNCTIONFS_SUSPEND
06-16 18:04:54.953   361   389 E libmtp  : [mtp_simple_sink_thread : 0315] -->[mtp_simple_sink_thread, 315] !!!!!! read failed errno [5], error [I/O error]
06-16 18:04:54.954 18551   346 I adbd    : USB event: FUNCTIONFS_DISABLE
06-16 18:04:54.955  4571  4596 D DataRouter: After the usb select
06-16 18:04:54.955  4571  4596 D DataRouter: read length is zero
06-16 18:04:54.955  4571  4596 D DataRouter: dr_usb_deinit
06-16 18:04:54.956  4571  4596 D DataRouter: dr_usb_init
06-16 18:04:54.956  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9235, ACTION=change, USB_STATE=DISCONNECTED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:04:54.956  4571  4596 E DataRouter: USB Interface is open with 0x6
06-16 18:04:54.956  4571  4596 D DataRouter: USB interface is now configured for usb_fd = 0x6
06-16 18:04:54.956   361   389 E libmtp  : [mtp_simple_sink_thread : 0362] -->[mtp_simple_sink_thread 362] read error [0] [Success]
06-16 18:04:54.957  5019  5749 D UsbDeviceManager: updateState: state=DISCONNECTED
06-16 18:04:54.957  4571  4596 D DataRouter: Before the usb select
06-16 18:04:54.958   361   361 W MTPRx   : notification from stack 21
06-16 18:04:54.959   361   361 W MTPRx   : Read Error Came so calling usbRemoved()
06-16 18:04:54.962 18551   358 I adbd    : UsbFfs: connection terminated: read 39577 failed with error Cannot send after transport endpoint shutdown
06-16 18:04:54.962   361   361 D MTPRx   : MTP_RUNNING_STATUS = 1
06-16 18:04:54.964 18551 18551 I adbd    : UsbFfs: offline
06-16 18:04:54.968   361   361 D MTPRx   : battery status : Full
06-16 18:04:54.969   361   361 D MTPRx   : usb data role status : host [device]
06-16 18:04:54.969   361   361 D MTPRx   :  sendbooster is false!
06-16 18:04:54.969   361   361 D MTPRx   : In usbRemoved Status bar enabled
06-16 18:04:54.970  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_running_status
06-16 18:04:54.973   361   361 D MTPRx   : inside finishSync
06-16 18:04:54.974  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_sync_alive
06-16 18:04:54.974  5019  5019 V SettingsProvider: Notifying for 0: content://settings/system/mtp_running_status
06-16 18:04:54.990   361   361 I MTPRx   : action : A, selection : 0, update : 0
06-16 18:04:54.995   361   361 I MTPRx   : action : D, selection : 0, update : 0
06-16 18:04:54.996   361   361 I MTPRx   : It's not file transfer case. skip scan.
06-16 18:04:54.998  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_drive_display
06-16 18:04:55.000  5019  5019 V SettingsProvider: Notifying for 0: content://settings/system/mtp_drive_display
06-16 18:04:55.001  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_sync_alive
06-16 18:04:55.003  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_open_session
06-16 18:04:55.005  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_event_status
06-16 18:04:55.007   361   361 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.stopService:1644 android.content.ContextWrapper.stopService:693 android.content.ContextWrapper.stopService:693 com.samsung.android.MtpApplication.MtpReceiver.usbRemoved:959 com.samsung.android.MtpApplication.MtpReceiver$1.handleMessage:623
06-16 18:04:55.012   361   361 E MtpService: onDestroy.
06-16 18:04:55.021   361   361 E MtpService: Unregister Mtp disable Receiver
06-16 18:04:55.023   361   361 E MtpService: Receiver not registered: com.samsung.android.MtpApplication.MtpService$1@1fdfbaa
06-16 18:04:55.023   361   361 E MtpService: Unregister mtpEmergencyReceiver
06-16 18:04:55.023   361   361 E MtpService: Receiver not registered: com.samsung.android.MtpApplication.MtpService$2@b4e239b
06-16 18:04:55.024   361   361 E MtpService: unregistering mtpUserPresentReceiver in UnregisterAllIntent
06-16 18:04:55.024   361   361 E MtpService: Receiver not registered: com.samsung.android.MtpApplication.MtpService$4@58afe95
06-16 18:04:55.024   361   361 E MTPJNIInterface: noti = 103
06-16 18:04:55.026   361   361 E libmtp  : [mtp_usb_mtp_finalize : 1207] -->****** [mtp_usb_mtp_finalize 1207] mtp_close_fd Calling
06-16 18:04:55.026   361   361 E libmtp  : [mtp_close_fd : 0118] -->[mtp_close_fd 118]  fd = 63...
06-16 18:04:55.027   361   361 E libmtp  : [mtp_close_fd : 0126] -->[mtp_close_fd 126] USB endpoint [63] closed...
06-16 18:04:55.027   361   361 E libmtp  : [mtp_usb_mtp_finalize : 1210] -->****** [mtp_usb_mtp_finalize 1210] Updating the gInitializeFlag Flag to FALSE
06-16 18:04:55.027   361   361 E libmtp  : [mtp_usb_mtp_finalize : 1213] -->****** [mtp_usb_mtp_finalize 1213] Calling mtp_stop_io
06-16 18:04:55.078  5019 13123 I ActivityManager: Process com.samsung.android.MtpApplication (pid 361) has died: fore SVC (133,1457)
06-16 18:04:55.078  4473  4473 I Zygote  : Process 361 exited due to signal 9 (Killed)
06-16 18:04:55.079  5019  5079 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 361 in 0ms

.....

06-16 18:05:02.373  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9236, ACTION=change, USB_STATE=CONNECTED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:02.374  5019  5749 D UsbDeviceManager: updateState: state=CONNECTED
06-16 18:05:02.375  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=1 configured=0 mCurrentFunctions=mtp,adb
06-16 18:05:02.376 18551 18551 I adbd    : ADB disconnect
06-16 18:05:02.376  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=true mConfigured=false mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:02.377 18551 18551 I adbd    : destroying transport UsbFfs
06-16 18:05:02.377  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:02.378  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:02.379  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:02.379  5019  5065 D UsbDeviceManager: id=27 mUsbNotificationId=0
06-16 18:05:02.380 18551 18551 I adbd    : UsbFfsConnection being destroyed
06-16 18:05:02.387  5019 11795 D AdbDebuggingManager: Received disconnected message: QAAAAOsGB9Q9jjdIsZsXUzWPPWEMVNgaaS3689iWePOe7c0NPGKYt468zzKCJBduNiM+hkaGo2kl3yDDr0Hc4NiVVDehD1QO+WOJZRRuxU41eowVvWtKdmyPlPfHwKvbe9p8VOorjjUqape9355q00XhFsSb84/zjmS/zWSKhTiH95lXRFRgfpPtQ7hDT9nuWOVZgEIClJTOOC2roUA0XZ6TUpMr/dFeOf1sU6XP9OW3TdPCXaVqMAY8E+D+69z/UNB/QTzFoVBhQQorM4+v/Sv9A+8ltpetFvzVYcuSEVnKQGLs2f31azHy/pVBouL6dcinnlsg1D3jE4EcYfGfFYyQxzpPhpGqm+OCpxwMjIIHUP+9oHNr7mmGsEu9JlF/23ipn5lZOsSh3t3pSPUsM4JrdaOrPDsjuBdTE8RGY+dcb52Ak4UmF7AKWcONU5p/SVrmzm0Uh/B+ElYhe9QTLshDejIXZ84o0sm66NPh0Hq+o2nHqaHLsyXvFcXhm+mMjeBkP0G2lXTdtLEU8bfa4uUrK9NE17pm9e4zbp+i6ndIudRQCOYZp9DzSoQGxsl3MRTOS4XQmBjYkr5WYhVjqt+gls5xA5UcCByeG0YmlUlbrGa3NLguTrZ75eKORdWOy/Pmyru5UyIrJoiuDHJBZ2Sxn4DCZnJHJv0iREX8YkcBykhOs9XbigEAAQA= rankor@Artems-iMac.local
06-16 18:05:02.388  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9237, ACTION=change, USB_STATE=CONFIGURED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:02.388  5019  5749 D UsbDeviceManager: updateState: state=CONFIGURED
06-16 18:05:02.400  5019  5065 D UsbDeviceManager: updateUsbNotification notifyAsUser: id=0 title=USB for file transfer
06-16 18:05:02.401  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:02.402  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=true, unlocked=true, config_changed=false, adb=true, mtp=true, configured=false}]
06-16 18:05:02.404  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=true configured=false mCurrentFunctions=5 mHostConnected=false
06-16 18:05:02.406  5019  5065 D AdbDebuggingManager: Logging key QAAAAOsGB9Q9jjdIsZsXUzWPPWEMVNgaaS3689iWePOe7c0NPGKYt468zzKCJBduNiM+hkaGo2kl3yDDr0Hc4NiVVDehD1QO+WOJZRRuxU41eowVvWtKdmyPlPfHwKvbe9p8VOorjjUqape9355q00XhFsSb84/zjmS/zWSKhTiH95lXRFRgfpPtQ7hDT9nuWOVZgEIClJTOOC2roUA0XZ6TUpMr/dFeOf1sU6XP9OW3TdPCXaVqMAY8E+D+69z/UNB/QTzFoVBhQQorM4+v/Sv9A+8ltpetFvzVYcuSEVnKQGLs2f31azHy/pVBouL6dcinnlsg1D3jE4EcYfGfFYyQxzpPhpGqm+OCpxwMjIIHUP+9oHNr7mmGsEu9JlF/23ipn5lZOsSh3t3pSPUsM4JrdaOrPDsjuBdTE8RGY+dcb52Ak4UmF7AKWcONU5p/SVrmzm0Uh/B+ElYhe9QTLshDejIXZ84o0sm66NPh0Hq+o2nHqaHLsyXvFcXhm+mMjeBkP0G2lXTdtLEU8bfa4uUrK9NE17pm9e4zbp+i6ndIudRQCOYZp9DzSoQGxsl3MRTOS4XQmBjYkr5WYhVjqt+gls5xA5UcCByeG0YmlUlbrGa3NLguTrZ75eKORdWOy/Pmyru5UyIrJoiuDHJBZ2Sxn4DCZnJHJv0iREX8YkcBykhOs9XbigEAAQA= rankor@Artems-iMac.local, state = 7, alwaysAllow = true, lastConnectionTime = 1592319902404, authWindow = 604800000
06-16 18:05:02.407  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=1 configured=1 mCurrentFunctions=mtp,adb
06-16 18:05:02.408  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=true mConfigured=true mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:02.409  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:02.409  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:02.410  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:02.411  5019  5065 D UsbDeviceManager: id=27 mUsbNotificationId=27
06-16 18:05:02.411  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:02.412  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=true, unlocked=true, config_changed=false, adb=true, mtp=true, configured=true}]
06-16 18:05:02.423 18551 18564 I adbd    : opening control endpoint /dev/usb-ffs/adb/ep0
06-16 18:05:02.425  4571  4596 D DataRouter: After the usb select
06-16 18:05:02.425  4571  4596 D DataRouter: read length is zero
06-16 18:05:02.425  4571  4596 D DataRouter: dr_usb_deinit
06-16 18:05:02.425  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9239, ACTION=change, USB_STATE=DISCONNECTED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:02.425  4571  4596 D DataRouter: dr_usb_init
06-16 18:05:02.426  5019  5749 D UsbDeviceManager: updateState: state=DISCONNECTED
06-16 18:05:02.426  4571  4596 E DataRouter: USB Interface is open with 0x6
06-16 18:05:02.426  4571  4596 D DataRouter: USB interface is now configured for usb_fd = 0x6
06-16 18:05:02.426  4571  4596 D DataRouter: Before the usb select
06-16 18:05:02.433  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=true configured=true mCurrentFunctions=5 mHostConnected=false
06-16 18:05:02.439 18551 18564 I adbd    : UsbFfsConnection constructed
06-16 18:05:02.441  3319  3319 D MTPRx   : In MtpReceiverandroid.hardware.usb.action.USB_STATE
06-16 18:05:02.504 18551  3364 I adbd    : USB event: FUNCTIONFS_BIND
06-16 18:05:02.524  3319  3319 I MTPRx   : getUsbdebugStatus is false
06-16 18:05:03.460 18551 18551 W adbd    : timeout expired while flushing socket, closing
06-16 18:05:03.929  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=0 configured=0 mCurrentFunctions=mtp,adb
06-16 18:05:03.930  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=false mConfigured=false mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:03.931  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:03.932  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:03.932  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:03.933  5019  5065 D UsbDeviceManager: id=0 mUsbNotificationId=27
06-16 18:05:03.934  5019  5065 D UsbDeviceManager: updateUsbNotification cancelAsUser: id=27
06-16 18:05:03.935  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:03.935  5019  5019 D EdgeLightingManager: isCallingUserSupported : callingUserId=-1, mUserId=0, isDualAppId=false
06-16 18:05:03.935  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=false, unlocked=true, config_changed=false, adb=true, mtp=true, configured=false}]
06-16 18:05:03.937  5019  5019 D LightsService: [api] [SvcLED] turnOff:: id = 4 (uid: 1000 pid: 5019)
06-16 18:05:03.937  5019  5019 D LightsService: [api] [SvcLED] LED indicator : Not supported.
06-16 18:05:03.940  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=false configured=false mCurrentFunctions=5 mHostConnected=false
06-16 18:05:03.943  5019  5019 D UsbMirrorLinkManager: !usbConnected
06-16 18:05:03.951  5019  5065 D KnoxCustomManagerService: getUsbConnectionTypeInternal(0)
06-16 18:05:03.951  5019  5065 D UsbDeviceManager: getPersistProp: return=persist.sys.usb.config
06-16 18:05:03.952  5019  5065 D UsbDeviceManager: ANAWAY_JIG_PATH is not exist.
06-16 18:05:03.953  5019  5065 D UsbDeviceManager: setEnabledFunctions: usbFunctions=mtp,adb forceRestart=false usbDataUnlocked=true mCurrentFunctions=mtp,adb
06-16 18:05:03.953  5019  5065 D UsbDeviceManager: setEnabledFunctions: Before validation LONG[5]
06-16 18:05:03.954  5019  5065 D SecContentProvider: query(), uri = 17 selection = isUsbDebuggingEnabled
06-16 18:05:03.954  5019  5065 D SecContentProvider: called from android.uid.system:1000
06-16 18:05:03.955  5019  5065 D RestrictionPolicy: isUsbDebuggingEnabled : true
06-16 18:05:03.955  5019  5065 D UsbDeviceManager: policy : adb, restrict(allow) = true
06-16 18:05:03.962  5019  5065 D UsbDeviceManager: setEnabledFunctions: After validation STR[mtp,adb], LONG[5]
06-16 18:05:03.963  5019  5065 D UsbDeviceManager: trySetEnabledFunctions: usbFunctions=mtp,adb forceRestart=false
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_usb_mtp_finalize : 1207] -->****** [mtp_usb_mtp_finalize 1207] mtp_close_fd Calling
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_close_fd : 0118] -->[mtp_close_fd 118]  fd = 63...
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_close_fd : 0126] -->[mtp_close_fd 126] USB endpoint [63] closed...
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_usb_mtp_finalize : 1210] -->****** [mtp_usb_mtp_finalize 1210] Updating the gInitializeFlag Flag to FALSE
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_usb_mtp_finalize : 1213] -->****** [mtp_usb_mtp_finalize 1213] Calling mtp_stop_io
06-16 18:05:04.049 12533 12558 W System  : A resource failed to call close.
06-16 18:05:05.255  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9241, ACTION=change, USB_STATE=CONNECTED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:05.257  5019  5749 D UsbDeviceManager: updateState: state=CONNECTED
06-16 18:05:05.258 18551  3364 I adbd    : USB event: FUNCTIONFS_ENABLE
06-16 18:05:05.258  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=1 configured=0 mCurrentFunctions=mtp,adb
06-16 18:05:05.259  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=true mConfigured=false mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:05.260  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:05.261  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:05.262  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9242, ACTION=change, USB_STATE=CONFIGURED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:05.263  5019  5749 D UsbDeviceManager: updateState: state=CONFIGURED
06-16 18:05:05.270  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:05.271  5019  5065 D UsbDeviceManager: id=27 mUsbNotificationId=0
06-16 18:05:05.284  5019  5065 D UsbDeviceManager: updateUsbNotification notifyAsUser: id=0 title=USB for file transfer
06-16 18:05:05.286  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:05.286  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=true, unlocked=true, config_changed=false, adb=true, mtp=true, configured=false}]
06-16 18:05:05.289  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=true configured=false mCurrentFunctions=5 mHostConnected=false
06-16 18:05:05.289  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=1 configured=1 mCurrentFunctions=mtp,adb
06-16 18:05:05.290  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=true mConfigured=true mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:05.290  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:05.291  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:05.291  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:05.292  5019  5065 D UsbDeviceManager: id=27 mUsbNotificationId=27
06-16 18:05:05.293  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:05.294  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=true, unlocked=true, config_changed=false, adb=true, mtp=true, configured=true}]
06-16 18:05:05.304  5019  5077 I ApplicationPolicy: isApplicationExternalStorageWhitelisted:com.samsung.android.MtpApplication user:0
06-16 18:05:05.304  5019  5077 D ApplicationPolicy: isApplicationExternalStorageWhitelisted: DO is not enabled on user 0. Allowed.
06-16 18:05:05.304  5019  5077 D ActivityManager: package  com.samsung.android.MtpApplication, user - 0 is SDcard whitelisted
06-16 18:05:05.304  5019  5077 I ApplicationPolicy: isApplicationExternalStorageBlacklisted:com.samsung.android.MtpApplication user:0
06-16 18:05:05.304  5019  5077 D ApplicationPolicy: isApplicationExternalStorageBlacklisted: DO is not enabled on user 0. Allowed.
06-16 18:05:05.304  5019  5077 I ApplicationPolicy: isApplicationExternalStorageBlacklisted:com.samsung.android.MtpApplication user:0
06-16 18:05:05.304  5019  5077 D ApplicationPolicy: isApplicationExternalStorageBlacklisted: DO is not enabled on user 0. Allowed.
06-16 18:05:05.309  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=true configured=true mCurrentFunctions=5 mHostConnected=false
06-16 18:05:05.314 18551 18551 I adbd    : UsbFfs: already offline
06-16 18:05:05.315 18551 18551 I adbd    : Calling send_auth_request...
06-16 18:05:05.319 18551 18551 I adbd    : Loading keys from /data/misc/adb/adb_keys
06-16 18:05:05.321 18551 18551 I adbd    : adb client authorized
</code>```

Title: USB disconnects on Samsung Galaxy A51


问:
apps automatically starting?

Possible Duplicate:

  How can I stop applications and services from running?

I noticed that some apps automatically starts without me opening it. Some of them runs everytime I turn on the phone (so they are like Windows startup apps in some way). Some others automatically run without an apparent reason, I killed it, and the next time i look at my phone it's there again. by the way I use Advanced Task Killer to kill and see the list of all active apps. And even weirder, some apps are apparently triggered by opening the android market.

What is the mechanics of this, and how do I control which app can automatically run?

ContentLicense: CC BY-SA 2.5

Title: apps automatically starting?


问:
Phone stuck in fastboot mode, can't boot into OS or Recovery mode and flashing stock rom doesn't help
When I tried to reboot my phone a few days ago, it booted into CSC fastboot mode and it couldn't boot into the OS. I tried Vol down + power off combo to boot into recovery but that doesn't work and after showing the Android Phone screen, it just powers off again.

The CSC fastboot screen is the same as on this image of another phone (same model) having the same issue:

I unlocked the bootloader using fastboot and now it shows FASTBOOT instead of CSC FASTBOOT.

fastboot getvar all shows 'unlocked: yes', so the bootloader is definitely unlocked.

Then I flashed the stock rom for my phone and even after successfully flashing all required img files, I still cannot boot successfully. I tried this procedure multiple times but nothing works.

I also can't boot into recovery after flashing stock recovery.img or even compatible twrp versions. Flashing works successfully but it shows FAILED when trying to boot.
After leaving the phone alone for a day, I connected it to the pc using the usb cable this morning and the battery charging animation showed up and it showed the Bootloader unlocked warning with 'press power off to pause boot'

I got excited or something and pressed the power off button. It then booted into the fastboot mode again as usual. But now it briefly shows the battery animation when I connect it to the charger when it's switched off, and it boots into fastboot mode again.

I tried re-locking the bootloader and trying it again, same with locking it and nothing works. Neither does trying to flash or boot recovery/twrp, or flashing the stock rom again.

The volume buttons are working fine and there was no problem with them before as well. I also opened the device and tried pressing the buttons manually and got the same result.

fastboot getvar all output:


问:
How to insert an emoji using adb shell input?
I've been trying to insert emojis into my android phone using ADB.

adb shell input text "..."

works for inserting text, but when I tried to insert an emoji using the unicode(\uD83E\uDD70), I am only getting the raw text inserted. Is there a way to achieve this ?


问:
How can I bypass android 9 VPN with iptables?
I'm targeting specific app with UID rule -m owner --uid-owner 1337 and I want this app always bypass VPN and use direct Wi-fi/Mobile Data connection. Ideally, I also want it to be universal, if possible, because I might switch the VPN app I use (currently have two) and I dont want to rewrite the rule and re-target new interface for it.

What are my options? I can provide output of ifconfig, whatever, but it kinda defeats aforementioned point 2).

P.S. I know that majority of VPN apps have exclusion list but because I already use AFWall+ I dont want to use that list and mess with iptables even more, polluting it with weird routes combnations.


问:
What is com.coloros.pictorial on OPPO phones?
On Android OPPO phones, what is com.coloros.pictorial? It is apparently a package on the device, but what is it? When Google says "com.coloros.pictorial has been used", what is it referring to?


问:
Samsung Galaxy S8 Active Location Services Glitch
I know this is a well known issue, but why it only affects the Samsung Galaxy S8 Active devices specifically is still a mystery. I figured I would see if anyone by chance has found a way to prevent what is a repeatedly frustrating failure of the devices basic functions, and for no apparent reason.

Here's how it generally works for me. I will use Google Maps, or Waze, or any mapping app to mandate to a place. Once I arrive, I tell the app of choice to stop navigating and go to sleep. I allow very few apps to operate in the background, and none of those navigation and are included.

After doing whatever, and taking any random amount of time (Shop at groceries, Home Depot, get gas, etc.), I relaunch the navigation app (which doesn't matter), it shows me in my last position, I enter in my next destination, and execute. Call me obnoxiously optimistic, but I always seem to forget this is going to happen at the worst times. For instance, when I actually need the dang directions. So what happens?

I will invariably look at the device and notice my position not moving. The phone's location functionality is frozen at the last point I last deactivated the navigation app. Nothing I can do short of a full controlled reset or shut down and toggle back on will help, except for the following sequence of inputs, which usually take place whilst driving in an area I'm unfamiliar with, not knowing where I'm going, to varying degrees of success. Sometimes the episode will end in a intense flash of rage (I have red hair, sooo), and all I can say is that better phones have been screen smashed for far less. However, when I'm able to hold it together, 70% of the time it works in a single execution of the following sequence. The other 30% is complete in 2 full executions of the sequence. While there are rare instances when the first and second sequence execution both fail. It's not clear whether a third attempt would be successful in these cases, as I've made the decision that in sick instances, the phone gets removed forcefully from it's normal vent-supported magnetic mount and thrown forcefully into the driver's side footwell. Now then, the location services debugging sequence execution is as follows:

While keeping the selected navigation app open, running, and active, even in the minimized state, slide down the top interface drawer. (That's what I call the menus accessed by placing your finger at the top-most center of the phone's screen, and draw a line downward.)

With the Android Interface Drawer opened (as defined by me), select the Android system settings gear in the upper most top right portion of the screen. (Just below the battery percentage indicator)

Once the Android Settings Home Page had loaded, select the magnifying glass icon located above the top most settings catagory selection, which in my case is always "Connection Settings" which is offset to the right.

The next window to load is the Android Settings Search page, which offers a Search field and should automatically load your default keyboard and be ready for you to populate this field.

The first time you do this, you'll need to manually type the terms out. Inside the Search Text Field, enter the following terms in the indicated order and format, as provided:

Improve accuracy

*Note 1: All subsequent executions of the sequence will offer a list of the three most recent search terms. Unless you utilize the Android Settings Search as a commonly leveraged tool, the appropriate terms need not be entered, instead require a simple selection tap.

Note 2: You may know a quicker set of commands to arrive at the following Android Settings Page. I have no reason to believe that the skipping of this search process would result in a failed sequence*

This step might not occur instantly, I've found that patience is a virtue as the Android Settings work to load the appropriate page. This page will be called the "Improved Accuracy" page, the term accuracy referring to the Android Location Services accuracy. Tap select this only selection available.

Wait for the device's Improve Accuracy page of the Android Settings to load but don't select anything until the following step. When finished loading, you'll see a number of selections available, however you are only concerned with the top two section categories listed.

The first option, the selection found at the top, is a simple ON/OFF slider switch. This switch enables users to control whether or not the device's Location Services are activated and available for use by the device and authorized apps. When it first loads, this switch should be set and indicate "ON".

The second option below the switch is a yet another another available selection catagory called, once again, "Improved Accuracy".

Below these two options is some information regarding the various apps which have been detected utilizing the devices Location Services.

At this point, if you followed the earlier guidance of minimizing the navigation app of use, this minimized app should appear as a small floating window somewhere on the device screen, most likely in the lower section of the screen. At this point, close the minimized navigation app by select tapping the closing 'X' in the upper right corner of the minimized app display. The navigation app should be deactivated at this point. If there are any doubts that it had been deactivated, make all attempts to do so.

Tap select the Second option down from the top, the selection catagory labeled "Improved Accuracy". Once pressed, another page with two simple sliding selections will load, the top will read "Wi-Fi scanning", the bottom will read "Bluetooth scanning". You may find these two sliders set in a number of seemingly random combinations when the page first loads. Regardless of what you find, ensure both slider selectors are established in the "OFF" position. Once verified, back out of that page to the previous page.

Back at the previous page, you will once again be given the top option in the form of a slider selection switch which controls the activation of the device's Location Settings, and the "Improved Accuracy" catagory labels which you have just back out from. At this point slide the "Location Settings" simple slider ON/OFF switch to "ON".

At this point, either because out of the Android Settings Pages completely, or simply exit the last page you were on. Now, ensure that your navigation app of choice is in fact no longer running. If you find it is, you can attempt closing and relaunching it, however I've had limited success when this occurred.

If you confirm the navigation app of choice was fully closed, find the app's launch icon  and tap launch as normal. 70% of my attempts at this point succeed, and the navigation app indicates an accurate location and reflect the movement which is occuring at the time. Your sequence is finished, but just for this time. You will likely need to execute the sequence of and when you decide to navigate to another location and attempt to program the destination into the navigation app.

You'll recognize that they sequence failed when you realize that you're relative movement fails to be reflected in the moving map display of the navigation app of choice. If you recognize that this is the case, simply begin at the beginning of this numbered sequence, which I've found will succeed more often than it fails when afternoon a second time.

I'd love for someone to tell me why this foolishness happens. But even more, I'd REALLY love for someone to tell me how to make the madness stop.

So that's my official question, as follows:

How do I fix the Samsung Galaxy S8 Active Location Services glitch, as outlined above, and prevent the device from repeatedly making the same functions error, all without the need to execute the aforementioned 11 to 12 step sequence?

Thanks!!


问:
How do I create a working filter to block sites, etc with NoRoot Firewall?
NRF seems fine for blocking applications' use of data, but not blocking sites or other communication with them on a case-by-case basis; it's an all-or-nothing proposition.

I've followed guides on how to do it, entered pre-filters and in-app filters, but in setting Firefox to use them, I get status bar notifications that Firefox wants to access the internet and an unending stream of Pending Access-es -- for sites that don't have filters set for them -- that are impossible to keep up with. It won't do so at all before timing out, unless I globally Allow or Deny.

I read on Lifehacker that NRF has issues on 4G, which my phone is, but I'm strictly on wi-fi, so should be a moot issue, yeah?

I've looked at the builder's site, norootfirewall.weebly.com, but it has no additional info or contact, and Firefox doesn't seem to have a filter add-on that actually works on mobile (I use BlockSite on desktop), so here I am. Help!?


问:
Fastboot recovery flash FAILED (Status read failed (Too many open files in system))
I'm trying to flash a magisk-patched boot image onto a device with an unlocked bootloader (but without a custom recovery).

I've patched the boot image without issue, but when I go to flash, this happens:

```<code>fastboot flash boot magisk_patched.img
Sending 'boot' (19648 KB)                          OKAY [  0.560s]
Writing 'boot'                                     FAILED (Status read failed (Too many open files in system))
fastboot: error: Command failed
</code>```

Anyone have an idea what might be wrong?


问:
WhatsApp video URL?
Is there a specific server address from which WhatsApp serves the video (and image) files that users share?

I want to allow the use of WhatsApp and the exchange of text messages and video calls but block video files by blocking the file hosting server.

In other words:

When a user sends a video or image to another user, where are the videos hosted before the receiving user downloads them to their device?

Title: WhatsApp video URL?


问:
mobile radio tower is off
typing *#*#4636#*#* on my mi max3 xiaomi will take me to my phone setting and I after turning mobile radio tower ON it urns back to OFF again after a few moments.
I am not able to place any calls as it tells me AIRPLANE MODE is on and it is not ON. I have factory reset the phone already and have the latest MIUI 11.0.2 installed. Things are the same even when I flash the Chinese ROM or other custom ROMS.

any tips how to remedy this ?

Title: mobile radio tower is off


问:
Android : Can't access developer option after enable the developer mode
I tried to open developer option but when i tap the menu it said Turn on developer options first so i try to enable developer mode again by taping build number but is reply No need, developer mode has already been enable

I tried to access it by searching option in setting but when i tap any setting it would tell me to enable developer option first.

My device is Galaxy A7 (2017)
Model number SM-A720F/DS
Android 8.0.0


问:
Ussd change to call
For some reason my phone can't dial any ussd code more than 5 digits. For example: I could dial *888# but can not dial *5050#. When I dial ussd code more than 5 digits and press the call button it will calling to that ussd code. I do some research but I don't find any questions like mine, but sth like make a call but changing to ussd running, opposite of my problem. My phone is LG X4+ ( yes not a popular phone at all ) i hope someone could help me</p>

Title: Ussd change to call


问:
Pull Text Messages from a phone with broken screen
I need the text messages from the stock texting app on my broken Galaxy Note8. The screen is damaged in a way where installing any app to transfer the data from the phone is impossible. I'm hoping the texts are stored somewhere I can access from my computer via USB.

I don't know where to look or if I need some specific program on my computer to reach the location they are stored in. Any help is appreciated.


问:
AAC HE-AACv2 file replay on smartphone Cubot R15 Pro with Android 9.0 fails
AAC replay on smartphone Cubot R15 Pro with Android 9.0 fails

When I tried to replay recorded music from www.afc.fm, my smartphone fails to replay it.

MediaInfo reports the following info about the audio file in question (not uploaded, would be probably illegal):

```<code>Audio
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format-Version                           : Version 2
Format-Profil                            : HE-AACv2 / HE-AAC / LC
Bitraten-Modus                           : variabel
Kanäle                                   : 2 Kanäle / 1 Kanal / 1 Kanal
Kanal-Positionen                         : Front: L R / Front: C / Front: C
Samplingrate                             : 44,1 KHz / 44,1 KHz / 22,05 KHz
Stream-Größe                             : 1,52 MiB (100%)
</code>```

The phone is a Cubot R15 Pro with Android 9.0.
According to
https://developer.android.com/guide/topics/media/media-formats
Android should play HE-AACv2 starting with version 3.0 already.

What did I do wrong or what is necessary to make the smartphone play those recordings?

Coudl somebody with sufficient reputation tag this question with "aac" and "he-aac v2"?


问:
Can an app manipulate the cellular radio chip?
I have a few ideas for a couple local cell to cell apps, but want to use the radio signals to extend the range (the extra work is fine with me).

Just curious if it is possible to control the transmission and receiving of bits. If so, any good docs on it?


问:
How to write IMEI programmatically on Pixel XL
I have an unlocked Pixel XL device purchased recently.
I'd want to test changing IMEI of the device.
My final purpose is to randomize IMEI dynamically from a user space application.
Before this, I would like to check if IMEI writing basically works or not.

I've explored many communities and blogs for some days, but haven't found out working solution yet, even through fastboot.

For example,

```<code>fastboot oem writeimei 1234*****
</code>```

is not working, but it keeps saying as if its unknown command !

Is there a way to change IMEI on Pixel XL unlocked?

Best


问:
How to disable SmartLock Hints?
The docs explain that an app can ask the API to ask the user to choose an email address to use:

I am always thrown off by that thing popping up after I started typing my email address (in some apps) and in others I still prefer typing it manually to choosing in that huge list (because google adds every address without asking once it is set up in gmail).

How can I make my device act as if I pressed "None of the above" whenever that dialog would pop up?

I am running LineageOS 17 (Android 10), rooted with Magisk.

Title: How to disable SmartLock Hints?


问:
Exfat misbehaviour on SD card
I got a new 512Gb SD card for my Samsung Galaxy J7 Crown and started experiencing problems when attempting to load my music folder onto it.

Unmounting the card and inserting into a Win 10 computer, copies more than two directories deep would fail, so I broke the task up into transfer units that the computer could handle. ("Fail" in this case means "refuse to perform, without error message or indication of the source of the problem")

Up to a certain point, transferred files would appear and be accessible. However, when roughly 1/3 of the files were transferred, all files would be erased. The folders would remain, but they would all be empty. This was true regardless of whether the SD card was inserted in the Win10 machine or in the phone.

Inserting the card into the Win10 machine and running chkdisk indicated no problems.

Reformatting the card as exFAT using the Win10 machine led to the same problems described above.

Inserting the card into the Win10 machine and reformatting as NTFS solved both problems. However, Android will not recognize NTFS.

I am currently reformatting the card using the phone to see if that solves my problem. If not, my plan is to use my Linux box to format the card with FAT32 and live with the 4GB/file limit.

Obviously I'd prefer a different solution, either "exFAT that works", NTFS or ext4.

Has this problem with exFAT on high capacity cards been observed before? It's sure not a subtle matter of a slight performance difference: it clobbers all the files that it makes you jump through hoops to copy onto the device. I would appreciate any advice on how to make this card work: whether that's how to get Android to recognize a filesystem which does not exhibit these issues or how to fix the issue with exFAT.

Thanks

Title: Exfat misbehaviour on SD card


问:
Limit data rate of specific app (to avoid HD stream, for instance)
My data plan is decent, but not huge (2GB per month). Say that I want to watch a livestream on some app: I have no control over the data rate this app is getting. Since the cellular connection is good, the stream will default to HD quality. I want to manually restrict the data rate that a particular app is getting, since I'm totally fine watching a low-quality livestream, so that I can save my data. There are no livestream settings, but I know for a fact that the livestream will switch to lower quality video in case of limited bandwidth, since I have watched it when connected to some slow wi-fi hotspot.

My question: Is there a (developer) setting, or some app, that allows me to manually set a maximum data rate/bandwith that a SPECIFIC app is getting?

Most other questions on the stack seems to talk only about the data rate of the whole device (Is there a ways to set data speed limit in android?) or are about stopping a specific app (using firewall) after it has consumed X amount of data (How to limit data usage of individual apps?), and these questions seem to be a bit outdated as well.

I'm running Android 9, LineageOS 16, on a OnePlus A5010.

Thanks, cheers!

PS: I am aware I could select a lower speed "Prefered Network Type", such as GSM or 3G instead of LTE, but that seems to be a bit of a hassle to change this setting every time, since I obviously would like to profit from my fast cellular network when it comes to smaller quantities of data (e.g. navigation or messaging)