问:
How to fix "Preflash validation failed" when flashing stock image from Fastboot?
I recently soft bricked my Motorola G5s plus (sanders), and tried reinstalling the OS from here, but I failed with errors including Permission denied (while wiping partitions), preflash validation failed (on system and oem, including the latest version of Oreo, I'm running 7.1.1).

I have managed to root my phone using Magisk Manager and install TWRP. I created a program to read flashfile.xml.

While installing SANDERS_RETAIL_7.1.1_NPS26.116-45_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip I get these errors:

```<code>Executing:  fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.000s

Executing:  fastboot oem fb_mode_set
...
OKAY [  0.001s]
finished. total time: 0.001s

Executing:  fastboot flash partition gpt.bin
target reported max download size of 534773760 bytes
sending 'partition' (45 KB)...
OKAY [  0.002s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.057s

Executing:  fastboot flash bootloader bootloader.img
target reported max download size of 534773760 bytes
sending 'bootloader' (5115 KB)...
OKAY [  0.138s]
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [  0.533s]
finished. total time: 0.671s

Executing:  fastboot flash modem NON-HLOS.bin
target reported max download size of 534773760 bytes
sending 'modem' (71925 KB)...
OKAY [  1.860s]
writing 'modem'...
OKAY [  1.093s]
finished. total time: 2.953s

Executing:  fastboot flash fsg fsg.mbn
target reported max download size of 534773760 bytes
sending 'fsg' (3024 KB)...
OKAY [  0.079s]
writing 'fsg'...
OKAY [  0.115s]
finished. total time: 0.194s

Executing:  fastboot erase modemst1
erasing 'modemst1'...
OKAY [  0.032s]
finished. total time: 0.032s

Executing:  fastboot erase modemst2
erasing 'modemst2'...
OKAY [  0.030s]
finished. total time: 0.030s

Executing:  fastboot flash dsp adspso.bin
target reported max download size of 534773760 bytes
sending 'dsp' (16384 KB)...
OKAY [  0.422s]
writing 'dsp'...
OKAY [  0.288s]
finished. total time: 0.710s

Executing:  fastboot flash logo logo.bin
target reported max download size of 534773760 bytes
sending 'logo' (2192 KB)...
OKAY [  0.055s]
writing 'logo'...
OKAY [  0.108s]
finished. total time: 0.163s

Executing:  fastboot flash boot boot.img
target reported max download size of 534773760 bytes
sending 'boot' (16384 KB)...
OKAY [  0.463s]
writing 'boot'...
(bootloader) Image signed with key bad key
OKAY [  0.370s]
finished. total time: 0.833s

Executing:  fastboot flash recovery recovery.img
target reported max download size of 534773760 bytes
sending 'recovery' (20580 KB)...
OKAY [  0.565s]
writing 'recovery'...
(bootloader) Image signed with key bad key
OKAY [  0.476s]
finished. total time: 1.041s

Executing:  fastboot flash system system.img_sparsechunk.0
target reported max download size of 534773760 bytes
sending 'system' (256355 KB)...
OKAY [  6.733s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 6.745s

Executing:  fastboot flash system system.img_sparsechunk.1
target reported max download size of 534773760 bytes
sending 'system' (262115 KB)...
OKAY [  6.921s]
writing 'system'...
OKAY [  3.460s]
finished. total time: 10.381s

Executing:  fastboot flash system system.img_sparsechunk.2
target reported max download size of 534773760 bytes
sending 'system' (259034 KB)...
OKAY [  6.770s]
writing 'system'...
OKAY [  3.539s]
finished. total time: 10.309s

Executing:  fastboot flash system system.img_sparsechunk.3
target reported max download size of 534773760 bytes
sending 'system' (262013 KB)...
OKAY [  6.564s]
writing 'system'...
OKAY [  3.574s]
finished. total time: 10.139s

Executing:  fastboot flash system system.img_sparsechunk.4
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [  6.464s]
writing 'system'...
OKAY [  3.440s]
finished. total time: 9.905s

Executing:  fastboot flash system system.img_sparsechunk.5
target reported max download size of 534773760 bytes
sending 'system' (262140 KB)...
OKAY [  6.498s]
writing 'system'...
OKAY [  3.322s]
finished. total time: 9.820s

Executing:  fastboot flash system system.img_sparsechunk.6
target reported max download size of 534773760 bytes
sending 'system' (259637 KB)...
OKAY [  6.692s]
writing 'system'...
OKAY [  3.315s]
finished. total time: 10.007s

Executing:  fastboot flash system system.img_sparsechunk.7
target reported max download size of 534773760 bytes
sending 'system' (240915 KB)...
OKAY [  6.158s]
writing 'system'...
OKAY [  3.688s]
finished. total time: 9.846s

Executing:  fastboot flash system system.img_sparsechunk.8
target reported max download size of 534773760 bytes
sending 'system' (262142 KB)...
OKAY [  6.482s]
writing 'system'...
OKAY [  3.692s]
finished. total time: 10.174s

Executing:  fastboot flash system system.img_sparsechunk.9
target reported max download size of 534773760 bytes
sending 'system' (233189 KB)...
OKAY [  6.014s]
writing 'system'...
(bootloader) Invalid sparse image data
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 6.563s

Executing:  fastboot flash system system.img_sparsechunk.10
target reported max download size of 534773760 bytes
sending 'system' (65436 KB)...
OKAY [  1.614s]
writing 'system'...
(bootloader) Invalid sparse image data
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 1.615s

Executing:  fastboot flash oem oem.img
target reported max download size of 534773760 bytes
sending 'oem' (145482 KB)...
OKAY [  3.656s]
writing 'oem'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 3.658s

Executing:  fastboot erase cache
erasing 'cache'...
OKAY [  0.011s]
finished. total time: 0.012s

Executing:  fastboot erase userdata
erasing 'userdata'...
OKAY [  0.182s]
finished. total time: 0.182s

Executing:  fastboot erase DDR
erasing 'DDR'...
OKAY [  0.002s]
finished. total time: 0.002s

Executing:  fastboot oem fb_mode_clear
...
OKAY [  0.001s]
finished. total time: 0.002s
</code>```

How do I fix these errors? I have tried many OS's and my phone will just bootloop in different forms, such as booting back into fastboot, erase loop, and hanging on the 'This device has been unlocked' screen.

Update:

When I do fastboot getvar all I get this output:

```<code>(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C2.12
(bootloader) product: sanders
(bootloader) board: sanders
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 1
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG RX1BMB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 3GB SAMSUNG LP3 DIE=6Gb M5=01 M6=05 M7=00 M8=7B
(bootloader) cpu: MSM8953
(bootloader) serialno: ZY3226ZJG4
(bootloader) cid: 0x0032
(bootloader) channelid: 0x51
(bootloader) uid: DAEA774100000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Volume down key pressed
(bootloader) imei: 355654081635257
(bootloader) meid:
(bootloader) date: 09-16-2017
(bootloader) sku: XT1805
(bootloader) carrier_sku:
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Fri Jan  2 19:36:32 UTC 1970"
(bootloader) ro.build.fingerprint[0]: samsung/sanders_n/starlte_n:7.1.1/
(bootloader) ro.build.fingerprint[1]: NPSS26.116-61-2/7:user/release-key
(bootloader) ro.build.fingerprint[2]: s
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.26.271.7.sanders.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.5.6.r1-03800-89xx.0
(bootloader) version-baseband: M8953_27.36.07.41R SANDERS_EMEADSDS_CUST
(bootloader) kernel.version[0]: Linux version 3.18.31-perf-gaf9c281 (hud
(bootloader) kernel.version[1]: soncm@ilclbld87) (gcc version 4.9 201501
(bootloader) kernel.version[2]: 23 (prerelease) (GCC) ) #1 SMP PREEMPT T
(bootloader) kernel.version[3]: hu Jan 11 10:56:22 CST 2018
(bootloader) sbl1.git: git=MBM-NG-VC2.12-0-g698fb2f
(bootloader) rpm.git: git=MBM-NG-VC2.11-0-g92e5e21-dirty
(bootloader) tz.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) devcfg.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) keymaster.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) cmnlib.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) cmnlib64.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) prov.git: git=MBM-NG-VC2.11-1-g9a0b157
(bootloader) aboot.git: git=MBM-NG-VC2.12-0-g07ff23c
(bootloader) frp-state: no protection (144)
(bootloader) ro.carrier: retapac
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
finished. total time: 0.007s
</code>```

Update 2:

When I flash the contents of system, img_sparsechunk.0 errors out in Preflash validation error, and says Image is too large in the bootloader logs.


问:
Can Android detect of bad sectors on external SD Cards when reformating?
Title:   Can Android perform surface analysis (Detection of bad sectors) on external SD Cards?

Reasons for asking:
 1. At one point, I found tons of old pictures and videos in the 'LostDir' folder.
 2. My tablet and Windows 8 computer ocatilny fail to recognize the card for extended amounts of time.  Often, however, and letting it sit for 1-4 months or less and plugging it in and then taking it out several time repeatedly it will start to work.
 3. A couple of times, my tablet claimed the card was corrupted.
 4. A friend's windows 7 computer was able to access shortly after both my Windows 8 computer and tablet couldn't read it.

Question
I would like to know if Android can do any of the following:

When reformatting an SD Card, can it detect bad sectors?

If it finds a bad sector, can it map around it, so that it does not affect the card.  What if I reformatted it with separate software or a different OS?
Also, are there any other ways to ensure the integrity of my Sd card?

System Information

OS:   Android 4.2.2

Model:  Samsung Galaxy tab 2  (Wifi)  GtP3113

Age:   About 6 years

SD Card age:  Between 4 and about 6 years.

ContentLicense: CC BY-SA 4.0


问:
Moto G5 plus, not vibrating on incoming calls
I have Moto G5 Plus, with Android Version 8.1.0. This issue is related to vibration feature. My phone has stopped vibrating when I receive incoming calls. The phone vibrates properly when there is a SMS message. I have also checked the settings under Settings -> Sounds. The option "Also vibrate for calls" is turned on already. I have also restarted the phone several times, but the problem remains the same. Could anyone help me understand why the Vibration is not working for incoming calls when the vibration is working for SMS. I justed edited to mention that the key press is also not working. Vibration is also working when I shake the phone to switch on the torch light.

(DND not enabled)

Edit

I have observed one more behaviour. There are two ways, incoming calls are shown. Sometimes I see a box at the top with accept and decline square buttons. In this case I do not hear vibration. Sometimes, I see a full screen with a circle button at the bottom which I have to drag up to receive the call. In this case, I hear vibration just once at the beginning and then no vibration. So I am really confused as why does box appears sometimes and why circle button at the top and why vibration does not happen in the first case.


问:
How to stop Workplace app's notification sound in Alarm & Calls only (DND) mode?
Although I've set "Do not disturb/Priority only/Alarm & Call", Workplace app still "ting ting" everytime someone chat with me.

How can I make my Sony Xperia XA1 Plus (Android 8) to a "profile" that everything should be silenced except Alarm and Call?


问:
How to recover deleted photos which are shown as 0 bytes by data recovery softwares?
A relative of mine accidentally deleted the "DCIM/Camera" folder with all her photos, and asked me if it's possible to recover them.

I copied the 'userdata' partition (ext4) to a VHD image at once and tried to recover the files (Recuva, R-Studio, Photorec, DiskDrill, DiskDigger, DiskGenius, etc., were used but to no avail). Nearly all the photos were of 0 bytes in size, like they were securely deleted.

Several years ago I encountered a similar issue (the photos just vanished, I believe it was some SD card issue) and recovered files were 0 bytes in size too.

Is there any way to recover the files?

Unfortunately, sync with Google Photos cloud was not set up as well.

Edit: this is how I pulled the image:

Installed BusyBox in the phone;

Installed Filezilla Server on desktop. Settings: listen on those ports: 40, all timeout settings: 0, create new user ("user", "pass") and give him rights for the chosen shared folder ("read write delete" for files and "list + subdirs" for folders);

Disabled Windows firewall;

Checked adb (adb devices);

Enabled USB tethering, got the new desktop IP via ipconfig (192.168.42.79);

Found the userdata partition (mmcblk0p17):

```<code>adb shell
cat /proc/emmc | grep userdata
</code>```

Pulled the dump:

```<code>adb shell
su
mkfifo /cache/myfifo ftpput -v -u user -p pass -P 40 192.168.42.79 mmcblk0p17.raw /cache/myfifo
</code>```

And then:

```<code>adb shell
su
dd if=/dev/block/mmcblk0p17 of=/cache/myfifo
</code>```

Voila! We've got a 27 GB mmcblk0p17.raw image.


问:
Can Magisk rules be enabled from Recovery (TWRP)?
Is it possible to configure Magisk by ADBing in through TWRP when you install it, so you can get it working on an initial install. I'm having problems with a splash screen -- my boot just locks at that process. I would like to see what's going on. I know Magisk provides LiveBoot would be a good fit, I can install in TWRP. But then I have to boot into Android to configure it to disable the boot screen (which I can not do).

From the buildlog of Magisk V13,

[magiskpolicy] Updated rules for Android O, and Liveboot support

I can't figure out how enable those rules outside of a working boot?


问:
Does LineageOS disable the Android Easter Eggs?
I'm currently running LinageOS 14.1 (Android 7.1), I found a task in Magisk named  com.android.egg. It's described as being "Android Easter Egg". Researching it, I found out how to trigger it here,

Android N "Nougat" easter egg You can get to the Nougat easter egg in
  much the same as as Oreo, but the actual game is much more involved.
  Activate the easter as normal by going into your Settings > About
  Phone > Android version. Repeatedly tap on the Android Version tab
  until the "N" appears on screen.

Swipe down from the top of the screen to reveal your quick settings
  toggles and hit "edit". You should now see a cat face icon with the
  label, "???? Android Easter egg". Drag and drop this icon to to the
  main quick settings options and place it where you want it. Now, the
  fun can begin.

Hit your home button and then drag down the quick settings shade from
  the top of the screen again. This time you should see an "empty plate"
  option. Tap it and you'll see an overlay with four food choices: Bits,
  Fish, Chicken and Treat. Select one, then continue using your phone as
  normal, and wait.

Eventually, you'll get a notification telling you that a cat has
  snagged one of the treats. But it doesn't always work, which is kind
  of the point of the game. You have to keep trying, using different
  treats to bait a cat.

When it does work, you'll get a notification saying "a cat is here"
  with the number of the cat listed underneath. Tapping on the
  notification reveals a new screen with a cat icon which you tap once
  to rename, or long-press to reveal sharing options. You can save a
  full resolution version of the cat's picture to your device, or share
  it to all your social media accounts like every other crazy cat owner.

However, that doesn't work for me. It seems as if on LineageOS the edit option for the drop-down is done by clicking on the pencil at the top. There is no Edit text anywhere on the menu. I would still expect that button to work for the purposes of the easter egg?

Does LineageOS disable these Android Easter Eggs? Is it possible to trigger this Easter Egg in LineageOS?


问:
Is my device unrecoverable without factory reset? - com.andoird.phone stopped
Yesterday I took my Xiaomi Mi A2 from my pocket and saw a warning screen (text-only) telling me the device couldnt start and if the issue persisted I might need to do a factory reset and wipe all my data. I clicked try again.

After starting, my device displays an error message - "process com.android.phone stopped". When I try to unlock the phone it starts rebooting after a few seconds. When I slide down the top tool bar the device also starts to reboot.

I searched for a solution but didn't find a fix that works for me. Some of the suggestions relating to a simmilar issue (but the error message in those cases starts with "Unfortunately" and the devices seem to be somewhat servicable) suggest wiping cache, contacts or SIM tools but all of those are inaccessible to me because the device reboots all the time. Another solution for wiping the cache is using adb command line tool. But adb doesn't "see" devices without USB debugging enabled - which again I can't enable because I cannot access the settings menu (reboots). fastboot seems to be able to delete cache with fastboot erase cache but I'm prevented from doing this because of an error - FAILED (remote: 'Erase is not allowed in Lock State'). I'm not sure if this Lock State gets unlocked with fastboot oem unlock but from what I understand that would wipe my device anyway.

Finding all of this out took quite some time so at this point I don't know what else to do as I have very little knowledge about this area. Is there any way to at least attempt to clean the cache or will I have to go for the factory reset? I'm not entirely sure if I have all the Google Authenticator recovery codes so I'm hesitant to do so.

I've had an old iPhone 4 for some 4 years and I've never had to invest so much time into that so you can imagine why this frustrates me at this point.


问:
Mount SMB storage on shiled TV accross subnet
I have a setup like this :

```<code>[Shield TV 2015] 10.10.2.112 <---> [OpenWRT Router] <---> [Synology SMB Share] 10.10.3.11
</code>```

I want to be able to access all my NAS files with any apps on the shield TV, so, I want to mount permanantly  the SMB share on the Shield.

So after confirming the connection was router correctly usig solid explorer integrated smb client, I went into the shield settings > Storage > add new network storage and inputed the NAS path (\10.10.3.11\Public) and the associated credentials.

However, it can't mount it, and according to logcat, it can't find the NAS netbios name locally, which is normal as it's in another subnet, but abnormal as I inputed it by IP.

Moving the nas to the main subnet is out of the question for multiple reason.

In the end, is there a way to force the mount with just the IP ?

I'm open to all suggestion, even root or scripts ones.


问:
Installing TWRP on locked Sony Z3 Compact D5803
I was googling that for ages and couldn't find any decent solution.

I have locked Sony Z3 Compact [D5803] and I need to install TWRP and backup the current OS.

I CAN use flashtool to install custom files that had been downloaded from xperiFirm but it seems like impossible mission to root it afterwards :)

