问:
Forcing a minimal font size on Android Chrome without any exceptions
Is it possible to truly, no ifs or buts, force a minimal font size on Android 9, Chrome 78?

Yes, it may break the layout, but that's another problem. I don't even get that far to get Chrome consistently apply text zoom and not to run in certain situations where it refuses to increase the font size.

An example website would be this one: with accessibility options you easily get the font size of the text outside of the beige boxes scaled, but the text inside of the beige boxes simply stays small.


问:
could someone please post a screenshot of the default file structure of the sd card for Android 2.3.5? I

Possible Duplicate:

  Which files/folders on my SDCard are unsafe to delete manually?

I have searched the internet for what I felt would be a simple question.  I have had my Evo for almost 18 months, and I know I will be resetting it soon, probably rooting it also.  But need to clean up the SD card.  Many strange looking folders that were created by apps that were deleted long ago.  If I knew what was supposed to be there by default, then I would have a better chance to figure out what is there that doesn't have to be.

ContentLicense: CC BY-SA 3.0


问:
Permanently Enable Wi-Fi On a Smartwatch
I bought a children android smartwatch, MyKi Junior, running Android 4.2, which is intended for the specific purposes of parenting. I found out that it has a wifi chip that is usually used for detection of the watches' position (for safe zone). I was able to access the settings and connect to ADB. Every time I'm enabling the wifi, it gets automatically disabled. As a result, I only see a glimpse of the available networks. I surmised that there is an internal application that automatically turns off the wifi but I cannot figure out which of the many it is.

My question is if there is an ADB command that can enable the wifi permanently or any other way to enable wifi and bypass the automatic disable.

ContentLicense: CC BY-SA 4.0


问:
Is it legal to invite a friend to my Google family
I would like to invite a friend to my Google family cause there is a song or two she would like to listen to and I am thinking about buying a few movies on that Google account too so I am wondering if I can do that legally without getting into trouble with the law</p>


问:
Understanding Secure Enclave (or equivalent) - Samsung S8+ SM-955F
I'm trying to understand the limits of the Secure Enclave (or equivalent, I'm not certain what its called) on the Samsung S8+

Specifically, does the secure enclave include any features related to time between attempts to access it?

I am asking as my partner has forgotten their pattern lock and is desperate to get certain data on her phone, and the timeout is now up to 30 minutes per guess.   I'm wondering if there are practical ways to bypass this timeout, or better yet brute-force or circumvent the password.  (Unfortunately her phone is registered to Google so "Find my Phone" works, but not Samsung, which appears to mean she can't reset the password without a factory reset)


问:
Vpn Client to connect to Windows 7 VPN
I am looking for a third party VPN client that I can use to connect to my home VPN which is setup through Windows 7. I don't want to use built in Android VPN. Many of the VPN clients I've seen on the market solely connect to their own vpns and I haven't seen one that allows for you to enter custom address and information. I have a rooted Verizon Galaxy Nexus running 4.0.2 with the stock ROM.

Any ideas?

Title: Vpn Client to connect to Windows 7 VPN


问:
Access HCI bluetooth log from Samsung s8
I have enabled the developer setting "Enable Bluetooth HCI snoop log", toggled the Bluetooth setting and restarted the phone. I have not being able to find the log files anywhere and was wondering how to access them.</p>

OwnerDisplayName: Django


问:
How to reset the USB Mode selection after accidentally selecting 'Always' instead of 'Just Once'?
I have an LG-H700. When I plug it in to a computer it typically would should a pop-up asking which type of USB connection mode I want to use. This pop-up would have two buttons "Always" and "Just Once" along with a list of modes including charging and MTP. But not including anything like "Always Ask".

I accidentally clicked on the always button once and now I can't figure out how to get it to reset back to asking every time the device is plugged in.

How do I clear the default USB mode setting so that it will ask each time the device is plugged in?'


问:
Double letters when using keyboard via OTG cable
I want to figure out where the problem is. Unfortunately, didn't find enough information to solve this. Android 6.0.</p>


问:
How does Backup to Google Drive work?
What apps and apps data is backed up? Some apps may use large amounts of storage, how does android decide what to backup?</p>

Title: How does Backup to Google Drive work?


问:
How can I make personal documents on my external SD card visible to the Kindle app?
I have a tablet running Android 9, with the latest version of the Kindle app. (The tablet is a Galaxy Tab A (8.0", 2019), but that shouldn't matter.) It's not rooted.

In the Amazon Kindle app, I've enabled "Download to SD Card" (which causes books I've bought from Amazon to be stored on the external SD card) and "Show Personal Documents in Library".

The latter option makes *.mobi files I've copied into the "Books" folder in "Internal Storage" to be visible in my Kindle library. The path to the folder is /storage/emulated/0/Books.

The external SD card is visible as /storage/0000-0000. Copying *.mobi files into /storage/0000-0000/Books doesn't make them visible to the Kindle app.

Is there a way to copy my own *.mobi file (not purchased from Amazon) to a folder on my external SD card so I can read them with the Kindle app? I'm guessing there's a particular directory path, but a Google search has not revealed what it is.

(I know I can install books by emailing them to myname_blah@kindle.com, but I'm looking for a way to just copy the files to the device.)


问:
If I use Type-C OTG usb HUB + micro Type-B adapter from Type-C, will OTG work through that adapter?
If I use Type-C OTG usb HUB + micro Type-B adapter which goes from Type-C, will OTG work through that adapter? I mean, like this + this.</p>


问:
How to Connect a MIDI Keyboard in Bluestacks android
Is there a way to recognise and use a USB MIDI keyboard (Akai mpk mini) with Bluestacks (Android VM for Windows)?

My Android devices recognise the MIDI keyboard correctly but Bluestacks does not.


问:
My device has files listed as other in one of my old file explorers but I could not access them they are eating my internal memory
Does anyone know how to get rid of these files they will not show up at all not even to anti-virus software but they are using all internal memory I clear up within minutes</p>


问:
Reboot USB Port Without Device Reboot
My phone has been slowly going insane over the time I've been using it. This time around, the USB port is throwing tantrums. It won't let the phone connect to a PC. I've tried different USB ports on the PC (KDE Neon 5.17 User Edition), changing wires, and trying a different PC (Windows 10 Pro). All of them didn't help. Rebooting the phone helps, restoring normal access, but after unplugging the phone from the PC, it won't connect again unless I reboot the phone. Regardless of access, the phone does get charged if connected to the PC.

1) Any idea what is going on with my phone? No recent software installs or any weird things. Phone isn't that old (Lenovo P2a42, rooted with Magisk 20.2 and running AEX 6.7).

2) Is there any way to "reset" the USB port without rebooting the entire phone (similar to how it would be on a PC)? Everything on the internet only shows either changing the default USB configuration to MTP instead of the default "charge only" or resetting the USB port on Windows.

Thank you for your time.

Title: Reboot USB Port Without Device Reboot


问:
OpenVPN is asking for client certificate where it shouldn't
I have imported the client config file to official OpenVPN client for Android.

The config file contains CA cert but no client cert or key. That's fine because i have auth-user-pass directive in it.

But when I try to connect, a window pops up saying:

Select Certificate

This profile doesn't include a client certificate. Continue connecting
  without a certificate or select one from the Android keychain?

If I choose to continue, it connects but this window appears every time I want to connect.

The same profile works fine on Windows (official OpenVPN GUI) and VPN Client Pro (unofficial client from Play Store).

Why it is looking for client certificate when the authentication method is user+pass?

Thanks.

EDIT for JW0914:

Since you are providing wrong information I did a little bit of search and found the answer:

As it is described here the key is to add "--verify-client-cert none" to the server config file.

OwnerDisplayName: Omid Shojaee


问:
Is there a way to get Helium to work on a Moto G7?
I am trying to restore a single game data file to a new Moto G7 via Helium. I've enabled USB debugging, but when I start the desktop app, they don't connect to each other. The desktop app connects just fine to the old phone I'm trying to pull the data off of. </p>


问:
Is it possible to extract App Reviews from the google play store by countries?
Is it possible to extract app reviews from the google play store by countries? I know that this is possible for the apple app store but haven't seen any possibility for the google play store yet. Maybe someone knows how to find a way to see the country of origin for specific reviews and not only the language.
Thank you!</p>


问:
Why FM radio app is limited to FM 108
I just discovered I can listen to FM radio with my phone and a jack cable but I was wondering why is it limited to FM108? I tried another app and it still limited to FM108. The reason I'm asking this is that I would like to receive the international space station SSTV signal but the frequency is FM 145.8 or something like that. My device is an LG G6.</p>

Title: Why FM radio app is limited to FM 108


问:
Restricting access to a single app and preventing access to wifi settings
I'm looking to configure some Android tablets for shared use in a work environment so they can be used as mobile terminals for an ERP system. In case it matters the test device right now is the Samsung Galaxy Tab A 2019 running Android 9 but I'm open to deploying other devices if there's options that work on other models.

