问:
Starting shell script at boot in SELinux enforcing mode
I am building Android Pie (tag android-9.0.0_r46, branch android-msm-marlin-3.18-pie-qpr2) from source. I am testing on a Pixel XL (marlin). I want to have a custom shell script run automatically when booting is completed while still having the device in SELinux enforcing mode. I figured I'd add a service for that. My knowledge of SELinux is limited though. This is what I did so far:

Create dar_script.sh in my AOSP source:

```<code>#!/system/bin/sh

echo "TEST" > /dev/kmsg
</code>```

Add a line in device/google/marlin/device-common.mk to have my script copied to initramfs and thereby  make it appear in the root filesystem:

```<code>PRODUCT_COPY_FILES += \
    dar_script.sh:system/xbin/dar_script.sh
</code>```

Add a line to system/sepolicy/private/file_contexts to give the script the dar_exec SELinux label:

```<code>/system/xbin/dar_script.sh u:object_r:dar_exec:s0
</code>```

Create system/sepolicy/private/dar.te:

```<code>typeattribute dar coredomain;

init_daemon_domain(dar)
</code>```

Create system/sepolicy/public/dar.te:

```<code>type dar, coredomain, domain;
type dar_exec, exec_type, file_type;

# /system/xbin/dar_script.sh is a shell script,
# so it needs to execute /system/bin/sh
allow dar shell_exec:file rx_file_perms;

# Allow writing to /dev/kmsg
allow dar kmsg_device:chr_file { write };
</code>```

Edit system/core/rootdir/init.rc, add:

```<code># Make the service start after boot
on property:sys.boot_completed=1
    ...
    start dar

# Define my service
service dar /system/xbin/dar_script.sh
    class core
    user root
    group root
    oneshot
    seclabel u:object_r:dar_exec:s0
</code>```

Edit system/sepolicy/public/init.te, add:

```<code>allow init dar_exec:process transition;
</code>```