I was also trying this article here :

https://forum.xda-developers.com/z3-compact/general/recovery-root-mm-575-lb-t3418714

...without any success.


问:
Can't access screen lock type settings
I've recently updated my Moto G5 to Android Oreo and since then my lock screen automatically changed from pattern to swipe..
When the phone boots up it still asks me to "enter your pattern to start android device" but after the device boots up it never asks me the pattern again..

I've tried changing the lock screen but as soon as I click on change lock type I get an error "settings has stopped".
I've cleared setting app's cache, data and force stopped it, but no use.
I've cleared my security credentials
I've booted into safe mode to see if any app is causing the problem, nothing happened.

I don't want to hard reset my phone as it has a huge amount of data and taking a backup will be a huge headache

Title: Can't access screen lock type settings


问:
Exclude some apps from "close all"
Is there a way to exclude some apps from "close all"?

I sometimes have many apps open on my device and want to quit them all except Spotify (for example) because I am listening to music while doing that. Spotify in this example could be "force closed" manually, not with the other apps (as default now) .

Edit

Device: Sony Xperia XA1

OS: 8.0.0

"close all" option is seen when clicking the right key on lower status bar

Reason why I'd like to close apps: I have a battery issue, and if I leave my most-used apps in background, it negatively affects battery life on my device

Title: Exclude some apps from "close all"


问:
Is there a way to turn on Reading Mode on MIUI using terminal commands or adb?
Background

I have been using a Xiaomi device running MIUI8 and had the option of enabling Reading Mode (use of contrast colours to reduce blue light emision) on select Apps (which was great) but upon upgrading to MIUI9 this feature is now only available on system level i.e its either Reading mode is on/off thus you can't turn enable it automatically when you open a specific app and it doesn't automatically turn off after closing that app.