The tablets will need to connect to our restricted wifi network which is authenticated individually normally (we don't have shared devices currently) so I was thinking of connecting to the network with a shared/generic user on the admin account and then trying to restrict access to the wifi settings so that shared users of the device can't access the password.

Unfortunately after creating a restricted user I couldn't see a way to restrict access to the wifi settings which has an option to present a QR code for others to be able to access the same wifi network with those same credentials and configuration.

If I use the guest user they don't seem to have any way to open the application that we need and also once they log out all their session data is thrown away which would require a painful setup process on the business application we need to use each time and require a privileged user to intervene.

I also explored pinning the application which does prevent users from directly accessing the wifi settings (and is probably what we'd want anyway as these would only be used for this application) but anyone with knowledge of the unlock credentials (eg swipe pattern/pin/password) for the user would still be able to unpin and access the wifi settings. Because these devices are being deployed across multiple sites this would cause issues as we'd need to expand the group of trusted people with knowledge of these credentials and thus access to the wifi password that would need rotating when any of those people left.

Ideally, I'd like a way to be able to just use restricted profiles without access to the wifi settings/being able to read the wifi password because then we can leave that restricted profile as just swipe to unlock and there's nothing else sensitive on the device. Is there a way to do this? Am I missing a better option for shared Android devices?


问:
Use phone's built-in Visual Voicemail on T-Mobile USA?
Is there any way to get Visual Voicemail working using the Phone (dialer) app on T-Mobile in the USA?

I have two open-market phones - one a factory unlocked handset from China (Unihertz Titan) running Android 9, the other a formerly-locked (to Telstra, if that matters) Galaxy S10+ running Android 10 - and neither can access visual voicemail through their in-box Phone apps. I've never had this problem before, with older Androids (back around the Android 4 days) or with the Windows phones I used until EoL (everything from WP7.x through W10M, VVM worked out of the box perfectly).

T-Mobile has a VVM app on the Play store, but even aside from the inconvenience of needing a separate app for what all my previous phones had integrated, it is... bad. It's rated 2.5 stars, and it earns it (not all voicemails showing up, generally clunky and unreliable).

I've been on the phone with T-Mobile, Samsung, and even Telstra; none could help. On the Titan, the VVM screen always says "Visual voicemail is not activated yet, please try again later". On the S10+, the VVM toglle is just outright missing from the built-in phone app.

I haven't rooted either phone, and they're both running stock ROMs. I have ADB installed, if that's needed.


问:
"Device is reachable" SMS without SIM
I'm using a Huawei Honor P9 Lite with a German carrier and SIM card. My carrier offers the option to send SMS to me, whenever I miss a call. The other way round, whenever someone does not reach me (due to missing network connection or powered down phone), they get an SMS as soon as I come back online, telling them that my device is now reachable again.

Now, something very strange happened.
My touchscreen recently broke (I think, due to temperature stress on a very cold day) and I had to send my phone to repair. Before doing that, I removed my SIM card, SD card, backed-up my phone and made a factory reset.

Today, I was contacted by a friend, who tried to reach me during that time by calling me. A day later, he got a message, that I was reachable again. My question now is, how that is even possible with a factory resetted phone without a SIM card? I cannot rule out that the phone has been switched on by the repair contractors, but I wonder how this service actually works without a SIM card and without my number being physically tied to the phone?

Title: "Device is reachable" SMS without SIM


问:
How to reset MTK engineering mode to the default settings?
2020.1.11 Renewal
Maybe the field of MTK engineering mode is the most mysterious field of the smartphone. It’s like a top-secret. No matter the questions post on anywhere, no one can answer it.

Below is the original question:
I have an old question, until now no one can give me an exact answer. I looked up the question on the Internet many times, but I don't find the answer.
I have an old smartphone, its CPU is MTK6589.
As we knew, the CPU made by MTK has an engineering mode. For example the command ##3646633##, we can make some setting in the mode.
I want to know, what does this mode use for? Just to test the device? Or make some underlying setting?
If I changed the settings, how can I reset it to the default value?
Restore factory setting?
I tried this, but the value in engineering mode can not recover to default.
Flash official firmware?
I tried this. After I flashed it, all the values seem to recover. But I saw some people said that this is just changed the value which it displays, the value saved in CPU can not be recovered.
So can anyone help me?
Thanks.


问:
Home Screen, Recent apps, pull down menu not working multi user nexus 6
Hi two days ago my phone shutdown due to low battery, charged it and powered it on. With the power on came all the issues listed below:

can not switch users (have three user accounts created each with their apps)

home and recent buttons do not work, but i hear the haptic when pressed except nothing happens.

pull down menu does not pull down completely: only displays a few icons and thats about it.

can not switch to debug mode, can not connect to pc.

I have seen similar issues over the internet and looked for over 18 hours but so far none has worked. the ones i have tried are:

Downloaded the Nova launcher app but doesnt work for me as there is
no SetupWizardTestActivity. i have one activity and that is the
carrierSetupActivity or the name is similar to that.

tried the Navigation bar and Activity Launcher apps.

Tried wiping the cache and rebooting in safe mode

If possible I do not want to factory reset the phone, but if there is no other alternative. Then it will be very helpful if someone can tell me

how to back up the accounts data for all the three users and how best
  I can retrieve it after the reset. Also how to switch the user for the time being so that i can at least manually back up information from other users - if there is a way.

All suggestions are welcome. thank you all in advance. Am using the nexus 6 running android 7.1.1


问:
How can I record call using c code(c executable that can run on Android-Linux) on rooted Android device?
I want to record a call that is called by my application for the call test purposes. We record a call and compare it with a high-quality WAV file to determine the call quality. But the call recording APIs are not working anymore in the latest Android. For testing, we provide a rooted device to the client. So, I am thinking if we can record a call at the system level.

I have already tried it with Superpowered SDK on Android Q but no luck.

I have found a Magisk Module called callrecorder-skvalex which is already doing what I need.

If anyone can list the steps that are required to achieve this goal, I will be very thankful to him.


问:
How to find if the processor has hardfloat
My mobile got MSM8953, App, Droid info says:

```<code>Instruction Sets: armeabi-v7a, aremeabi
CPU Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 sha3 crc32
</code>```

How to say it got hardfloat or not?


问:
How to decrpytion from twrp
Firstly, I need to say my specific problem so that this question won't marked as duplicated.

I've an android phone that has already root access and bootloader lock open. And recently I dropped it and its screen (lcd panel) was blacked out and no feedback about screen. But locally its touch panel %90 of screen was working because someone calls me it can answer and rejecet call if you swipe it from its oginal coordinates of screen.

However, I connect it from Vysor app to see screen and it was successfully done its process but I couldn't backup at that position because of time limitation about my life. A day later, I tried it again but not worked. After  this I reset it but now it ask me to enter password manually for first time and fingerprint doesn't work. At this step I forced to power loss (by holding power button of phone) to start it from bootlader. And I started it from bootloader and boot from my previously used twrp.img version that has ability of decrypt password and was confirmed previously time before this happened. After this step it decrypted successfully and I deleted /data/system/gatekeeper.pattern.key after I backedup 58 bytes file. Now I have backup of .key file. After that I reboot phone to open normally but it doesn't ask password also doesn't decrypt userdata partiton. And stuck on Phone is starting... screen.

Now, I realised that I set password again with same value from when system was awake. so my partition was encrypted before it was successfully decrypted. So if my password is true the TWRP security codes (that check if is successfully decrypted it) but it fails even if I use correct password. So I need to find algorithm of decryption and I will apply algorith twice.

In short, I need somehing like that but it won't check if password correct or not

twrp decrypt $PASS ; twrp decrypt $PASS.

otherwise it will fail on first time so second time and so on it will repeats.

Title: How to decrpytion from twrp


问:
Android 5.1 prevent USB Ethernet interface to go into sleep/suspend in AC loss (PM)
We are using MT8163 based Android device which is connected with TP-link based USB-Ethernet device over MT8163 USB host.  Our requirement is to prevent the TP-link USB-Ethernet dongle to enter sleep mode and keep it available without suspending in case the MT8163 loses AC power. What are the changes w.r.t Android or AOSP to achieve this functionality

Thanks,
Sai


问:
Ramos W16 Android Usb driver
Have an issue with my Ramos W16. Upgraded to the last firmware. Now I want to root device, but can't install drivers. Here is hardware Id's USB\VID_18D1&PID_4E22&REV_0231 USB\VID_18D1&PID_4E22

OS: Windows 7 x64. In Device management tablet is visible as USB Composite Device. I've tried a bunch of different drivers, but they don't work. Somebody help me! Tried USBDeview - deleted all drivers.

Title: Ramos W16 Android Usb driver


问:
Connecting HDD to PC having copied files to HDD from phone triggers error check
I have a brand new, formatted with exFAT 1TB external hard drive which I'm connecting to my phone via a USB hub. I can copy files to it no problem.

However when I connect to my Windows 7 PC it says that there is an error and tries running the Error Checking tool. It doesn't find any issue however.

My question is why does it think this and how can I avoid it?


问:
Update firmware
I have a Samsung Note 9 SM-N960F / DS which I bought in Germany! The first time, the phone was used in an Southeast Europe (SEE) country, so it has an SEE firmware. Service provider shows: SEE/SEE, DBT/DBT on the third line.
So, my question is, can I / should I install DBT firmware?
(What I want to do, is to upgrade Android 9 SEE to Android 10 DBT. Should I do it?)

Thank You

Title: Update firmware


问:
Three semicircles on top os screen Android pie?
Everytime i open my menu on my asus zenfone max m2 stock android these three semicircles appear on the top at random does anyone has a clue what are these?


问:
strange message from phone number but it was not sms
Today I received strange message. My phone vibred and on locked screen on top bar I saw identical icon like when I receving a traditional text.
When I unlocked screen than I saw something like popup (or modal) but fixed to bottom. In header was a phone number. In center was a text but not all it was truncated. In bottom section was two buttons cancel and save.
unfortunately i pressed cancel button and now I can't find this message in system.
I thought that it traditional sms so I didn't save this.
there was something about the administrator of my personal data in the content, so it's important to me
Anybody can tell me where I can found this message or what kind of message it is? From network operator?</p>


问:
What does Kindle Fire Optimizing Storage and applications actually mean?
Every time I boot my Kindle fire 10 7th gen, it does this. Sometimes displaying "Optimizing Storage and applications" with progress bar for up to 10 minutes.
The flippin thing runs out of battery while unattended often so this issue keeps arising.

Does anyone know what its actually doing?

Common usage is:
View a web page or two. Watch a YouTube video.
Rarely do I Install new apps or download data.
There isn't much new on the drive to optimize between reboots!

If there are some logs to review, Id love to know which ones and I could post snippets here.


问:
System firewall setting?
I travel and live with someone all the time. Cast is enabled across the system and it's too easy to inadvertently cast something... embarrassing (just a click and it's on the TV). I found this design okay when I used to live alone, but now this is an unwanted feature to me.

Android/Chrome developers didn't make a setting that disables Casting(how could they). I blocked mDNS port on my laptop, but I couldn't find a way to disable Cast on my Android phone. I know there are firewall apps that need root access. I don't want to install any apps or root my phone. Is there a way to change firewall settings on Android? An interface to Netfilter module(if Android uses this, that is) like firewall-cmd or iptables? A standard way preferably so I can use this trick on all the Android phones I purchase through my life!

Title: System firewall setting?


问:
Is completely isolated multi-tenancy possible on Android comparable to Linux?
Is it possible to have on an Android device:

(permission based or virtual volumes) isolated data storage?

user specific, independent device usage configuration?

simple user relogin?


问:
/system/media Directory
First of all, I am currently learning about Android security and wasn't sure if to post it on the Android or Security StackExchange, either way here is my problem...

Investigating the content providers of a particular app, I found out that:

content://media/internal/images/media

could be queried. After querying it, I obtained the following files,
/system/media/video/edge.png and /system/media/video/edge720p.png

My question is, what is this directory for, and what are these files used for? Is it dangerous that this path can be queried?

Thanks

Title: /system/media Directory


问:
Wifi router disappearing after disconnecting rom VPN In Android
Every time I use a VPN and disconnect from it my Wi-Fi router disappears from the Wi-Fi network list.
This happens on my Android Pie phone and tablet.

I can see all other routers but not the router I was using. After I do forget the Wi-Fi and manually enter SSID and password it doesn't bring up the router. It comes back after a long time on its own.

This is not a problem with my Wi-Fi router because I can connect to it in my Windows 10 laptop and Ipad

Please help.

OwnerDisplayName: Bobby Sha


问:
Asus Zenfone Max Pro (M2) forced into CSC Fastboot Mode
I have Asus Zenfone Max Pro (M2) running on Android 8.1 Oreo and it was working fine, no viruses, no malware. When I was playing a game on the phone, I put it on the side, then I went to play a game on my PC. When I came back to my phone, it was turned off although it had plenty of battery left. When I tried to turn it back on, it launched into "CSC Fastboot Mode" and it will not boot normally anymore.

I have not rooted my phone either or even tampered with it. Currently, it's plugged in on the PC and in recovery mode. While the phone doesn't boot into Android, it does boot into recovery when pressing down on launch. When it's plugged in (when turned off) on the PC or in a wall plug, it turns on by itself.

I've already been searching for some similar options, but the closest post to the problem of mine was not solved or I think so:
What is CSC Fastboot Mode, and how to get rid of it?


问:
Trying to alter already modified recovery partition on tablet
I have an Android tablet (4.2.2) where the recovery has been modified to only give the reboot option when you boot into it. What is the best way to unlock the other options? Do I need to flash a new recovery partition? Or is there some way to open and edit the available options in the current one?</p>


问:
How to stop automatic refreshing?
If I'm seeing a video on YouTube app, a website in Chrome, Firefox or checking some thread in Stack Exchange app and I minimize the app to open another app or go to home, then I return to previous app happens that automatically is refreshing the app (Youtube, Chrome, Stack Exchange or any other).

For example, if I'm seeing a video for 5 minutes, go to another app and then return to YouTube, automatically loads the same video but from the beginning, not in minute I stopped it.

The phone where this undesired refreshing happens is Huawei and has Android 9 and EMUI 9.1.0.

Another phone with Android 7.1 that is not Huawei and doesn't have EMUI, for example, doesn't make this kind of refreshing.

Is there a configuration option to stop this refreshing? Thanks in advance.

Title: How to stop automatic refreshing?


问:
Can an Android device be used for 2FA for an Apple/iCloud account?
Can an Android device be used for 2FA for an Apple/iCloud account? Google didn't return anything useful.

(Couldn't find any appropriate tags to use)


问:
waiting for device Superoot Galaxy Nexus
I decided to super root my galaxy nexus I9250 and i followed this tutorial.  I did it up to 7 in which the command promt tells me <waiting for device>

How do i proceed?  the device is connected


问:
Access the Digital wellbeing information from local device
Google has implemented Digital wellbeing as part of Android pie through its Beta experience. This app captures user interactions and creates nice charts for users to understand how much was screen on time and how many times the phone was unlocked and how many apps were used in what proportion during the day, in a week etc.

I wanted to view this data not as a chart but as raw format. Where can I find this information on local device?

If not locally available can we download it from any google service?

Please suggest.


问:
Prevent Google Contact Sync in Work Profile on Android 10
Imagine the current situation:
With the help of Shelter (https://github.com/PeterCxy/Shelter) I created a work profile. I want to use this work profile as a container with less personal data than my main profile.
For this reason I deactivated the "com.google.android.syncadapters.contact" app.
With this setup I was able to add my Google account inside the work profile without having my contacts get downloaded on the device in this profile.

On Android 10 however this doesn't work anymore. The syncadapter is still deactivated (frozen) but the contacts sync nevertheless.

I'm aware of the fact that I can manually disable the sync in the settings of the work profile.
However I need a solution that a) can prevent the sync before adding the account (since the first sync already happened when I add the account and then go to settings) and b) can be done programatically since I'm writing my own app based on this.

So my question is if any of you pros know where the contact sync mechanism (of a google account) is defined since Android 10 and if you see another possibility to disable this again.

Regards,
David


问:
removing privileged permissions from pre-installed apps
Many pre-installed apps get privileged permissions, which are defined in /etc/permissions/privapp-permissions-*.xml files. Given a rooted device, it would be possible to edit those files in order to remove those permissions (provided the ro.control_privapp_permissions buildprop is set to log – as otherwise, to my understanding, this action would lead to the device no longer booting, for "security reasons"; see developer documentation for details).

Not knowing the implications of such an act, I hesitate going to try-and-err (apart from the fact that my devices are running a custom ROM where I rarely have the need to do so). For privacy and security reasons, this might be useful, though – especially when seeing snippets like this:¹

```<code>  <privapp-permissions package="com.facebook.system">
    <permission name="android.permission.REAL_GET_TASKS"/>
    <permission name="android.permission.INSTALL_PACKAGES"/>
    <permission name="android.permission.DELETE_PACKAGES"/>
    <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
  </privapp-permissions>
</code>```

So I wonder if someone could enlighten me/us here on the implications of e.g. removing the two lines permitting FB to (un)install packages – or to re-enable apps the user might have disabled:²

Would removing the corresponding lines (or deleting the entire file) effectively make it impossible for the related app to obtain those permissions (accepting the risk of the app crashing if proper exception handlers are missing)?³

Are there any side-effects to be aware of (apart of mentioned app-crashes)? If so, would restoring the file to its original state be sufficient to fix them?

Would those changes be permanent – or if not, what might revert them (I'd expect e.g. a system update/OTA would replace the files)?

Are there any other things to be aware of in this context?

Note that I'm asking this from the perspective of a "power-user", not from a development point of view (I'm no Android developer anyway).

¹ on a device I had here for investigation

² the latter might be interesting to apply to the Play Store app, which seems able to re-enable itself as I experienced

³ some apps might ask the user to grant it again via "runtime permissions", esp. if they are distributed via Play as well?


问:
Append code before phone number if call is made from SIM2
I've been trying to find a way to do this for weeks now but I just can't seem to find a solution.
In my phone (Huawei Nova 3) I have two SIM cards, private (SIM1) and work (SIM2).
SIM2 has a dedicated dialer app which basically appends a specific code (which never changes, 154784) before the number I want to call.

Phone Number: 070-1111-2222
Called from within the app becomes: 1547847011112222

The problem is this dialer only supports SIM2 and currently I have to use two different dialers depending on which SIM card I want to call from.

What I'd like to do is to use the default dialer, which prompts me to choose a SIM card whenever I want to make a call and make it so that it automatically appends the code above (154784) if I choose SIM2. I would like to avoid using the other dialer app altogether.

Is it something that can be done or should I just give up on it?


问:
Google Pixel Bootloader unlock
I have a pixel phone struck in boot loop (just show google logo and restarts)!

I didnt enable oem unlock and usb debugging !

I want to unlock the phone to reflash the phone!

My Recovery also dont work! just stuck at google logo!

I have tried all the google search but there is no direct answer for this!

most of the fastboot command errors comes like this

```<code>FAILED (remote: 'oem unlock is not allowed')
fastboot: error: Command failed
</code>```

Please help as I cannot buy new phone now

Thanks,
Sharan

Title: Google Pixel Bootloader unlock


问:
Define storage caps per app basis
Is there any way to define how much storage space an app can use?

I'm tired of uninstalling apps, deleting apps data and deleting files to see the newly freed space begin swallowed in just  some hours by those "storage abusive" apps!

The worst of all is that I have real needs with some of those apps.
Take Outlook for example, it wastes space caching old e-mails that I'll not read and it lacks any settings to control this behavior. I use it with my personal and work accounts and cleaning its data means going through the authentication steps again... for each of the accounts... on a daily basis... and it's just one of those problematic apps...

Using the "delete things" method repeatedly\constantly looks just dumb, a poor made process design choice...

And i don't care about loss of functionality, they'll have to deal with whatever space i judge them worthy having. =)