Finally (figured by build error messages this needs to be done, don't know why):

```<code>cp system/sepolicy/private/dar.te system/sepolicy/prebuilts/api/26.0/private/dar.te
cp system/sepolicy/private/dar.te system/sepolicy/prebuilts/api/27.0/private/dar.te
cp system/sepolicy/private/dar.te system/sepolicy/prebuilts/api/28.0/private/dar.te
cp system/sepolicy/public/dar.te system/sepolicy/prebuilts/api/26.0/public/dar.te
cp system/sepolicy/public/dar.te system/sepolicy/prebuilts/api/27.0/public/dar.te
cp system/sepolicy/public/dar.te system/sepolicy/prebuilts/api/28.0/public/dar.te
cp system/sepolicy/private/file_contexts system/sepolicy/prebuilts/api/26.0/private/file_contexts
cp system/sepolicy/private/file_contexts system/sepolicy/prebuilts/api/27.0/private/file_contexts
cp system/sepolicy/private/file_contexts system/sepolicy/prebuilts/api/28.0/private/file_contexts
cp system/sepolicy/public/init.te system/sepolicy/prebuilts/api/26.0/public/init.te
</code>```

However, this is what I find in dmsg after building, flashing and booting:

```<code>[   31.729946] init: starting service 'dar'...
[   31.754942] type=1400 audit(11289830.540:6): avc: denied { transition } for pid=691 comm="init" path="/system/xbin/dar_script.sh" dev="dm-0" ino=2720 scontext=u:r:init:s0 tcontext=u:object_r:dar_exec:s0 tclass=process permissive=0
[   31.973168] init: Service 'dar' (pid 691) exited with status 127
</code>```

I already tried using the audit2allow tool as suggested in the AOSP docs, it gave me the following output:

```<code>#============= init ==============
allow init dar_exec:process transition;
allow init proc:file setattr;

#============= untrusted_app ==============
allow untrusted_app vnd_qcril_audio_hwservice:hwservice_manager find;
</code>```

Of which I think only the first statement is relevant to me, the others are caused by unrelated SELinux issues that are already there in the original source. You see that I added the first statement when you look at the steps I described above, it didn't help.

What's going on? What do I need to change? Thank you very much for any help!


问:
Change Gboard microphone input
[

So when I clicked the microphone button on my Gboard, Pixel 2, it used to come up as pictures 1&2.
Now, this changed today, when I click the microphone, the keyboard goes away, and screenshot #3 is what comes up.

I know that this is extremely similar to Is it possible to trigger Gboard's voice-typing without switching keyboards?.
But I added screenshots to illustrate, and frankly, this issue is irritating me way more than it should, I don't even know why. Probably because it changed poof with no warning, rhyme or reason.

ContentLicense: CC BY-SA 4.0

Title: Change Gboard microphone input


问:
How to completely block popups / dialogs from WhatsApp without deleting the app?
I have a Nexus 5 phone with Android 6.0.1 and I'm trying to use it for time-lapse videos ("Lapse it" app) which means it needs to be on for many hours undisturbed.

The problem is that WhatsApp creates a dialog regularly which interrupts the time lapse photo app that I'm using.

I have disabled all notifications for WhatsApp, but this dialog comes up anyway.

Deleting WhatsApp would of course solve the problem, but it not possible for other reasons (message history etc stored). Registering the app would also stop the dialog, but is also not an option since I'm using the same number on another phone.

I think it should be possible to disable all dialogs, but since I've tried that and this dialog still comes up, what else is there? Is there a stronger blocking option? Can it be done if I root the phone?

Attaching screenshots of the notification and of the settings.


问:
msgstore.db whatsapp android
Does the msgstore.db whatsapp file on android contain every msg every sent and received?
If so are voice notes digitally recoverable from the msgstore.db file?

Latest version whatsapp on android 9.

Regards

Title: msgstore.db whatsapp android


问:
SD formatted as internal storage got corrupted in a weird way on Android. Can I recover the data somehow?
So, I am not quite sure what happened. I'm on Android 6.0 and using an SD formatted as internal storage. Today, when I took a photo I realised it didn't save, and upon further inspections all the photos, videos and other media appear to be completely gone from the card. Those were backed up, so it's not a huge issue - the bigger problem are my Whatsapp logs which also appear to be missing. Whatsapp does a daily backup to Google Drive, but in my case it appears it backed up after the card got corrupted - and all the media are missing. I really need those backups.

Curiously, the card didn't get completely corrupted. All the apps installed on the card still work. Not quite sure what happened.

I realise that the internally-formatted microSD is encrypted and it can only be used on the original device... but I have access to that device. Is there any way at all for me to perform data recovery on that card? One issue I have is that this particular phone (Blackberry Priv) apparently can't be rooted.

I have read in a few sources (eg. here) that re-formatting the card as portable from my phone would decrypt it and allow to do normal data recovery, but that seems somehow dubious.

I also found this post that suggests that I should use dd to clone my microSD and see if it works, or to use a microUSB to microSD adapter. I have also thought about imaging the entire phone via ADB but would that work without root?


问:
Autoboot Samsung Galaxy on Charger connect, but cannot run fastboot command
I need to autoboot a Samsung Galaxy Tab A (SM-T510) when the charger is connected, I know that to do this, I need to issue the following command to the device fastboot oem-off-mode charge 0 but as I understand, I Samsung Galaxy's do not have a fastboot mode, so I am stuck now.

I've tried to root the tablet, but failed miserably trying now for last few days getting stuck with one thing or another.

Is there any other way to achieve this (boot device on charger connect)?

I've managed to get int adb shell, but cannot find any relevant files to edit to achieve this.

Thanks.


问:
Android Auto fails to start on the car monitor
I have a Samsung Galaxy Android Phone which runs on Android 10, One UI Version 2.0. It is an AT&T phone. I also have a Subaru Crosstrek.

The phone connected to the car thru Bluetooth and it does react to phone calls and texts without any issues through the Android Auto. All other applications work fine.

However, when I tried to connect the phone with the USB wire, the Android Auto application is not available on the car dashboard.

I tried to connect a different phone - works correctly.

I tried to put the SIM card from my phone to some other phone - works correctly.

I also tried to re-install Android Auto and re-pair the phone with the car - still USB connection doesn't work

I also consulted with Subaru. They exchanged the radio. It helped for a while and then it stopped working again.

When the phone does not connect through the USB, just Bluetooth - Android Auto does start on the phone and establishes the connection to the car. Then everything works fine.

Basically, I am connecting the phone with the USB and the button to the dashboard does not become enabled.

Any idea how to fix it?


问:
Google and Chrome - are they independent?
I have a Hudl 2 tablet and am running out of space. I have just bought an SD card but it seems I am very limited with what I can move to the SD card. Also it seems I can not install new apps directly onto the SD card. So I am trying to delete as much data as possible from the existing apps.

I am considering deleting all data from the Google app but am concerned it may be linked in some way to the Chrome app and I do not want to lose my Chrome bookmarks or any ids/passwords I have in Chrome.

Will deleting all data from Google affect in any way anything I have in Chrome?

Thanks.


问:
Not receiving texts from one person
I have an Razer Phone 2 android phone with Android 9 (Build Number P-SMR3-RC002-RZR-200226.3141).  I've been on Android for about 2 years, before that Windows phone, then Android before that.  I've never had an iPhone.  I did change from a TMobile MVNO to a Verizon MVNO about four months ago.  My wife is a long time iPhone user and has been using Verizon for a couple of years.  My dad is a long time Android user, not sure what carrier.

I recently realized that I'm not seeing texts from my dad in an MMS thread to my wife and I.  She sees texts from both of us.  I only see her texts.  I'm using the default Messages App.

I see MMS texts from my Android and iPhone using friends.  I've definitely seen MMS texts from my dad up until a few weeks ago.

The only way I'm aware that this can happen is if I recently switched from IPhone to Android and he had formerly sent me texts from an IPhone, but neither my dad nor I have ever had an iPhone.  I checked in the phone app and his phone number isn't blocked.

Thinking about trying a reset.

Title: Not receiving texts from one person


问:
Can I install replicant on a Galaxy A10e without bricking it?
I'm trying to UnGoogle my phone for privacy/security reasons, and from one source I heard that if you want to use a smartphone, you're better off getting a Pinephone running GrapheneOS / LineageOS. But the problem is I have a Samsung and there's no way I would be able to install those types of custom ROMs on my device without essentially destroying it. I wonder if you can install replicant.us on a Samsung phone. Any help?</p>


问:
How to disable automount of /dev/block/mmcblk1p2?
I installed link2sd then formatted my 2nd partition as ext2. Then I used link2sd to create mount script. Now,due to free version i'm unable to link internal data to this partition. So i removed the link2sd app from my device. But the problem is even after uninstalling the app, a unmount command and a restart the /dev/block/mmcblk1p2 is still getting mounted after reboot.

How can I fix this? Where does this auto mount script located ?

Note 1: I tried removing install script located at /data/data/com.buak.link2sd/files. But still the partition is getting mounted automatically.


问:
Samsung Galaxy Tab 2 Stuck in Reboot Loop
I have an old Samsung Galaxy Tab 2 I dug up from many years ago. When I tried to turn it on after charging it fully, it was stuck in a reboot loop. I already tried factory resetting it and clearing the cash, but it hasn't helped. I am trying to flash an new OS using ODIN, but since I haven't been able to turn USB tethering on, I can't connect the tablet to my computer. Is there any way I can turn USB tethering on through the recovery mode, maybe through the ADB? Just to be clear, I can not access the settings before the tablet reboots itself, and I never turned on developer tools.</p>


问:
Is there risk of bricking in attempting to install a custom recovery on adevice that has been compromised and has sstem level malware apps on it?
My phone has been compromised and has malware system apps that have persisted after factory reset. I'd like to install a custom recovery so that I can at least get it back to functional if I brick it while rooting and trying to clean house.

But I worry that the bad actor will have altered things enough that if I try to set up a custom recovery to take a system image, it will end up irrecoverably bricked - are there cases of installing custom recovery bricking a phone for good, with and without known malware on the device?


问:
Mount CIFS/SMB share to Android 10 as folder?
Im trying to mount cifs share to android 10 rooted phone and i already mount it but i cant see files in folder in other apps only in rooted one. It is possible to do something like that to get  access from all apps to cifs share?</p>


问:
OnePlus 3T stuck on options menu with Power Key Damaged
i want to get it on/Started. But its stuck on the options menu. and my power key is not working . Is there any another way around this Instead of me waiting for its battery to get completely drained (which i think will mostly take DAYs)
Photo of Options menu where i am stuck


问:
Firefox’s “Add to Home Screen”, but different profiles & privacy
I have Firefox 68.9.0 on Android 8.1.0. Some websites allow one to add them to the home screen, a part of HTML5's Progressive Web App, and the website can then be viewed as if it's a real app, without the browser UI. However it shares the same regular Firefox cookies, so if I log into a site on regular Firefox, and open the “home screen” version, it's logged in there.

Is it possible to “add to home screen” and yet make it a different “profile”, so things are separated? This would allow me to (for example) add several twitter.com “apps” each logged in a different user. Is this possible?


问:
Nexus 7 2013 WiFi (flo) bootloader unlock fails
Update: I don't know what I did differently apart from factory resetting it a lot of times, but it finally went through and unlocked.

I'm trying to unlock the bootloader on my Nexus 7 2013 WiFi 32GB (flo). I turned it off, pressed power button + volume down, which soon greeted me with "the bootloader". I then ran fastboot oem unlock which prompted the tablet to ask me whether I really want to unlock the bootloader, and I subsequently navigated to yes using the volume keys and confirmed with the power button. Following that, this was printed to my computer's terminal:

```<code>(bootloader) Unlocking bootloader...
(bootloader) erasing userdata...
(bootloader) erasing userdata done
FAILED ()
Finished. Total time: 17.372s
</code>```

As you can see, it only says FAILED (). No error code. Looking at photos of others unlocking the bootloader, it seems that the next step should be erasing cache, however it evidently does not progress there. I can still boot into Android though. First boot initially greeted me with an "erasing" screen which had an Android on it, and all user data was erased (as expected). I did try repeating the procedure once more after letting it boot Android again but the result was the same.

Other things I have tried are manually formating the userdata and cache partitions via the recovery menu and factory-resetting from within Android, however neither of these were fruitful.

I have tried 2 different computers and 2 different USB cables but they yielded the same results. How might I go about resolving this so that I can unlock the bootloader?


问:
How can I authorize my laptop for USB Debugging if I can't see the screen?
I use USB Debugging to control this phone because the screen is missing. Not broken, missing. The LCD and display assembly is literally gone. I simply can't see what's on the screen without USB Debugging.

I used to be able to use Vysor to control the phone. That worked for years I think. But recently it started refusing to let me do that. Vysor says that it needs me to authorize the computer by tapping OK in a dialog.

This is BAD! I can't do ANYTHING with the phone without Vysor working! I can't tap anything or even see what's on the screen. The only thing I can do is press the volume buttons and power button.

I tried looking up guides, but they're all:

"use dr.fone": all are blatant advertisements so no

connect a mouse: missing screen so can't see

use clockworkmod/twrp: bootloader isn't unlocked

connect a hdmi: all my phone has is a USB-C port, and those adapters are expensive... I would need one that has both a HDMI port and a USB port so I can use a mouse to work it, oh and I would also probably need to connect it to my computer at the same time to make the authorization dialog pop up so it's complicated and impossible for me

I think the phone's running Android 6, and there is no password or anything (lock screen is a simple slide/tap to unlock I think). But I have no idea what to do.

How do I authorize my computer again so I can control the phone?

(Also, I'm sorry if the tone of this post is a bit off. I was very annoyed when writing it. Eventually I got what I needed without having to access the broken phone, but I'm leaving this question up because it's nice to have and could bear some future value for googlers.)


问:
Optimizing app 1 of 1 on Android starting after GooglePlay update
I have a Lenovo Tab3 8 Tablet that had been working fine until about five-six months ago.
Then I got this Optimizing app 1 of 1 message one day, when I had to restart the tablet, which basically made the device useless.
I have been trying to fix it ever since, but every time I do the emmc factory reset from the boot menu it lasts only until the next reboot.
That is, however, only when I update the device over GooglePlay before rebooting. If I reboot without updating, it doesn't show the Optimizing app message, and I can log in my profile, but then the first time I have to use GooglePlay to add a new app or autoupdate the system, the same issue reappears and I have to do the reset all over again.
This seems to be due to some faulty GooglePlay update routine involving preinstalled apps.
It's extremely frustrating.

Anybody with the same problem on this device, or similar model/OS version?
Anything is welcome!

Here's all the system info I managed to get from the sys menu of the tablet:

Model number: Lenovo TB3-850M

Android version: 6.0

Kernel version: 3.18.19

Build number: TB3-850M_S100036_171214_ROW

Software version: TB3-850M_160509


问:
How can I see which application is controlling the brightness?
How can I see which application is controlling the brightness?


问:
Good app-switching on Android 10
I have a Xiaomi Mi Pad 4 tablet, on a custom ROM (Floko), including Magisk and root.

Today decided to update to Android 10.

I can't find a way to make multitasking feel good again.

The new app switchers put only 1 app per screen and give mile-long scroll distances to the others.

The old Oreo fallback has been removed from AOSP. [1]

(It stacked apps vertically, with their titles - you had access to 4/5 apps on the same screen.)

My rom has the option to use OmniSwitch recents, which put more apps on the same screen, but they disable the double-tap to previous app functionality. Also not the best recebts UI (though way ahead of the newer ones).

Semi-related: The pixel launcher puts some icons down in the recents based on I don't know what logic, but even those get obliterated when I switch launchers. And I want to switch launchers badly, because the pixel launcher doesn't let me manage home screens.

Any way to make app switching good again (rom or app)? I'd rather not downgrade, cuz the Pie rom had some other issues with my device (Which might end up worth it, given how frequently I end up app-switching and what a horrible experience it is now.)

OwnerDisplayName: martixy

Title: Good app-switching on Android 10


问:
How to root Nexus 6P w/ unofficial LineageOS 17.1?
I flashed PixelBoot's unofficial LineageOS 17.1 on Nexus 6P, however I failed to root it.

First I tried flashing Magisk-v20.4.zip, which failed w/ "cannot mount /vendor" error. Here suggests I should upgrade TWRP to a "Treble compatible version" but my TWRP is already the latest 3.3.1-0.

Secondly I installed MagiskManager-v7.5.1.apk to see if I could use the "patch boot.img" approach. But it kept "checking for updates" till the end of the world, not showing the "install" button at all. I should probably opt out of the canary channel, however I am already in the stable channel.

Thirdly I looked for LineageOS's su addon zip. Unfortunately they offer that kinda thing for 16.0, 15.1 and 14.1 only.

As the last resort I flashed SuperSU-v2.82-201705271822.zip and installed supersu-2-82.apk. But the latter just fails to detect the former and refuses to work.

How am I supposed to root my phone?

It it because of the incompatibility between Android10(LOS17.1) and TWRP?


问:
Filtering/hiding all SMS based on recipient number
I'm looking for a possibility to hide all SMS sent to a certain number in a dual sim environment. I have number A and number B and I would like to see only SMS for number B, num</p>


问:
Customize clock + weather indicator in the lock screen
I have a Google Pixel 3 (Android 10).

Is there a way to customize or remove the clock + weather indicator in the lock screen? I have searched quite a bit but could not find any way to do so.


问:
Bootloader is unlocked, fastboot returns "FAILED remote: Not allowed to flash" when trying flash .img
I am trying to root my Google Pixel 3a with Android 10. The bootloader is unlocked. It says so in the dev settings, and I have to go through the warning prompt every time I reboot my device.
I am following these instructions for rooting it(using method 2). When I run the fastboot command to flash the patched .img file, it returns:

```<code>C:\Users\MyPC\Android>fastboot flash boot_2 magisk_patched.img
target reported max download size of 268435456 bytes
sending 'boot_2' (30392 KB)...
OKAY [  0.798s]
writing 'boot_2'...
FAILED (remote: Not allowed to flash (boot_2))
finished. total time: 0.861s
</code>```

I tried without the "_2" which also does not work. I used fastboot getvar current-slot to determine which partition is correct.

Things I've tried to troubleshoot:

Running cmd as Administrator (im using win10)

Confirmed OEM unlocking is turned on in the dev settings (it is, it
says "bootloader is already unlocked"

Confirmed USB debugging is on

Disabled "Verify apps over USB" and "Verify bytecode of debuggable

apps" in the dev settings.

Confirmed file transfer is enabled from my PC and my Phone (it is, I
can transfer files back and forth between them)

Tried a different USB cable


问:
how to access images in whatsapp running inside dual space
I am using Whatsapp inside Dual Space in Xiaomi Mi A3 mobile.
I am not able to find the images downloaded inside Whatsapp inside Dual space. Where can I find them.
Internal Storage/Android/data/com.ludashi.dualspace/files
has 2 folder Movies,crashinfo
and folder
Internal Storage/Android/data/com.ludashi.dualspace/cache/
has 2 folder video-cache and UnityAdsCache.

So I don't see Whatsapp folder inside Dual space. What can I do to find images of Whatsapp running in Dual space.


问:
How to find out if note 10 lite is fake?
If I'm going to buy used note 10 lite, what's the way to check is original and not fake?</p>


问:
Purpose of MTK Logger
All phones with Mediatek processors have this pre-installed logging application and the data it collects is massive,right up to the plugging/out of the phone from the charger.

What is this service targeted towards? One could say for troubleshooting and modding purposes but Mediatek generally targets the lower end (limited-capabilites but affordable) market.
Besides,I don't think I've heard of any other chip maker that ships out built-in data loggers.

EDIT:My question does not pertain to what this service does(which has been covered in other questions) but to the reason for the existence of such a program.I understand that it's difficult to answer this question so even headers would do the job.

Title: Purpose of MTK Logger


问:
Flashed magisk_patched_boot.img as fastboot flash recovery...Phone stuck on Powered by Android
I was trying to root my Micromax Q440 and I tried to follow the steps ie;

1:  fastboot flash recovery c:\twrp.img
2: fastboot flash boot c:\magisk_patched.img

but in the 2nd step, I used recovery instead of boot as a result my phone is currently stuck on "Powered by Android" screen and none of the Power + Volume(up) functions are working.

It also shows Orange State and your device will boot in 5 seconds

Is there a way to recover or this device is gone forever..?


问:
Samsung Tablet A, 16GB memory full?
My Samsung Tab A (2016) shows my storage almost full, but the numbers do not come close.  I've run various cleaners, deleted everything not used, put most of my files on the Cloud somewhere, and still almost 14GB are unaccounted for.

My settings does not have a "storage", it has "Device Maintenance."  I've found no way to clear all caches at once, so do it app by app. I have tried everything I've found on the web, various programs, still get warnings my space is running out.  I almost replaced with the next model year (2019) but fear the same thing will happen.  I use it as a e-reader, but all my books are in the cloud, on my SD card, or are removed from my device after reading.I rarely use it as a camera, and don't store any image I don't use.

Am I spazzing for no reason?  Screenshot of my "storage" tab.

Title: Samsung Tablet A, 16GB memory full?


问:
Can't find stock rom for rooting
I want to root this phone (HTC U12 life) but cannot find source rom for it. I've checked a ton of websites (including htcdev) but found nothing. It looks like, this phone has been forsaken for a while now, so I am getting kinda desperate. However, I managed to find a post on XDA showing successful root of this phone, so there is still hope.The post is dead btw. Could you please give me a clue on where to get the rom? And if you can't, maybe there is a way to extract the rom from the phone itself or port a rom from another phone like HTC U11 life? I am not too advanced in android development but ready to learn if I have to. Any help is appreciated.</p>

Title: Can't find stock rom for rooting


问:
adb reboot recovery error: closed
I have an old Samsung Tab 3 (NT210) that is bricked after not being used for a few years - it gets stuck at the Samsung logo screen after being turned on. However, I am able to boot into the recovery screen.

I have been looking at various online solutions and most seem to suggest flashing custom recovery and ROM to solve this issue. I have managed to find a twrp recovery image and a custom ROM for the device, and had decided to load them into the device via adb. I followed the instructions from this webpage: https://how2do.org/how-to-use-adb-sideload-to-install-roms-updates-restore/

I first ensured that my device was recognised as shown:

```<code>adb devices
List of devices attached
5200ee695a69c000        sideload
</code>```

However, the process will fail at 'adb reboot recovery' as I keep getting the following error:

```<code>adb reboot recovery
error: closed
</code>```

Further research into this problem showed that likely cause of this error is because the device is using stock recovery. I can also confirm that the device has not been rooted before. Commands such as adb shell or adb usb will also return the "error: closed" error message.

Is it still possible to root or salvage the device? I can still charge the device and boot it into recovery or download mode, but that's about it.

Thanks for the help!

Title: adb reboot recovery error: closed


问:
How to avoid "The file format is not supported." when sending problematic JPGs from WhatsApp upon selection from gallery?
Device description:

Hardware: LenovoPad YOGA Table 2-1050L

Operating System: Android 5.0.1

Application: WhatsApp both 2.20.189 and 2.20.193.10 (newest from web, unavailable through google play)

Problematic, fine JPGs and exif:

problematic1.jpg

problematic2.jpg

fine1.jpg

fine2.jpg

directory with photos and '"exiftool(-k).exe" -a -u -g1 -w txt' output

Reproduction steps:

On WhatsApp chat screen - Add Attachment

On Attachment source selection - Gallery

In Gallery - select specific problematic JPG

Gallery redirects to "Add a caption" screen which redirects back to Gallery/Chat (depending on Gallery) after few seconds (<3 s).

Some galleries show "The file format is not supported." in a Toast UI Element after redirection.

Taken steps to mitigate:

reinstall android from 4.x.x to 5.0.1

reinstall WhatsApp, clear data & cache, restore backup

upgrade to newest WhatsApp version not yet made available through Google Play from offial site

sending from sharing options of different galleries fails after selecting recipient in WhatsApp on Step 4)

Observations:

sending as a Document (Step 2. - Document) works

sending from Samsung Galaxy S5, Android 6.0.1, WhatsApp 2.20.189 to mentioned device works

sending, resolution scaled down to >78% fails BUT to <=78% works WHILE taking a photo with much higher resolution and sending it works

sending, with minor change from built in gallery editor (which also scales down resolution), works

sending different JPG taken in a same day with the same camera with higher resolution works

sending photo taken by camera works

sending from external/internal storage fails

Example solution:

process affected JPGs in a batch processing software with minimal impact on quality (do not want to scale down to <=78%)

software fix

Please help. My next step would be attaching debugger or scaling down every photo >_<.


问:
How to stream an image into camera source trough ADB?
I am trying to stream an image into the camera source of an Android 10 device through adb.

This should effect on all apps that use the camera source and not only using specific camera apps.

Thank you!


问:
Is it possible for an android app from play store to be customised for particular users?
Is it possible to customize a popular app downloaded from google play store for a user? Of late I have seen a few apps being weirdly customized in my android phone. Not sure if it is a form of hacking, or my phone has been compromised. Any thoughts that would help me diagnose would help.</p>


问:
How to stop push notifications to Garmin Vivoactive 3 from Android Phone when lost connection?
I have a Vivoactive 3 Series watch which is hooked up to my Android phone. When I get text messages I get notifications on my watch (what I want). However when I go in a dead zone in my house my phone will tell me that I lost data connection and then these messages get pushed to my watch.

Howe can I stop them from being pushed to my watch (I am also fine with just not seeing this message on the phone as well).


问:
How to create a bootable stick with a Linux distro?
I used to have Debian and Android on my laptop then somehow my Debian get damaged, and now I have Android-x86 only on my laptop.

When I insert my USB stick (which contain ISOs of a few Linux distros), it asks me to format it. It's a stick formatted as ext4 partition. So, I want to somehow create a bootable USB by any method. I am badly stuck. What should I do next?


问:
How to root a HTC U12 Life without source code?
I have HTC U12 life. The problem is that, I want to root it, but I just cannot find its source code anywhere: no stock rom and no source kernel. Nothing. Neither on official resources nor on regular websites and forums. And the phone was released two years ago. Is there any way to root my phone without source code or to get the source code somehow? And by the way the phone is 100% rootable because I've seen a post on XDA showing a successful root.</p>


问:
How to protect my galaxy S9 from data recovery after factory reset?
I have a Galaxy S9 that I will send to Samsung in a couple of days for the trade-in program and I want to delete everything on it in a way that it cannot be recovered even after a factory reset.

From my limited research, there are people who recommend encrypting the phone before doing the reset as this will ensure the data is just noise and unreadable after the reset. But there is no option on my S9 to encrypt the phone as I saw on the youtube videos, and after a quick search I found out that S9's are encrypted by default.

So is it safe to just factory reset it since it's encrypted by default anyway?

I'm not that good when it comes to tech and stuff, what would you guys recommend I do?

Thanks for the response.


问:
Asus Zenfone 3 Max - ZC520TL - Cant boot anymore - Only fastboot
I have a Asus Zenfone 3 Max, ZC520TL, MT6737M WWW_phone X008_1, 7.0/NRD 90M 14.10.1808.119-2018

I wanted to install lineage on my phone without rooting it (I want to be able to use banking app), I took a look on internet on how to do it and the first step was unloacking the bootloader and then installing twrp

With the apk on the asus website, I unlocked the bootloader, then I rebooted to it in fastboot mode
I tried to install twrp from different sources I could find on internet (my phone is not officially supported by TWRP) with "fastboot flash recovery IMAGE.img"

None of these images worked

I did few tries with these commands (in this order) :

```<code>fastboot erase cache
fastboot flash boot recovery.img
fastboot erase recovery
</code>```

And then the problems began...
I can't access the recovery mode, it displays in the background the asus logo and then reboot;
I can't access the normal boot, it's looping;
I only have access to the fastboot mode

So from now, I wanted to make my phone works again, I tried to flash both in boot and recovery partitions the boot.img extracted from the official rom available on the asus website
Tried to reinstall the unsuccesful TWRP img I already downloaded
And my phone doesn't support "fastboot boot IMAGE.img"

Does anyone have an idea on how to make it works?

Thank you


问:
How to install Android from Google on a Chinese Android phone?
I have Android v85a bought from China. It has FuntouchOS installed. I want to change that to some latest compatible version of Android from Google.

Is it possible?


问:
Where is the file location for samsung notes/memos and/or can I recover these files if I deleted the app?
I backed up all the files on my S9+ because I wanted to reinstall my buggy samsung notes app, but it turns out notes doesn't fall under documents anymore and it has its own separate sync that needs to be toggled from a default off. I've tried using different recovery software but they're either shady or don't work. I'm open to trying to root the device but I wanted to see if anyone knew where in the Android the notes or memos files are located and if it is still possible to recover them. I had pretty important stuff in the notes which is why I'm so concerned. Thanks in advance</p>


问:
ssh into android over usb: macOS
I have a Meizu M8 phone running android with Termux. I had set up ssh access to Termux over WiFi, but I want to be able to do that over USB because of possibly lower latency and higher speed. If I connect the phone to my macbook using USB, I can use adb to get shell or transfer files, so I think ssh over USB is possible. How can I achieve this?</p>

Title: ssh into android over usb: macOS


问:
FitBit Charge 3 not connecting in new android Phone after previously synced with iPhone
I previously used FitBit Charge 3 on my IPhone 6S, After it was totally broken and damaged I bought a new Samsung Galaxy M30S Android Phone.

While setting up new device I can see the message tracker found, but the Connecting is not working and buffering forever.

I tried several options like turning off Bluetooth and on, reboot fitbit device and other mentioned in forum but no luck.

I contacted customer support and they say that since you already sync with iPhone first you need to unpair from iPhone which I cannot do as it is damaged.

They suggested restarting fitbit for pressing 8 seconds which also did not work.

They said sorry and could not replace the product as warranty expired.

Does anyone have any suggestions ?


问:
Auto update not working
I have Samsung Galaxy S9 with Android 10 up to date.
In my Play store I have enabled auto update feature and it's allowed to update through wifi.
I spend a lot time on wifi so I think it should work, but when I check updates in Play store there is always cca 20 application to update. I looks like it does not work. I always update manually and it takes lot of time because there are too many apps. What could be the problem?</p>

Title: Auto update not working


问:
Why does my phone burn out USB cables when plugging them into my car?
I have an Oppo A73 phone, and over the last week it has started burning out USB cables (puff of smoke, cable no longer charges) when plugging it into my car (2015 Suburu Outback).

It had never done this previously, but I've lost 3 cables to it now. If the phone is plugged in before I turn on the car, it's fine, but if there's power in the cable when plugging it in... zap!

I'm assuming it's short circuiting against the phone's jack, but I don't know how to stop it happening. How do I stop it doing this? (And if you can suggest why it has suddenly started, that would be awesome too).


问:
How do I remove an app from the "My Android Apps" page?

Possible Duplicate:

  How to remove apps from “all downloaded” in Play Store

I have a bunch of apps that I tried before then uninstalled. Now they're showing up on https://play.google.com/apps but I don't think I'll be installing them any more in the future. How do I remove them from there?

ContentLicense: CC BY-SA 3.0


问:
Linux Deploy Ubuntu share folder
I wasn't sure if I had to ask this question on a Linux Exchange or on the Android one, but since folder sharing is working fine on the Linux that are running on my computer, I thought that it is an Android side issue.
I am trying to share a folder between two Linux Deploy environments. I have tried to install nfs-kernel-server however I am having an error showing that the kernel does not support nfs. When I am using uname -a the kernel that Ubuntu prints is the Android's one so I guess that the Android kernel does not support the nfs module.
I have, also, tried using Samba. The server side was set up successfully. When I am trying to mount the shared folder using mount -t cifs //192.168.1.5/mirror /mirror, I am facing a mount error cifs filesystem not supported by the system. After some googling I found out that using modprobe cifs could resolve the issue however the module cifs does not exist on the Android kernel. It seems that the issue in both cases the issue seems to be the Android kernel, is there any way to add nfs or cifs support to the Android kernel? If that's not possible how could I share a folder between two Linux Deploy environments?

Title: Linux Deploy Ubuntu share folder


问:
Repartitioning Nexus 7 2012 (grouper) parted unrecognized disk label
I need to repartition my 2012 Nexus 7 (grouper) to create a bigger system partition so that I can install Lineage OS.

Here is the current partition table.

Unfortunately parted can't print the partition table because

unrecognized disk label

```<code>
C:\Android\Nexus7_grouper>adb.exe shell
~ # ./parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: /dev/block/mmcblk0: unrecognised disk label
(parted) q
q
~ # ./parted /dev/block/mmcblk0p1
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p1
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: /dev/block/mmcblk0p1: unrecognised disk label
(parted) q
q
~ # ./parted /dev/block/mmcblk0p2
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p2
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: /dev/block/mmcblk0p2: unrecognised disk label
(parted) q
q
~ # ./parted /dev/block/mmcblk0p3
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p3
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: Unknown (unknown)
Disk /dev/block/mmcblk0p3: 682MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  682MB  682MB  ext4

(parted) q
q
~ # ./parted /dev/block/mmcblk0p4
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p4
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: Unknown (unknown)
Disk /dev/block/mmcblk0p4: 465MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  465MB  465MB  ext4

(parted) q
q
~ # ./parted /dev/block/mmcblk0p5
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p5
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: /dev/block/mmcblk0p5: unrecognised disk label
(parted) q
q
~ # ./parted /dev/block/mmcblk0p6
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p6
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: /dev/block/mmcblk0p6: unrecognised disk label
(parted) q
q
~ # ./parted /dev/block/mmcblk0p7
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p7
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: Unknown (unknown)
Disk /dev/block/mmcblk0p7: 5243kB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End  Size  Type  File system  Flags

(parted) q
q
~ # ./parted /dev/block/mmcblk0p8
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p8
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Error: /dev/block/mmcblk0p8: unrecognised disk label
(parted) q
q
~ # ./parted /dev/block/mmcblk0p9
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0p9
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: Unknown (unknown)
Disk /dev/block/mmcblk0p9: 30.1GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  30.1GB  30.1GB  ext4

(parted) q
q
~ #
</code>```

No success with fdisk either:

```<code>~ # /sbin/fdisk /dev/block/mmcblk0
Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.

The number of cylinders for this disk is set to 954368.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/block/mmcblk0: 31.2 GB, 31272730624 bytes
4 heads, 16 sectors/track, 954368 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

              Device Boot      Start         End      Blocks  Id System

Command (m for help):
</code>```

So: what can I do?!
Is this a known problem? Is there a solution? Or is there a workaround?

Update

Found some more disc tools: https://github.com/wangdaning/Static-Disk-Tools

```<code>~ # ./fdisk /dev/block/mmcblk0
Welcome to fdisk (util-linux 2.22).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

WARNING: GPT (GUID Partition Table) detected on '/dev/block/mmcblk0'! The util fdisk doesn't support GPT. Use GNU Parted.

Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0xa27bac20.

Command (m for help): q

~ # ./gdisk /dev/block/mmcblk0
GPT fdisk (gdisk) version 0.8.4

Unsupported GPT version in backup header; read 0x00000000, should be
0x00010000
Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries.

Command (? for help): q
~ # ./sfdisk /dev/block/mmcblk0
Checking that no-one is using this disk right now ...
BLKRRPART: Device or resource busy
sfdisk:
This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.

sfdisk: Use the --force flag to overrule all checks.

~ # ./sfdisk -l /dev/block/mmcblk0

WARNING: GPT (GUID Partition Table) detected on '/dev/block/mmcblk0'! The util sfdisk doesn't support GPT. Use GNU Parted.

Disk /dev/block/mmcblk0: 954368 cylinders, 4 heads, 16 sectors/track
~ # ./gdisk -l /dev/block/mmcblk0
GPT fdisk (gdisk) version 0.8.4

Unsupported GPT version in backup header; read 0x00000000, should be
0x00010000
Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries.
Disk /dev/block/mmcblk0: 61079552 sectors, 29.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 5DF0FD01-EBB2-48B7-A362-76A6CD811B21
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 61079518
Partitions will be aligned on 2048-sector boundaries
Total free space is 61079485 sectors (29.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
~ #
</code>```

And this seems relevant, but I don't understand it.
https://github.com/Lanchon/REPIT/issues/79

Update: newer parted

From Irfan Latif's suggestion

```<code>~ # ./parted
GNU Parted 3.3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Error: /dev/block/mmcblk0: unrecognised disk label
Model: MMC HBG4e (sd/mmc)
Disk /dev/block/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
(parted) q
~ # ./partprobe -s
Error: Partition(s) 4, 9 on /dev/block/mmcblk0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
/dev/block/mmcblk0boot1: msdos partitions
/dev/block/mmcblk0boot0: msdos partitions
~ #
</code>```


问:
Android doesn't ask USB usage when connecting to Windows, works on Linux
Just out of the blue, my phone suddenly stopped asking permission to access storage. It worked yesterday. When I connect the phone with the same cable to Linux PC it works but Windows keeps telling USB device not recognized and I don't get a popup in Android asking for USB permission. There is also nothing in the notifications on Android.

I tried to disable always ask but it still won't show up. How can I make my phone always answering as a mass storage?


问:
Data recover with broken screen
yesterday my beloved OnePlus 3T fell and the screen cracked :(
At first half of it was still usable and visible, shame on me for not recovering the data I needed at that time. now the upper half is still usable but completely black, also the battery died without me noticing so it turned off.

Now I'm stuck with the following situation: phone is turned on, but the pin is preventing me from logging in (I can't type the pin blindly as the bottom half of the screen doesn't get touch inputs), the pc doesn't recognize the phone beyond the driver "disk", so sending commands via adb it's not an option.

I tried booting in recovery mode with volume down+power and I think it got booted in recovery, but I don't remember If I can use the buttons to navigate it. I pressed volume down 3 times to move to english, pressed power to select english, pressed power to select "install from adb", pressed power to select "Ok". at this point I expected the phone to be visible (assuming everything is set up correctly on the pc) when running "adb devices" on cmd, but it doesn't. can anyone confirm that these steps are correct?

I'll later try an otg cable and connect mouse/keyboard as a last resort.

I'm running out of ideas, so if anyone has any idea on how to recover files (don't care about contacts and stuff) from the phone is more than welcome.

Title: Data recover with broken screen


问:
How to install new font on Android 10 and set it as default monospaced?
I'd like to change the default monospaced font on my rooted Android phone. This is because of things like this, where characters don't render correctly:

The rectangle is supposed to be the "ɒ" character. I know that it works with Deja Vu Sans Mono, so I'd like to change the monospaced font to that.

I've seen methods that change the system default font, but not specifically the default monospaced one.

Some more information:

Android 10, rooted

Oneplus 7

OwnerDisplayName: bigyihsuan


问:
Possible to recover app data from .asec file (SD card in Samsung) and move to new device (OnePlus)?
I have been using an Android app since 2014. Recently, I switched to a new device (OnePlus) and realized that the data backup was only till 2018. It was narrowed down to the data being stored in the old device's (Samsung) SD card. That is a challenge as the new device doesn't have an SD card slot. Now, I got a memory card reader, connected with my laptop, and transferred all the data but this.

New challenge:

There is no ".pc" file (default extension for the backup file) in the SD card's folder. This folder is empty and I couldn't identify any hidden files - \Android\data\com.popularapp.appName.

In .android_secure folder, we have this ".asec" file, which may or may not be useful.

Here are my questions:

W.r.t. #1 above, am I missing something? Should I look for the backup/data somewhere else ?

W.r.t. #2 above, since it is .asec file and the app needs .pc file for the backup (otherwise it throws error code 2116), is there a way to use this file to get the data for the missing time period ?

The app name is Period Tracker (https://play.google.com/store/apps/details?id=com.popularapp.periodcalendar)

If this is not the correct platform to ask the question, please direct me to the right one.
Any help would be appreciated. Let me know if further information is required. Thanks!


问:
Is there a way to save this tablet from bootloop?
I have several generic tablets running Jelly Bean 4.2.2. Recently one of them started bootlooping out of the blue. Unfortunately, the tablets have proprietary, stripped versions of android and recovery. There are no options to data reset in recovery and adb recovery --wipe_data or adb --wipe_data do not work. The tablet in loop can be accessed by adb but services such as activity manager or package manager are not running. Following is the top of logcat for both an operating tablet as well as the looper.

Bootlooper

```<code>--------- beginning of /dev/log/system
I/RegionTag(  106): ----------------running drmservice---------------
I/RegionTag(  106): ----------serianno =X2QU82WEPG
I/RegionTag(  106): auto generate serialno,serialno = X2QU82WEPG
I/RegionTag(  106): detect keybox enabled
I/Vold    (   97): Vold 2.1 (the revenge) firing up
D/Vold    (   97): Volume flash state changing -1 (Initializing) -> 0 (No-Media)
E/Vold    (   97): ---------get mtd_name is user---
E/Vold    (   97): ------------find mtd name is user, num is 9----
E/Vold    (   97): ---------get mtd_name is user---
E/Vold    (   97): ------------find mtd name is user, num is 9----
I/Vold    (   97): Call notifyStateKernel No.1 in the file of VOlume.cpp
D/Vold    (   97): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold    (   97): Volume udisk state changing -1 (Initializing) -> 0 (No-Media)
E/Vold    (   97): Start Misc devices Manager...
D/Vold    (   97): Volume flash state changing 0 (No-Media) -> 1 (Idle-Unmounted)
I/SystemServer(  360): Entered the Android system server!
I/SystemServer(  360): Enabled StrictMode logging for UI Looper
I/SystemServer(  360): Waiting for installd to be ready.
I/SystemServer(  360): Enabled StrictMode logging for WM Looper
I/Installer(  360): connecting...
I/SystemServer(  360): Entropy Mixer
I/SystemServer(  360): Power Manager
I/SystemServer(  360): Activity Manager
I/ActivityManager(  360): Memory class: 64
I/UsageStats(  360): Deleting usage file : usage-20110101
--------- beginning of /dev/log/main
D/dalvikvm(  360): GC_CONCURRENT freed 404K, 11% free 4277K/4776K, paused 2ms+2ms, total 12ms
D/dalvikvm(  360): GC_CONCURRENT freed 404K, 11% free 4277K/4776K, paused 1ms+1ms, total 9ms
D/dalvikvm(  360): GC_CONCURRENT freed 404K, 11% free 4277K/4776K, paused 2ms+2ms, total 12ms
D/dalvikvm(  360): GC_CONCURRENT freed 404K, 11% free 4277K/4776K, paused 2ms+2ms, total 12ms
D/dalvikvm(  360): GC_CONCURRENT freed 404K, 11% free 4277K/4776K, paused 2ms+2ms, total 12ms
D/dalvikvm(  360): GC_CONCURRENT freed 404K, 11% free 4277K/4776K, paused 2ms+2ms, total 11ms
D/dalvikvm(  360): GC_CONCURRENT freed 404K, 11% free 4277K/4776K, paused 2ms+2ms, total 12ms
</code>```

```<code>Working tablet
--------- beginning of /dev/log/system
I/RegionTag(  106): ----------------running drmservice---------------
I/RegionTag(  106): ----------serianno =J1VQXV9RYH
I/RegionTag(  106): auto generate serialno,serialno = J1VQXV9RYH
I/RegionTag(  106): detect keybox enabled
I/Vold    (   96): Vold 2.1 (the revenge) firing up
D/Vold    (   96): Volume flash state changing -1 (Initializing) -> 0 (No-Media)
E/Vold    (   96): ---------get mtd_name is user---
E/Vold    (   96): ------------find mtd name is user, num is 9----
E/Vold    (   96): ---------get mtd_name is user---
E/Vold    (   96): ------------find mtd name is user, num is 9----
I/Vold    (   96): Call notifyStateKernel No.1 in the file of VOlume.cpp
D/Vold    (   96): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold    (   96): Volume udisk state changing -1 (Initializing) -> 0 (No-Media)
E/Vold    (   96): Start Misc devices Manager...
D/Vold    (   96): Volume flash state changing 0 (No-Media) -> 1 (Idle-Unmounted)
I/SystemServer(  370): Entered the Android system server!
I/SystemServer(  370): Waiting for installd to be ready.
I/SystemServer(  370): Enabled StrictMode logging for UI Looper
I/SystemServer(  370): Enabled StrictMode logging for WM Looper
I/Installer(  370): connecting...
I/SystemServer(  370): Entropy Mixer
I/SystemServer(  370): Power Manager
I/SystemServer(  370): Activity Manager
I/ActivityManager(  370): Memory class: 64
I/SystemServer(  370): Display Manager
I/ActivityManager(  370): Enabled StrictMode logging for AThread's Looper
I/SystemServer(  370): Telephony Registry
I/SystemServer(  370): Scheduling Policy
I/DisplayManagerService(  370): Display device added: DisplayDeviceInfo{"Built-in Screen": 600 x 1024, 57.727 fps, density 160, 177.2093 x 168.89351 dpi, touch INTERNAL, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, rotation 0, type BUILT_IN, address null}
I/SystemServer(  370): Package Manager
I/PackageManager(  370): Need to read from backup settings file
W/PackageManager(  370): Cleaning up settings file /data/system/packages.xml
</code>```


问:
High battery usage (no wifi no apps no wireless)?
I've noticed that I lose about 20% battery each hour while my phone is unattended and offline.  I check the battery settings and find that no apps are running.

The phone is rooted, and I'm wondering what kind of cleanup I can do in terms of searching for viruses and botnets and doing some kind of deeper inspection of battery usage?

Samsung galaxy s10+

--UPDATE--

I'd like to start looking for botnet that would survive a successful re-rom: any methods of doing so would be greatly appreciated.  I've been receiving "unauthorized network" errors while in airplane mode.  This is an intermittent issue.  I am trying to find a forum or a community where issues like this can be discussed.  I've taken comprehensive logs at various suspicious cross periods.  One of four nights I receive these issues, for example.  I vigilantly reproduce steps to be sure that each night the conditions of the phone are the same: turn all apps off, restart the phone, put it into airplane mode, turn the screen off, leave it unplugged.


问:
Call someone automatically after receiving an app notification
I'm fairly new to android, I just want to know if it is possible to implement a feature on an app that when you would receive a push notification it will call a specific number or send a sms.

Ive been searching through this site and what I found most similar to this it involves clicking on the notification so that it makes the call afterwards but not right away automatically as soon as you receive notification.

So the objective would be something like this: a cellphone or tablet is awaiting for a push notification from an app at night when it  receives push notification it sends a sms or call to another cellphone which could be mine or someone else, is ti something doable that call intents can do this automatically without you having to interact with the device that will receive the push notification?


问:
What is this bunny icon, next to my internet usage speed?
A weird bunny logo has been appearing next to my internet speed lately, and I have no clue what it is.
Also, I don't use any kind of VPN.
I have tried googeling, but there isn't anything like that.

I own a Xiaomi redmi note 8 pro


问:
Android control battery charge programmatically
I'am using a Linage Android image (rooted) to control the battery charge and discharge with the commands:

Charge:

```<code>echo 0 > /sys/class/power_supply/battery/batt_slate_mode
</code>```

Stop charging:

```<code>echo 1 > /sys/class/power_supply/battery/batt_slate_mode
</code>```

The problem that after sending the command to charge, the charge type changes from "AC charge" to "USB Charge" and the current level drop to less than 500mA. I am connected AC power outlet.
If I disconnect and connect again the power outlet the current goes to 1A.

Reading the following article bellow some devices are a file to change the voltage (/sys/class/power_supply/battery/voltage_max), but mine doesn't have.

https://www.androidpit.com/forum/770904/root-battery-life-improve-battery-life-by-reducing-the-charge-termination-voltage

The picture show the files that I have on the folder:

Samsung Tab E 7.0 SM-T113NU

Android 7.0.1 - Linage 14.1

App and ADB rooted

Best regards,


问:
Connect Samsung S2 with Microsoft exchange server
I bought Samsung Galaxy S2. I created new e-mail profile with my credentials and successfully connected with Exchange server. I can read my e-mail messages, but when I try to send new e-mail, I get following error:

Unable to sign or encrypt message. Certificate not installed.

My company has self issued certificate with .cer extension. What to do ?


问:
How to get drivers for Android support of USB webcameras for Streaming Apps?
I know there are applications that allow you to do videos through applications, for instance USB Camera - Connect EasyCap or USB WebCam, but it does not allow you to use the USB camera in Streaming applications such as Google Meet.

It is known since 2017 that standard Android API does not support them: the thread How to open usb camera in android using android.hardware.camera.external's answer:

There's currently (as of Android O) no common USB camera support on
Android devices via the standard camera API.

Some Android manufacturers do have their own support for USB cameras,
but it's hard to know what devices do and what don't.

So I think the only way to have USB camera in all streaming applications is to have driver support for USB cameras in Android.
I need the feature because of Corona pandemia, and have a need to stream while driving etc, and there is no phone that can have sufficient streaming video quality.

I know the project External USB Cameras, but it seams that you need to root your phone to do it, which I have not done.

I have not seen any attempt for the implementation of USB cameras in Linux kernel. I think the Linux should first have the support before android API will get it. Debian's Webcam article here, Package libv4l-0.

Phone: OnePlus 6T.

Android: 10, newest.

USB camera: Logitech C922 Pro HD Stream Webcam.


问:
fastboot commands wont work
so i've got an amazon fire 5th gen tablet that i want to boot twrp on but i get this

Sending 'boot.img' (7946 KB)

OKAY [  0.265s]
Booting

FAILED (remote: 'the command you input is restricted on locked hw')

fastboot : error: Command failed

when i do

fastboot boot n:/twrp.img

might be because i need to unlock bootloader, if its that please tell me and how

help please?

Title: fastboot commands wont work


问:
SELiunix Change in Knox enabled phone
Hello every one I have problem to change my Phone SE from "Enforcing" mode to "Permisive" to use my USB Joystick on my phone, my phone is A72018(Rooted) but with Knox security. I used an app called "SELunix changer" it apears Permisive mode enabled but when I use USB/BT Joystick its says it is still on enforcing mode

Is there any app recomnded to change to Permisive mode or any recomnded app to use USB joystick with Enforcing mode?

Thank You

Title: SELiunix Change in Knox enabled phone


问:
After mounting / instead of /system now phone not booting system
I used mount -o rw,remount,rw / command instead of mount -o rw,remount,rw /system now system not booting, please help. Every time restart and boot into fastboot but now system. TWRP working.

Infinix hot 8 android 10
i was trying to copy certificate file to ssytem/etc/security/cacerts so run remount command.


问:
Doogee y9 plus AR
I have recently bought a Doogee Y9 plus. As I found out, the phone does not have a compass or gyroscope. I wanted to ask, if the phone could still use AR apps. The phone isn't rooted, but I might even do it. Thanks for any help.</p>

Title: Doogee y9 plus AR


问:
How can I block Play Store from installing a specific app
Is there any option that doesn't allow me to install a specific app from the Play Store ever again on that device? How can I do that?</p>


问:
Where are these 14 GB images that are occupying my Android storage?
I have been running out of storage on my android phone, the one plus 5T. I have Google photos backing up to the web and have deleted the local images post backup.

Google photos and even gallery are barely taking up a gigabyte.

But there under storage it does show 14 GB of images but I cannot seem to identify where these are or which app they belong to. I looked up all the usual culprits in the app list  but none of them shows  a claim to 14 GB of memory.

Any thoughts how I can find these images and reclaim the space?


问:
Automatically discard old notifications
I'm new to the android OS, and have a few devices: Chromebook, android tablet, and android phone running google's standard OS.

I've noticed when I have my phone off all morning and turn it on at lunch time, I get a stream of notifications of all the chat/email/etc that happened while the device was off, even if I engaged with them on my tablet or other devices. An extreme example, I went on vacation for a week, left my tablet off at home. When I came home and turned the tablet on, the OS was unusable while it pulled a week of chat and other app notifications.

My question: is there a setting / configuration on Android to tell it to discard any push notifications it may have gotten while offline but still display any notifications it gets while on?

Title: Automatically discard old notifications


问:
Result of ls -la in adb shell
If I go into my unrooted phone's adb shell (Samsung galaxy s7 Android 8) I get a result similar to this:

```<code>dr-xr-xr-x 921 root   root         0 2020-01-26 10:06 acct
-rw-r--r--   1 root   root       225 1970-01-01 09:00 android.hardware.drm@1.0-service.widevine.rc
-rw-r--r--   1 root   root     45121 1970-01-01 09:00 audit_filter_table
</code>```

Notice that there is no . after the file permissions (eg: dr-xr-xr-x). If I type getenforce I get

```<code>enforcing
</code>```

so SELinux is enforced. Then why doesn't ls show a . after the file permissions? Has it always been this way in android? As far as I know, in Centos ls result will show a . after file permissions if SELinux is installed and enforced/permissive. Does android behave differently in this regard?

Title: Result of ls -la in adb shell


问:
How to determine which version of TWRP has been installed?
A secondhand phone looks to have TWRP already installed:

```<code>thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$
thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$ ll
total 53
drwx------ 1 thufir thufir    0 Dec 31  1969 ./
dr-x------ 1 thufir thufir    0 Dec 31  1969 ../
drwx------ 1 thufir thufir 4096 Oct 26  2019 Alarms/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Android/
drwx------ 1 thufir thufir 4096 Nov 26  2019 .data/
drwx------ 1 thufir thufir 4096 Dec 18  2019 DCIM/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Download/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Movies/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Music/
drwx------ 1 thufir thufir 4096 Oct 26  2019 _nero_sync/
-rw------- 1 thufir thufir   38 Oct 26  2019 nmdsdcid
drwx------ 1 thufir thufir 4096 Oct 26  2019 Notifications/
drwx------ 1 thufir thufir 4096 Mar 31 17:31 Pictures/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Podcasts/
drwx------ 1 thufir thufir    0 Oct 26  2019 Ringtones/
drwx------ 1 thufir thufir    0 Apr 12 13:34 .showme/
drwx------ 1 thufir thufir 4096 Mar  4 14:34 TWRP/
drwx------ 1 thufir thufir 4096 Nov 27  2019 WhatsApp/
thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$
thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$ ll TWRP/
total 5
drwx------ 1 thufir thufir 4096 Mar  4 14:34 ./
drwx------ 1 thufir thufir    0 Dec 31  1969 ../
-rw------- 1 thufir thufir  973 Apr 12 13:27 .twrps
thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$
</code>```

How do I determine which the version number for TWRP which is already installed?


问:
How would one simulate a charging experience on a real android device?
I possess a Samsung Galaxy S8 with Samsung Global Goals installed. The app allows you to donate based on ads viewed during the time the device is charging. Would be possible to essentially 'fake' the charging experience to donate more on the go while also conserving energy? Morally questionable methods for the greater good are perfectly welcome ;)</p>


问:
How to set minimum width under developer options only for specific apps?
My device is a Samsung Galaxy A40 running Android 10 (but it probably doesn't matter that much in this case)

I want an app to think that my screen is the size of a tablet, because in that app it might be beneficial to have larger screen size. I went to developer settings, and under "Minimum width" , I changed the default value which was 360 dp, to 800 dp. Now the app thinks my display is larger, and it gives me a slightly better interface. However, the only problem is that now the rest of the OS also thinks that this is my screen size.

Is there any way to set the "minimum width" only for that app, and not the rest of the Android interface?


问:
Turning on an Android phone with broken power and volume buttons
I have a Oneplus Two phone which fell down in just the right (or wrong..) way a couple of years ago and the volume and power buttons were smashed. I managed to use it for a while just without letting run out of battery but eventually moved on to another phone. Now I'm trying to see if I can somehow revive it or if I should sell it for parts. I remember I did install some app (likely Gravity Screen) that would supposedly turn the phone on when moved, but it doesn't seem to do anything. The phone is otherwise charging just fine, I just can't turn it back on.</p>


问:
What shall I do if I damage battery?
I've been disassembling phone - Xiaomi Mi 5X/A1, in order to change crashed screen. However, while I was trying to remove battery, I probably cut battery cover, so I can see white slices and sharp smell is present (to remove battery I was just using playing card so I am very surprised that happened). Phone doesn't turn on and I am afraid it might explode (I really don't know but lithium is quite reactive). Is there any possibility to recover this phone? What shall I do with it?</p>

Title: What shall I do if I damage battery?


问:
Drag-n-drop Uninstall
I have a Moro G5 and would like to know if there is any way I can disable the Android drag-n-drop Uninstall feature from the homepage which allows little fingers to uninstall parental apps by just dragging the appropriate icon to the uninstall at the top of the screen.

At times it makes me wonder why Android has this feature. Is it a life and death situation that requires apps to be uninstalled so easily?

I've tried to install different apps which claim to prevent uninstalling of apps but all fail and again uninstalling anything is as simple as dragging an icon to the uninstall.

Title: Drag-n-drop Uninstall


问:
ASUS ROG II - Android Update
So, unfortunately I brought a Tencent Branded ASUS ROG II phone and paid a hefty amount for something ASUS calls unofficial

Consequences:

No Android Security Update

No Software Update since August 2019

Even after having the latest hardware and more RAM and Storage than my Laptop I am stuck at older software which is annoying.

I tried looking stuff to manually update to Android 10 as my device is not reciving any FOTA Updates but it says the Product ID, Fingerprint and the ROM should match i.e to WW ( Considering this is a Chinese phone flashed with global firmware / ROM) fortunately on my device it does but I still can't manually download ( Keep it in root) a FOTA Update and apply it(After Restart). It just fails, so I am skeptical to actually unlock the bootloader and do fancy stuff and end up bricking my device!

Is there a way I can completely get rid of the issue of manually upgrading the software ( by manually I mean connecting to a PC and flashing the latest FOTA)?

Some way I can just download the latest update keep it in root restart the device, it detects an update and does it automatically?

Product : WW_l001D
Fingerprint : asus/WW_l001D/ASUS_l001_1:9/PKQ1.190414.001/16.0631.1908.12-0:user/release-keys

Title: ASUS ROG II - Android Update


问:
How to disable popup when turning on/off Wifi in Tasker
I have Tasker on 2 phones. One is Huawei, Android version 9 while the other is KTouch, Android Version 8.1. Both have the same settings provided (Battery optimization disabled, Usage access enabled etc). However, Tasker in Huawei was purchased from the App Store but Ktouch is an .apk version downloaded from the Huawei phone. KTouch do not allow Play Store to be installed :(

What I want is to switch on the phone at a set time and turn on wifi. For the turning on of Wifi, I used the Net > Wifi "On" feature.

For Huawei, Wifi automatically turned on without any popup. However for the KTouch, there was a popup asking user to deny or allow for Wifi to be turned on. May I know how to disable this popup and just auto turned on the Wifi, just like Huawei's?


问:
Disabling Noise reduction/echo cancellation/any other effects on the microphone input in smartphone
I have made a program that reads a fixed number of bytes from the microphone and sends it out to the speaker, effectively a program to route audio from the mic to speaker without any changes

Normally I can hear what I say into the microphone loud and clear on the attached headphone

However, if I blow into the microphone, I can momentarily notice the sound in the earphone going smaller, which slowly rises back to its normal volume

I think some kind of built in noise reduction or some other effect is kicking in when I blow into the microphone

Is there any way to completely stop or bypass any kind of preprocessing the phone does to the microphone input samples, or to the output samples?I have looked at all the sound related settings on the phone and they are all disabled, at least as far as I can tell. I use AudioRecord class to get microphone audio samples and AudioTrack to play them back. AudioRecord source is MediaRecorder.AudioSource.DEFAULT (MediaRecorder.AudioSource.MIC gives the same result). MediaRecorder.AudioSource.VOICE_RECOGNITION doesn't seem to have any effects on the input sound, but I would have guessed that MediaRecorder.AudioSource.DEFAULT or .MIC would be the option without any preprocessing attached to it.

I would like to know if there is a way to completely prevent the phone from doing any kind of audio processing, at the mic or the speaker side, through some option in the phone settings or through adb or in my program's code.

The phone is Samsung Galaxy S7 with android 8.0, but I am looking for a a general solution if it exists.


问:
How to exit and disable safe mode?
I have a Note 2 running a custom Android 6 ROM and it's stuck in safe mode.  It got stuck in safe mode once before, but I don't recall what I did to fix it.  I did have a sticky power button then, so I might have just cleaned it with alcohol pads.  At the time, I looked for a way to disable it.  Now I am stuck, due to the hubris of some programmers, which seems to be the norm for software nowadays /rant.

Articles online look like keyword stuffed AI generated articles, and simply are press releases for the feature, telling you how wonderful it is, how to enter it, and in Android 10, how you can exit it from a persistent notification.  Even the answers here are very similar.

I don't think I have a stuck button this time.  I've wiped cache in TWRP.  TWRP can't shutdown though, it just reboots into itself, which I think is odd.

The phone was having an issue where the power button was working for a double press, but not a single press or long press, and when I rebooted it to clear the issue, now I have a larger issue.

I have rebooted (many times), pulled the battery and let it sit (up to 8 hours), changed the battery, done a software reboot, cleared the Dalvik cache in TWRP, and searched online for some way to exit safe mode.

I can't just reformat and reinstall because I have apps with settings I would need to back up, like my contacts, and some secure apps that need to be backed up within the app.

How can I forcibly exit safe mode?

How can I disable safe mode permanently?

Title: How to exit and disable safe mode?


问:
Did Android ever have an option to disable apps?
The way the Google support page ("Android 8.1 and up") is written suggests that this option may have been only available in third-party ROMs:

Disable apps that came with your phone

You can’t delete some system apps that came pre-installed on your
Android phone. But on some phones, you can turn them off so that they
won't show on the list of apps on your phone. To learn how to disable
apps, contact your device manufacturer.

I don't personally have an issue with bloatware as I run LineageOS, but temporarily turning off apps would have often been beneficial for various reasons (some, while useful, are rarely used and may run at boot; issues with the latest update and no roll-back option).


问:
Hotspot mobile network tethering and DNS
I and probably others know, if turning on the mobile hotspot and enable wifi-tethering, we are able to use our android phone to get internet access via a notebook (and other devices of course) connected to this android hotspot over WiFi.

Our phone also then acts as a router, since tethering spans a private network, I usually know it as 192.168.43.xxx to forward requests from the notebook to the outside world, the internet which is enabled by receiving a public IP from the service provider.

What I am looking for, is a DNS service running on this tethering phone on the private side of the network.
I'd like to reach my devices via hostnames on the little private LAN provided by the tethering phone.

I know there are lots of options and public discussions to tune DNS settings on the public side of the hotspot (8.8.8.8, 1.1.1.1 and things like that). Since A9 there is even a private DNS option. But all this stuff is not what I am looking for.

So to configure my question:
How can I enable a DNS service on the private side of my tethering hotspot on an Android 10 (Lineage 17.1) device?


问:
automatically power on android when charge is 20% or 10%
I know its duplicate on Power on when charging but only when battery level is greater than 20%

but it seems that question has no answer and also android version has changes a lot , I am on Android 10 , need to start my phone when charged to at-least 10 or 20 %  automatically as I am using it for some automation .

Any other way other than physically pressing the power button would be really helpful

Device Redmi Note 5 Pro and its not rooted


问:
How to call and SMS from Android smartphone with SIM via internet remotely?
I want to use my phone number when traveling abroad and there is no possibility to setup roaming, etc. So the idea is: I have Android smartphone. I have my SIM inserted in the phone.

The phone works as usual phone - it is turned on and connected to charger. I need software that is capable to answer for incoming phone calls and relay the call via internet to some other phone or PC with corresponding software that runs on it. That is when somebody calls me, my phone that is turned on in my home answers to call, transfer the call/voice via internet to another country where I obtain some signal to my second phone or PC and can have a conversation.

I have VOIP phone number but this doesn't solve the issue - I need exactly the phone number bound to my physical SIM - some services verify that number is virtual and do not work with such numbers. Could you please suggest Android application that solve the issue.

Updated:
I've fount following article related to question. What do you think about it?
Using Android phone as GSM Gateway for VoIP


问:
How to use NFC Tools to write a 540 byte file to NFC Ntag 215?
It seems Tagmo is a tool to write NFC tags, but when I searched on the Google Play Store, NFC Tools came out, not Tagmo (and it has a 4.4 out of 5 rating), so I tried using it to write a .bin file that is 540 bytes:

Email myself in Gmail the file abc.bin, which is 540 bytes, using my computer

On my Android phone, use Gmail to read that email and download that file

On Android phone's NFC Tools, use "Write" -> Add a record -> File, which asked me to install NFC Tasks the app (to read a file, you need an app?)

After I install NFC Tasks, I could choose the file from the "Download" folder

But then NFC Tools reports it is "55 bytes", when the file is 540 bytes. When I tried writing the file to an NFC NTag215, it didn't react or waited 45 seconds and said "Write Error".

Is there anything wrong in the above steps?  How do you write a simple file to an Ntag? Is there a better alternative to NFC Tools?

P.S. It seems the 55 byte as reported by NFC Tools might be the "path name" of the file, which is file:///storage/emulated/0/Download/099 - Abcde (HHD).bin But why would I write the path of a file to an NTAG? Usually, wouldn't it be writing the "content" of a file to an NTAG?

P.P.S. And when I tried another file, it now reports "Writing 110 bytes" (instead of "Writing 55 bytes"). So what is this writing 110 bytes of file paths, instead of the 540 byte file content to an NTAG? How come it seems there needs to be a 20 page instruction to do a simple thing?)


问:
Ensuring that a deleted file cannot be recovered
A few months back, I had deleted a media file from my gallery. My phone wasn't encrypted at this point. Now, I wish to ensure that this file cannot be recovered in any way. What is the best way of doing this? Is it sufficient to encrypt my phone and do a factory reset? Or do I need to overwrite the memory blocks using software?</p>


问:
need help in deciphering the logs of my bootlooping phone
I am trying to fix my phone that got stuck at a bootloop. Earlier it died out of battery and rebooted when I plugged it in and went on a bootloop, I did a lot of things between my last reboot and this one and I can't really know exactly which one was the cause f the loop.

I have a custom ROM installed that is a bit on the buggy side, but it did work for me totally fine for months now.

I have captured the looping part of the logs in logcat which I was able to get to using the ADB logcat command on my PC.

I would like to know what was the problem and if there is a quick way to fix it instead of maybe factory reset or wiping all.

here is the debug logs: https://pastebin.com/36j7CFkx

Thanks in advance.


问:
Fbind how to use
I have Magisk 4.20 manager and installed the fbind module. I need to use it properly because I made a small mess:
I just wanted to bind a folder on my external sd with Download from internal memory. I used fbind -b

[Topic 1- solved]
but now some new folders were made that i cant delete mnt/runtime/read/emulated/0/mnt/media_rw/MD6H-KDY5/My Folder and mnt/runtime/read/emulated/0/mnt/runtime/write/emulated/0/download
This as explained Why deleting system files on a rooted Android says "device or resource is busy"? but if I enable core modules, delete the folders, then disable core-only modules, remove fbind and reinstall fbind, the folders are BACK...

So what I need to unmount to remove permanently from seeing them each time, they are wrongly made.

Edit: Final solution was to put (overwrite) some empty config.txt in data/adb/fbind and then I can delete the folders, it seems to read it from there. So no need to switch to Core only in magisk or uninstall the fbind.

[Topic 2 - unsolved]
And I need to bind correctly w fbind like bindfs after I delete these extr folders, where I see content of External card as the download folder, till I revoke the bind. So what is the correct way to use fbind, it creates its own folders .fbind unlike bindfs . I like bindfs better but it only worked within terminal  app on phone, other apps cant see the link.

What is the command? So that I do it like how I do with bindfs

Title: Fbind how to use


问:
How to change contact's photo under Android 8.0
I am trying to change a contact's photo under my Motorola Moto Z2 Play / Android 8.0.0 (Security Patch July 2019):

Contacts >  (find a contact) >  (edit contact) >  (change photo) > Select new photo

and I am hit with an error saying:

No pictures are available on the device.

I don't understand this situation, because:

I have dozens of photos and pictures on this device, in "DCIM", "Pictures" and others,

I can change widget's icon without any problem (my launcher allows this),

I've been changing contacts' photos many times on this device.

I've managed to change contact's photo on other devices and Android versions (A9 and One),

I don't think this is due to SAF (details: here and here), because I am still on A8, not A10.

Since I did this last time a couple of months / maybe a year ago. The only thing that comes to my mind is that I did this last time under old, good Android 7.1.2. And the recent update to Android 8.0.0 maybe messed up something.

I have tried putting new photo into every folder that came to my mind:

root,

DCIM,

DCIM/Camera,

Pictures,

Pictures/Contacts (I've been using this one for years).

All for nothing. Always seeing this damn message.

I even went as far as:

Contacts >  (find a contact) >  (edit contact) >  (change photo) > Take new photo,

capture some test image,

use it,

see, where it is stored (turned out that in: DCIM/Camera, as expected),

remove it,

try again using "Select new photo".

My phone went as wako as allowing me to change the photo of one of contacts in the first place (i.e. after using "Take new photo"), stored it in DCIM/Camera folder and when I tried to use the very same photo from the very same folder, but using "Select new photo" instead, it again claimed that I have no pictures in this device).

Can anyone help me? How to workaround this problem? How to change contact's photo in A8?


问:
Mount Samsung S10 file system to Windows 10
Is it not possible to mount and browse the file system with Samsung Galaxy S10 if I connect it to Windows 10? With Galaxy S8 it was possible and I could easily traverse the file system of the phone to make sure that I did and did not have files in the phone before I erased and reset it. Now I want to erase and reset my S10 but I find no good way of checking its file system the way that I did with the S8.</p>


问:
how to convert android 10 phone to a software access point
I have an android 10 device which I would like to use use as software access point. I have broadband connection landline in my home. There are some corners where signals dont reach. So I want to use my spare android phone to convert it to a software access point. If this is some how possible then please let me know. I want my phone to be connected to the exisiting wifi network at a location in which signal is comming and at the same time want to convert the phone to work as an AP.
The phone is already connected to Wifi network in my ADSL router.</p>


问:
Onyx Boox Max 3 - how save a web page as a pdf (chrome, default)
My Onyx Boox Max 3 ebook reader uses Android 9. There is no print option from the share menu though. I've installed a couple of web to pdf apps and can't get those to work either.  Any ideas?</p>

OwnerDisplayName: atreeon


问:
installing lineageOS on Huawei VNS-L31
I want to install LineageOS on my phone, Huawei VNS-L31 but I'm afraid that it couldn't be supported especially after I couldn't find it on lineage website but found some websites that claim it could be supported, I'd appreciate any help on how to install it, if possible.

Also, I'd appreciate any recommended OS that could work on Huawei VNS-L31 outside Google's and Apple's worlds.

Thank you.

Title: installing lineageOS on Huawei VNS-L31


问:
LG G5 stuck with screen showing a picture as if the battery is not attached
My LG G5 is stuck with a screen showing a picture as if the battery is not attached. I don't know what is the reason.

If I remove the battery for a while and reattach it, it works.

I tried to search about it online, but could not find any information.

What does this mean and how to fix it?


问:
USB tethered device cannot communicate with WLAN hotspotted device on the same Android phone
Here I have one Android phone, the provider, a device, usb, connecting to it through USB tethering, and a device wlan connecting through WLAN hotspot.

So once usb connected, it got assigned an IP in the 192.168.42.0/24 block. provider, acting as router, had an IP in there, of course. When I connected wlan, it got an IP in the 192.168.43.0/24 block, and provider had one IP in there too.

Now, I can't see the other from either device, either by scanning both blocks, or by directly pinging or sshing into the other device. All I can see is the device I'm operating on, and the two gateways, which are essentialy the same provider.

I suspected it's a limitation of the ROM I used at first, but after flashing a custom ROM the problem persists. Is this a native limitation of the Android OS? As far as I remember iOS didnt't have this problem, and a USB tethered device can communicate with a WLAN connected one. Thank you.


问:
Rooting my samsung j7 gone wrong
I was rooting my android phone by following youtube tutorial https://www.youtube.com/watch?v=eXyWgyW5-5M .
At step 2:11

after selecting bootloader only blue screen and downloading is written i.e. the above data is not written on my left top screen at the same time i started the odin and the odin log are

```<code><ID:0/004> Added!!
<ID:0/004> Odin engine v(ID:3.1100)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> boot.img
</code>```

It is not proceeding after boot.img please help me and my phone keep on restarting continuously if i stop the process and turn on device normally.

Title: Rooting my samsung j7 gone wrong


问:
How does Android's FBE store each key used to encrypt each corresponding file?
I am very new to Android's FBE and still learning the basics.

From what I could understand, the way FBE works is that for each file to be stored on the disk, the kernel requests for a key from some secure hardware logic. The kernel then assigns this key to the file to be encrypted and is then stored on the disk. When that file is read from the disk in future, the kernel will use the same key to decrypt it.

Since there are multiple files that use multiple keys, who keeps track of the key used to encrypt each file?

Are these details stored in some secure non-volatile memory? If the device is reboot, and the keys removed from RAM, how is this information mapped again?

If some files are deleted on the disk, do the keys get re-used?


问:
Can a mobile processor be Overclocked with Software means?
I was searching weather a mobile processor be Overclocked or not so i came across an answer saying no because processor operates on PLL(phase locked loop) which if set to a particular frequency can't be changed. But i have heard about Android Overclocking with some custom kernels and rooted devices. So i need some expert opinion on this matter.</p>


问:
Unlocked Samsung Galaxy S20 Ultra's hotspot is only limited to 1 connection
My wife and I just switched to Samsung Galaxy S20 Ultras (unlocked and purchased from Samsung.com) from Pixel 3 & 4 XL.  We had no problem with having multiple connections on either device.  On the S20s, under the Mobile Hotspot settings, it says

Turn your phone into a Wi-Fi access point.  Up to 1 other device will be able to use your phone's mobile data or Wi-Fi connection to access the internet.

Doing some research and talking to Samsung support, there is supposed to be an option in "Configure Mobile Hotspot" to set the maximum number of connections.  This option is not there for us.

I tried a handful of 3rd party hotspot apps and none of them worked. I also tried a few hidden settings apps and I couldn't find anything about setting the maximum connections.

Is there another way of setting this hidden maximum number of connection settings?


问:
Toggling mobile data with tasker doesn't work, even with "write secure settings" enabled (Android 10)
I'm on a UleFone Armor X7 (cheap waterproof/rugged thing) running Android 10.  I'm trying to use Tasker to conserve power for multi-day bike rides with no charging*, and one thing I'd like to do is turn off as much communication as possible for several minutes, then on briefly to pick up messages, then off again in a loop.

I know aeroplane mode requires root (edit: or ADB Wifi), and I don't want to lose Google Pay, but I should be able to toggle mobile data without it according to the following screenshot:

This says either root, or ADB WiFi, or Write Secure Settings should be enough.  ADB WiFi isn't an option, because it needs a PC at every boot, which is incompatible with turning the phone off overnight - to save power.  So I've installed ADB, granted the permission, and it still doesn't work. I can test that the permission is set: adb shell dumpsys package net.dinglisch.android.taskerm |grep SECURE_SETTINGS returns android.permission.WRITE_SECURE_SETTINGS: granted=true but when I try to test the task I get

```<code>Error: 1
Couldn't toggle mobile data on this device
</code>```

I suspect a semantic error, meaning that ((ADB Wifi or root) and (Write secure settings)) is needed. Enabling ADB Wifi does indeed allow Tasker to toggle aeroplane mode - but while Tasker can keep ADB Wifi alive (even apparently with Wifi itself off), this doesn't persist over a reboot, such as shutting down overnight to save battery, and a PC is needed again on restart.  Enabling battery save mode overnight may be an option.

I'm thinking of trying something with AutoInput, but I'm not keen, as it (i) requires the screen to be unlocked, and (ii) can on toggle, not set a state. I also don't want to pay even a little (on principle) to test something with these issues.

I've seen a few similar questions for very old Android versions, but nothing recent.

* I will have an external battery, and a dynamo, but just assume they're not enough to keep everything charged, especially as I navigate on my phone.


问:
Cant flash my firmware on my huawei p8 lite ( Model Num: ALE-UL00___Build num: ALE-UL00C00B230) Also cant find firmware avalable anywhere?
I have been at this for almost 2 days straight now, Here is the scenario: I bought a phone off of E-bay, but it has a wierd firmware on it which didnt allow me to connect to wifi, but instead had a Wlan only option, and no wifi to be found anywhere. It also had all these wierd chinese apps on it with tons of ads bombarding my screen. and no wifi to be found anywhere.

So i decided to load a different version firmware off of an SD card, and not only did the new firmware not work, but it overwrote the old firmware aswell. Now i'm stuck in a bootloop. I have tried about 10 different firmware's by now and i cant get my device to successfully install it. So then i turned to Windows Powershell.

I followed online instructions, my computer detects my phone in Fastboot mode, but i cant for the love of GOD get my commands applied, it keeps saying:"" FAILED (remote: Command not allowed)"" '. Another note, before this whole mess, i enabled USB debugging, but i couldnt find an ""Enable OEM "" slider, I also cant find my exact Firmware anywhere. (So i just played around with simar titled Frimwares. )

**(My Model Number is: ALE-UL00)

(And my Build number is: ALE-UL00C00B230)**

**So now my phone is stuck with no OS/Firmware, and i cant use POWERSHELL because i dont have OEM enabled. SOME PLEASE TELL ME WHAT I CAN DO TO FIX THIS. My current fastboot screen sais : PHONE locked ** does that have something to do with the OEM setting and is that why i cant apply my Powershell Commands? please advise me, IM BEGGING YOU INTERNET!!!


问:
Samsung Galaxy S20 Ultra - default file transfer mode issues
I just got a Samsung Galaxy S20 Ultra, I tried moving some files using the usb-c cable. Thankfully, I have usb-c type port in my laptop. I attached it, and a lot of issues started.

The default USB settings for the phone are: connection controlled by the phone, file transfer - auto android. (I apologize if those aren't perfect translations, I am using the phone in my native language)

With those settings, I can't get anything done. Trying to look at pictures, disconnection after 2 seconds. Trying to move files, same thing.

After a lot of cursing and trying, I McGyvered this solution. If I connect the phone, then change the settings to "controlled by phone, pictures transfer" for a second and then back to the so called "default" settings, "controlled by phone, files transfer - auto android" - it works fine.

My question:
What can cause this? Why aren't the "default" settings actually default? Is there any way to fix this?


问:
Backup data in Recovery mode on Android 3.2
My Samsung Galaxy Tab 7 plus(GT-P6200) is stuck in boot loop.I have tried to solve the boot loop problem but couldn't succeed.The only solution seems to me is to format my phone and I am unable because of important files.I am able to go to the recovery mode.It shows the following options:-

reboot system now

apply update from sdcard

apply update from cache

wipe data/factory reset

wipe cache partition

backup user data

restore user data

Is there any way I can back up data on an external sdcard or on my PC? My android phone is not rooted.


问:
Where are Firefox bookmark and history files stored?
And what are the names? I want to copy each in the event of device failure.

Sync is apparently not an option as the Sync "application" has returned "'Cannot connect to network" for several weeks, and the web page to create an account just has a swirl that never loads anything else.

I'm not sold on sharing data with mozilla anyway, tho if anyone knows how to do that, also, ...

All the tutorials I've found online are about desktop. I tried applying solutions there to android, like searching for 'places.sqlite', but no dice.

I'm running OS 5.1.1, unrooted. I've got two 3rd-party file managers, and of course Firefox lets one browse root directories (file:///...).

Thanks.

Edit: I'm trying to use xBrowserSync, but every version I've found won't install, has this problem:

I scanned each at    VirusTotal first, of course.


问:
Android phone does not recognize that there is a backup in Google Drive
I have backed up my phone (LG G7 ThinQ) to google drive and I am trying to restore my app data. The problem is that when I go into the settings app under the backup and restore option, it tells me that there is no backup in the drive. I am running android 8.0 oreo and I was also running it when I made the backup.

I know for sure that I am signed into the account with the backup. I've tried resetting the phone and removing and re-adding the account but it still says that my drive does not have a backup.

What is causing this and how do i fix it?


问:
Easiest way to root Xiaomi redmi 4x with TWRP
I'm trying to root my Xiaomi redmi 4x (Android 7) using TWRP.  I have unlocked the phone,   turned on USB debugging and odm.  It's my first time ever trying and seem to get confused following the instructions I have found on YouTube and Google.  Many seem to have skipped steps or are not very clear.  Can someone please help me with a step by step guide to rooting my phone and the links to download the required apps. I would greatly appreciate it since I have four days trying to figure it out.  My head hurts from it at this point.</p>


问:
Can you block certain commands from a headset?
Many Bluetooth headsets have few buttons for a multitude of functions. Press once for "louder", twice for "next song", doubletap for dial, hold for stop, hold longer for pairing and what not. Especially the "dial last number" is the source of a lot of embarrassment. Can you limit the functionality of those buttons, i.e. disallow any interaction but volume change?

Thanks.