This is annoying because you have to manually enable and disable it. (Scheduling it is out of question because its its manual and you don't always use the specified app at the same time).

My idea

My proposed workaround is using a terminal command/adb together with tasker to enable Reading mode automatically when a specified app is opened, then have it turn off when done :). Right now I am not sure of the shell command to use, and which setting variable to target, perhaps somewhere in the settings database (I strongly feel the relevant file to modify in the file system is

```<code>data/data/com.android.providers.settings/databases/settings.db
</code>```

Question

Is there a way to enable Reading mode using terminal command or similar. Any other workaround is appreciated ?


问:
Google Play error 501 when updating YouTube
I'm trying to update the YouTube app. Whenever the update downloads and it shows "Updating app". It takes a lot of time and after some time, an error is displayed "Unknown error 501". I've searched for many solutions on Google. I've tried all the possible solutions but didn't worked. Anyone can help?</p>


问:
Access same instance of app from two devices while on the go
Me and my friend both need to access the same instance of an app at the same time.  We can not just both install the app, as we both need access to the exact same instance, account, etc. We may be at different locations, yet we still want to access the app. Both of us occasionally switch off our phones, and the other one of us may need access to the app while the other person has their phone off.

We both have Android phones. We also have a cheap third Android device that we do not use.

So:

Device 1: My device

Device 2: Friend's device

Device 3: Cheap device not currently in use.

What I am thinking about doing is installing the app on Device 3, and then leaving it at home, with the app always running, connected to WiFi and power. I guess we could then use some remote access software to access the app wherever we are.

My priorities are that accessing the app should be as simple as possible. I do not want to go login screens, authorisations, etc. every time I access it. Ideally, it should just be an icon on the home screen to click on, and preferably I should just get straight into the app. If that is not possible, then at least it should be as quick as possible with the minimum amount of steps required for access.

We do not require remote control, only remote viewing. However, remote control would also be nice.

We can use root, Xposed Framework, Magisk modules and whatever may be needed.


问:
Galaxy S2 restarts
My Galaxy S2 restarts occassionally. In addition, it sometimes loses connection with my service provider (even when the signal strength is good). I just have to switch it off and back on again.

I have upgraded the software to the latest version. Everything else works fine. No problem with making calls, connecting to wifi etc.

Is this a hardware or software issue?

ContentLicense: CC BY-SA 3.0

Title: Galaxy S2 restarts


问:
Audio file opened by itself?
This morning I woke up to the alarm on my phone, as I snoozed it I noticed that the Total Commander player had a notification open, with an audio file open but on hold.

When I tapped on play I got the Total Commander warning about Stagefright and asking me to confirm I really wanted to play the file, to which I answered no.

In the process I unfortunately also involuntarily closed TC before I could fully see what the file being played was, but I noticed it was from a fsck.k9 folder (so like an attachment I guess).

However I haven't received any audio files in attachment in the last few days and data, wifi and bluetooth were all off during the night.

I have done a scan with Bitdefender which hasn't evidenced any malware. I haven't installed any suspicious apps recently.

Any ideas of what could have happened?

Edit: Android 5.0.2 on a Moto E
Edit2: I do use K-9 for email (hence my reference to audio attachments)

Title: Audio file opened by itself?


问:
How to take panorama of sky with Google Pixel 3?
I'm trying to take a panoramic photo of the sunset, but the only option I see to do this is called "Photo Sphere".  When I select this it wants me to start at the dot, which appears to be level with the horizon.  But if I do this it will greatly detract from the panorama because everything I want to see is in the sky and there is an ugly setting underneath it.

How can I take a panorama without having to start in some arbitrary location that Google wants me to?

Update: I just noticed there is a "panorama" tab off to the left of the default camera, but it only shoots in one direction and doesn't let me add additional up/down space if there isn't enough in portrait mode.


问:
Browse only really free software on the market
How can I browse Google Play so that only apps/games that have no ads and no internal purchases are seen? </p>

<p>Note I am not talking about dedicated third party free stores, but about the actual Google Play. (Although that's a nice extra to list some 3rd party stores, but maybe it should be asked separately). </p>


问:
How to read a video embedded in a ᴘᴅꜰ?
A simple question on a ᴘᴄ.

But on Android, even the official reader doesn’t allows it.

This is for reading the video inside/with the ᴘᴅꜰ, not extracting it.

Title: How to read a video embedded in a ᴘᴅꜰ?


问:
Android tablet has 45 GB free but shows low space warning
So this tablet is pretty new. Hardly even used it. But when I tried to put videos and large apps onto it, it constantly gives me a "insufficient space" warning. it comes with 57.61GB of storage ( no external SD or anything) and I can't add anything once it reaches "45GB free"

It has not been rooted. It has hit 0% battery once but was on charge and it shut down (yes, bad idea to run it but it's battery dropped from 14% to 0)

I've used all sorts of apps to identify how much space remains and even my computer says it has 45GB free.

(Tap to enlarge)


问:
Can changing APN settings in Android improve internet speed?
I wonder while reading some of blogs and even people around me suggests some changes in APN settings(that includes APN Name, MCC, MNC, APN Protocol and Bearer), claiming that will increase my internet speed.

If this is a real solution for increasing internet speed, do above settings are enough to change?

Additional Info: Country India
Carrier Network- Jio/Airtel


问:
Watching Youtube and listening to music at same time in android phone- Is it possible
How can I watch Youtube video (app) muted as well as listen to music in phone's built in music app in any android phone?

It is not a duplicate of this How can I mute the YouTube app while playing music on another player?, I had seen that before. The answer there asks us to watch youtube in browser. but  my question is  watching youtube video in youtube app, while listening to music.

May I know if that is possible?


问:
How to install system trusted CA certificate on Android without rooting
I need to install the firewall certificate on the devices of my company. Since I can't install a system trusted certificate without rooting the device I thought of creating an Android image that comes with the certificate and flash it into the devices, but...

Where or how should I put such cert on the image? Or if there is another solution that also doesn't envolves rooting I would be happy to hear!


问:
Change status of "view only" contact in Google contacts
Nexus 5x (yes, still running)
Oreo 8.1
Google Contacts 3.2.5.222172751

I had a friend's name misspelled in my contact list and wanted to fix it. Ordinarily (and on all my other contacts) there is a blue edit button in the bottom right of the interface that displays contact info, but for this contact it's missing.

When I open the contact from the Google search bar (Google app) it shows the words "read only" at the top.

I think I created the contact in the normal way (rather than through another app).

Yes, I could delete the contact and create a new one. That would be quite easy, but that's not the answer I'm looking for.

How do I fix the contact settings? Or if somehow not possible, what in the world? What is a "view only" contact?


问:
Can I bruteforce adoptable-storage SD card to recover data?
I got an LG G4  (locked bootloader, no root),  on which I enabled adoptable storage on with adb a few months ago.

Today, I tried to put a SIM card in the first SIM card slot, which was under the SD card slot (of course my phone was turned off). I removed the SD put the SIM in the other slot and put my SD card back in. Since my SIM card was the wrong size , I removed it. But when I turned the phone on , my SD card wasn't showing up. Even the file manager was not showing either my internal and my adoptable storage .  I tried to put another SD card , it didn't show up too. So, I think I damaged my SD card reader in some way. I know since device is not rooted I can't get the .key file to recover my SD card.

So my question is : Can I bruteforce the SD card to get the .key so that I can recover my data?


问:
My HTC one M9+ doesn't perform background tasks when idle but push notifications work
I have an HTC One M9+. After the update to Android 6 (two years ago?) it stopper performing background tasks. For example:

FeedMe - an offline RSS-reader. 100 000+ installs. It is set to download new articles every 2 hours. Doesn't happen.

SMS Backup+ - backs up your SMS etc to GMail. 5 000 000+ installs. It is set to backup every day. Doesn't happen.

FolderSync - copies folder to cloud storage. 500 000+ installs. No schedules are run.

These apps are not battery (doze) optimised. Adding / removing them to doze optimization doesn't make a difference in the behavior

Push notifications from Facebook and similar work as expected. It is like cron or a similar service stopped working when I updated to Android 6. Does anyone know if HTC made something special with their version of Android? Any workarounds?

Edit: I can add another another popular app to the list, Pusbullet (1 000 000+ downloads). I also have a Sony Experia with exactly the same programs on, and there it works flawlessy. It also runs Android 6.

Edit: I can add Firefox to the list above. Even though I have logged in to my FF account and confirmed the login it doesn't sync.


问:
Program camera app to take multiple exposures?
I'm trying to create some HDR images by taking photos with multiple exposures. I have the "Kenu Stance" tripod for my Samsung Galaxy S9+, but ultimately, it's hard to keep the camera 100% steady in between shots as I have to tap the screen to change exposures and, well, it's a large phone so it will still pivot a bit when touched as the tripod is fixed on a small part of the phone (the USB-C jack).

Does anyone know of a way to program the phone/camera app to take three photos in a row, with different settings (like ISO and Shutter speed)? Or perhaps, if there already is a camera app out there that allows this? This way I could just connect my headset to the phone, click the shutter button once and be certain the phone is 100% steady during all the photos.


问:
gboard suggesting passphrase after deleting app data and learned dictionary
I have been using the gboard keyboard app for as long as I can remember. I also use password managers for nearly every situation, but they do not completely eliminate passwords. To my horror, gboard's predictive text feature recently started suggesting one of my passphrases. Specifically, if I wrote the first word of the passphrase, the next one would be suggested, and choosing that would suggest the next one after that, etc.

I force stopped the app and deleted both cache and app data. That did not fix it. So I went into settings and explicitly deleted learned words. That also did not fix it. So I looked for any situation where I may have (stupidly) typed it into an email. I could not find any example.

At this point, I am out of ideas for where Google may be acquiring this password. Obviously, I will change the password. But how do I keep this from happening again?


问:
Android Wi-Fi hotspot DNS resolver: locally point domain name to custom address without root
So, I know dnsmasq is used as DNS/DHCP server in Android when running as a Wi-Fi hotspot, that dnsmasq can be used to point users to a specific address when resolving addresses, and that there is a way to set a custom system-wide DNS server, either by setting it in the phone, or by using the Cloudflare 1.1.1.1 app.

Is it possible to give custom DNS records to clients in an Android Wi-Fi hotspot, locally, without rooting the phone? Say, by modifying the "address" configuration parameter in dnsmasq somehow, by running a local DNS server in an unprivileged port, and using that as the system DNS, or by using a custom VPN config (which, from what I've read, is the way the 1.1.1.1 app works)?


问:
Best way to access the full Android internal storage directory tree from an Ubuntu pc

Background

I am trying to free up memory from my phone that is becoming more and more unusable, as it reports only ~600MB free memory out of 16,0GB; but deleting cache files, moving images/videos to my PC, and moving apps to the SD card didn't help much.

When trying to manage the issue from the phone, I find an inconsistent memory count, in that the Memory Management utility reports a total memory usage less than 11 GB (6.5 Firmware, 3.5GB Apps, 0.9GB other, 34MB cache, 21MB images). So where/what are the missing 5GB?

Attempts to a solution

One approach is to search for apps like in this question (but this guy had no much luck, one answer after one year).

So I thought I could understand myself the situation better, and hopefully reach out the root cause, by accessing the phone files directly from Ubuntu (assuming that Android should be, if not a relative or a good friend, at least collaborative with Linux), but attempting to do so I am very much confused when Linux reports only 1,1 GB being used (so I would expect the free memory to be 14.9GB!).

Therefore I understand that by the MTP protocol (that, I read here, is Microsoft, so no wonder it makes things difficult to Linux) I cannot access all files of my android phone "internal memory". And, by the way, PTP accesses even less files!

Additional data:

the phone is a Huawei P8 2017 Lite (likely I will soon need to the same on a Honor 8 too)

Android version is 7.0

Ubuntu is 16.04 (4.15.0-39-generic)

Other Searches

Of course I understand that such a need must be widespread, and searched for similar questions, and found a lot around speaking of MTP, PTP, ADB, AirDroid, even WiFi access, bust most of them seem to me outdated (2012/2015).

Here too, one can find some advice, but it just seems one out of hundreds of similar webpages that are usually too commercial to be true, and one must try dozen apps before finding a suitable one, or ultimately giving up after having exhausted all available time.

So I am looking for updated information about a (reasonably simple) method to mount the Android filesystem from my Ubuntu pc, and see all files (particularly those taking all that precious room, to eventually delete them).

Even if it doesn't exist (hope it does) and/or there are better approaches (including those that I have already discarded) that could help to solve my problem, I would be glad to read some pointers to.


问:
Getting my Angry Birds (and other) data files onto my Galaxy Nexus?
So...with my HTC Hero, there are two Angry Birds custom files - highscores.lua and settings.lua.  Easy enough, I copy them off to my PC.

However, on the Galaxy Nexus there's a) no SD card option and b) connecting as a MTP device only seems to show certain folders, and certainly nothing Rovio (Angry Birds makers) related.

So how on earth does one get your AB scores into the new phone?

Even with Titanium Backup, you'd need an SD card option on the Nexus to copy across, surely?


问:
Unable to boot into Recovery
I was using the latest build for my device: Aex Pie.
https://downloads.aospextended.com/Z010D

It has a bug : while we try to reboot it will get stuck in black screen same with power off. The developer who made this rom don't know how to fix that

The only solution I found is this :

For reboot =  Press power button ~5 sec

For Recovery = Press power button ~5 sec when vibration comes then press volume down button when asus logo comes then release power button only.

They say its EDL bug which is something gone wrong in kernel source.

Device descriptions are given below
Device : Asus Zenfone Max ZC550KL

(Tap to enlarge)

Title: Unable to boot into Recovery


问:
How to enable TalkBack through ADB in Android P?
I've got the Oneplus 6 with unofficial mod (OmniRom Treskmod) installed on it. The issue is that the mod probably uses its own setup programme, and the accessibility gesture is partially broken. Holding two fingers in the middle of the screen starts the accessibility mode, however, it enables only some particular sounds such as those heard when locking the screen, but TalkBack doesn't start speaking then.

In earlier versions of Android there was a possibility to enable TalkBack through adb by editing Settings.db but I guess something has been changed since then and the method is useless now.

Do any of you knows the way of enabling speech through adb in the latest Android version (Pie)? What I want to achieve is to have it talking right after reboot. Of course, I know I could ask sighted person but I'd like to know if there's any solution to do it on my own.

I faced similar issue with Lineage as well.


问:
How to use an ip webcam as a webcam on my android device
What I've found on internet is how to use an android phone's camera as an ip webcam on my computer.

But I was wondering if it possible to do the opposite thing : to use an external ip webcam as a virtual internal webcam on our android devices ?

Android would recognize the external ip-camera as internal so one could use its external ip webcam as a webcam on Whatsapp for example.

I'm thinking of an application that would let me enter the ip+port of my ipwebcam and then emulate it as the internal/virtual webcam like some app do on PC

OwnerDisplayName: Clippy


问:
Scheduled turn off & on on android 8.1
Scheduled turning the device off and on has apparently been discontinued in Android 8.
Edit: At least for my device thats the case.

Given that it was one of my favorite functionalities in android 7, I would like to retain it through the update to 8.1.

Is there a similar function on 8.1 or an app i can use to emulate it?

Taskr and Automateit require root access to be able to shut down the device.

Title: Scheduled turn off & on on android 8.1


问:
Cannot clear app data

Specs

Samsung Galaxy S8

Android 8.0 Oreo

App based on this Google sample that works fine on other Galaxy S8 phones

Question

On trying to start from scratch on my app installed by APK file, I am unable to remove the app data.

Hitting the "Clear Data" button in app settings

Running adb shell pm clear com.myappsname

And uninstalling/reinstalling

Always leaves 16.38 kB in the Data category of the apps storage.

All I can figure is that this is what is causing the app to misbehave on this particular phone, since when installed on other S8's it works fine. Looking at logcat, I can't really diagnose anything wrong with the apps operation other than the fact that it is not updating location.

How do I completely clear the app's data (the 16.38 kB left)?

Thanks ahead!

Title: Cannot clear app data


问:
Google assistant is not responding to OK Google
Google assistant is not enabled on my One Plus  5T  when I say "OK Google ". I have to open google assistant app and then it starts working.

I am not able to figure the reason. How to fix this?

(Tap to enlarge)


问:
How do I disable Google Play Store apps such that it will not enable itself without my permission
When I restart the Android 7 device phone, which is not rooted, the Google Play Store apps must not run again unless I implicitly enable it to run again. (Currently, the disable button for this app is disabled, which cause me not able to disable the app.)

Also, another reason for disable Google Play Store app is that it keep download at the background without user permission and at the wrong time, causing the app that I am using not able to use the whole bandwidth.

Also, there is no options in the Google Play Store app for me to set the timing when to do update. (Google need to learn from Microsoft Windows Update scheduler for this feature!)

From my findings, I need to connect to a PC and using the ADB as follows:

```<code>adb devices
adb shell
cmd approps set <package_name> RUN_IN_BACKGROUND ignore
</code>```

However, it seems not working for those apps from Google (such as Google Play Store apps)!

Please do not tell me to install BackgroundRestrictor (https://f-droid.org/en/packages/com.pavelsikun.runinbackgroundpermissionsetter/) as it can only be used on Android 7 device phone that is rooted.

Also, please do not tell me to root my phone.

Lastly, please do not say that this question is a duplicate of that question - How to disable Play store from updating itself? as that question is almost 6 years old and may not apply to Android 7 device phones.


问:
Sony Xperia XZ Premium goes out of silent mode when connecting to Bluetooth
I have my phone set to silent (vibrate) mode and have noticed that when I connect to a bluetooth device, the phone 'exits' silent mode and the ringer volume is enabled again. This is especially annoying as I like to use a scheduled silence app and have to remember to manually enter silent mode again.

I believe this may have been caused by a recent update as my phone has regular updates and the issue has only started occurring recently.

The phone is a Sony Xperia XZ Premium running Android version 9, build number 47.2.A.2.33


问:
SD card became READ-ONLY
This is the 3rd time my sd card has become read-only. I can still transfer files from it but not into it. I have tried all methods in the internet such as Diskpart and other softwares.

May I ask if you have encountered this as well and how did you fixed it?

Phone: Huawei Y6 2018 [Android 8.1 Oreo]

Sandisk SD Card Class 10 32 GB

Title: SD card became READ-ONLY


问:
Google Drive backup not showing
I switched phones a while back but just noticed that even if im logged in with the same google account, I am not able to access my previous phone's backup. These are the backups in my GDrive:

I need the Alcatel backup. But when I go to Settings → Google → Restore Contacts, these are the ones that come up:

(Tap to enlarge)

The Alcatel backup which is the one that I need is not showing up. Why is this? How can I restore this backup?

Title: Google Drive backup not showing


问:
Why is Google Play unable to update only Google apps?
Everything was working fine on my Lenovo tablet until a couple of weeks ago when Play Store was no longer able to update the gmail app. It usually just was left hanging. Other apps seemed to update just not the google ones.

Anyway, I followed all the various suggestions provided in order to try and fix it but still have the problem. One of the things that was suggested was to uninstall updates to Play Store which I did and am now back with version 5.1.11 I think it is. Unfortunately it's stuck here and is making no attempt to update.

I then tried downloading the latest compatible Play Store from a reputable site but that won't install either... it just hangs and after about 10 mins says "App not installed". Attempting to update google via the Play Store hangs for some minutes and then eventually gives a 504 error.

I've tried powering my router off and back on again and also used my neighbour's wifi but still get the 504 every time.

Not sure where to go from here. I've tried a whole heap of so-called fixes off the internet but the problem remains.

Any help, other than suggestions of factory reset, would be appreciated.


问:
Nexus 5X changes time after phone calls
Almost every time I make a phone call, the time on my phone changes. Typically it goes forward about 7 hours, but sometimes it's a little different. To fix it, I open up settings and turn the automatic time off and then on again. I did try leaving the automatic time off, but the error persists.

How do I fix this?

Title: Nexus 5X changes time after phone calls


问:
Android not connecting to server on LAN
I am unable to connect to the SSH server on my desktop from my Android (Oreo 8.1) device over Wifi.

Here is the setup: Android and Ubuntu desktop are both connected to my Wifi, which is connected on the WAN side to my cable modem. If i turn on port-forwarding on the wireless router and send port 22 connections to the desktop, I can ssh into it using the modem's external IP address. I can't ssh into the desktop using the local IP address, whether or not port-forwarding is turned on.

I don't think this is a configuration problem on the wireless router, or on the desktop, as I can ssh into the desktop from a Windows machine using Putty. The Windows machine is on the same Wifi network, and i can ssh to my desktop using the local IP address just fine.

It also doesn't appear to be ssh-specific... I can't ping my desktop from Android, or even telnet to any open port. Or any closed port, i just tried; there's no error message, the command prompt never returns until i ctrl-c to cancel or the connection attempt times out.

I do have AFWall+ installed on the Android device, but using its "disable firewall" makes no difference. Even with it on, though, the shell, adb, root, and JuiceSSH all have full network permissions.

Is there something i'm missing in Android that would prevent only connections to local IP addresses?

Ping test results:

I can ping my desktop server from every other device on the same Wifi, just not from my Android.

The Android can ping every other device, including the LAN and WAN side of the Wifi router.

The desktop can ping the Android.

When using the Android's hotspot, the Android and desktop CAN ping each other (though, of course, the IP addresses are different).

Update

I never did get this resolved, but was making another attempt yesterday and discovered the following:

Any initial attempt to ssh to my server from the Android device just hangs. "netstat -t" on the server shows the connection is there, stuck at SYN_RECV.

If i run 'nc -l -p 22' on my Android device, and then establish an OUTBOUND connection from the server to the device, it temporarily fixes the problem. Even after closing this connection, i can ssh from the device into the server. It doesn't last, though, and the connection problem returns sometimes after a few minutes, sometimes a few hours.

Does this provide any clues as to whether the problem is on the phone or the server? Or how to permanently fix it?

Title: Android not connecting to server on LAN


问:
Why does Android 7 reset default Home app after boot?
Edit: I've got an app that was set as the HOME app that suddenly isn't set as the HOME app. My question is in two parts:

Does Android 7 have the capacity to do that on its own?

If it does, what sorts of misbehaviour might cause that to happen?

I've installed an app and set it as the default HOME app by selecting it and "ALWAYS" from the popup window you get when you press the HOME button.  It works most of the time - if I press the HOME button then the app runs, or if I switch the phone off/on then the app runs.

However, sometime when I switch the phone on, I get the "Use XXXX as Home / JUST ONCE / ALWAYS / Use a different app / Launcher3" popup.  Why would Android stop running a 3rd party app as the default HOME app?

I only get this problem on Android 7 devices - I haven't seen it with 4.4 to 6.0 - has something changed in 7 that makes it more picky about this sort of thing?

The app is on a private channel so, sorry, I can't give you a link to it. And the devices are from Tokie and K-Mobile so not off-the-shelf consumer products.


问:
How does "Recycle master recycle bin" app recovering deleted files ?
There are many apps that recovers deleted data(images, video, PDF) i.e Disk digger , Dumpster e.t.c and these apps also ask for root , but here i want to know the process/methodology of simple recovering of files which are accidentally deleted.

In Recycle master recycle bin what have they tried to recover files using no root and it does provide the deleted files in app list view.

So to perform such task what i have to do in my app.

1) Are they implementing their own file manager by over riding/uninstall the default file manager so that user when ever open files it must interact with their file manager.
If so then how to override default file manager ?

2) Are they over riding system calls to force operating system functionality?

3) Or there is some thing else?


问:
Crash when switching apps with non default launchers
I just updated a Nokia 6.1 (TA-1054) to Android P and when I change the launcher from the default launcher3 to anything else it keeps opening launcher3 when I try to switch apps and crashes.

I tried rooting the device and trying to disable and uninstall it with no luck. Any ideas?

I tried the following so far:

```<code>./adb shell pm disable --user 0 com.android.launcher3
./adb shell pm uninstall --user 0 com.android.launcher3
./adb shell rm /system/priv-app/NBCLauncher/NBCLauncher.apk
</code>```

Video


问:
Just sync GMail-contacts with a certain label
Is it possible, maybe with some app, to only sync contacts from GMail to my phone if they have a certain label? E.g., I labelled all contacts from my previous job "Job1" while all contacts from my current job are labelled "Job2". I only want contacts from my current job, e.g., label "Job2", to sync to my phone while I want to keep contacts from my previous job, e.g., label "Job1", for reference, but only in the desktop interface.</p>


问:
How to clear dalvik cache if DDMS doesn't recognize device?
I have a Navon Platinum Explorer tablet (wich is not an original Navon tablet). Few years ago I was able to clear the dalvik cache, with DDMS in Eclipse (Mars) but it's full again and DDMS doesn't recognize the device, so I can't clear it. Windows  says unknown device. I looked for this device in Oracle VM USB device list and there I found it as Onda (unverified) V972 tablet in flashing mode.

When I turn the tablet on it display the android logo and stuck there. When I press the Power + Volume up / Volume down buttons it doesn't display anything, but connects to the PC (or if already connected then disconnects). I can't enter recovery menu.

So how can I clear the dalvik cache, and disable logging so it doesn't get full again?

From Ubuntu

(First, I do not really know linux yet.)

With sudo lshw -short command I get some interesting item related to the device (with H/W path /0/100/6/*):

It's maybe possible to do something whith it?


问:
Facebook messenger android
Is there anyway to somehow save, store messages if you only have Facebook messenger and not facebook account? I would like to have these conversations, and maybe search in some of them, making statistics, but there is no easy or right now I do not see any way for this.</p>

Title: Facebook messenger android


问:
.hidden folders not showing in Windows Explorer
I have a Samsung s5 running Android v6.0.1 and a Samsung s9+ running v8.0.0.  Neither are rooted.

When I plug either phone into PC running Windows 8.1, I can't see any .hidden folders on the phones via Windows File Explorer.

Folders that don't start with a . are visible.

I've made sure that the phones are connected in USB "File Transfer Mode"

And that Windows File explorer is configured to show hidden files.

I know I used to be able to see all folders, even the .hidden ones on the s5 at least.

I've tried clearing the Media Storage app cache, and rebooting both the phone and the PC.

Any other solutions to get access back.


问:
Installation of Operating System Comparison with that on a Laptop
If I buy a laptop of Dell, HP, Lenovo or Sony I could install any (meant for Laptop) variant of Linux or Windows on any of these devices, quite easily, without having to risk bricking (completely useless) of the device. Also, for example, Ubuntu is able to find out drivers for most I/O devices on any laptop.

But when comes to Android, why is this process so complex and has a serious warning like things can go very wrong. Also, why is that many IO devices on mobile like a fingerprint reader, etc don't work when OS is installed?

Given that, mobile phone has much bigger userbase, I  expected it to have more support from the community. What is lacking? When Ubuntu can pulloff in most laptops, why can't Google (they too want every mobile to use latest Android version) try to do it?

Also, regarding the security updates why it has to be delivered by the phone manufacturers, instead of Google (like in the case of Windows or  Ubuntu on laptop). There are warnings that custom OS installation won't get any security updates on android (Why Google lets this happen? Why can't they do as Ubuntu does? Why don't they provide an Android that can be installed on any device with ease?).


问:
Is there a way to overlay an image permanently on top of the entire screen?
Suppose I have an image (say a jpeg or whatever format is nice) with exactly the same width and height (in terms of pixels) as the screen of my android phone (I have a Galaxy S7 edge running android 8.0.0).

Is there a method that allows to permanently overlay this image (with prescribed opacity) on top of my phone's screen, ideally without requiring root access? If the opacity part is difficult, one could build it directly into the image using a format that supports transparency, like png.


问:
How to transfer between SD Card and External Hard drive using Samsung S8 and NO PC?
I am on S8 Exynos (Custom ROM - Renovate ICE, LATEST). When I was using a S7 last time and had a USB OTG cable to daisy chain my SD card reader and USB hard drive, the connection dropped so frequently that it made it impossible to transfer all my contents (around 120GB per day of photos and videos) from the SD card to my external hard drive.

Is there a more reliable method using my S8? I also have the WD Wireless Pro, but it is giving me so many errors that I gave up on that device.

I would like to reiterate that this is for travelling purposes, where I have to transfer nearly 200GB daily, and I hope not to lug my laptop around with me, hence asking whether my S8 can act as the intermediary.


问:
Voice Typing stops abruptly
I have a Samsung Galaxy Note 4. At some point in the last 6 months or so, voice typing just stopped working for longer than a couple of seconds of dictation.  It doesn't matter if I talk very fast with no pauses at all. It just stops abruptly. I have to keep hitting the microphone button repeatedly to get it to complete.

Where do I begin to start debugging this?

Title: Voice Typing stops abruptly


问:
Delete/remove a calendar in Android AccountManager's database using Tasker intent?
While trying to remove calendars from the Android AccountManager's database using Tasker, I've been exploring the Android calendar provider api but I have not been able to find a command to delete a calendar once it is identified.

Based on https://developer.android.com/guide/topics/providers/calendar-provider#calendar, I tried to use the tasker intent commands to first create a calendar with:

```<code>Intent intent = new Intent(Intent.ACTION_INSERT);
intent.setData(CalendarContract.Calendars._ID);
startActivity(intent);
</code>```

And I have found an event deleting command here:
    https://developer.android.com/guide/topics/providers/calendar-provider#delete-event. It think it deletes eventId 201.

```<code>private static final String DEBUG_TAG = "MyActivity";
...
long eventID = 201;
...
ContentResolver cr = getContentResolver();
Uri deleteUri = null;
deleteUri = ContentUris.withAppendedId(Events.CONTENT_URI, eventID);
int rows = cr.delete(deleteUri, null, null);
Log.i(DEBUG_TAG, "Rows deleted: " + rows);
</code>```

My question is: does anyone have a suggestion on a java command/intent that can be used to delete a calendar account once I found one?

Edit:

I was looking for the accountmanager. After finding the correct String value for parameter "Type" I can get a list of calendars using the getAccountsByType() method. Afterwards I should be able to loop through that list and apply either the [removeAccount(Account account, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler)][4], or the removeAccountExplicitly(Account account) method.

This is an example script that retrieves the list of android Accounts. Part A1-A11 has been tested and verified with export constraints:

Package name consists of <1 letter>.<1 letter>.com

In advanced app export settings in tasker set the additional permission to:android.permission.GET_ACCOUNTS.

This is the tested tasker .xml file of the example script, which I am currently working on:

```<code>    <TaskerData sr="" dvi="1" tv="5.2.bf1">
    <Task sr="task27">
        <cdate>1545421710313</cdate>
        <edate>1545513273938</edate>
        <id>27</id>
        <nme>removeDavAccountsAD</nme>
        <pri>100</pri>
        <Kid sr="Kid">
            <eperm0>android.permission.WRITE_SYNC_SETTINGS</eperm0>
            <eperm1>android.permission.MANAGE_ACCOUNTS</eperm1>
            <eperm2>android.permission.AUTHENTICATE_ACCOUNTS</eperm2>
            <eperm3>android.permission.GET_ACCOUNTS</eperm3>
            <eperm4>android.permission.ACCOUNT_MANAGER</eperm4>
            <flgs>1</flgs>
            <launchID>27</launchID>
            <pkg>a.be.com</pkg>
            <vMin>25</vMin>
            <vTarg>25</vTarg>
            <vnme>1.0</vnme>
            <vnum>27</vnum>
        </Kid>
        <Action sr="act0" ve="7">
            <code>664</code>
            <Str sr="arg0" ve="3">am</Str>
            <Str sr="arg1" ve="3">AccountManager</Str>
            <Str sr="arg2" ve="3">get
{AccountManager} (Context)</Str>
            <Str sr="arg3" ve="3">CONTEXT</Str>
            <Str sr="arg4" ve="3"/>
            <Str sr="arg5" ve="3"/>
            <Str sr="arg6" ve="3"/>
            <Str sr="arg7" ve="3"/>
            <Str sr="arg8" ve="3"/>
            <Str sr="arg9" ve="3"/>
        </Action>
        <Action sr="act1" ve="7">
            <code>664</code>
            <Str sr="arg0" ve="3">accounts</Str>
            <Str sr="arg1" ve="3">am</Str>
            <Str sr="arg2" ve="3">getAccounts
{Account[]} ()</Str>
            <Str sr="arg3" ve="3"/>
            <Str sr="arg4" ve="3"/>
            <Str sr="arg5" ve="3"/>
            <Str sr="arg6" ve="3"/>
            <Str sr="arg7" ve="3"/>
            <Str sr="arg8" ve="3"/>
            <Str sr="arg9" ve="3"/>
        </Action>
        <Action sr="act10" ve="7">
            <code>664</code>
            <Str sr="arg0" ve="3"/>
            <Str sr="arg1" ve="3">am</Str>
            <Str sr="arg2" ve="3">removeAccountExplicitly
{boolean} (Account)</Str>
            <Str sr="arg3" ve="3">accounts[%item]</Str>
            <Str sr="arg4" ve="3"/>
            <Str sr="arg5" ve="3"/>
            <Str sr="arg6" ve="3"/>
            <Str sr="arg7" ve="3"/>
            <Str sr="arg8" ve="3"/>
            <Str sr="arg9" ve="3"/>
            <ConditionList sr="if">
                <Condition sr="c0" ve="3">
                    <lhs>%a_type</lhs>
                    <op>2</op>
                    <rhs>*at.bitfire.davdroid*</rhs>
                </Condition>
            </ConditionList>
        </Action>
        <Action sr="act11" ve="7">
            <code>548</code>
            <Str sr="arg0" ve="3">After: %a_name</Str>
            <Int sr="arg1" val="0"/>
            <ConditionList sr="if">
                <Condition sr="c0" ve="3">
                    <lhs>%a_type</lhs>
                    <op>2</op>
                    <rhs>*at.bitfire.davdroid*</rhs>
                </Condition>
            </ConditionList>
        </Action>
        <Action sr="act12" ve="7">
            <code>664</code>
            <Str sr="arg0" ve="3"/>
            <Str sr="arg1" ve="3">am</Str>
            <Str sr="arg2" ve="3">removeAccount
{AccountManagerFuture} (Account, Activity, AccountManagerCallback, android.os.Handler)</Str>
            <Str sr="arg3" ve="3">accounts[%item]</Str>
            <Str sr="arg4" ve="3"/>
            <Str sr="arg5" ve="3"/>
            <Str sr="arg6" ve="3"/>
            <Str sr="arg7" ve="3"/>
            <Str sr="arg8" ve="3"/>
            <Str sr="arg9" ve="3"/>
            <ConditionList sr="if">
                <Condition sr="c0" ve="3">
                    <lhs>%a_type</lhs>
                    <op>2</op>
                    <rhs>*at.bitfire.davdroid*</rhs>
                </Condition>
            </ConditionList>
        </Action>
        <Action sr="act13" ve="7">
            <code>664</code>
            <Str sr="arg0" ve="3"/>
            <Str sr="arg1" ve="3">am</Str>
<Str sr="arg2" ve="3">removeAccount
{AccountManagerFuture} (Account, AccountManagerCallback, android.os.Handler)</Str>
            <Str sr="arg3" ve="3">accounts[%item]</Str>
            <Str sr="arg4" ve="3"/>
            <Str sr="arg5" ve="3"/>
            <Str sr="arg6" ve="3"/>
            <Str sr="arg7" ve="3"/>
            <Str sr="arg8" ve="3"/>
            <Str sr="arg9" ve="3"/>
            <ConditionList sr="if">
                <Condition sr="c0" ve="3">
                    <lhs>%a_type</lhs>
                    <op>2</op>
                    <rhs>*at.bitfire.davdroid*</rhs>
                </Condition>
            </ConditionList>
        </Action>
        <Action sr="act14" ve="7">
            <code>40</code>
        </Action>
        <Action sr="act15" ve="7">
            <code>665</code>
            <Int sr="arg0" val="0"/>
            <Str sr="arg1" ve="3">am</Str>
        </Action>
        <Action sr="act2" ve="7">
            <code>664</code>
            <Str sr="arg0" ve="3">%accounts_length</Str>
            <Str sr="arg1" ve="3">accounts.length</Str>
            <Str sr="arg2" ve="3">assign
{int} ()</Str>
            <Str sr="arg3" ve="3"/>
            <Str sr="arg4" ve="3"/>
            <Str sr="arg5" ve="3"/>
            <Str sr="arg6" ve="3"/>
            <Str sr="arg7" ve="3"/>
            <Str sr="arg8" ve="3"/>
            <Str sr="arg9" ve="3"/>
        </Action>
        <Action sr="act3" ve="7">
            <code>548</code>
            <Str sr="arg0" ve="3">Number of accounts: %accounts_length</Str>
            <Int sr="arg1" val="1"/>
        </Action>
        <Action sr="act4" ve="7">
            <code>890</code>
            <Str sr="arg0" ve="3">%accounts_length</Str>
            <Int sr="arg1" val="1"/>
            <Int sr="arg2" val="0"/>
        </Action>
        <Action sr="act5" ve="7">
            <code>39</code>
            <Str sr="arg0" ve="3">%item</Str>
            <Str sr="arg1" ve="3">0:%accounts_length</Str>
        </Action>
        <Action sr="act6" ve="7">
            <code>664</code>
            <se>false</se>
            <Str sr="arg0" ve="3">%a_name</Str>
            <Str sr="arg1" ve="3">accounts[%item].name</Str>
            <Str sr="arg2" ve="3">toString
{String} ()</Str>
            <Str sr="arg3" ve="3"/>
            <Str sr="arg4" ve="3"/>
            <Str sr="arg5" ve="3"/>
            <Str sr="arg6" ve="3"/>
            <Str sr="arg7" ve="3"/>
            <Str sr="arg8" ve="3"/>
            <Str sr="arg9" ve="3"/>
        </Action>
        <Action sr="act7" ve="7">
            <code>664</code>
            <se>false</se>
            <Str sr="arg0" ve="3">%a_type</Str>
            <Str sr="arg1" ve="3">accounts[%item].type</Str>
            <Str sr="arg2" ve="3">toString
{String} ()</Str>
            <Str sr="arg3" ve="3"/>
            <Str sr="arg4" ve="3"/>
            <Str sr="arg5" ve="3"/>
            <Str sr="arg6" ve="3"/>
            <Str sr="arg7" ve="3"/>
            <Str sr="arg8" ve="3"/>
            <Str sr="arg9" ve="3"/>
        </Action>
        <Action sr="act8" ve="7">
            <code>410</code>
            <se>false</se>
            <Str sr="arg0" ve="3">/storage/17EE-2356/titwatest/AccountManager_Accounts1.txt</Str>
            <Str sr="arg1" ve="3">%a_name;%a_type</Str>
            <Int sr="arg2" val="1"/>
            <Int sr="arg3" val="1"/>
            <ConditionList sr="if">
                <Condition sr="c0" ve="3">
                    <lhs>%a_type</lhs>
                    <op>2</op>
                    <rhs>*bitfire.at.davdroid*/*at.bitfire.davdroid*</rhs>
                </Condition>
            </ConditionList>
        </Action>
        <Action sr="act9" ve="7">
            <code>548</code>
            <Str sr="arg0" ve="3">%a_name</Str>
            <Int sr="arg1" val="0"/>
            <ConditionList sr="if">
                <Condition sr="c0" ve="3">
                    <lhs>%a_type</lhs>
                    <op>2</op>
                    <rhs>*at.bitfire.davdroid*</rhs>
                </Condition>
</ConditionList>
        </Action>
        <Img sr="icn" ve="2">
            <nme>hl_collections_go_to_today</nme>
        </Img>
    </Task>
</TaskerData>
</code>```

As soon as I have been able to modify/expand it to delete the accounts, I shall post the solution here as answer.


问:
Enabling developer mode on cash machine
What I have is a cash register machine with a preinstalled custom launcher and Android 7.0

How to access the developer options and connect via adb? There is no settings menu with well known "build number"

I tried switching to recovery mode, but it didn't help me - it shows "no command"

Title: Enabling developer mode on cash machine


问:
cannot see device anymore when connecting to PC via USB
Lately I'm experiencing this problem when connecting my LG G2 smartphone to the PC: I cannot see it anymore in explorer.
I can actually connect to it tru ADB and push/pull files no problem. Also ADB shell works, developer options / debug USB enabled.
In Windows registry / System I got a critical error event id 10110 - 10111 DriverFrameworks-UserMode each time I connect it to usb.

Drivers are installed, cable is ok, I tried on several PC and can't see it, also tried with Linux, same problem.

If I dmesg | grep usb I got these two errors:

```<code><3>usb_bam_ipa_create_resources: Failed to create USB_PROD resource
<3>init: cannot find '/system/bin/usbdebug-manager', disabling 'usbdebug-manager'
</code>```

I'm 100% sure is not a problem PC side, but smartphone side.
I've been repacking /system/app and system/framework app to slim down my system, but I cannot figure out what is wrong.

LG G2 KK modified stock rom, Dorimanx Kernel


问:
How I can contribute to the open source work of localization of Android OS for specific language
As Android is the open source, the translation of the localization for all languages should be the work on the same principle. How can I contribute to the translation of system messages and the user interface for some specific language?</p>


问:
Phone virbates without there being any notification
My phone, Samsung A8 2018, sometimes vibrates without there being any notification.
I've noticed this since yesterday. The two new things which yesterday changed about my phone are: I updated my phone and I started playing games through facebook. I've reset my phone's notification settings and at least one of the games does also send notifications when something happens. The other one doesn't, but I haven't noticed any correlation between the virbations and something happening in the game.

Smart Alert is turned off.

Something which might be irrelevant: permissions for certain apps (Whatsapp and Snapchat) got reset, either after the update or after resetting notification settings.

What causes these vibrations without notifications?
Is there any way to check what causes a vibration?


问:
FFmpeg Two-Pass Encoding in Android
According to the documentation for using Two-Pass method we have to run ffmpeg twice like this:

```<code>ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4 /dev/null && \
ffmpeg -i input -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k output.mp4
</code>```

But When I use these codes I get this error:

```<code>Unable to find a suitable output format for '&&'
</code>```

And Android doesn't recognize "&& \" as an argument for ffmpeg or ffmpeg doesn't recognize such a thing on Android!

Could somebody tell me how I should do 2-Pass encoding on Android with FFmpeg?

OwnerDisplayName: MSH

Title: FFmpeg Two-Pass Encoding in Android


问:
How to fix jittery GPS readings that occurred out of the blue?
I have a Xiaomi Mi A1 running Android 8.1.0 and had no issues with it whatsoever but lately, completely out of the blue, the GPS readings became really jittery when using the phone for running tracking. I've been running with it for as long as I had it (a year or so), using Endomondo exclusively all that time as well. Then, one day two weeks ago or so (doesn't correlate with any update the phone would inform me about or anything), the readings just became really inaccurate, with distance error being something between 1 and 2km depending on the length of the run.

Just look at the comparison of an example of a concrete path along the lake near me from 3 months ago:
...and today:

It's a good example cause the path is always the same there, you can't run along it in any other way cause there literally is only one way to traverse it.

What could have happened and how can I try to fix it? All the obvious things are done of course, like restarting the phone, allowing Endo to use location features, turning battery optimization off for the app or other trivialities from the official Endo GPS troubleshooting guide.

EDIT with further researching: Tried checking whether the location data stutters when the phone is in place today too to make sure it's not a loose antenna problem for example and there are no changes in the location at all. It's completely stable and constant as long as the phone is in one place and then updates with no problems as soon as you move it. Also, I've changed during the run today and there are constantly between 12 and 18 satellites (out of 32) that the phone is connected to.

I don't think this is an Endomondo problem either cause I checked my Google Maps Timeline as I have it on and it makes the same weird twists in my routes as Endo, suddenly drawing my path through the buildings or concrete walls (like seen in the first post).

EDIT2: I thought this may have something to do with an update that does not get along well with something in my phone but I recently received an update to Android 9 and after extensive testing I have to admit the very same problem persists :( Does that mean something hardware-related malfunctioned in my device and I can do nothing to fix this apart from sending it in?


问:
How can I speed up sidereel.com using Chrome on my android TV PCs?
I have several android TV PCs, all with the same apps and configurations. One use is watching streamed shows on TV. I use sidereal.com to keep up with my shows, but it takes forever for the site to load and navigate. These are 8x ARM Cortex-A53 CPUs running at 1000mhz, 2gb ram, android 7.1.2, rooted, Xposed framework.

If I view sidereal.com on a Windows machine or android phone, the site renders quickly. I understand the TV PCs are not going to work as well, but they should work better. Other sites viewed on the TV PCs work fine. For instance dailymail.co.uk works good, with a very long page scroll and much content. DickMorris.com and Facebook.com work excellent and play videos. I have no problem navigating or streaming Amazon, Hulu, or Netflix. For some reason sidereal.com does not work well on these devices.


问:
dmesg unable to enumerate usb device on google nexus 7 2013 wifi version
I installed android file transfer and flashed the ROM of Google Nexus 2013 WIFI tablet by executing the flash-all script command on my macbook pro macOS Mojave. This tablet has issue with usb connection before and it will drop the USB connection after few minutes. I believe the usb connection disconnected while trying to write the firmware to the tablet. The dmesg shows the following now after the ROM flash failure

[44561.880936] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
  [44562.790961] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
  [44562.791046] usb 1-1-port2: unable to enumerate USB device

This is what i have tried so far

Use different USB cables

Create 51-android.rules file and then reboot

pi@raspberrypi:~ $ cat /etc/udev/rules.d/51-android.rules
  SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e41", MODE="0666", > OWNER=“pi” # MTP media (multimedia device)
  SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666", > OWNER=“pi” # MTP media with USB debug on(multimedia device)
  SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e43", MODE="0666", > OWNER=“pi” # PTP media (camera)
  SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e44", MODE="0666", > OWNER=“pi” # PTP media with USB debug on (camera)
  SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", MODE="0666", > OWNER=“pi” # Bootloader
  SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001", MODE="0666", > OWNER=“pi” # Recovery

lsusb did not show the google nexus devices

Hard reset and factory reset the tablet

Added product id into adb_usb.ini
pi@raspberrypi:~ $ cat ~/.android/adb_usb.ini
0x18d1

Took out cover and then disconnect the battery connection and then reconnect

I have done all the above using raspberry pi with raspbian OS. However, the raspberry pi is still not able to recognize my tablet.

I did the following on the Windows computer as well. I plugged in the device and checked the device manager application. It says that the device is unknown. I downloaded the driver from the internet and then try to update it through the device manager. Computer tells me that there is no driver installed while simultaneously saying that the driver is up to date. I believe I have enabled the USB debugging method before the ROM flash but the tablet seems to be completely out of OS now. I am just wondering whether anyone has solution to this?I have tried a lot of method with no avail


问:
Persistent data after application removal
After uninstalling some apps, some data remain

Where are these files located ? All of them

Where is licensing data stored ?

SD maid nor Revo Uninstaller Mobile could find anything, but data DO remain

Example:

OCR Text scanner

https://play.google.com/store/apps/details?id=com.offline.ocr.english.image.to.text

I've uninstalled many times, including with the mentioned tools

The whole history, pictures and licensing information (don't know if linked to google) are kept


问:
Photo contrast changes right before sharing
I sometimes share pictures from the Gallery app (Samsung), but just before my sharing options come up, I can very clearly see that it increases the contrast (making it look unnatural). I have tried searching in settings, without any luck. Has anyone found a solution for this?

Samsung Galaxy
Android: 8.1.0
Samsung experience: 9.5


问:
Where does Google's Allo store (private) messages and media?
I suppose that messages and media sent and received in incognito mode are encrypted but they have to be stored or at least cached somewhere on the device as long as the timer, if any, has not finished. Does anyone know the location/path in the system where Allo stores normal and private messages and media? Is it accessible without root access?</p>


问:
How to Transfer apps back to internal storage from sd card on android 7
I moved some of my own downloaded apps to the sd card and now when I go to use them it says they are not installed and won't let me put them back into internal storage.  The 2 options pop up ie: sd card and internal but when I select internal, it does not accept it and leaves them on the card.  It is on my Samsung galaxy tab s2 model SM-T810 running Android 7.  Can anyone help me out please

Liz


问:
External HDMI Touch screen control for Android
I would like to have an external touchscreen for my smartphone (galaxy S8) in order to control it through this screen in my car.
Is the mhl protocol, with basic touchscreen (like capacitive 7 inch) works or do i need to do something different ?
Thx !</p>


问:
I'm not able to access the VPN Settings in Android 8.1 EMUI 8.2.0
I'm using the NordVPN App for Android. The app version is 3.8.3. My Smartphone is a Honor 8X with Android 8.1.0 and EMUI 8.2.0.

In their "Automatic Kill Switch" article on https://nordvpn.com/features/kill-switch-technique/, they explain that: "At the moment Kill Switch technology is available only on Android 7 or later and has to be enabled in System Settings menu.".

If I navigate in my Smartphone to "Settings->Wireless & networks->VPN", I can see the NordVPN entry/profile, which has been created automatically by the NordVPN app.

However, I'm not able to set the "Always-on-VPN" option, because if I click on the NordVPN entry, it just opens the NordVPN app and not the settings of it in Android. Keep pressing it does not give me any option besides opening the app again.

If I create a dummy VPN entry and click it, I'm able to set the "Always-on-VPN" option because it opens the settings of it.

Is there any advice/known solution to this problem? Or is it impossible to access the entry, because it was created automatically by the NordVPN app and I have no control over it?


问:
Can't boot into fastboot from Error Mode screen
I have a Huwaei P9 Lite (2017) with unlocked bootloader, build number PRA-LX1C432B172. Both recovery partitinons probably got damaged and the phone just hangs in the Error Mode screen (just like in the photo attached). Rebooting and pressing any combination of buttons just causes it to go into that screen. If I discharge the battery completely, it will boot into system, but I forgot the password (stupid me). Now even when I am in the system, I can't use adb reboot fastboot, because USB debugging isn't enabled (ADB doesn't even see the phone), so all I can do is turn it off/reboot it, it then goes into Error Mode screen, then wait for it to discharge and I am at the beginning again.

What I've tried so far:

Pressing volume down (or up or both) and Power when in Error Mode screen -> just reboots into Error Mode again

When completely off (discharged), pressing vol. down and quickly inserting the cable into the PC -> boots into system

When completely off (discharged), pressing vol. up or both and power -> goes into Error Mode

When completely off (discharged), inserting charging cable -> after a while, it boots into system

When in system, adb reboot fastboot -> no way, can't even see it using adb devices

Connecting it to HiSuite both in Error Mode and system -> it doesn't see anything

Data in the phone is my main concern. All I really need is one time fastboot access, I can figure the rest out on my own then


问:
Uber Driver is crashing (not even start) on Android 8.1
I bought a new phone because my older was so old that Uber Driver was too slow, couldn't even use a different map service (like Google Maps or Waze). Bought a Redmi 6 (International Version), with Android 8.1.0 and MIUI Global 10.0.

So I installed Uber Driver, and to my surprise it crashed every time after the second screen of "what's new". I uninstalled it, and now after some two months I tried again. The problem persists. The first screens with instructions worked fine the first time (though the loud voice can't be turned off or lowered -- and the device volume is muted!). After these screens, came the "what's new" screens, and it crashed in the second. Now it just crashes before these screens, every time I try to open the app. The system is up to date. What can I do?

EDIT

Following @trishmapow comments, I managed to use adb logcat to create a log. The log file has 540 kB, and registered every information since the device was last turned on (I thought it would only register from the moment the command was issued). Should I upload this whole log somewhere? Should I extract only lines with some word in them?


问:
Where it's marked that a "/data/app/i" have to appear in launcher?
I have some apps who have important data in it. And now they don't appear in the launcher, but they still in /data/app. Do you know what to do to make appear an app from /data/app in the launcher ? Like manually install an app, without the Android Installer</p>

OwnerDisplayName: Pingo-power


问:
How to remove Bluetooth 2 - 3 second delay?
I have noticed an ~3 second delay when using Bluetooth in my vehicle (rabbit hole) with a stock head unit and UConnect.  Apparently it's a common problem and the dealer(s) admits to it, and the problem is the specific model of the UConnect device, not just the head unit.  Newer units in other vehicles don't have this issue.  Ok, fine whatevs.

However, today I noticed the same phenomenon with my Bluetooth headphones (SX-991's like this).  I'm not sure if the problem came up when I downgraded to Android 5.1 to OctOS L, the volume boosting app I use, or some other app or setting.  These headphones used to work fine without lag.  However, I haven't used them much in the past few months, so I'm not sure when the problem arose.  I have used the headphones without issue after downgrading, but I don't recallt he last time I used them.

In doing a bit of research, it seems that Honda Civics and some Mazdas have had this problem as well, but that goes back to headunits and possibly UConnect.

What can I do to remove this ~3 seconds of lag for the headphones?  It makes watching a video with the headset unplayable.  Most other pages I find discussing this problem complain about fractions of a second, not several seconds, also usually in reference to Netflix and YouTube.  Interestingly, a lot of people say iOS devices do not have this problem.

This is a very similar question, albeit for Ubuntu and not Android, so I can't really make use of its answers.


问:
How do I have IMAP delete Email inbox item when deleting on the server?
If I have an email in my Android Email inbox and I delete it on the server inbox, it will not delete from my phone.  If I delete it on the phone, it will delete it on the server.  I originally set it up this way but can't remember how and now would like to change it.  I can't find the settings to do so. </p>


问:
Options for recovering user data off of unrooted Motorola Android in boot loop
My phone started to boot loop*. It is a Motorola Droid Turbo (xt1254) running Android 6.0.1, and this is a snippet from the recovery screen:

Device is LOCKED. Status Code: 0

Software status: Official

Connect USB Data Cable

From the recovery mode, it gives these options:

Reboot system now

Reboot to bootloader

Apply update from ADB

Apply update from SD card

Wipe data/factory reset

Wipe cache partition

Mount /System

View recovery logs

Power off

qe 0/0

Supported API: 3

Wiping the cache partition had no effect, the boot loop remained, however would any of the above options allow me to transfer data to a PC over usb with the ADB. Or are there any services that can read the flash memory?

I should note that I got this phone from the Verizon store and had never rooted it nor installed custom recovery software, however I may have enabled developer options at some point.

*The boot loop sequence is this:

Motorola Logo Bright

Vibrates

Motorola Logo Dim

Full-screen startup animation with sound

Black background with white box saying: Optimizing App 1 of 14

then over the next few seconds to: Optimizing App 14 of 14 (although I have way more than 14 apps)

Then white box says: Starting Apps

Then Motorola Logo Dim for a moment

Startup animation for a moment

Black screen

Repeats

To get out of it, I go into recovery mode and do power off. There were a few possible events that may have precipitated this, and there's no way of knowing which one, these are:

Phone has been (accidentally) dropped twice recently, although in protective casing. The actual phone performance wasn't effected, however there seemed have been an effect on battery performance (required more frequent charging and battery seemed to drain more rapidly when the phone was in use). Also, the second drop was hard enough that when I took the phone out of the protective casing, a small piece of the casing had come off, although there was no visible damage to the phone such as cracks or screen cracks or anything like that and the phone was completely functional as far as I could tell, afterwards. However, it was after the battery ran down after this second drop when the phone entered a boot-loop. Is it possible there was internal damage that prevented it from booting, such as a hardware check failing, or memory damage or something like that?

I don't update apps very often, however I just updated some apps (perhaps the cause for the app optimization card during boot) before this happened. I've seen in some posts that there can be problematic apps that interfere with system files and may cause this.

During the last use, I watched a video on an app, fell asleep and found through that app's history on another device that it had autoplayed through an approximate 4 hr playlist .. before running out of battery and to run into the boot-loop after I had partially charged it (afterwards before trying the cache wipe, I charged it to 100%). Perhaps this had overburdened the device in some way or filled up its memory- the app is supposed to stream, however maybe it downloaded - I've seen some posts that say that if the memory is completely full, it could cause this.

This is unrelated, but thought I would include it anyhow: when there was a mandatory Verizon/OS update (a while ago 24.91.5.quark_verizon.verizon.en.us), it was initially stuck on the Motorola logo after the update. Fortunately, holding the power key to reboot again it was able to boot.


问:
Prevent uninstall app - Honor 6A
After some research, I can't prevent apps to be uninstalled on my phone - Honor 6A.
When an app will be uninstalled, I would want a pop-up with a password.
I see a lot of app which can do this feature, but it doesn't work on my phone.
I've done the authorization on settings/security/usage access for the app i want to protect, but it doesn't work.
It looks like the phone Honor 6A have something to block this feature.
Do you know this problem and can you help me to solve it ?
Thanks.</p>

Title: Prevent uninstall app - Honor 6A


问:
My second app gives error 910 when trying to install
I have 2 apps on google play both are webview app

first one is "Milana" with ID "com.milana.eg"

second one is "Milana Stuff" with ID "com.stuff.milana.eg"

both have different sign key but the problem that if installed one of them I won't be able to install the second and it will give 910 error code! if I uninstalled one of them I can install the other with no problem.
Can anyone help?


问:
Possible to transfer Google Play Balance from one Google account to another?
Actually I am using 2 Google accounts in my device and first is my permanent while second is only for special purposes.
I have mistakenly added my funds to second account instead of first one and now finding if there is anyway to transfer those bucks to my primary account so that i can make purchases. It is not convenient for me to make purchase from my secondary account.

Note - I have read that there is a way but that is as Google Gift Cards but that I can't purchase from Google play balance.


问:
How to disabled Viber running without uninstalling it?
How do I stop Viber running, without uninstalling the app? When I go Menu→More options→Exit it just comes back. I want it to turn it off completely, so it's not waiting to come on in the background.</p>


问:
File system error when writing
I recently encountered a problem using Threema on LineageOS 15.1: I noticed that whenever I want to download a picture posted by someone else in a conversation, I get the message "Could not download message". A logcat reveals, that an excepction is thrown when opening the file:

```<code>java.io.FileNotFoundException: /storage/emulated/0/Android/data/ch.threema.app/files/data.blob/017c31a18e3325c75d3564fd3565b144
</code>```

I used adb shell (as root) to create an empty file:

```<code># whoami
root
# echo "" > /storage/emulated/0/Android/data/ch.threema.app/files/data.blob/017c31a18e3325c75d3564fd3565b144
sh: can't create /storage/emulated/0/Android/data/ch.threema.app/files/data.blob/017c31a18e3325c75d3564fd3565b144: Invalid argument
</code>```

So the same error occurs in the shell, even if I am logged in as root.
Apparently, once the file is created, it can't be written to:

```<code># echo "asd" > 017c31a18e3325c75d3564fd3565b
# echo "asd" > 017c31a18e3325c75d3564fd3565b
sh: can't create 017c31a18e3325c75d3564fd3565b: Invalid argument
</code>```

The permissions of newly created files are set to

```<code>-rw-rw---- 1 u0_a71 sdcard_rw 4 2018-12-31 13:45 017c31a18e3325c75d3564fd3565b
</code>```

Any ideas what is causing this? Is this a misconfiguration / permission issue? Or is this a problem with the file system (I used both f2fs and fat32)?

Title: File system error when writing


问:
Whatsapp images shows up in file browser since today
The media folder is hidden in the gallery since I created a .nomedia
 file. Since today the whatsapp filebrowser started browsing other
 chats as well and shows files from other chats to me.

How can I choose the gallery as the default location for whatsapp media I am about to send OR to hide the media from other chats from the whatsapp file browser?


问:
How to repair an android device after partially formatting its root directory
My phone is Samsung Galaxy SM-J7 and it's rooted. I heard a linux command which could format the entire operating system from root directory (I do not want to mention it here). I've been curious to know what happens if I try it on Android, and I sadly did so today using tsudo on Termux. After executing that, I realized I'm playing with fire.

However, while everything was being deleted, I stopped Termux app so my device was partially formatted. After a minute, it turned out that my phone does not even accept my password. Hence I decided to wipe its data using Google Device Finder. I did so and also a factory reset, and my device booted up with a long delay afterwards. Anyway, almost every thing went well, but I saw that Wifi and Mobile data are not working...

Now, is there a way to repair my operating system?

Any help will be appreciated.

Edit:

In order to see what filesystems I have on my device (as @IrfanLatif asked), I installed ADB Shell and executed this command in Command Prompt:

```<code>adb shell mount > result.txt
</code>```

This is the content of result.txt after executing the command:

```<code>rootfs / rootfs ro,seclabel 0 0

tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=701408k,nr_inodes=175352,mode=755 0 0

devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,seclabel,relatime 0 0

selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0

/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=701408k,nr_inodes=175352,mode=750,gid=1000 0 0

tmpfs /mnt tmpfs rw,seclabel,relatime,size=701408k,nr_inodes=175352,mode=755,gid=1000 0 0

tmpfs /mnt/secure tmpfs rw,seclabel,relatime,size=701408k,nr_inodes=175352,mode=700 0 0

tmpfs /mnt/secure/asec tmpfs rw,seclabel,relatime,size=701408k,nr_inodes=175352,mode=700 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/platform/13540000.dwmmc0/by-name/SYSTEM /system ext4 ro,seclabel,noatime,block_validity,norecovery 0 0

/dev/block/platform/13540000.dwmmc0/by-name/EFS /efs ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0

/dev/block/platform/13540000.dwmmc0/by-name/CACHE /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0

/dev/block/platform/13540000.dwmmc0/by-name/USERDATA /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0

/dev/block/platform/13540000.dwmmc0/by-name/PERSDATA /persdata/absolute ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0

/dev/block/platform/13540000.dwmmc0/by-name/CPEFS /cpefs ext4 rw,seclabel,nosuid,nodev,noatime,data=ordered 0 0

tmpfs /storage tmpfs rw,seclabel,relatime,size=701408k,nr_inodes=175352,mode=755,gid=1000 0 0

/dev/block/loop0 /su ext4 rw,seclabel,noatime,data=ordered 0 0

/data/knox/tmp_sdcard /mnt/knox sdcardfs rw,seclabel,nosuid,nodev,relatime,mask=0077 0 0

/data/knox/sdcard /mnt/knox/default/knox-emulated sdcardfs rw,seclabel,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=1015,multi_user,mask=0006 0 0

/data/knox/sdcard /mnt/knox/read/knox-emulated sdcardfs rw,seclabel,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=9997,multi_user,mask=0027 0 0

/data/knox/sdcard /mnt/knox/write/knox-emulated sdcardfs rw,seclabel,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=9997,multi_user,mask=0007 0 0

/data/knox/secure_fs/enc_media /mnt/shell/enc_media sdcardfs rw,seclabel,nosuid,nodev,relatime,low_uid=1000,low_gid=1000,gid=9997,multi_user,reserved=20MB 0 0

/data/media /mnt/runtime/default/emulated sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=1015,multi_user,mask=0006,reserved=20MB 0 0

/data/media /storage/emulated sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=1015,multi_user,mask=0006,reserved=20MB 0 0

/data/media /mnt/runtime/read/emulated sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=9997,multi_user,mask=0027,reserved=20MB 0 0

/data/media /mnt/runtime/write/emulated sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=9997,multi_user,mask=0007,reserved=20MB 0 0

/dev/block/vold/public:179,33 /mnt/media_rw/4482-1BED vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/public:179,33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/mnt/media_rw/4482-1BED /mnt/runtime/default/4482-1BED sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=1015,mask=0006 0 0

/mnt/media_rw/4482-1BED /storage/4482-1BED sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=1015,mask=0006 0 0

/mnt/media_rw/4482-1BED /mnt/runtime/read/4482-1BED sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=9997,mask=0022 0 0

/mnt/media_rw/4482-1BED /mnt/runtime/write/4482-1BED sdcardfs rw,seclabel,nosuid,nodev,noexec,relatime,low_uid=1023,low_gid=1023,gid=9997,mask=0022 0 0
</code>```

Guess I have lots of filesystems.

Edit2:

Now, take a look at this:

Along with message,

Device does not have DRK, please install...

I saw this during the first reboot after Odin passed the first operation. Actually I had trouble downloading the firmware from SamMobile, so I downloaded a firmware from someware else. The downloaded zip file contained only one file with extension .md5. And the instructions told me to set it in AP section on Odin.


问:
Multitasking more than 2 apps?
Is there any way to run more than 2 apps side by side? Preferably on a Mi Pad 4 tablet in landscape.

I'm only really looking towards a Xiaomi device since Miui allows input to both apps simultaneously when in split screen, with other devices you need to press on an app to select it and then are able to input, the window that's not selected gets suspended, if that makes any sense.

Title: Multitasking more than 2 apps?


问:
How to set data limit to a metered wlan?
For Android 7, we can set a WLAN (wifi connection network) to a metered WLAN, which work similar like a cellular network.

For cellular network, we are able to set data limit.

So, the question is, how do we set data limit to a metered WLAN?