Title: Define storage caps per app basis


问:
Get photos back from broken/locked android phone
Is there any way to open mobile phone and get it's ROM memory out and connect it with pc or something and get your files(photos and text files) ?</p>

OwnerDisplayName: John Doe


问:
android ".backup" into data files
How can i get all my backup data into (data folder) ??

Here is my list of data (i run this command with (file *)

```<code>userdata_20200109_180356.backup:   data
userdata_20200109_180356.backup1:  data
userdata_20200109_180356.backup2:  data
userdata_20200109_180356.backup3:  data
userdata_20200109_180356.backup4:  data
userdata_20200109_180356.backup5:  data
userdata_20200109_180356.backup6:  data
userdata_20200109_180356.backup7:  data
userdata_20200109_180356.backup8:  data
userdata_20200109_180356.backup9:  data
userdata_20200109_180356.backup10: data
userdata_20200109_180356.backup11: data
userdata_20200109_180356.backup12: data
userdata_20200109_180356.backup13: data
</code>```

Can some one help me with that? how can i do this into data files.

Title: android ".backup" into data files


问:
What are the privacy downsides to using Google's Gboard keyboard for Android?
For several reasons, I do what I can to avoid using Google products.  But I do currently use the Android OS (at least for now).

One thing I like about Android is being able to use any keyboard app you want.  I've done everything I can to avoid using Google's Gboard keyboard.  I've tried more than a half-dozen keyboard apps, but the one I like the most is Gboard (and I only looked at it after being dissatisfied with the other keyboards I tried).  It's word swipe recognition seems more accurate than the other keyboards I installed.  Also, I find the ability to search for emoji by name to be a useful feature.

But Google hasn't earned my trust, and my lack of trust in them is largely based on their historical behaviors as well as statements made by some of their top executives.

What are the privacy downsides to using Google's Gboard keyboard if it is allowed data access through a firewall?

What if data access to Gboard is denied via a firewall (but connections to Google are still mostly allowed for the rest of the Android OS, Google Play Services, and the Google Play store)?


问:
How do fonts / fallback fonts work in Android 9+?
Short story
I want to add a fallback font to my OP6t running Android 9 to support poorly updated / coded legacy apps (unlocked, and rooted with Magisk)
- I am looking for a system wide solution
I am not having any luck figuring out what I am doing wrong

Long story
Android 4-8 I just rooted the device, copied a modified DroidSansFallback.ttf and corrected the permissions -- now I am at Android 9 and this doesn't appear to work

I have tried (via Magisk Module)
- injecting the font to system/fonts
- injecting system/etc modified fonts.xml & fonts_slate.xml

Any help suggestions or ideas is greatly appreciated!


问:
Android Device Partition table not recognized by any of the partition management tools
I have an Android 8.0.0 device (https://www.tvbox-manufacturer.com/product_category/fire-tv-stick/) with eMMC as a storage medium.

The eMMC is removable (BGA socket on the Board).

The device boots and works perfectly fine with the eMMC.

However, when I connect the eMMC chip to a Linux machine (using eMMC to USB converter), the partitions on it are not recognized by the Linux Machine (Ubuntu 16.04).

I have tried the following tools to list the partitions to no avail:

gdisk

cgdisk

parted

Following are the logs (device is /dev/sdd):

```<code> - lsblk

Last login: Tue Jan 14 11:39:49 2020 from 192.168.21.145
flash@nandflash:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk
├─sda1   8:1    0  29.8G  0 part [SWAP]
├─sda2   8:2    0     1K  0 part
├─sda5   8:5    0   476M  0 part /boot/efi
├─sda6   8:6    0 190.8G  0 part /
├─sda7   8:7    0  95.4G  0 part /var
└─sda8   8:8    0 615.1G  0 part /home
sdb      8:16   0 931.5G  0 disk
├─sdb1   8:17   0  14.9G  0 part
├─sdb2   8:18   0  95.4G  0 part
├─sdb3   8:19   0   977M  0 part
└─sdb4   8:20   0 820.3G  0 part
**sdd      8:48   1  14.7G  0 disk**
sr0     11:0    1  1024M  0 rom
flash@nandflash:~$

 - gdisk

flash@nandflash:~$ **sudo gdisk /dev/sdd**
[sudo] password for flash:
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries.

Command (? for help): p
**Disk /dev/sdd: 30777344 sectors, 14.7 GiB**
Logical sector size: 512 bytes
Disk identifier (GUID): 1D109CAC-AD7E-4231-A398-D1B1FB515752
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 30777310
Partitions will be aligned on 2048-sector boundaries
Total free space is 30777277 sectors (14.7 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name

Command (? for help):

 - cgdisk

    Warning! Non-GPT or damaged disk detected! This program will attempt to
convert to GPT form or repair damage to GPT data structures, but may not
succeed. Use gdisk or another disk repair tool if you have a damaged GPT
disk.

                         Press any key to continue....

 - parted

    flash@nandflash:~$ sudo parted /dev/sdd
GNU Parted 3.2
**Using /dev/sdd**
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Error: /dev/sdd: unrecognized disk label
Model: Generic STORAGE DEVICE (scsi)
Disk /dev/sdd: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
(parted)
</code>```

Can anyone please shed light on why this might be happening?

The Android device boots just fine with the same eMMC.

The output of the file -sk command is shown below:

```<code>flash@nandflash:~$ sudo file -sk /dev/sdd
/dev/sdd: data
flash@nandflash:~$
</code>```

Adding the hexdump:

```<code>00000000   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
.............................................................  ................
00000190   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
000001A0   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
000001B0   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
000001C0   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
000001D0   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
000001E0   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
000001F0   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
00000200   78 1E BB 3F  C4 C2 B2 3F  C6 DC 9B E6  0B D9 0E 67  x..?...?.......g
00000210   EA 82 D0 91  53 2F 05 91  73 A2 9C CD  2D F4 E1 DF  ....S/..s...-...
00000220   0E 7B 19 88  85 04 DC F9  AD B0 A8 B2  AD 4B 81 E5  .{...........K..
00000230   F3 4C F3 9C  9F 51 E4 E9  DF 0B ED 83  71 E3 31 75  .L...Q......q.1u
00000240   D4 F9 A4 51  CD 4A E5 1C  DE B6 42 57  EC 32 59 C5  ...Q.J....BW.2Y.
00000250   75 1D F6 9A  12 6E 6C BD  DD FD 8D 0B  3A 8D E3 9A  u....nl.....:...
00000260   9A 3E 2F 2E  8D EC 9C 0A  32 0D 9F 57  3D C5 3F 09  .>/.....2..W=.?.
00000270   6E 7F 18 27  4F 5E 89 CF  55 90 B9 7F  36 9E 68 90  n..'O^..U...6.h.
00000280   96 41 AC C1  44 08 4C E9  A3 83 08 E7  92 E9 E1 62  .A..D.L........b
00000290   14 2D 6D 36  5C 36 12 7D  D4 07 01 22  BA 56 06 47  .-m6\6.}...".V.G
000002A0   16 66 C0 6A  B4 A5 31 A8  92 93 52 7C  E6 61 6C DB  .f.j..1...R|.al.

</code>```


问:
Tagging images/photos for quick searching
I've got a bazillion images that I have no time to scroll for if I need to show something, and I'm considering to give them tags to identify them.

For example, I have a photo of a receipt. I want to add tags of the name of the store-purchased, name of the brand, name of the item. So if I have to show an accountant or tax guy, I can quickly retrieve the image using its tags.

Is there any way to tag photos and later search for them? 3rd-party apps are also allowed.


问:
Monitor and identify which apps create a specific file/directory
From time to time, there is a directory (and files inside of it) that is created on the internal memory of my device. I keep deleting it, but after a few days/weeks, it's back. The folder in question, by the way, is Tencent. I already uninstalled the game associated with them long ago, but the directory keeps popping up.

I would like to know what other app is creating it. I don't have that many apps, mainly social media ones and tools, and I think they are only associated with games.

Searching around, I found an app that logs all accesses to files of the filesystem, but it doesn't show what app is doing it.

The answer from Software to monitor file owner is not going to work in my case because these files are all 0 bytes so it's way too fast to catch the app creating them. Not to mention that the creation time is random. It could take days or weeks for the app to create it again.

Anyone have some good ideas before going into detective mode as last resort? I'm firstly asking for an app because that would be the easiest way to monitor the filesystem.

PS: My device is rooted.


问:
Help me with correct cpu / rom file
I buy a phone from Ebay, i flashed the phone with wrong rom's in Smart Phone Flash Tool. then i flashed the phone i check the Bootloader off. so i don't flash the preloader.

I searched around and i found close to the phone and it was MT6735M without error in Smart Phone Flash Tool. But the phone still does not boot up, without success.

I asked on this forum i another topics, he help me to get preloader.bin out of my phone, now i have the preloader.bin.

What the problem i can't found the right rom right now.

The name is: (GSM UNLOCKED 4G LTE 6.29" Waterdrop Screen Smart Phone Android 9 Fingerprint ID) from Ebay

i get confused:

```<code>Before i flash the Phone it says (MT6595)
I got booted it op in mode: and it says (MT6735)
The buyer says (MT6575)
WwR MTK says: CPU type: (MT6752)
</code>```

Can some one help me with the right rom? i hope you also not get confused as i am. Tell me if you need more info about the topic.

Title: Help me with correct cpu / rom file


问:
Removing DRM from android using root
I would like to know what would one have to do to remove DRM (Digital Restrictions/"Rights" Management) completely from an Android phone one has root access to.

So far I have thought about removing /etc/drm, /etc/dcmrcm and /system/bin/drmserver

Thanks in advance!

Title: Removing DRM from android using root


问:
android keep screen on while on call on Android 8.0.0
I guess I have a problem with the proximity sensor. The screen turns off when I start a call but it's impossible to turn it on again. The only option left is to hard restart the phone.

I'm using right know the power button to ends call. Still, it's impossible to manage voice messages (delete or save them) or to interact with any other automated call.

I'm not able to find settings for incoming calls as other posts mention and apps such as Screen On do not seem to work.

Any idea of how to keep screen on while on call on Android 8.0.0? Maybe using a particular call app?

Best,
Rafael


问:
Does the Android Complete Backup in debug functions is real "COMPLETE"?
My android phone is going wonky since I washed its surface yesterday(Hey, where's my IP68?), cannot picking up any WIFI or 4G signals even I restart or go into safe mode(my SIM card and WIFI are good on other device). Now I'm trying to find a way to do the COMPLETE backup of my phone before I can do further actions like reset to factory default.

When I look into the debug mode, there is a "Complete backup to my PC" function got my eyes, and I'd like to know is it really COMPLETE? like I can back to my usual use immediately without re-enter my APPs login credentials after restoration?


问:
Set a password at boot before recovery mode on Android Q Huawei P30 Pro
on my old cellphone, I could set a password that was asked at startup to protect it I did not find any similar setting in Android 10

I need help to properly secure my cell phone in case I lose it

OwnerDisplayName: Pierre-Olivier Pignon


问:
Unlock Huawei BootLoader- Is brute force the only way now?
Problem

So I wanna unlock the BootLoader on my Huawei Mate 9 to install LineageOS on it. I already read that Huawei stopped giving BootLoader codes. Is the only way (for free) now, to brute force all possible codes?

Brute forcing method

I would write a simple Python script that iterates through all numbers (16 digits) up to 10^16 and performs the corresponding command. My CPU cores have 3 GHz, so it would only take about 55 Minutes (10^16 / 3.000.000.000).

But I don't know if this is possible, how should I check if a device is unlocked using Python? And does the device get locked after a few attempts?

Here's a script made by someone else, it would need too long.

Any advice or help would be appreciated.


问:
How do i remove the "Pre-LockScreen" before pattern unlock on Android 9.0
Is it possible to remove the "Pre-Lock Screen" on android 9.0. Basically when i press the power button to wake my phone what displays is a Grey Co loured Lock Screen showing the time and Date, if i scroll this up it then asks me to fingerprint unlock or pattern unlock.

Kind of annoying because if i want to glance at my notifications i need to first swipe up, then when it requests the pattern hit the back button to display my lockscreen background and my notifications ect.

The First Image display the Pre-lock i want to remove and the third is where i want it to be whenever i press my power button to wake my phone


问:
ICS - Automatically syncing all exchange account folders
The standard e-mail client of ICS offers greater flexibility in choosing the sync. settings for individual folders of an exchange account.  I use an exchange server for my e-mail and use several sub folders on a regular basis.  Is there anyway for me to set that all folders automatically sync using the account defaults (push at all times)?  As it stands, I have to individually change the sync options for each individual folder by entering it and changing the settings.  This is very time consuming and something I'm keen to avoid in the future with new folders.

Many thanks,
Rich


问:
Why `diag_mdlog` not able to write on `/sdcard` if it is fired from an Android App that has write permissions?
I am getting a weird behavior with diag_mdlog executable. I am executing it from my Android app as

su -c /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg

The issue is:

if the android app has granted android.permission.READ_EXTERNAL_STORAGE or android.permission.WRITE_EXTERNAL_STORAGE then it exits with permissions denied error as the following logs:

```<code>01-20 17:56:35.403 19087 19087 E Diag_Lib: diag_mdlog: command = o
01-20 17:56:35.403 19087 19087 E Diag_Lib: diag_mdlog: command = f
01-20 17:56:35.403 19087 19087 E Diag_Lib: diag: No Session is active for the given mask
01-20 17:56:35.403 19087 19087 E Diag_Lib: diag_mdlog: Error creating: /sdcard/abc, errno: 13
01-20 17:56:35.403 19087 19087 E Diag_Lib: diag_mdlog: Attempting to use default directory
01-20 17:56:35.403 19087 19087 E Diag_Lib: diag:In main failed to create xml file
01-20 17:56:35.403 19087 19087 E Diag_Lib:
01-20 17:56:35.403 19087 19087 E Diag_Lib: diag_mdlog: Continuing with default directory path /sdcard/diag_logs/20200120_175635
01-20 17:56:35.403 19087 19087 E Diag_Lib: diag_mdlog: Unable to create directory, errno: 13 Exiting....
</code>```

OTOH, if the app has not granted both the permissions then it works fine as the following logs:

```<code>01-20 17:57:38.258 19364 19364 E Diag_Lib: diag_mdlog: command = o
01-20 17:57:38.258 19364 19364 E Diag_Lib: diag_mdlog: command = f
01-20 17:57:38.258 19364 19364 E Diag_Lib: diag: No Session is active for the given mask
01-20 17:57:38.259 19364 19364 E Diag_Lib: diag_mdlog: Warning output directory already exists: /sdcard/abc
01-20 17:57:38.259 19364 19364 E Diag_Lib: diag_mdlog: Proceeding...
01-20 17:57:38.270 19364 19364 E Diag_Lib:
01-20 17:57:38.270 19364 19364 E Diag_Lib: diag_mdlog: Diag_LSM_Init succeeded.
01-20 17:57:38.270 19364 19364 E Diag_Lib:
01-20 17:57:38.270 19364 19364 E Diag_Lib:  REMOTE PROCESSOR MASK 0
01-20 17:57:38.270 19364 19364 E Diag_Lib: diag:kernel supported: NUM_PERIPHERALS = 6, DIAG_CON_ALL: 127
01-20 17:57:38.271 19364 19364 E Diag_Lib:  logging switched
01-20 17:57:38.271 19364 19364 E Diag_Lib: Output dirs /sdcard/abc --- /sdcard/abc
01-20 17:57:38.271 19364 19364 E Diag_Lib:
01-20 17:57:38.271 19364 19364 E Diag_Lib: diag_mdlog: Reading mask for MSM, proc_type: 0
01-20 17:57:38.271 19364 19364 E Diag_Lib: Reading the mask file: /sdcard/Test.cfg
01-20 17:57:38.271 19364 19364 E Diag_Lib: diag: Determining contents of directory /sdcard/abc for circular logging ...
01-20 17:57:42.446 19364 19368 E Diag_Lib:  creating new file /sdcard/abc/diag_log_20200120_1757421579523262440.qmdl
</code>```

Now, if I will deny write permissions from Android settings then I will get further error logs as the following:

```<code>01-20 18:00:18.799 19364 19368 E Diag_Lib: diag: In log_to_device, error writing to sd card, Permission denied, errno: 13
01-20 18:00:18.799 19364 19368 E Diag_Lib:  failed to write to file, device may be absent, errno: 13
01-20 18:00:18.799 19364 19368 E Diag_Lib:  File open error, please check
01-20 18:00:18.799 19364 19368 E Diag_Lib:  memory device -1, errno: 13
01-20 18:00:18.800 19364 19368 E Diag_Lib:  File open error, please check
01-20 18:00:18.800 19364 19368 E Diag_Lib:  memory device -1, errno: 13
</code>```

Update 1
I have just tried to play with quotes around the command and it has following result:

```<code>
DL is diag_mdlog logs
PL is java.lang.Process :: error stream logs

# Samsung S10 5G
    * Read/Write permissions GRANTED

        - su -c /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg
        DL: - diag_mdlog: Unable to create directory, errno: 13 Exiting....

        - su -c '/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg'
        PL: - /system/bin/sh: /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg: not found

        - su -c `/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg`
        DL: - diag_mdlog: Unable to create directory, errno: 13 Exiting....

        - su -c "/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg"
        PL: - /system/bin/sh: /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg: not found

    * Read/Write permissions Denied

        - su -c /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg
        * Run FINE.

        - su -c '/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg'
        PL: - /system/bin/sh: /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg: not found

        - su -c `/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg`
        * Run FINE.

        - su -c "/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg"
        PL: - /system/bin/sh: /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg: not found

# Mi K20 PRO
    * Read/Write permissions GRANTED

        - su -c /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg
        DL: - diag_mdlog: Unable to create directory, errno: 13 Exiting....

        - su -c '/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg'
        PL: - /system/bin/sh: /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg: inaccessible or not found

        - su -c `/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg`
        DL: - diag_mdlog: Unable to create directory, errno: 13 Exiting....

        - su -c "/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg"
        PL: - /system/bin/sh: /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg: inaccessible or not found

    * Read/Write permissions Denied

        - su -c /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg
        * Run FINE.

        - su -c '/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg'
        PL: - /system/bin/sh: /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg: inaccessible or not found

        - su -c `/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg`
        * Run FINE.

        - su -c "/vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg"
        PL: - /system/bin/sh: /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg: inaccessible or not found

</code>```

Update 2
I was just wondering to run it in background process with

su -c /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg &
  but it is also not working.

Even creating the following shell script at /system/script/ with giving 755 permissions and executing it doesn't help me.

exec_diag_mdlog.sh:

```<code>raphaelin:/system/scripts # cat exec_diag_mdlog.sh
#!/system/bin/sh

diag_mdlog -o /sdcard/oem_logs -f /sdcard/Test.cfg &

raphaelin:/system/scripts #
</code>```

Any suggestion to let the command will not execute in the context of app?

Any solution to this problem?


问:
How can I clear the "Auto Backup" data to get a clean install?
When I delete and then later re-add an app, the app doesn't start "clean".  Instead it "remembers" things from the last time the app was installed, which I do not want.

I have tried settings > (specific app) > storage > clear data  and settings > (specific app) > storage > clear cache, but despite those actions, there are things the app remembers.  And even if I delete the app at that point, then reinstall it, it remembers things, so this is not a clean install.

How can I delete the app data or clear the app data or remove the app data that is saved (and later restored) by the Android Auto Backup process?


问:
Why can I still not receive OTA updates after flashing stock firmware on my Moto G7?
After purchasing a Motorola Moto G7, I rooted it using TWRP and Magisk.  After a few months of having it rooted, I decided to undo the process in order to restore the ability to receive OTA updates.  I flashed official firmware and re-locked the bootloader, but I still get the boot warning saying that a separate OS was loaded and that it's a security risk (yellow).  After checking the system Settings, I discovered that I still couldn't receive updates either.

Relevant Information

Product/Variant: river XT1962-1 64GB PVT

Firmware/OS: RIVER_RETAIL_9.0_PPOS29.114-134-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

Followed this process to restore stock firmware: manually update G7 using fastboot | Moto G7

I'm not sure if this makes any kind of a difference, but I did encounter an issue when locking the bootloader:

```<code>root@ThinkCentre-M900z:/home/user# fastboot oem lock
...
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [  0.003s]
finished. total time: 0.003s
</code>```

After the above command failed to re-lock the device, I tried using fastboot flashing lock and that seemed to work.

```<code>root@ThinkCentre-M900z:/home/user# fastboot flashing lock
...
(bootloader) Phone is locked. Rebooting phone.
OKAY [  0.004s]
finished. total time: 0.004s
</code>```

When I run fastboot oem lock after having used flashing lock, it gives a message stating that the bootloader is already locked.

I have two theories so far:

The firmware I flashed is incorrect

The bootloader is not actually locked (this seems improbable)

Is there any way to fix this?  Or am I doomed to manually installing OTAs until I get a new phone?  Please let me know if I left out any important information.

Any help is appreciated.


问:
What and when clears content of /data/local/tmp?
I plan to copy and start precompiled binary from  /data/local/tmp and I would like to get any information one edge cases that might cause some potential issue, like - what and when this folder being cleared out during either normal OS operation or reboot? Okay, the reboot case is obvious but what about normal operation? Do these "Clear cache" tools normally clear it out as well? Any default services/daemons that do that?</p>


问:
I have an old Xcover 3 and want to access all files as there are 3 GB I cannot access
Is there a way I can access all or nearly all files including the operating system files?

I would like to see what is eating up space in it. I kept deleting files and without downloading anything or taking photos and more and more space was taken up until the phone was full again.

I ended up installing an SD card and removing a lot of apps I don't use much.
It only has 8GB internal memory, 4.53 GB of space shows up when connected to a PC which makes sense with the system memory being 3.13GB.

I have now deleted and removed as much as I can and it shows 1.38 GB free. When I first got it there was much more free space than that.

It is running 6.0.1 and shows:

system memory 3.44GB

used space 3.13GB

available space 1.38 GB

which adds up to 7.95 GB.

I would like to know what is in the 3.13 GB used space as all the files and folders I can see with a PC is 24 MB.

dialing *#9900# (Delete dumpstate/logcat) has no effect


问:
Charge and USB flash drive through same port
I have a Pixel 3.  I'm trying to use an external USB connected microSD card for recording long videos in a vehicle.  However, even with wireless charging I'm finding that the power supplied is insufficient to keep the battery from draining.  I would like to therefore provide wired power, at the same time that the USB drive is connected.  How can I do this?

My first throught was some kind of USB hub, but then I realized that the phone will be accessing the device in on the go mode, not normal slave move.
 Various bits of research suggest that it's not trivial or standard

But it does seem to be possible.  I don't want to do any wiring, I just want something off the self.  One answer to the above linked question  specifically says:

To have your tablet to be charged and simultaneously be in host mode, a special arrangement is required. In USB charging specification it is called "accessory charger adapter". For some more details you can see this item. However, your tablet must support this "accessory" mode, which may not be the case.

I don't even know how to tell if my device supports this mode.  The words "accessory charger adapter" are rather overloaded and Google returns a lot of completely unrelated stuff.

ADDITION: The devices are available at Amazon with keyword search [OTG and charge at the same time]

I also tried this search, but am still no closer to finding something that should work.


问:
Galaxy Tab S5E and multiple SD cards
I got a Galaxy Tab S5E today to use as a photo editor. This is the 64gb version so I grabbed a micro SD card and put into it. A 128gb card. The card and tablet work together as expected.

I also grabbed a USB C card reader to plug in my camera SD cards on the go.

The issue I'm having is that the usb card reader is not working unless I remove the micro SD card and vice versa.

Is there any way to fix this?

The card reader doesn't registers as an SD card. It registers as a "usb mass storage device" so I'm not sure why there would be any type of conflict.

Title: Galaxy Tab S5E and multiple SD cards


问:
Samsung Galaxy S10+ randomly switches to roaming SIM and forces enable data roaming!
I have the latest firmware update, and I'm using it with 2 SIMs; Sim #1 is a Google-Fi on roaming, and Sim #2 is the local default sim. I choose SIM 2 to be the default for everything (calls, SMSs, and data). However, I kept seeing the mobile for some reason switches the data to SIM 1, however, I disabled data roaming, and surprisingly, the mobile still randomly changes to SIM 1 (Google Fi) and also consume data!!


问:
Share menu actions are lagging
Whenever choosing an action from the native share menu, the whole widget freezes for a few seconds. It happens every time, no matter what app I want to share to. It seems that the share menu only becomes responsive after those few seconds after being opened:

https://vimeo.com/386471272

When using a non-native share menu, like the one in Firefox Preview, the delay is gone:

https://vimeo.com/386471520

I'm on Android 8.1.0 (LineageOS)

What could be the source of the issue?

EDIT:

I've checked logcat for weird errors and here are some suspicious looking ones:

```<code>[01-22 16:10:01.087 8020:8020 E/ActivityThread]
Activity com.android.internal.app.ChooserActivity has leaked ServiceConnection ChooserTargetServiceConnection{service=null, activity=ActivityInfo{d52e89e com.moez.QKSMS.feature.compose.ComposeActivity}} that was originally bound here
android.app.ServiceConnectionLeaked: Activity com.android.internal.app.ChooserActivity has leaked ServiceConnection ChooserTargetServiceConnection{service=null, activity=ActivityInfo{d52e89e com.moez.QKSMS.feature.compose.ComposeActivity}} that was originally bound here
    at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1532)
    at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1424)
    at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1605)
    at android.app.ContextImpl.bindServiceAsUser(ContextImpl.java:1565)
    at android.content.ContextWrapper.bindServiceAsUser(ContextWrapper.java:691)
    at com.android.internal.app.ChooserActivity.queryTargetServices(ChooserActivity.java:531)
    at com.android.internal.app.ChooserActivity$ChooserListAdapter.onListRebuilt(ChooserActivity.java:1025)
    at com.android.internal.app.ResolverActivity$ResolveListAdapter$2.run(ResolverActivity.java:1585)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6494)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

[01-22 16:10:01.113 8020:8020 E/ActivityThread]
Activity com.android.internal.app.ChooserActivity has leaked ServiceConnection ChooserTargetServiceConnection{service=null, activity=ActivityInfo{200f0aa org.telegram.ui.LaunchActivity}} that was originally bound here
android.app.ServiceConnectionLeaked: Activity com.android.internal.app.ChooserActivity has leaked ServiceConnection ChooserTargetServiceConnection{service=null, activity=ActivityInfo{200f0aa org.telegram.ui.LaunchActivity}} that was originally bound here
    at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1532)
    at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1424)
    at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1605)
    at android.app.ContextImpl.bindServiceAsUser(ContextImpl.java:1565)
    at android.content.ContextWrapper.bindServiceAsUser(ContextWrapper.java:691)
    at com.android.internal.app.ChooserActivity.queryTargetServices(ChooserActivity.java:531)
    at com.android.internal.app.ChooserActivity$ChooserListAdapter.onListRebuilt(ChooserActivity.java:1025)
    at com.android.internal.app.ResolverActivity$ResolveListAdapter$2.run(ResolverActivity.java:1585)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6494)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

[01-22 16:10:01.134 1297:1297 E/BufferItemConsumer]
[unnamed-1297-915] Failed to release buffer: Unknown error -1 (1)

[01-22 16:10:01.151 8020:8020 E/ActivityThread]
Activity com.android.internal.app.ChooserActivity has leaked ServiceConnection ChooserTargetServiceConnection{service=null, activity=ActivityInfo{6eaf7e4 org.xbmc.kore.ui.sections.remote.RemoteActivity}} that was originally bound here
android.app.ServiceConnectionLeaked: Activity com.android.internal.app.ChooserActivity has leaked ServiceConnection ChooserTargetServiceConnection{service=null, activity=ActivityInfo{6eaf7e4 org.xbmc.kore.ui.sections.remote.RemoteActivity}} that was originally bound here
    at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1532)
    at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1424)
    at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1605)
    at android.app.ContextImpl.bindServiceAsUser(ContextImpl.java:1565)
    at android.content.ContextWrapper.bindServiceAsUser(ContextWrapper.java:691)
    at com.android.internal.app.ChooserActivity.queryTargetServices(ChooserActivity.java:531)
    at com.android.internal.app.ChooserActivity$ChooserListAdapter.onListRebuilt(ChooserActivity.java:1025)
    at com.android.internal.app.ResolverActivity$ResolveListAdapter$2.run(ResolverActivity.java:1585)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6494)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
</code>```

EDIT 2:

uninstalling apps mentioned in the above logcat did not resolve the issue

EDIT 3:

Here's the entire log that captures the time where the freeze occurs:

```<code><<< log_count = 27 >>>
[01-22 19:48:37.925 1297:1297 E/BufferItemConsumer]
[unnamed-1297-925] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:37.986 816:831 E/NotificationService]
Suppressing notification from package by user request.

[01-22 19:48:37.993 1297:1297 E/BufferItemConsumer]
[unnamed-1297-926] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:38.258 1297:1297 E/BufferItemConsumer]
[unnamed-1297-927] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:38.325 420:2123 E/SurfaceFlinger]
Failed to find layer (com.dp.logcatapp/com.dp.logcatapp.activities.MainActivity#0) in layer parent (no-parent).

[01-22 19:48:38.344 1297:1297 E/BufferItemConsumer]
[unnamed-1297-928] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:42.319 419:419 E/lowmemorykiller]
Error writing /proc/22962/oom_score_adj; errno=22

[01-22 19:48:42.319 419:419 E/lowmemorykiller]
Error opening /proc/22890/oom_score_adj; errno=2

[01-22 19:48:42.332 816:25704 E/JavaBinder]
!!! FAILED BINDER TRANSACTION !!!  (parcel size = 76)

[01-22 19:48:42.421 816:833 E/zygote64]
Error encountered killing process cgroup uid 99586 pid 22994: No such file or directory

[01-22 19:48:44.079 18370:23548 E/tasks.model.Sources]
error inflating model for at.bitfire.davdroid
org.dmfs.tasks.model.ModelInflaterException: No model definition found for package at.bitfire.davdroid
    at org.dmfs.tasks.model.XmlModel.inflate(XmlModel.java:24)
    at org.dmfs.tasks.model.Sources.getAccounts(Sources.java:8)
    at org.dmfs.tasks.model.Sources.<init>(Sources.java:14)
    at org.dmfs.tasks.model.Sources.getInstance(Sources.java:2)
    at org.dmfs.tasks.utils.AsyncModelLoader.doInBackground(AsyncModelLoader.java:4)
    at org.dmfs.tasks.utils.AsyncModelLoader.doInBackground(AsyncModelLoader.java:1)
    at android.os.AsyncTask$2.call(AsyncTask.java:333)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    at java.lang.Thread.run(Thread.java:764)

[01-22 19:48:44.549 23484:23484 E/ActivityThread]
Activity com.android.internal.app.ChooserActivity has leaked ServiceConnection ChooserTargetServiceConnection{service=null, activity=ActivityInfo{7d65a6 org.telegram.ui.LaunchActivity}} that was originally bound here
android.app.ServiceConnectionLeaked: Activity com.android.internal.app.ChooserActivity has leaked ServiceConnection ChooserTargetServiceConnection{service=null, activity=ActivityInfo{7d65a6 org.telegram.ui.LaunchActivity}} that was originally bound here
    at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1532)
    at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1424)
    at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1605)
    at android.app.ContextImpl.bindServiceAsUser(ContextImpl.java:1565)
    at android.content.ContextWrapper.bindServiceAsUser(ContextWrapper.java:691)
    at com.android.internal.app.ChooserActivity.queryTargetServices(ChooserActivity.java:531)
    at com.android.internal.app.ChooserActivity$ChooserListAdapter.onListRebuilt(ChooserActivity.java:1025)
    at com.android.internal.app.ResolverActivity$ResolveListAdapter$2.run(ResolverActivity.java:1585)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6494)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

[01-22 19:48:46.452 1297:1297 E/BufferItemConsumer]
[unnamed-1297-929] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:46.495 23571:23571 E//system/bin/webview_zygote32]
Failed to make and chown /acct/uid_99589: Permission denied

[01-22 19:48:46.495 23571:23571 E/Zygote]
createProcessGroup(99589, 0) failed: Permission denied

[01-22 19:48:46.510 1297:1297 E/BufferItemConsumer]
[unnamed-1297-930] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:46.730 23599:23599 E/asset]
setgid: Operation not permitted

[01-22 19:48:46.758 1297:1297 E/BufferItemConsumer]
[unnamed-1297-931] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:47.107 1297:1297 E/BufferItemConsumer]
[unnamed-1297-932] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:47.604 419:419 E/lowmemorykiller]
Error opening /proc/23119/oom_score_adj; errno=2

[01-22 19:48:47.604 419:419 E/lowmemorykiller]
Error writing /proc/23484/oom_score_adj; errno=22

[01-22 19:48:47.613 419:419 E/lowmemorykiller]
Error writing /proc/23484/oom_score_adj; errno=22

[01-22 19:48:50.221 1297:1297 E/BufferItemConsumer]
[unnamed-1297-933] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:50.351 1297:1297 E/BufferItemConsumer]
[unnamed-1297-934] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:51.491 1297:1297 E/BufferItemConsumer]
[unnamed-1297-935] Failed to release buffer: Unknown error -1 (1)

[01-22 19:48:51.596 816:831 E/NotificationService]
Suppressing notification from package by user request.

[01-22 19:48:51.634 1297:1297 E/BufferItemConsumer]
[unnamed-1297-936] Failed to release buffer: Unknown error -1 (1)
</code>```

EDIT 4: I've ran locgat 5 separate times, each exhibiting the delay (of various duration, but 2s+ at least every time. Here's the log, attached as a link because otherwise I'd exceed the character limit:

https://hub.sealcode.org/P17

Title: Share menu actions are lagging


问:
Android automatically makes a call after connecting to audio bluetooth device
After connecting to my bluetooth headphone, my phone automatically calls my friend(let's call him Bob), when i reject the call it calls again, this issue only happens with my new bluetooth speaker, my device doesn't have this issue with any other audio or bluetooth devices.

P. S:Android version:8:0:0
Emui version:8:0:0:0


问:
Using Gboard's phone layout on a tablet (or vice versa)
I use Gboard on a phone and a tablet. My preferred language is Maltese. With exactly the same settings, I get two different layouts. In particular, there's a missing button on the tablet that comes very handy when typing Maltese.

Here's the difference between the two layouts:

How to get the same keyboard layout on the tablet as on the phone?


问:
How to permanenlty disable mobile data by renaming or editing files or directories on rooted-device?
Yes, I read the answers to the question by the link Disable mobile data permanently but I'm interested in a solution related with directories and files on rooted-device and not in using an application or setting(s).

I also read the comments to the question Delete mobile data using Root but the deleting /system/etc/apns-conf.xml dosn't help and I don't have the /system/app/telephony as well as /system/CarrierConfig.apk and /system/SettingsProvider.apk, maybe because I use Android 4.0.4 (?).

I know that to disable Wi-Fi it's enough to obtain root permissions and rename the folder /wifi inside of the /etc to another e.g. /wif. Can we do something like that to permanenlty disable also mobile data for example by renaming some directories or files or edit some file(s)?


问:
Why does Android sometimes eject the USB drive when connecting to power and how to stop it?
I've got an external micro SD card that I am connecting via USB to my phone for dashcam recording.  However, I have noticed an annoying issue - if I start recording before I start the car, sometimes the recording winds up going to internal flash, which is not what I want.

Obviously I have to use a wireless charger since I have a storage connected to the USB.  The wireless charger is connected to the vehicle's USB power.  What I see happen is that after starting the car, it takes a few seconds until USB power turns on.  At that point, if I have the screen on and my notifications pulled down, I see the USB drive being ejected - the "do not remove" message shows briefly, and then the USB notification disappears.  Then after a couple second, the USB re-appears and gets re-mounted.  But due to the USB being ejected, the app I am using as the dashcam apparently detects that the drive is not available, and so starts recording to internal flash instead.

It's rather a hassle to have to start the car, then wait 15 seconds or so, then fiddle around with my phone to make sure the app still knows the correct location to record to.  This wastes at least a minute of idling. I would rather figure out why Android thinks it should eject the drive when power is applied, and fix that instead.  I have been able to reproduce the issue on my desk (wireless) charger as well, and it seems is always happens on the first power event after the USB drive is plugged in; subsequent power events have no effect.

Why is Android ejecting my USB flash drive (despite remounting a few seconds later) when I connect to power, and how can I make it stop doing this?


问:
How to install apps to SD card with low internal storage - adoptable, app2sd, Xposed?
I’ve spent hours today trying to install an app on my 9.0 phone.

App size: ~1.5gb

Internal storage: 13/16gb.

SD card (formatted to adoptable): 4/64gb

I’ve read answers here explaining why it won’t work, others mentioning symlink or terminal commands, and others talking about link2sd and root options.

Basically I have a lot of outdated and incomplete answers from here, with no real verified recent solutions.

I thought this would be a simple search but I’m trying to get a conclusive answer before spending another day fiddling with my phone.

Too bad I can’t use my Stack Overflow rep for a bounty. Thank you fine people for your time.

(If anyone knows a definitive rooted and unrooted solution then hopefully this answer can help someone else looking for a 2020 response.)


问:
Add mega account to cloud storage on es file explorer
I'm using es file pro version, I want to add mega account to cloud storage, the account addition section has "display as" so what should I fill in?


问:
Notification with inverted color with dark mode
On Android 10, negative images i.e images with inverted color are displayed in the notification from custom-notification apps when dark mode is enabled.

Notification with light theme/dark theme:

How to prevent that from happening?


问:
Geo/Location tagging a photo when taken from 'lock' screen
I have enabled location / geo-tagging of photos on my phone (Samsung S10+, prior to that, S7 - same results). Photos taken generally record location information as expected. However - if I take advantage of the phone's ability to launch the camera app from the 'lock' screen (that is, without unlocking the phone by PIN/fingerprint/face recognition, etc) then location information is NOT recorded.

I can see how this would be an 'unintended consequence' behavior; if you don't unlock the phone session, then the camera app may be launched in a different 'security context', and in that context, it may not be able to read the internal GPS info. However - I cannot think of any scenario where allowing the camera app from a locked phone to access location information could be a problem, and I'd like to change this behavior if possible. I rely heavily on the 'geo-tagging' information stored in photos and it is quite often a pain to unlock the phone while hiking, etc (fingerprint reader still not exactly perfect, and having to enter PIN when trying to capture a 'scene' not always desirable).

I've tried every setting I can find relating to security and location services, and I've searched high and low for answers. Part of the challenge here is, keywords such as 'lock', 'location', 'camera' etc result in a high number of hits, and 99.9% of people seem to be asking for how to enable location tagging in general, not specifically when the camera is launched from the lock screen.


问:
Will a hard reset remove any malicious software/viruses/malware from my Experia X?
I suspect my phone is compromised, and if a simple hard reset will fix all potential problems, I'll do that. Will that solve all potential problems? I'm concerned that the guy who just replaced my phone's screen (had my phone's password) installed something dubious. He said he also adjusted or replaced one or two other components, but did not charge for them.

When I got the phone back it was fine, but an hour later when I unlocked it it was reset, no apps, photos, etc, and the keyboard had changed from English to English-&-something-pictographic, maybe Chinese. I restarted the phone and it looks normal again. But the battery is draining at twice the speed it normally does, which leads me to suspect something is happening in the background.


问:
Why does my phone contain WhatsApp Images both on my SD card and in my internal storage?
I know that WhatsApp Images are saved by default on the internal storage of my phone. However, on my phone there is also a WhatsApp media file on my external SD card. This folder contains the same number of image files that is also displayed in my Gallery App (when I click on WhatsApp Images). The WhatsApp Images folder on my internal storage also contains way more files than the one on my SD card. Can someone explain what's going on here?


问:
Open Gapps Google Services installation on Android 5.0 based TV
Device:
manta.com.pl 43" TV with Android 5.0 on the board.
I have an root access through ADB shell.

Issue:
I need google services to run Youtube for Android TV.

How I tried to solve:
I donwloaded Open Gapps Nano for Android 5.0, extracted a few files from it and pushed to the /system partition. I don't have TWRP recovery there.

```<code>.
./etc
./etc/preferred-apps
./etc/preferred-apps/google.xml
./etc/permissions
./etc/permissions/com.google.widevine.software.drm.xml
./etc/permissions/com.google.android.media.effects.xml
./etc/permissions/com.google.android.maps.xml
./etc/sysconfig
./etc/sysconfig/google_build.xml
./etc/sysconfig/google.xml
./priv-app
./priv-app/PrebuiltGmsCore
./priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
./priv-app/PrebuiltGmsCore/lib
./priv-app/PrebuiltGmsCore/lib/arm
./priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
./priv-app/PrebuiltGmsCore/lib/arm/libwearable-selector.so
./priv-app/PrebuiltGmsCore/lib/arm/libAppDataSearch.so
./priv-app/PrebuiltGmsCore/lib/arm/libleveldbjni.so
./priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_support.so
./priv-app/PrebuiltGmsCore/lib/arm/libgoogle-ocrclient-v3.so
./priv-app/PrebuiltGmsCore/lib/arm/libinertial-anchor-jni.so
./priv-app/PrebuiltGmsCore/lib/arm/libWhisper.so
./priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_base.so
./priv-app/PrebuiltGmsCore/lib/arm/libjingle_peerconnection_so.so
./priv-app/PrebuiltGmsCore/lib/arm/libjgcastservice.so
./priv-app/PrebuiltGmsCore/lib/arm/libgmscore.so
./priv-app/PrebuiltGmsCore/lib/arm/libvcdiffjni.so
./priv-app/PrebuiltGmsCore/lib/arm/libsslwrapper_jni.so
./priv-app/GoogleServicesFramework
./priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
./priv-app/GoogleBackupTransport
./priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
./framework
./framework/com.google.android.maps.jar
./framework/com.google.android.media.effects.jar
./framework/com.google.widevine.software.drm.jar
</code>```

But google services don't start, I see the following native crash:

```<code>    I/ActivityManager( 2608): Start proc com.google.android.gms for service com.google.android.gms/.chimera.GmsIntentOperationService: pid=3452 uid=10014 gids={50014, 9997, 3003, 1028, 1015, 3002, 3001, 1005, 1007, 3007, 2001, 3006} abi=armeabi-v7a
W/ProviderHelper( 3430): Unknown dynamite feature providerinstaller
I/DynamiteModule( 3430): Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller( 3430): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
V/NativeCrypto( 3430): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods...
W/ResourcesManager( 3452): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager( 3452): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
W/ActivityThread( 3430): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
W/System  ( 3430): Could not create com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl with ClassLoader android.app.LoadedApk$WarningContextClassLoader@3dc96d1d: com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl
I/ProviderInstaller( 3430): Installed default security provider GmsCore_OpenSSL
I/art     ( 3172): Explicit concurrent mark sweep GC freed 2659(106KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 4MB/7MB, paused 1.726ms total 35.015ms
I/Safeboot( 3430): Checking safeboot...
W/art     ( 3452): Verification of void rtf.onCreate() took 138.949ms
W/DynamiteModule( 3452): Local module descriptor class for providerinstaller not found.
W/ProviderHelper( 3452): Unknown dynamite feature providerinstaller
I/DynamiteModule( 3452): Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller( 3452): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
V/NativeCrypto( 3452): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods...
I/art     ( 3430): Background sticky concurrent mark sweep GC freed 33203(1508KB) AllocSpace objects, 1(16KB) LOS objects, 13% free, 10MB/11MB, paused 7.459ms total 861.420ms
I/Safeboot Condition( 3430): No need to enter Safeboot.
W/Primes  ( 3430): Primes not initialized, returning default (no-op) Primes instance which will ignore all calls. Please call Primes.initialize(...) before using any Primes API.
W/ActivityThread( 3452): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
W/System  ( 3452): Could not create com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl with ClassLoader android.app.LoadedApk$WarningContextClassLoader@21fd60b7: com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl
I/ProviderInstaller( 3452): Installed default security provider GmsCore_OpenSSL
I/Safeboot( 3452): Checking safeboot...
I/Safeboot( 3452): Not entering safeboot; wrong process.
W/art     ( 3452): Suspending all threads took: 6.199ms
W/Primes  ( 3452): Primes not initialized, returning default (no-op) Primes instance which will ignore all calls. Please call Primes.initialize(...) before using any Primes API.
I/art     ( 3452): WaitForGcToComplete blocked for 3.045s for cause HomogeneousSpaceCompact
W/art     ( 3452): Suspending all threads took: 9.346ms
F/libc    ( 3452): Fatal signal 6 (SIGABRT), code -6 in tid 3452 (gle.android.gms)
I/DEBUG   ( 3304): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 3304): Build fingerprint: 'AndroidTV/nt72668_hikeen/nt72668_hikeen:5.0/LRX22C/huangds04090501:userdebug/release-keys'
I/DEBUG   ( 3304): Revision: '0'
I/DEBUG   ( 3304): ABI: 'arm'
I/DEBUG   ( 3304): pid: 3452, tid: 3452, name: gle.android.gms  >>> com.google.android.gms <<<
I/DEBUG   ( 3304): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG   ( 3304):     r0 00000000  r1 00000d7c  r2 00000006  r3 00000000
I/DEBUG   ( 3304):     r4 b6736114  r5 00000006  r6 0000000b  r7 0000010c
I/DEBUG   ( 3304):     r8 2b4ae920  r9 a3aa2761  sl 00000000  fp be41a8b8
I/DEBUG   ( 3304):     ip 00000d7c  sp be41a578  lr b66bff29  pc b66e4250  cpsr 600e0010
I/DEBUG   ( 3304):
I/DEBUG   ( 3304): backtrace:
I/DEBUG   ( 3304):     #00 pc 0003b250  /system/lib/libc.so (tgkill+12)
I/DEBUG   ( 3304):     #01 pc 00016f25  /system/lib/libc.so (pthread_kill+52)
I/DEBUG   ( 3304):     #02 pc 00017b43  /system/lib/libc.so (raise+10)
I/DEBUG   ( 3304):     #03 pc 00014399  /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG   ( 3304):     #04 pc 00012b68  /system/lib/libc.so (abort+4)
I/DEBUG   ( 3304):     #05 pc 000a082d  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #06 pc 00017557  /system/lib/libc.so (pthread_once+90)
I/DEBUG   ( 3304):     #07 pc 00072fc5  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #08 pc 000a086d  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #09 pc 000a063f  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #10 pc 000a0753  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #11 pc 0003c70b  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #12 pc 01c9a8bd  /data/dalvik-cache/arm/system@priv-app@PrebuiltGmsCore@PrebuiltGmsCore.apk@classes.dex
I/DEBUG   ( 3304):
I/DEBUG   ( 3304): Tombstone written to: /data/tombstones/tombstone_00
W/art     ( 3430): Suspending all threads took: 1.387s
</code>```

Any suggestions how I can solve it?


问:
Pixel 3A Android 10 Assistant auto comes on and stops gesture, unable to reset connected devices
I have a brand new Pixel 3A with the recently updated Android 10 update.

Google Assistant has been activated while in my laptop bag.

I'm assuming this is because of the incessant urgings that Google displays on screen, and of course the new android doesn't swictch the screen off when you hit the power button, it leaves an 'awake' screen that can respond. Well, however it happened, Assistant is enabled and it is causing a number of problems, and I can't switch it off.

The main issues are:

Assistant repeats continuously on the arcane workings of the system. Voice messages like 'Checking WebAPP for updates' 'Downlaoding update' '10% downloaded, etc'

Assistant stops the phone Whenever any event status changes Examples of this are 'Home screen 1of 2, double tap to enable' etc., etc., etc totally take over the user interface.

The UI is now a triple tap pause system. To do anything, you tap an icon and wait for it to be highlighted (at which point a stream of help instructions are played back) then double tap to activate. This happens for each and every tap including back buttons, home buttons, whatever.The system is now an incredibly slow, novice system.

The gesture system is disabled. This is the real killer. Without the gesture system you are locked into only what is visible. You cant get into the app drawer, for instance. And you can't get beyond the displayed items in the settings screens.

My Problem is:

The instructions to switch off assistant are as follows:

Open the google app

Tap the compass at the bottom right

Tap the profile button top right

Tap the Assistant

Scroll down to the Assistant devices,Devices section and switch off.

BUT gestures and scrolling are disabled

You can see to the Face Match setting, but connected devices is somewhere way, way down below that. And one can't get there. Not for love nor money.

Under Android 9, I could deactivate with a voice command.

That seems to be gone.

Is my only solution to do a factory re-set?

Anyone out there with a solution for me?


问:
Cannot disable safe mode by restarting, how to disable safe mode?
My Android 10, Nokia 7.1 phone ended up in safe mode. How do I disable this?

Tried restarting and turning off/on as per instructions I've found online but it always starts up in safe mode.


问:
Is there a setting to blank the screen when the on/off switch is pressed for lockscreen?
I"m running Android 10, and I've not had this problem/issue with the lock screen on any previous iterations of the OS.

The problem

In the past, When the on/off switch is pressed, this enables lockscreen and the system goes into a wait state. The screen blanks and stops monitoring gestures or taps. It needs the on/off switch or the finger recognition scanner to come back on.

What I'm looking for

A setting that will switch the screen off until I hit the on/off switch, preferable not the finger scanner


问:
Is it safe to remove "thermal-engine" from system/vendor/bin
I want to play PUBG on LG V20 so I renamed this file. Is it safe? Maybe it's safe until phone doesn't start turning off? Using LOS 15.1.</p>


问:
Mathematical symbols issue in displaying
I'm having a strange issue on my android device. Oh, this is mathematical:

On my android device, using Brave, Opera, or DDG browsers I cannot see many symbols in mathematical pages on wiki. The symbols do not show up or are showing up as white. It seems to be just a few symbols but it can make it very difficult to follow what is going on. The symbol p usually is missing(but q show sup).

e.g., https://en.wikipedia.org/wiki/Neighbourhood_(mathematics)

All the p's and V's are missing(but they take up space).

I have no idea what is going on and I don't know where to look for to ask. Is it a wiki problem? MathJax? These browsers? My device? This is making it very painful to use the device to read wikipedia. I haven't seen it on other sites but I don't go to many other sites for math.

Any ideas?

OwnerDisplayName: Gupta


问:
How to block app silent installation
Recently I noticed I have opera browser installed. I definitely did not install it because I was sleeping at that time. I checked installation time and revealed it was the day before yesterday

Checking installation source like this outputs android:

```<code>adb shell dumpsys package com.opera.browser | grep -e "installerPackageName"
</code>```

so I don't know whether it was through Play Store or through APK.

Can I found out who have done this and how can I prevent future intrusions?

P.S. I have MIUI 11.0.3 Global device

UPDATE:

INSTALL_PACKAGES permission

apps

com.miui.msa.global

com.android.vending

com.miui.cloudbackup

com.google.android.packageinstaller

com.xiaomi.mipicks

com.android.managedprovisioning

com.facebook.system

com.miui.analytics

com.xiaomi.discover

users

android.uid.backup

android.uid.shell

services

com.lbe.security.miui/com.lbe.security.service.SecurityService

REQUEST_INSTALL_PACKAGES permission

android

com.miui.msa.global

com.android.browser

com.miui.player

com.google.android.gm

com.google.android.apps.docs

com.android.chrome

com.xiaomi.midrop

com.miui.hybrid

com.miui.securityadd

users

android.uid.bluetooth

Title: How to block app silent installation


问:
Which one has lower latency? HDMI to Type-C or HDMI to HDMI or the same?
I wonder if Android smartphones with HDMI port has advantage versus without if they have USB Type-C. If I have Type-C, I can use Type-C to HDMI adapter.</p>


问:
Root my oreo device?
I have some experience with rooting, upgrading, installing twrp and another stuff.
My phone is Samsung Galaxy J7+ with (oreo).
Btw, based on some articles that i've read, it's too risky if i want to root my device in os 8.1 (oreo).

And i just want to make sure if i can still make it.

When i'm rooting my device as far as i know, i need twrp (tar files and installing this will need ODIN) and in this case i want to use superSU, bcz i have bad experience with Magisk and anyway i just want superSU. And i don't really remember if installing twrp and rooting my device will cause my internal data to be erased or not.

And i've seen some videos on YT explaining another alternative without twrp, that is using cmd or whatever but please don't suggest me to use this way cz it looks complicated and i doubt if i can do that. Another way is using "KingRoot". But it doesn't work when i tried it on my device with os 7.0 (Nougat). It seems KingRoot only work on the old os?

Back to my main question, So to make it easy, i'll list my questions :

Is it possible rooting device with os 8.1 (oreo)?

Will my internal data get deleted if i install twrp and root?

How to root my device without losing my internal data?

Hope you can help me.

Actually i'm frustated bcz i accidentally deleted some files a month ago and lost my important photo. And there is no way except rooting my device to get back my deleted photo.

Title: Root my oreo device?


问:
ADB Root Grant Root Permission to App or Package
I am having a little trouble with my Development Board it is Orange Pi 4B, running Android 8.1

Currently I have access to ADB root and also can modify the system folder or even place files inside the system folder but I want to grant Root Permission to my Application which the OS is not allowing. It also has SU placed in xbin folder but when I install SuperSu it says root undetected.

The commands that I try to gain root access to system were

```<code>adb root
adb disable-verity
adb reboot
adb root
adb remount
</code>```

These all commands execute with success and I have access to modify the system folder but after trying everything I am still not able to grant SU access to my Application.

Even I tried to flash TWRP but the board is not entering Bootloader with the following command.

```<code>adb reboot bootloader
</code>```