问:
Boot loop recovery with access to Download / Recovery modes, OEM / FRP lock enabled
Context:

I have a Samsung Galaxy Tab S3.  Which, seemingly sudden, entered a boot loop - The Device name and Samsung logo screens will cycle indefinitely until There is no power left or I interrupt by using key combos to boot in to Download or Recovery Modes.

I do not have any experience with Android Development or android devices. I am very comfortable with linux terminal environments.

As of now I have tried flashing new Stock firmware using Odin. The feed back from the Odin software indicates the flash was successful yet the bootloop persists. I am guessing that the OEM and or the FRP lock could be why.

I have read it is possible to disable these locks using adb,and I believe fastboot may be of some use as well. But since I can not access my phones settings to enable USB debugging I can not find a way to connect to adb.

To be more specific about my question: Is there a way to connect to adb and fastboot and trouble shoot / repair a boot loop with only access to recovery and download modes?

Picture of recovery screen:


问:
How can I know whether my Samsung Galaxy S9 phone got rooted in the past (Android 9, One UI 1.0)?
How can I know whether my Samsung Galaxy S9 phone got rooted in the past (Android 9, One UI 1.0)? (even though it might have been unrooted afterward)</p>

ContentLicense: CC BY-SA 4.0


问:
Swiftkey backup & sync not working
I am using Swiftkey 7.4.0.18 on Android 9 (before that, on Android 7). I got a new phone and installed Swiftkey on it, logged in and enabled backup & sync. My personal dictionary had been correctly backed up before, I can see that in the "View and manage your data" section. The dictionary contains several hundred or thousand words (I speak a special German dialect, that's why). However, these learned words do not show up on my new phone, even though sync appears to "work" as there is no error message. I have contacted Swiftkey support a while ago but haven't heard anything.

Anybody here who can tell me how I can debug / solve this?

Title: Swiftkey backup & sync not working


问:
Home screen icons vanishing, and unable to restore some of them
My Alcatel Onetouch idol 3 currently runs Android 6.0.1, since Alcatel doesn't launches updates, as of this version. At the opposite, it often updates its own "over-layer", and I suspect this part to be responsible of my problem, as follows.

From about a couple of months, I noted that some of my home screen icons had suddenly vanished. Then it continued later, some other icons vanishing at successive random times.

Note: not only alone icons but folders vanish as well.

So my first question:

What may cause icons to vanish, and how to prevent it?

Beyond that, I obviously wanted to recover them, and sure it was pretty simple, selecting them from the Apps drawer.

But... two apps (Gmail and Notes) doesn't appear any longer in Apps drawer, although they keep showing through Params|Applications!

So I can't restore this ones.

So my second question:

How to make these icon go back to Apps drawer?


问:
How do you install a KDZ that doesn't match an LG phone's model?
LGUP checks the current phone to see what specific model it is. In my case it's an LG v20 F800L. I'd like to install the H990 kdz on it instead because I don't want a bunch of Korean language apps that I can't read and I can't uninstall. When I try to load a kdz file using LGUP I get an error that says roughly

invalid kdz F800L->H990

Can LGUP be tricked about what model the phone is or the kdz file is? Otherwise, what other ways are there to install a stock kdz when it doesn't necessarily match the phone's specific model?

What I tried so far:

I ran grep on the kdz

```<code>grep -an "F800L" H990N20d_00_OPEN_HK_DS_OP_0920.kdz | less  #-a for binary n to show the line number. Piped to LESS because otherwise the output might do some funky stuff to your computer.
</code>```

The search for the string "H990" showed 3 instances. Next I ran

```<code>sed -i 's+H990+F800L+g'
</code>```

to change instances of H990 to F800L. The new file size was 3 bytes larger, which was expected because F800L is one character longer and there were three instances. When I tried loading the new file to the phone using LGUP it just gives an error Error: KDZ file is invalid. so there's some kind of checksum.

recommended tags:
KDZ
LGUP


问:
Disable app autoupdate in Samsung Galaxy S7
I have a Samsung Galaxy S7 with Android 8.0.0 and I don't have much experience with it's user interface yet

I disabled app autoupdate feature by going to Google Play Store -> Settings and I can see that it is set to "Do not autoupdate" in the menu

When I did this about 16 preinstalled apps had already been auto updated and 6 were on the queue. After disabling the auto update, I updated 1 app manually and a few minutes later the next one on the queue got updated by itself.I ignored this because I thought perhaps the update command had already been issued and before I changed the Playstore Settings and may be it cannot be changed or something similar happened. However after 24 hours another app on the queue got updated again.

How do I permanently stop the phone from auto-updating any apps installed on it (but still retain the ability to manually update individual ones)? I especially don't want the pre-installed samsung apps (+ other bloatware) from getting updated because I never use them.

Also, it looks like a some of the preinstalled basic apps are connected to the internet (for example, in the clock app there was a World clock tab, which showed weather information on the side and turns out it was continuously getting information from the internet). Is there a list of such built in apps for this phone that are always connected to the internet, and is there a method of turning this option off, either as a group or individually?


问:
Installing Android 10 with a Device Specific Binary
So I got my hands on a Android 10 binary that was designed for a Samsung Galaxy 10. Can I install it on a different phone? I have a Motorola g7 Power, so it should be compatible with the OS but I am not sure if the device specific version would cause any issues. </p>

OwnerDisplayName: Gman


问:
How to get rid of SeLinux Denials in Permissive mode?
Need some help with 3 issues:

In Permissive mode I get denials, why does this happen and how do I fix that?

If I am enforced, how  do I give access to my  Partitions to various processes. Right now I am permissive but in case I want to switch over as enforced what do I do in enforced mode to ensure that Apps and processes have full access to all my partitions on micro SD card?

How do I ensure that I have permissive mode at the time after boot? I am using seLinux changer app which changes the mode to permissive after boot, I am assuming.

Backdrop

I am on Android 9 Pie. Rooted with a Custom ROM via Magisk (v20 which is the latest).

I have 3 partitions on my MicroSD card, all ext4. First partition is to store the external data. Second partition is for app2sd or application data linking. And third partition is for WhatsApp.

But I have a problem which mysteriously keeps popping up; for a very brief time it disappears and then it is again back.

The issue is when I link the WhatsApp folder in my internal storage to the third partition, it stops working and I am not able to download any images. When I try and access internal folders that are linked to my external partition on micro SD card through ADB and non-rooted prompt, it says Access denied. If after linking I have to access any file on my internal storage or external storage through a non root user, I have to copy it in /data/local/tmp and chmod it.

So after running a dmesg via su prompt, I keep getting this kind of information and I am totally confused as to how I keep getting rejects even when I am in permissive mode:

```<code>[64108.645494] type=1400 audit(1571547099.201:11658): avc: denied { call } for pid=1301 comm="pool-1-thread-1" scontext=u:r:untrusted_app:s0:c2,c257,c512,c768 tcontext=u:r:hal_memtrack_default:s0 tclass=binder permissive=1
[64108.645560] type=1400 audit(1571547144.071:11659): avc: denied { open } for pid=23335 comm="om.mobikwik_new" path="/proc/vmstat" dev="proc" ino=4026532137 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:proc_vmstat:s0 tclass=file permissive=1
[62276.620621] type=1400 audit(1571545312.043:11584): avc: denied { read } for pid=8534 comm="webview_zygote" name="fonts.xml" dev="mmcblk0p66" ino=1968042 scontext=u:r:webview_zygote:s0 tcontext=u:object_r:theme_data_file:s0 tclass=file permissive=1
[61774.878054] type=1400 audit(1571544810.294:11570): avc: denied { call } for pid=1301 comm="pool-1-thread-1" scontext=u:r:untrusted_app:s0:c2,c257,c512,c768 tcontext=u:r:hal_memtrack_default:s0 tclass=binder permissive=1
[61770.686186] type=1400 audit(1571544806.104:11569): avc: denied { getattr } for pid=12417 comm=4173796E635461736B202334 path="/data/sdext2/data/com.google.android.googlequicksearchbox/cache" dev="mmcblk1p2" ino=413617 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1
[59854.882802] type=1400 audit(1571542825.956:11523): avc: denied { call } for pid=13288 comm="GoogleLocationS" scontext=u:r:priv_app:s0:c512,c768 tcontext=u:r:hal_memtrack_default:s0 tclass=binder permissive=1
[58684.872549] type=1400 audit(1571541715.916:11505): avc: denied { getattr } for pid=4379 comm="Binder:4379_3" path="/storage/6226b27a-ebc1-4fdd-b54c-096abc40c2b9" dev="tmpfs" ino=52150 scontext=u:r:untrusted_app:s0:c241,c256,c512,c768 tcontext=u:object_r:storage_stub_file:s0 tclass=dir permissive=1
[58416.978554] type=1400 audit(1571541430.215:11458): avc: denied { open } for pid=31520 comm="CallMonitors-1" path="/proc/stat" dev="proc" ino=4026532088 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=1
</code>```

What I did:

Tried to use the script approach with  setenforce 0 under init.d  dir. Hopelessly works only in <5.0.

Tried to  remount partitions as R/W.


问:
Amazon notifications are silent
So I'm looking out for an Amazon delivery I don't want to miss, and the Amazon Shopping app puts up the message in my phone's notification area saying my package is 6 stops away, view it on a map.

But the notification makes no sound, so chances are I don't notice.

Similar to this question about Google Calendar notifications misbehaving in the same way. There are no answers to that one to date, and the person fixed it eventually by reinstalling the app. But I've already tried installing the Amazon Shopping app on three different Android devices (Samsung phone, Motorola phone and Amazon Fire tablet). On all three devices the issue is the same.

I've checked all the related settings I can find, both general Android settings and those within the app.

How is it possible the Android operating system can let the user configure audible notifications and it all works fine except for one app?

Title: Amazon notifications are silent


问:
Are Android App Permissions Placebos (Android Pie)?
I'm looking at every app that has 'Microphone' permissions on my Android Pie Galaxy Note phone, accessed through:

```<code>Settings > Apps > Hamburger Menu > App Permissions > Microphone
</code>```

Five apps have microphone permissions enabled, which I'll list below:

Camera

Duo

Google Play services

Messages

YouTube

Note that Bixby (and associated Bixby apps) do NOT have microphone permissions. Yet, I can press the Bixby button on my phone and speak commands that Bixby will understand, and act upon. How is Bixby accessing my microphone without permission?

Furthermore, if I look at Bixby permissions, the list simply says "No permissions required".

Does Bixby indirectly obtain any permissions it needs through Google Play services? If any app can indirectly get the permissions it wants through Google Play services, what's the point of even having the any permission toggle switches, other than to decieve the end user?


问:
Will Samsung galaxy s10 works in my country?
You may know that samsung galaxy s10 have two different versions, one with Qualcomm chipset and one with Exynos chipset. From reviews in the youtube and sites like bgr and anandtech, I'm more biased to buy an Qualcomm version, even though it''s not the International version.

My question is, would it work in my country? I live in sri lanka and is there any way for me to know that unlocked galaxy s10 Qualcomm version will work in my country?

can someone help me with this please?


问:
Can't print or stop print job
I use a Huawei Mate 10 Pro. I am unable to print, so I tried to cancel the printing
job, but it just stays there forever and nothing happens.

I was unable to print a single page since I own this smartphone which I bought a year ago. The only way to remove it is by restarting the smartphone.

I am using a Canon MG 3200 printer.

PS: "notepad print wird gelöscht" means "notepad print is getting deleted" in english

OwnerDisplayName: Black

Title: Can't print or stop print job


问:
aCalendar does not show all my events
I am using aCalendar, with google accounts.

Recently, one of my calendars started showing only a few events. None in the past, only a few in the future.

The stock calendar app works fine.

I've tried emptying cache, reinstalling the app, still not working.

I need help to find where I should look next. No obvious setting to be found in my Google Calendar.

Title: aCalendar does not show all my events


问:
Clicking on the Google Assistant icon of the google search widget doesn't activate google assisant
You know that Google Search bar widget that comes with the Google app? It has a Google assistant button click on which opens Google Voice Search instead of Google Assistant. How do I fix it? It used to work well but then I cleared Google web and app activity and that messed it all up.</p>


问:
How to safely remove, disable, freeze system apps on rooted device?
How to safely remove, disable, freeze system apps on rooted device (Xiaomi Mi9)?

I tried doing it old school on my Mi9 but after removing just absolute bloatware system doesn't boot, had to reinstall stock via fastboot (no biggie but I'd like to avoid that in future ;)


问:
Does moving apps to the SD card negatively affect performance?
Does moving an application to the SD card negatively influence I/O performance of the app or of Android in any way, in particular loading times? </p>

ContentLicense: CC BY-SA 3.0


问:
SDK versions in aapt command output
Update:
- My first question was answered here, thanks to Andrew's comment.
Quote:

If you specify API level requirements directly in your app's manifest
  file, the corresponding settings in the build files will override the
  settings in the manifest file

I was able to retrieve minSdkVersion and targetSdkVersion by aapt list. In this example, after converting from hex, they are 16 and 26, respectively. I am aware of minSdkVersion and targetSdkVersion which are usually declared in AndroidManifest.xml file. However, I have decompiled the APK file using apktool and checked the AndroidManifest.xml file but  could not see any declaration of targetSdkVersion or minSdkVersion either.

Was that because apktool did not decompile everything or these elements can be declared in other place of the APK instead of the manifest file? (my first question)

```<code>aapt list -a  0348e77633b7831d1d56cd2f45023bd4.apk | grep -i sdkversion
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1a
...
</code>```

By issuing aapt d badging. There are sdkVersion:'9' and targetSdkVersion:'26' in the output.

```<code>aapt d badging 0348e77633b7831d1d56cd2f45023bd4.apk |head
package: name='com.theborneopost.mobileapp' versionCode='60001' versionName='6.0.1' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'26'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
...
</code>```

So, are there any differences between targetSdkVersion in aapt and apktool output? Assume that targetSdkVersion is available in AndroidManifest.xml (my second question)

What is sdkVersion in aapt d badging output? (my third question)

Disclaimer: due to limitations, I could not add appropriate tags like aapt or sdkversion to the post.

Title: SDK versions in aapt command output


问:
Is it possible to restore an ASUS Backup on an emulator?
I had created a backup file using Asus Backup app Link Playstore from my Asus ZenFone (Android 5.1).

I have lost my Asus phone and I'd like to restore the backup into an emulator.

Does Genymotion have any ASUS VM?

Is there any Emulator that support Asus Backup App?

Are there ASUS Zenfone Emulators?

Can I, in any way use Android Studio to restore my Backup created using ASUS Backup App?

Asus Provide System file from there official site. Can I flash that(Custom Rom) into any Emulator?

Is there any way I can install Asus Backup app in Laptop and restore the Backup I have made?

Is there anything that I can try?


问:
Help with compromised phone Android 7.0
I want to ask if there's any way I can get rid of whatever's allowing my phone to be unlocked easily without any resetting or Google account?

My phone has been messed with and now it keeps getting unlocked no matter what I try, whether I put a lock-screen or change my Google password.

I don't think they would use spyware because it would cost money, but maybe they would but I think they did some configurations and/or exploited something in my phone for it to be unlocked easily.

Can anyone help me know what it is and tell me on how to get rid of it? Thanks

EDIT: My phone keeps getting unlocked because it's compromised which is why the lockscreen doesn't work as it should or it just keeps getting bypassed.

Title: Help with compromised phone Android 7.0


问:
How can I install CWM on Android-x86?
I wonder how can I install CWM/TWRP to Android-x86 for rooting, flashing, debugging etc. ? Does anyone know how to do it?</p>

Title: How can I install CWM on Android-x86?


问:
How to browse Google play store for Android TV without a ATV device?
Can we browse google play store for android TV on web? I know for example these two links but these are not comprehensive in any way!

List of apps (partial!)

List of games (partial!)

I don't have a ATV device (like Mi box , etc) and I need to browse the catalog.

UPDATE 1:

I set the user agent to a TV browser (Firefox for Fire TV in this link) and visited the store link, but no effect!

https://play.google.com/store/apps/


问:
How to map keys in Genymotion?
I am using Genymotion to play Android games on Linux. But I can not play some games, as they have special control layout.

Do you know how to add keyboard mapping feature to Genymotion, like in other Android emulators for Windows such as Nox, Memu, BlueStack?

Title: How to map keys in Genymotion?


问:
Phone not connecting in 4G
I have, since almost one year, a Xiaomi Redmi Note 6 Pro smartphone and never connected on 4G, in the tray bar there is always H or H+ (in the previous phone I had it was almost always on 4G). My  ISP is TIM and I set the APN to the recommended one but with no luck. I also set Prefer 4G from network settings but another time it didn't work.

How can I connect to 4G?

Title: Phone not connecting in 4G


问:
Bluetooth headset overiding ringtones?
My Bluetooth headset (SoundBuds Rise) will play its own generic ringtone when it's connected to my phone (Moto Z2 Play). I just went through and gave a bunch of my contacts custom ringtones, so I don't have to pull my phone out to look at who is calling. Is there anyway to force my headset to use my ringtone instead of its?</p>

Title: Bluetooth headset overiding ringtones?


问:
Is it possible to use 5Ghz OTG WiFi adapters on Android?
My phone is Xiaomi Redmi 6A. I cannot detect 5Ghz WiFi on my phone. Is there a way to use an external 5Ghz WiFi adapter(connected via OTG) to add 5Ghz WiFi capability? My phone is rooted, and I am ok to make modifications/ install drivers to support the adapter.</p>


问:
Samsung Galaxy A asking for password although I never set it
I never had or used a password for Galaxy tablet A. However, it’s now asking for one to turn off the device to reset password. I am unable to turn off or start up the device.

Any suggestions on how I can solve the issue?


问:
Error: java.lang.IllegalStateException: command '1636 volume partition disk:179:64 private' failed with '400 1636 Command failed'
using the method described  here.

First command

adb devices

Output of first command

List of devices attached

  * daemon not running; starting now at tcp:5037

  * daemon started successfully

  26EBB18827208648        device

Second command

adb shell

third command

sm list-disks

Output of third command

disk:179:64

when I enter the last command

sm partition disk:179:64 private

last command output

Error: java.lang.IllegalStateException: command '1636 volume partition disk:179:64 private' failed with '400 1636 Command failed'

if I try to enter this command instead of the last command

sm partition disk:179:64 mixed 50

still an error shows up

Error: java.lang.IllegalStateException: command '1637 volume partition disk:179:64 mixed 50' failed with '400 1637 Command failed'

Phone:Huawei 7y prime

Any way to solve this?


问:
Add icons to Glass Launcher
Is it possible to add app shortcuts to the Glass Launcher on the Google Glass (Glass Enterprise Edition 2 in my case)? If so, how?

To be clear, I mean I've developed an app and I'd like to add its icon to this screen (currently, the only way I know how to start the app is manually via adb):

Title: Add icons to Glass Launcher


问:
How can apps tell that they are running on a rooted phone?
I've heard that some of them refuse to run on rooted devices.

One might think that a rooted device would be able to present itself as a non-rooted one. Is that not so?


问:
Micro USB port charges only (no data)
I connected my Galaxy Tab S2 to my (previously working) Ethernet adapter, only to find it would only charge (no Ethernet). However, charging (up to 2A) still works fine.

I've tried:

connecting a new Ethernet adapter, a generic OTG adapter, and a USB cable to a PC (these all worked before). None of these worked, but they all worked on other devices.

checking the Micro USB port for damage. There is none.

Connecting the USB cable to a PC would start charging, but data did not work (it would be read as an AC charger, there would be no "Slow charging" message, and there was no "USB charging only" or "USB debugging enabled" notification).

Everything else (including charging as mentioned above) still works perfectly.

What is wrong with my tablet?

Title: Micro USB port charges only (no data)


问:
Unable to install/update apps from Play store on Xiaomi A3 on data plan
I am trying to download update/install apps from the Play store on my MI A3 Jio connection, but it has been unsuccessful. All services like Facebook, Whatsapp, etc are working fine.
The apps I am trying to download are the following:

Fancy Text+ Sticker Maker

Facebook Messenger

Personal Sticker for whatsapp

Stickers for whatsapp

But from past one hour, I am not able to download these apps on my Jio  data plan. This problem of not being able to download apps on my Jio connection is a frequent problem. What should I check? Any kind of  data saver is not on.
The OS this phone has is Android 9.
Following screenshot is the situation on my phone.

Here are settings for app download in playstore you can see that download using any kind of data mobile data plan or wifi both are enabled.

Wifi at my end was not working so at the time when I posted this question and now when I posted above image a friend came and change the setting of downloading apps on wifi only. So the apps which I could not download on my data plan could be downloaded on Wi-Fi connection.

I am not sure if it was a problem from mobile network service provider end or it is a problem in my phone or some thing which I don't know.


问:
Chrome user data taking up lot of space
Chrome in my redmi note 4 is taking up a lot of space. I tried clearing cookies, site data, cache and browsing history. How can i access this storage without root?

Edit : i've attached the screenshot of my apps settings page.

Title: Chrome user data taking up lot of space


问:
Make second user also a device owner
I recently bought Samsung Galaxy tab s5e , and configured my account for it. Afterwards I created account (using android multiuser feature ) for my wife.
Hovewer the second account is very limited due to android security features . It lacks some serttings, Samsung DeX, and access to SD card. I do know the security reasoning for it ,and I don't care about them. </p>

<p>Is there some ADB command, tweak or some other way( for example after rooting device) to make the second account also a device owner (administrator ), grant access to sd cards and stuff , otherwise the security feature is kind of usseles if you realy want to have multi user experience on tablet </p>

Title: Make second user also a device owner


问:
Broken Phone Power Button and ADB not detecting device. NEED HELP!
So the power button on my phone (Asus Zenfone 3 laser) no longer works and the phone is powered off. I have charged it up and gotten it to the android recovery menu by holding down power and simultaneously plugging it into my laptop. Unfortunately, I don't think USB debugging is turned on as adb devices and fastboot devices comes up empty. The phone does charge from being plugged in.

Since the power button doesn't work, I can move up and down in the recovery menu all I want using the volume keys, but cant select an option (which requires the power button).

Does anyone have a method of just getting it to turn on that doesn't require opening up the phone (as I don't want to buy the special screw driver to do so). I just want the photos inside, the phone is pretty much scrap metal.


问:
USB Debugging on a soft brick?
How do you enable USB Debugging on a bootloop-ed device?

Or, at least, how do you determine if a bootloop-ed device has the USB Debugging option turned on?

Title: USB Debugging on a soft brick?


问:
How do I install OTA updates while rooted with Magisk?
First of all, here are my specs (let me know if I'm missing anything):

Device: Moto G7 (river)

OS: Android 9

Build Number: PPOS29.114-134-2

Magisk Version: 20.0

Magisk Manager Version: 7.5.3

I installed Magisk through TWRP.  The device is fully rooted.  I want to install the latest OTA update, and I've been trying to do it using this guide.  I'm stuck on step 2:

tap on the UNINSTALL button and select the RESTORE IMAGES option.

When I follow these instructions, I get this error:

Stock backup does not exist!

How can I install the update and stay rooted?

Notes:

I am okay with re-rooting if necessary.

For some reason, I can't boot into TWRP using the custom recovery I know I installed.  I just get the opened up maintenance android.

This is NOT a duplicate of How do I update an OTA while retaining TWRP and Magisk, only with my phone?


问:
Can a rooted phone on stock OS be updated without wiping the data?
If so, how?

The below is just personal experience relating to the titled question.

I have a OnePlus 5T; it's my second smartphone, and just as I'd always planned to do with my second phone, I rooted it. The benefits far outweigh the drawbacks, except that I can't provide objective feedback on apps I use on it.

At one stage I hadn't updated for half a year when I finally made an attempt. I was one OOS 5.1.1. It was recommended that I update to 5.1.4 then move up from there. As though some magic happened, while I was downloading the roms to my laptop, my phone DLed & updated to 5.1.4, then 5.1.7, without wiping any of my data. I then flashed Codemasters TWRP, installed Magisk, and the rest was history.

The magic didn't repeat itself however. I tried to flash the rom through Codemasters as well as stock TWRP (if this sounds stupid it's because I don't really understand this all that well), but the update wouldn't take. Then again, seemingly magically, it took, but it took all my installed apps and personal data with it.

And here I am again, with an update notification haunting me.


问:
How could a Phone Lose Sim service just by an ADB command No Root
This is sort of a debugging/learning post. I followed this post By Schematic here on a Qualcomm device.

After typing this command adb shell service call phone 180 i32 1 i32 0,
The Phone lost both its Networks and IMEI reports null, Baseband is unknown.

How could an ADB Shell without root cause such a damage? OEM unlocking was OFF.


问:
Can user application enable mobile data even when they are user disabled?
I am trying to localize app that is connecting to the internet even when I have mobile data disabled.
Is it possible that user installed app (on Android 9) can enable mobile data when they are turned off (probably on background)?

I think that only option is root access / system admin app only. Or device manufacturer preinstalled apps.

Is it possible on standart stock ROM? Does any of Android system privileges have access to such function?


问:
My SD Card gets corrupted every time my phone reboots or shuts down
I have a 32GB SD card, however, every time I mount it into my phone (Huawei Y5II), it shows a message that the SD card is corrupted and I should reformat it.

I backed up my files to my PC, and formatted my sd card. After that, the SD card finally worked.

However, every time my phone is rebooted or shuts down, the SD card just gets corrupted again.

Meanwhile, I found another solution without formatting, by using CHKDSK in command prompt, which did work, but it's still the same every time the phone reboots or shuts down and back, it says SD card is corrupted!

I have tolerated this problem for a year now.

Now I think because of this, I experience more issues with my SD card. Like some files suddenly turning into 0 bytes, some files getting missing, files being renamed, etc.

Should I replace my sd card(or phone) with another one? If yes, do you have any suggestions on what brand or model?


问:
How can I configure Android so that any selected text is copied to clipboard automatically?
How can I configure Android so that any selected text is copied to clipboard automatically?</p>


问:
I can't open my tablet (even after long press) when someone manually shuts it down
If someone clicks the "Shut down" button (not power button) on Asus Tablet, it will stay shut down and it won't open even after I long press the power button. It only opens after I connect it to a charger, and then long press the power button. But I don't have the charger with me all the time, what can I do? Is there any software or something to download? I forgot the exact name of the tablet but it's made by Asus and I got it in 2016</p>


问:
How do I get rid of target devices to install on the Play store?
Each time I visit the Play Store website via the PC and want to install an app, I get not just my device (Pixel 2), but an emulator that I once used :

I tried to go to the settings on the Play Store website (here), and saw my Android TV there (twice for some reason) and a device I used for just a day or so (some LG device), but not the emulator:

How come I can't delete items here? How come the emulator isn't here?
So I went to my Google account website, and found a place there (here) to show all my connected devices, and noticed the emulator there, together with my Android TV (again twice) and some PCs that I use:

I tried to sign out of the useless ones (and the emulator), went back to the Play Store app, and I still can see the emulator being offered to me.

I don't get why I still get offered to use it, and it's not even recently used, so why is it the first I'm being offered to install to?
Really annoying. Anyone knows how to fix this?


问:
How to root without triggering Knox?
I wonder, how do I root a Samsung phone without triggering Knox? Because not only the warranty gets voided, also some Samsung apps don't open.</p>

Title: How to root without triggering Knox?


问:
How To Install New Android Apps without Uninstalling Other Installed Apps?
I'm using Android 8.1.0 on my latest Huawei smartphone.
I'm constantly using several apps at a time & installing new ones as required..
but this problem (a sort of nuisance) is that I need to uninstall older installed apps just to download the new one.
Is there any solution to fix that?
2nd problem I face, an app(of say 5 mb) requires up to 180mb space to be installed & that much amount of apps(& their spaces) needs to be emptied.
Is there any solution to fix that even?</p>


问:
Can I access play store via proxy?
I have an issue with accessing play store when using Fiddler as an inbetween proxy. I have a Unity app which uses http requests as well as purchases via the GooglePlayStore. Chrome browser and in-app http requests work normally. But trying to use the google play store(outside the app) gives me a no-wifi error. In the same spirit also trying to do a purchase from my app also gives me the same error(but other http requests which do download not related to google play work normally).

So my question is basically is it possible to somehow access the google play store through an ssl proxy?(I suppose that would fix my in-app problem).
This is the setup I followed for fiddler : https://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureForAndroid

I suppose one way would be to filter out

```<code>android.clients.google.com

googleusercontent.com
</code>```

but ideally I would want to know if this can be achieved without meddling with the proxy server.

Title: Can I access play store via proxy?


问:
Are quantum RNGs on an Android device possible?
I edited out the term quantum in this question on SoftwareRecs.SE on the assumption that actual quantum effects on an Android device cannot be measured/harvested from - things like radioactive decay, photon counting, laser phase noise, zener noise (more options mentioned e.g. here).

But maybe I'm wrong: are random number generators using quantum effects in Android devices possible (and available)?

(I'm not asking for software recommendations, that should be on the other question).


问:
system.new.dat vs system.img
Trying to find help in restoring my OnePlus One to factory state, I found quite  a number of websites that have step-by-step instructions.

I'm trying to use fastboot to flash this. Because that factory image (?, the page speaks about update) does not offer a flash_all.bat, I'm following the instructions (which sadly are not for that file, OnePlus does not offer any instructions here) I found which revolve around

```<code>fastboot flash partitionName filename.img
</code>```

All of these have a line I assume is the most essential one:

```<code>fastboot flash system system.img
</code>```

Unfortunately the ZIP offered by OnePlus has no such file. Instead, it has three files named

```<code>system.new.dat
system.patch.dat
system.transfer.list
</code>```

Can I somehow use these files instead, if so, how, and if not, where can I find the correct system.img for my OnePlus One 64 GB?

Context: I bought the OnePlus One for trying out Ubuntu Touch. Now I need to re-install Android because the phone is going to my girlfriend's mom as a gift tomorrow (at least that was the plan, turns out to be alot more diffuclt than expected) :( .

Title: system.new.dat vs system.img


问:
Do I have to repair a cracked AMOLED screen?
My phone recently (a couple weeks ago maybe?) slipped out of my hand when I was trying to pick it up off a table and flew across the room.  Despite having armor, the corner of the screen was smashed and there is some cracking around the smashed bit. The smashed part is around 0.4" wide and 0.3" high and is actually in the bezel, not the screen itself, but there are three cracks that cross the screen. two join together and extend across the screen 1.7" wide and 0.25" high, and the third joins one of the other cracks around midway and extends to the edge of the screen 0.7" from the bottom. Very little if any glass detached from the smashed area, and I put a screen protector over the whole thing to protect my finger which covers all but about 0.05" around the edge, although it is clear that it doesn't completely seal around the cracks (it has the shade of a bubble along the cracks edges closest to the smashed part.)

Everything still works perfectly,and as the cracks are not terribly noticeable I was planning to just keep using the phone until its end of life, as the cost to repair the device starts at nearly $300 and I still am paying for the phone.  However, in researching what it would take to repair it myself to save a couple hundred bucks (which by the way after reading I feel like I am not mechanically skilled enough to not risk damaging it and wasting a whole day trying) I found this note:

OLEDs cease to work when exposed to oxygen or moisture, and are thus sealed in an airtight encapsulation (this is also why OLED panels turn black underneath a screen crack). There is no way to replace the front glass alone— the OLED layers are laminated to the glass.

Currently there is no screen blackening under any of the cracks (it looks darker when viewing the cracks head on but it's the crack itself, at an angle I can see the pixels are all white underneath).  But I am concerned whether the screen will start turning black at some point.  If so, how long will it take before it first appears, and at what rate will it blacken?  How much of the screen will it affect?  From what I have read, since a new OLED comes with a replacement screen it won't have any bearing on the repair, but I would like to decide now whether or not to keep the phone - if it will have to repaired in the near future it might be better to just sell it now while it still has some value, as currently it would (inexplicably!) actually be cheaper just to pay off the phone and sell it with a broken screen than to try to repair it, while in the future the repair price will remain the same but the value of the phone will only go down.


问:
Bluetooth error on my Nexus S
I have a Nexus S phone, GingerBread 2.3.5. When I start my phone, or try starting Bluetooth, it gives me an error saying:
'Application Bluetooth Share(process com.android.bluetooth) has stopped unexpectedly.'
Iam given only two options, Force close, and Report.
The exception is a Null pointer exception, and the source file is Parcel.java.
How do I solve this problem??
Also, I get a message saying I can update my phone to ICS 4.0.4. If I update, will that get rid of the Bluetooth problem?? </p>

Title: Bluetooth error on my Nexus S


问:
Automate WhatsApp backup to Google Drive on demand /schedule
Daily backup offered by app isn't an option since the device needs to be connected to Wifi at night time, which is a waste of battery. I have Titanium Backup schedule running but I would like to automate cloud backup too.

I am sure it can be done but I lack the knowledge to do it.

I am looking for a solution that preferably does not use gesture automation. But if that is the only way, I am fine with it.

Setup

Oneplus-7, rooted with stock Android 10.

EdXposed installed with Xposed EdgePro and Gravitybox.

MacroDroid automation app is the preferred choice.

Note that "launch shortcut" action in MacroDroid requires fingerprint gesture accessibility permission, which is not possible with Oxygen OS. My guess is that one would need to use Xposed Edge Pro to trigger a bunch of actions.


问:
How to patch `system.img` using MagiskManager patch feature to root the device?
I have a treble and system-as-root but it is not an A/B device. I have rooted it with the help of the MagiskManager patch feature. My understanding is: MagiskManager has modified the following three files for rooting:

boot.img to remove the signatures.

vbmeta.img to remove the AVB checks(to stop flashing unauthorized binaries).

recovery.img to actually root the device by patching init and adding some files like .backup/.magisk, .backup/.init(original init) etc..

Magisk has patched the recovery.img to boot the device into root mode if you release the recovery mode key combination at a splash screen.

But my requirement is to always boot as root without needing any key combinations.

I know Magisk needs to patch the SE-Policies and init file before the init process is actually started(as it will turn ON the enforcing mode). From treble device, my understanding is that the system partition is mounted before running the init script.

I think Magisk developers have patched the recover.img because they want to follow the systemless-root approach and support for the OTA updates.

So, I want to know if MagiskManager is capable of patching my system.img file to root the device?

I know the root will be lost if any OTA will come or maybe my device will fail to update the system but this is ok with me as long as I can root it again with the same method :)

This is also fine if instead of rooting on system.img, I will be able to patch the zImage to always boot in recovery as root mode.

Please suggest if it is feasible or not. If yes then how?


问:
Disable Alt+Tab physical keyboard shortcut
Is there any way to disable the Alt+Tab shortcut when using physical keyboard on android phone ,I'm using xiaomi
Mi a2 phone.</p>


问:
Sign in to Google in Chrome without signing in on Android
On desktop, you can sign in to multiple google accounts by clicking on your picture and selecting "add account".

You used to be able to do this on Android. Chrome would automatically sign you in if you were signed in to a google account in Android, but you could sign in to as many google accounts as you wanted.

That feature seems to be broken/gone now.

Now I can only "manage device accounts" which takes me to the Android screen for adding a Google account to Android.  I don't want to add a Google account to Android, I just want to sign in to some Google accounts in Chrome. I don't want the Google account device policies or mixing their contacts with mine or accidentally being in the wrong Google Play account when downloading an app or any of that.

Is there a way to force Chrome to let me sign in to multiple Google accounts without adding the account to Android itself?

I've tested this on a factory-reset Pixel 1 with all the updates and a Pixel 4.


问:
Group SMS in Android by similar Sender Id
In my country, SMS from different services usually come with a sender id. It mostly look like XXYYYYYY where YYYYYY is 6 digit service name, and XX is kind of a 2 digit random value.

What I want to do is to remove the XX part from the sender id so I can group SMS from same provider YYYYYY in a single conversation.

Is it possible to achieve this in Android somehow?


问:
Any way to increase sync period on Calendar?
Is there any way to get my Galaxy S10 calendar to sync with entries that are more than 1 year in advance?

I have a calendar dedicated to keeping track of SSL certificate expiry (over 50 individual sites) so I have an entry for each site.

The problem is that some of my clients send me SSL certificates which have expiry dates 2 or 3 years in the future... so I update the existing entries with the new expiry date.

The result is that my phone leaves existing entries at their previous date, because they're now outside of the sync period.

Is there any way to increase the sync period... or is the simple answer to delete the old item and create a new one (instead of changing the date)?


问:
Cloning Android Devices
I would like to know if it is possible to clone a physical Android device with all settings, apps and configuration to inject it on other Android devices such as an image of the device. And if it is possible, how can I do this ? My Android device is an Android 7.1 and I'm connecting it to an Ubuntu 18.04 LTS.
We are professional and don't want to reinstall each devices, so I ask for a simple way with ADB or other, to clone what is legal to clone, the setup.
I have one device, with his app and settings, I need to clone it on 15 devices...
Simple ADB backup won't do it, it just backup files pictures but no apps.
Thx</p>

Title: Cloning Android Devices


问:
How to install Google Services on a Garmin Fleet 790 Navigation Tablet?
I tried different approaches.

Installing the APKs: Login, Framework, Service and last but not at least Playstore wont work. (I tried it successfully on fire tablet)

In factory mode the menu Point: install from Sd Card wont be Displayed. To install Gapps from there.

Is there any other method to make Google Play Services run on the device?

the navigation tablet is  based on Android 6.0.1

i tried to follow the describtion from @izzy, but if I use the adb sideload i get:

"adb : sideload connection: closed .. trying pre kitkat sideload
  method..'

and than the connection fails again and is closed too.   starting the device in factory mode and try to install it says:

"failed to open driver control no such file"

underwards it says that i could use adb sideload, but when i try my computer says

"no connected device"


问:
Google services don't work on apps but work on browser after changing SIM card
I changed the SIM card in my cell phone and Google apps such as Google Maps, YouTube, etc. no longer works, saying I was offline. Yet they still work if accessed from a web browser.

How to get the Google apps work instead of accessing from the browser?


问:
Inaccurate Battery Consumption Metrics: Is This Behavior Normal?
I own a OnePlus6 running OxygenOS 9.0.9. I noticed that lately my battery doesn't last as long as it used to. I used the Battery Monitor app to check if there's anything suspicious. This is what I noticed:

In this screenshot my battery is at 88% (12% consumed), yet, the app consumption sums up to 8% as opposed to the 12% that is actually consumed.

Is this behavior normal? Is the remaining 4% being consumed by the OS or is there some rogue app that's consuming my battery?


问:
How do I remove an account, which I already signed out of, from the "Choose an account" page and Android Chrome?
Someone signed-in their Google account on my phone and now I can't get it to disappear from the "Choose an account" list (the one with the "I" icon) on the Chrome browser whenever I access a Google service webpage:

I have tried the answers from WebApps.SE - How to remove accounts from “Choose an account” list in Google sign in? without success:

I already signed out of the account, deleted it from Settings > Cloud and Accounts > Accounts on the phone.

I also accessed accounts.google.com where, after clicking my icon on the top right, I get this modal where I can see my signed-in account along with their account with a little text next to it saying "Session expired":

If I tap on the "Manage accounts" button, I get redirected to a page listing both accounts, an option for incognito and another button "Manage accounts on this device".

At this point, if I tap on the account I want to remove, it takes me back to my account, and if I tap on the "Manage accounts" button, it takes me to my phone settings where, as I previously mentioned, only my account is listed since I signed out and removed the unwanted account:

I also cleared all Chrome app data from the phone's settings but still no luck.

So, apart from changing my phone, how can I get rid of the account?


问:
How to restore corrupted OnePlus 5 from with a red triangle warning?
This happened after a system update to Android 9. The device is working properly but I'm getting "Your device is corrupt. It can't be trusted and may not work properly" with a red triangle warning every time I reboot. Formatting it didn't work. Any suggestions?</p>


问:
How do I prevent apps from trying to gain permissions?
I downloaded an app for a restaurant I frequent to collect points. When I tell it to show the QR code to scan at the register, it switches to a screen in my Android Settings to "Modify system settings". Of course, this app should have no business changing my system settings, but I need to press Back twice to get out of the Settings app, and to the QR code.

I'm tempted to just copy the QR code offline, and import it in another app, but I want to prevent apps from asking for these permissions after I've already said no.


问:
How do I search the SD card with standard Android File Explorers?
My Android Pie SD card storage looks like this:

```<code>.
├── Android
|   ├──data
|   |  ├── com.amazon.mShop.android.shopping
|   |  |   └── ...
|   |  ├── com.amazon.venezia
|   |  |   └── ...
|   |  ├── com.android.providers.media
|   |  |   └── ...
|   |  └── ...
|   └── ...
└── LOST.DIR
</code>```

If I navigate to /Android/data/ on the SD card you can see the first three directories are:

com.amazon.mShop.android.shopping

com.amazon.venezia

com.android.providers.media

If I search for the string venezia results are only returned for my internal storage, but nothing for the SD card.

Is there a problem with Android search, or is my search procedure wrong? I've tried on multiple Play store file explorers, all with the same result (inability to search SD card).

Edit - The following Termux commands provide the following output:

```<code>$ find /sdcard/ -iname '*venezia*'
/sdcard/Android/data/com.amazon.venezia

$ ls /sdcard/Android/data/com.amazon.venezia
cache files
</code>```


问:
Device freezes when try to write in /system partition. None of the mount commands worked
I have a TB-X304L. I rooted this guy with magisk and whenever I try to write or try to change permissions of the /system directory, the tablet just freezes and I have to reboot it with long pressing power and the volume up button. I can't even make changes to the build.prop file. The same happens when tried with adb. I could get root access in adb shell. when I try,

```<code>cat > testfile.txt
</code>```

it says read only partition. So, I mounted it with rw permission command

```<code>mount -o remount,rw /system
</code>```

it runs smoothly. But when I try

```<code>cat > testfile.txt
</code>```

again and type some text for the test file and press Ctrl+D,  it freezes. I am new to all these please help me guys.


问:
Stuck in boot-loop when unpack and pack `system.img`?
Background: I have a treble and system-as-root but it is not an A/B Samsung device. I am trying to modify the system.img. Before that, I have rooted it with the steps given here. After following these steps, I get a valid AP file that I can flash with BL, CP and HOME_CSC file using Odin. The result of the flashing is a rooted device with a recovery key combination.

I don't want to always press the key combination to get root so, I have asked following questions on this site:

How to patch system.img using MagiskManager patch feature to root the device?

How to boot system-as-root device always as rooted?

Problem: To achieve the system root, I have to modify the system file of the magisk_patched.tar file. So, I have extracted it and tried the following things:

A) Success in Try

Unpack and pack the magisk_patched.tar file. This confirms that the tar commands to pack and unpack is working fine.

Unpack, remove the meta-data(which contains a suspicious password-protected fota.zip file) and pack the magisk_patched.tar file. From this, I have assumed that the fota.zip is not creating any problem(listed below in B)) when modifying system.img.

Unpack, compress *.img(patched files by Magisk) with lz4 and pack the magisk_patched.tar file. This confirms that the lz4 compression is working fine with Odin.

B) Failure in Try

Making tar file with unpacked system partition with no modification:

Unpack the magisk_patched.tar

Uncompress the system.img.ext4.lz4

Convert the system.img.ext4(Android Sparse Image) to system.img(Raw Image)

Mount system.img to the system folder

Created system.img.ext4(Android Sparse Image) from mounted folder using make_ext4 utils

Replace new system.img.ext4 with system.img.ext4.lz4 in the extracted magisk_patched.tar folder

Created a new AP.tar from the extracted magisk_patched.tar folder

Flashed this AP with BL, CP and HOME_CSC(in CSC section) using Odin.

Flashing completed.

Reboot the device in recovery mode and wiped data partition.

Reboot the device with recovery key combinations and released the keys on the splash screen.

The device stuck in a boot loop.

Used lz4 in place of system.img.ext4 as follows:

Followed the same step as in 1. till the system.img.ext4 is created.

After that, I compressed it with lz4 utility and make a system.img.ext4.lz4.

Replace new system.img.ext4.lz4 with system.img.ext4.lz4 in the extracted magisk_patched.tar folder

Then the same step as in 1. and have the same result.

Removed meta-data folder from the extracted magisk_patched.tar and flash with trying the steps listed in both 1. and 2. but the result is same: The device stuck in a boot loop.

Commands that I am using: Please check the accepted answer of How to unpack/repack system.img of android ROM?

So, I will not able to modify and flash it successfully until I will get success in flashing it without modification.

Any solution to this problem or any suggestion to find it out?

Update 1: I get the kernel logs via the recovery after a boot loop. In recovery, when a boot loop happens, I can see the file generated as

```<code>/cache/recovery/last_kmsg
/cache/recovery/last_history
/cache/recovery/last_avc_msg_recovery
/cache/recovery/last_log.1
/cache/recovery/last_kmsg.1
/cache/recovery/last_log.2
/cache/recovery/last_kmsg.2
/cache/recovery/last_log.3
/cache/recovery/last_kmsg.3
and so on where log.* and kmsg.* keeps generating for every boot loop.
</code>```

I have tried to find any kernel panic related string in these files but not seen any such error. Please let me know if I have to look for other words that can be related to a cause of the boot loop?
I can not use adb here as the device is unauthorized so, the only option to check is reading these logs from the phone where I can scroll using up-down volume keys and the touch is not working :(

The only way, I can share these logs is through Google Drive.

In this video, I have done the following:

Displayed recovery logs before: The last recovery logs are ends with 8.

Rebooted the device with a recovery key combination. I have already wipe data partition before making this video.

The boot loop happens and in the next reboot, I have pressed the recovery key combination to open the recovery mode where logs that end with 9 displayed.

Then I have recorded last_history, last_avc_message_recovery, last_log.9 and last_kmsg.9

last_history and last_avc_message_recovery looks unchanged(same as before boot loop).

Then, I just have tried to mount the system but that didn't work.

At last, I have just rebooted the system normally without any recovery key combination.

Is anyone can help me in debugging the problem by looking at the logs. I have tried to find but I don't have enough knowledge to understand some of the things mentioned in the logs.

Some Error and Warning logs of last_log.9

```<code>exec -f /system/bin/e2fsck -v -y /dev/block/bootdevice/by-name/cache
error: _do_exec: can't run '/system/bin/e2fsck'
  (errno 13 : Permission denied)
/system/bin/e2fsck terminated by exit(255)
...
E:Can't read /cache/recovery/last_locale: No such file or directory
...
W:Failed to unmount /efs: Device or resource busy
can't unmount /efs - Device or resource busy
...
W:Failed to set brightness: Invalid argument
I:Screensaver disabled
Atomic Commit failed in DisableNonMainCrtcs
Atomic Commit failed, rc = 0
...
Reboot Recovery Cause is [[BootChecker]RebootRecoveryWithKey]
...
print_recovery_cause() : reboot_reason=[[BootChecker]RebootRecoveryWithKey]
...
[property list]
persist.audio.fluence.speaker=true
...
ro.vendor.build.security_patch=2018-08-05

Supported API: 3
I:/efs is already mounted
W:Failed to unmount /efs: Device or resource busy
check_selective_file:Can't unmount /efs - Device or resource busy

just_reboot_after_update = 1
should_wipe_cahcewipe_cache

-- Wiping cache...
erase_volume(/cache)
...
MDF_I: Completed reset MDF flag!
MDF_I: Completed initialized MDF for Recovery!
mke2fs 1.43.3 (04-Sep-2016)
Discarding device blocksL 4096/153600??????????????????????????????done
Discard takes 0.00051s
Creating filesystem with 153600 4k blocks and 38400 inodes
...
Creating journal (2048 blocks): done
...
copy_logs
...
Cache wipe complete
[Checking pre-multi-csc2]
[start failed section]
sales_code=VZW
Carrier ID=[XAA]

[system partition space check]
The device has /product partition.

[out-recovery]
I:system root image is true, so need to change the unmount point from /system to /system_root
running out-recovery time : 0.000s
running recovery time: 1.738s
copy_avc_msg_to_data(1, )
I:fs_type "ext4" for /cache
copy_file 'proc/avc_msg' 'cache/recovery/last_avc_msg_recovery'
!__RECOVERY_FOR_ASSAMBLY
b_del_recovery_command = true
Rebooting...
## finish_recovery_terminate(del=1, reboot_cmd=reboot, clear_BCB=1)
## finish_recovery(delcmd=1,...
I:Saving locale "en-US"
I:fs_type "ext4" for /cache
I:[libfs_mgr]dt_fstab: Skip disabled entry for partition vm-linux
I:## unlink /cache/recovery/command
copy_logs
I:fs_type "ext4" for /cache
copy_log_file :: create recovery log file '/cache/recovery/log'
copy_log_file :: create recovery log file '/cache/recovery/last_log'
</code>```


问:
Can't Donwload/Install/Update any app - Waiting for download
I've got a problem while trying to install/upgrade any app on my android phone, after tapping on install/upgrade it just get stuck with the message waiting for download.

Nothing works for me, I already tried these solutions and their combinations:

Restarting the phone

Clearing google play store cache/data - force stopping it

Clearing google play service data

Clearing download manager cache/data - force stopping it

Uninstalling and reinstalling Play Store updates (also I have tried it without reinstalling)

Removing & re-adding my Google account from device

I've got enough free storage [+3G]

I'm on a WiFi with good connectivity.

There is no new version of Android available to upgrade for my phone

I also tried installing apps from browser, didn't work!

I tried installing apps using a VPN too, Wrap from CloudFlare is the only thing on my phone and it didn't work either.

I'm on Android 8.1
Motorola products, if it makes any difference.


问:
S6: Folder is empty when trying to view the files on PC, display broken
So my phones display recently died and trying to view it on my PC leaves me with an empty folder...
The phone is still on and running though, only the display is broke
There are different solutions to this, I link them below:

Galaxy S6 Folder is Empty on PC

There must be a way to operate the phone from my PC, right?

Would be happy if someone could help


问:
Real time switching for playing audio as microphone input for online speaking in external app
I like to play my podcast played from some other apps like Telegram or Castbox into my realtime mic which is played in another app like Hangouts or WhatsApp conference, two-person calls, or for streaming a live podcast.

I found some apps like Lesser AudioSwitch or Microphone Pro which don't work for this purpose.

There are apps like VB-CABLE Virtual Audio Device as per this answer on Stack Overflow, but it is for Windows, not for Android.

There are some apps which convert audio call in realtime, but is there any way to combine played audio with the phone mic into some other apps like Phone or Hangouts?


问:
How to enforce Selinux (setprop ro.boot.selinux=enforcing)
I have a Xiaomi Redmi K20 Pro (raphael, China Version) device.
I set the prop "ro.boot.selinux" to "permissive", by installing this Magisk Module.
Now I'd like to set it back to "enforcing", but didn't find a way to do so.

I tried using the Module to reset the prop and got this Error: "This root method has no boot script support!
!You will need to add init.d support!
!Addon.d not detected. Backup script not installed..."
It further says it installs files and reports a success, but selinux is still permissive.

After a couple hours on google now, I still don't know what init.d support really is and how I set it up. I hope you can help me.

I tried further:

setenforce 1 -> works till reboot

edit sys/fs/selinux/enforce to 1 -> back to 0 after reboot

setprop ro.boot.selinux=enforcing from terminal in twrp -> error: "unable to set property "ro.boot.selinux" to "enforcing" error code 0xb"

flash both, a recovery.img and boot.img with "androidboot.selinux=enforcing" via fastboot

flash stock miui 11

flash stock miui 10 and upgrade to miui 11

getenforce still results in permissive :/

Thanks a lot!

Edit: After reflashing LOS17 and Magisk and using the module again, I managed to set selinux back to enforcing. Now the popup camera comes up on every boot though, lol
This can be closed, thx


问:
Samsung Galaxy Tab A stuck at logo
My Samsung Galaxy Tab A stuck at the logo screen.

All I could find on internet so far were advices to push power button together with  Volume up.
But it doesn't react for me.
Push and hold power button also doesn't react.
The only combination where I see a reaction is Power + Volume down after 7 seconds screen is black for a couple of seconds after that the logo screen just comes back and here we are again.

What could be the (any) next step?

OwnerDisplayName: Alexander P

Title: Samsung Galaxy Tab A stuck at logo


问:
How do I select a gallery album/folder when selecting what image to comment?
In the Facebook app, if you're going to post a picture, you can select a album from your gallery, like so:

But when it comes to the comments, there are no option for it:

Facebook Lite allows you select what folder since it opens the Gallery app directly; for some reason the main Facebook ap doesn't have any option for it.

Is there any way to do it or am I stuck with this photo reel in the comments?


问:
Rooting the android subsystem on a Acer Chromebook R11
I already have my chromebook in developer mode.

I have play store apps enabled.

How do I root the android os on my chromebook, so I can use apps like AdAway?

I have tried the commands

```<code>sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification --partitions $(( $(rootdev -s | sed -r 's/.*(.)$/\1/') - 1))
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/onescript/RootandSEpatch.sh | sudo sh
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/master/01Root.sh | sudo sh
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/master/02SEPatch.sh | sudo sh
</code>```

and I still get the following message from root checker.


问:
Xiaomy (Redmi 4x) not synchronizing Calendar
I have a Xiaomi phone and almost since the beginning the calendar had sync problems. Until now they were most up to 1 week sync delay but now it stopped sync for good... I've tried to reset the phone, delete and reset the Google account, free up some internal memory space but nothing seems to work.

This problem happens both on the native Xiaomi App and the Google Calendar App so I believe the calendar sync is the problem itself.

The settings sync menu says it was updated today but no events show on the calendar...

Any help?

Thanks a lot!

UPDATE

After a new reboot the Google Calendar App started to work so I'm sticking with this App but if anyone can solve the Xiaomi Calendar issue please post an answer here.

DATA

Model: Xiaomi Redmi 4X

Android version: 7.1.2 N2G47H

MIUI version: 10.3.1.0 (NAMMIXM)


问:
"No Photos" in OSX with PTP?
I delayed trying to fix this for a few years but now I'm having enough of it: photos on my Android phones do not show up in Image Capture/Lightroom/Photos.app on my OS X machines.

File transfer (MTP) mode works just fine. I can see the DCIM folder, the photos in it, and there is no .NOMEDIA file that I can find.

PTP sort of works I guess? The apps recognize the phone, but do not display any of the files.

Tried power cycling the phones, but no go.

Tried connection the cable at different stages, with the phone locked/unlocked, still no go.

Problem started with Yosemite/El Capitan/Sierra -- I don't quite remember which but a long while ago.

Anyone ever encountered this?

Title: "No Photos" in OSX with PTP?


问:
IMO Notifications on Home Screen Won't Go Away
I have a Samsung Phone with Android Pie and with IMO messaging app installed.

Every now and then I see a big pop-up notification on lock screen with nothing else. I have to press on the home button then unlock my phone.

I disabled IMO notifications by going to Settings > Apps > IMO > Notifications and turning off the Show Notifications setting.

That did not work, so I disabled the whole lock screen notifications from Settings > Lock Screen > Notifications and I turned it off.

It did not work either.

What should I do? What am I missing?

OwnerDisplayName: Shadi


问:
Forced Factory Reset on Android TV (reboot loop)
My Android Sony Bravia has the boot-loop problem. It turns on, gets to the Sony logo, reboots, infinitely. Sometimes it gets to the android logo but never further than that.

So I am following the instructions from Sony, after about 20 trials and after reading that you are supposed to press the volume down button lightly I finally managed to see the green light. However after that it restarts and the loops simply continues. What am I doing wrong? Is this an indication, that there is a hardware problem? Can I deduce from this, that the motherboard is working, but that there is perhaps a faulty power cable? Or could this be a software problem?

I also tried to flash the firmware via USB, which didn't work.


问:
How can I change Outlook default image?
I have the application Outlook on my Samsung Galaxy Note 8 and I have several accounts, but both adresses start with the same letter (see picture below).

I would like to know how to customize these icons so that I do not confuse the two accounts.
 Thanks in advance.

Title: How can I change Outlook default image?


问:
Reclaim space occupied by an uninstalled app
I have recently uninstalled Economist.
According to Settings -> Apps, it was taking up ca. 530Mb in data (from the internal memory).
After uninstalling, I did not get that space freed.

Is there any way to reclaim that space, without installing any utility app?
I have seen Clean Master is mentioned a few times. I am not certain who of those mentioning it actually tried it, successfully; and it seems to be quite annoying.

I cannot root the phone.

Related, but not providing an answer:

I uninstalled an app,but did not clear space

Manage files left by uninstalled apps?

Why my phone is always out of space recently, but I didn't install any new software (I tried

$adb shell

su -c "du /data" | sort -n

but my shell doesn't have su)

Completely uninstall an app on Lollipop

Why doesn't uninstalling an app free all the space it had used?

How can I reclaim space used by the defaul email client
(I reinstalled The Economist, to see if Settings -> Apps reported again the same occupied space, so I could Clear Data from there; but not it shows a mere 15Mb of data).

spy / invisible file occupying 4gb+ space in internal storage

Space deleted but not reclaimed for re-use

What else is occupying my android phone's internal space


问:
Check the last time the SD card was inserted/used on Android phone
I have obviously not been paying attention to the fact that I no longer have an SD card in my Samsung Galaxy S7, that I know used to be there. I just recently discovered that it is missing, and now I am paranoid that someone has removed it in order to look at its contents.

I am hoping that there is some way to check the records in the phone and see the last time an SD card was inserted, or to see a timestamp of when it was last used, to help narrow down when it went missing.


问:
Dalvik vm heap props resetting on reboot
I am running android 9 and I tried changing heapsize prop by the following command

```<code>setprop dalvik.vm.heapsize 384m
</code>```

and then verifying by

```<code>getprop | grep heapsize
</code>```

which returns 384m so it works.

But after a reboot the value returns to its default 768m.I also tried to modify the build.prop file by adding the lines but still the props revert on every boot (the file itself still shows the change).

Any help ?


问:
How to exit KDE connect
As simple as the title states - How to exit/kill the KDE connect app when I don't use it. Even if I kill the app from task manager (not sure if it is the correct term) I still see the notification in the notification bar which I assume means the app is still running in the background.

I found answers on how to turn off the notification, but I don't want to do that.
I want the notification visible when the app is running.

Title: How to exit KDE connect


问:
Finding WPS pin without accessing router
So my android phone is not rooted. I have username and password of my friends WPS enabled wifi. So now if I want to view it's WPS pin remotely is it possible without root?
(EDUCATIONAL PURPOSE)</p>


问:
App Passwords Sync between devices
On an Android device, if we sign up on any app, the password gets automatically stored on the Google Account. With this, we can use Google Chrome to access the saved password on Desktop too. Can we do this with other browsers too, like Microsoft Edge or Firefox, if we install it on both, the Android device and the Desktop ?</p>

Title: App Passwords Sync between devices


问:
gdb in virtual emulator
I am testing some code for an Android device, emulated with Android studio.
I would like to debug the c code ("POC") with gdb (which is not included in the binaries of the device) to find where it is breaking.

While debugging I will be connected through adb to emu device. My question may sound trivial: Is it possible to install gdb and how without packages like build-essential etc? What needs to be done? Just copying my gdb binary will definitely not work.

I have found something similar, when you are building another rootfs in system, concrete Debian https://github.com/corbinlc/GNURootDebian

OwnerDisplayName: Coolman

Title: gdb in virtual emulator


问:
Disable Chromecast audio interrruption/autopauze when using camera, microphone or receiving phonecall
I know some people like the auto-pauze function when receiving a phone call so so they are not interrupted by their own music playing. But I am personally very annoyed by that function. When I'm listening to the radio (streaming trough Chromecast audio) I do not want my live stream to be interrupted because I make a photo or video, ask something to my phone or receive a phone call. When I'm listening to a podcast it doesn't even resume after using the camera, the podcast just restarts from the beginning. Very annoying.

After some trial and error I discovered it is the app who plays the audio that interrupts it on an event, not Android itself. Yes it's a bad app that does not offer options to disable that function but its the only one available as it is from the national government. So my question to the community is if there is a way to block the events (camera, microphone, phone call) from being noticed by the app streaming to my Chromecast.

ps: the app(s) I'm referring to are the ones from VRT/RTBF (Belgian national radio).


问:
Where is info from /proc/dumchar_info used, on MediaTek devices?
There are plenty of instructions for changing partition layout on Android, including MediaTek devices, and they say I need to edit MBR, EBR and a ‘scatter file’ and to feed the latter to SP Flash or MTKDroidTools. However, as noted in an answer to “Where does the partition information in /proc/dumchar_info come from, on MTK devices?”, the MediaTek-specific /proc/dumchar_info can't be changed with those means.

Thus the question, where is info from /proc/dumchar_info used? And if it doesn't reflect the actual partition layout and doesn't agree with MBR, EBR and the ‘scatter file’ then what effects should I expect?


问:
Add usb to ethernet support to tablet Teclast t20
i would like to allow my tablet Teclast T20 to connect to ETHERNET via USB.

I already own a USB to ETHERNET ADAPTER, that i use succesfully with my windows 10 laptop.

It is an ASIX AX88772 USB2.0 to Fast Ethernet Adapter, and i found that for this adapter is available a driver (source) in ASIX website

ASIX AX88772 USB2.0 to Fast Ethernet Adapter Drivers

that should work for Linux and Android.

But when i connect the adapter to my tablet using an OTG Usb to microusb cable, and connect the ethernet cable to the adapter, nothing happens.

Searching on the web, i found that with Teclast T10, that is and older version of my tablet (that was without 3G module), was possible to connect to ethernet via a similar adapter with same chipset as mine : UtechSmart USB 2.0 to 10/100 Ethernet Network Adapter (Model US-USB2-E100).
Take a look here (min 5:55)
Video

My tablet Teclast T20 has cpu MT6797X (X27) and runs on Android Nougat 7.1 and has connectivity WiFi + LTE
The Teclast T10, instead, has cpu MT8176 and runs on Android Nougat 7.0 and has only WiFi connectivity

So perhaps the kernel is different and the drivers pre-built in the kernel are different.
How can i check if an USB to Ethernet driver is already built in the kernel of my tablet?
And, if it is not available, how can i add the driver to my tablet? I know that i should have the sources of my kernel, but i think it will be difficult to get them from Teclast.
Any suggestion?

Thank you!
Lodovico.


问:
How can one increase Microsoft Outlook (Android application)'s cache size?
How can one increase Microsoft Outlook (Android application)'s cache size (in terms of number of emails stored offline, disk space or some other measurements)?</p>


问:
Exploiting Janus (CVE-2017-13156) - what do these error messages mean?
I am working on a school research project about the Janus vulnerability (CVE-2017-13156).

Janus is a vulnerability of the signature scheme v1 while installing APKs. I know this does not correspond directly to the Android version, but I would like to make a statement in the text of my project, that says something like "Janus is a vulnerability that affects Android versions ABC to XYZ". I was researching the vulnerable versions and I found a small inconsistency between the Guardsquare Janus writeup and the CVE record:

Guardsquare says that Android versions 5.0 and newer are vulnerable and that apps using signature scheme v2 on Android 7 and higher are safe.

The CVE records lists the vulnerable versions as following: 5.1.1, 6.0, 6.0.1, 7.0, 7.1.1, 7.1.2, 8.0 (notice that 5.0 is not on the list).

I decided to make an experiment with Android Studio Emulator to find out which of the vulnerable version lists is correct: I created a simple app that puts some text in the TextView in its Main Activity and I signed the APK with v1 scheme only (APK compiled for API level 19). I disassembled the APK using APKtool, then I changed the TextView text in the Smali files, compiled it back and prepended its DEX file to the original APK (standard way to exploit Janus).

I attempted to install this Janus-forged APK on various Android versions . The results are following:

Android 4.4: printed this message while attempting to install:

```<code>attacked.apk: 1 file pushed. 40.0 MB/s (3378792 bytes in 0.080s)
WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
pkg: /data/local/tmp/attacked.apk
Failure [INSTALL_FAILED_INVALID_APK]
</code>```

Android 5.0-7.0: The installation was successful, the installed app was showing the text manually edited in the Smali files.

Android 8.0 and 8.1: Show the error message:

```<code>Performing Streamed Install
adb: failed to install attacked.apk:
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION:
Failed to parse /data/app/vmdl173040809.tmp/base.apk: AndroidManifest.xml]
</code>```

My questions here regard the error messages as I don't understand why they show up (I googled some possible reasons, but they didn't really fit my case).

My questions are:

Why are Android versions older than 5.0 safe if they use signature scheme v1 as well? Why does Android 4.4 say the APK is invalid, but Android 5.0 does not?

What does the error message of Android 8.0 and 8.1 mean? Is there a better APK check in Android 8 that reveals Janus even for APKs signed with signature scheme v1 only?

Thank you for your help!


问:
Why even new SIM card is corrupting in my both phones old and new?
My old phone which is running on Android 4.0.4 Sony Xperia ST21i (3G) and new one is Android 9.0 ASUS Zenfone Max Pro M2(4G) but this is not a case.

I've same problem in my new phone that I was facing in my old phone.

Problem is that I was unable to use Internet and sometimes calls couldn't connect too.

My assumption :

Because my old phone's SIM slot pins was scratching card and make it have such behavior.

So It is same in my new phone too, even I had changed SIM card few times but problem was same.

Now also I've changed a SIM card expecting positive result but it doesn't.

In both phones no SIM toolkit is present when insert SIM card.

But when I use other's SIM card it was there.

I was using Vodafone 3G in my old phone but when I bought new phone I used same SIM in it but later I have ported it with Jio 4G.

I've checked with both providers other SIM cards from another person their SIM cards working fine and SIM toolkit also present.

Restored APN settings even suggested by customer care.

I found that even new SIM card is corrupting when I'm insert in phone no matter in old or new.

"I think my new phone infected as I've used old SIM card from old phone."

So how can I get rid of this?


问:
Galaxy Note 3 (5.0) crashes when moving apps to SD ~30% of the time; latest crash lost some system settings & home button is now being weird
Got a bit of a hopefully-not-too-interesting one :)

For reasons unknown, my (secondhand) Note 3 seems to have a bit of a tendency to crash when I use the "Move to SD card" button in App info. Doesn't happen every time.

By "crash", I mean that: everything freezes for about 5 seconds (I often notice this and go "...ah, it's gone again"), the screen goes black momentarily, the Samsung bootup animation runs for about a minute, and then it's back at the lockscreen. It doesn't show the Android logo/splashscreen that I see if I perform a device restart, just the Samsung animation.

I'm actually new to Android, so I don't know if I'm witnessing some sort of respring sort of thing or what. In any case the above is what happens.

I knew that something was a bit wonky/flaky, but I just accepted it as "normal" for this device (put it down to "eh, it's an old version of Android") and I figured the reboot-thing it was doing was resolving whatever the issue was.

The app transfer process seems to make the CPU get mildly impressively hot, but I don't expect that this has any impact. (Translation, I hope very very much that this thing was system-integrated properly and I didn't make it legitimately overheat ;))

IIUC, on Android 5, moving apps to the SD card can only be done via App info, manually, on a per-app basis. All AppMgr III can do for me to batch-move apps over is queue up hundreds of App Info windows so I can hit the Move button myself. Each transfer takes about 2 minutes and that's annoying enough, but the semi-continuous reboots meant I had to keep opening AppMgr, reselecting everything, ...

Soooo, I finally finished a script this afternoon (...:D...) that uses ADB to poke around in the package list, figure out what's on internal storage, open the App info window using the ActivityManager, figure out whether a given app is movable (based on whether the Move button is clickable), and if it is, click the Move button to move the app over. (The script also implements a bunch of heuristics to figure out when the phone has "crashed": it's actually accessible via adb shell the entire time, but a bunch of services stop then restart.)

To clarify, this script basically just poked the screen at the right moment so I didn't have to keep staring at the phone. After some final tweaks it happily dug its way down my list of (way too many) games and apps all afternoon. My guess is that the CPU was sitting at a minimum of 60° for a while. :/

I happened to check in on the phone after probably the 4th or 5th move-induced crash, and noticed it was behaving very strangely: the font settings were wrong, some persistent notifications I have open (system monitors) were gone, and the Home button wasn't doing anything.

My launcher configuration was still intact (whew), my phone still knew its lock code and my Wi-Fi's PSK. But things like font settings, keyboard preferences, etc etc were all gone.

Hard-resetting (Power+Home for 30sec), standard restarts, and wiping the cache partition from the recovery options have not restored my Home button's functionality.

What's really weird is that

Pressing Home when the screen is off wakes the device up

Pressing Home repeatedly enables Talkback

Pressing Home twice doesn't do anything

Pressing it once doesn't do anything

Long-pressing doesn't open the recent activity view

Also - the quick-access buttons in the pull-down menu have all reverted back to factory settings, and the Settings and Show-All buttons have stopped working.

My next expected step is backing everything up and doing a full reset.

Just thought I'd share where I'm up to in case anyone has any other ideas.

Thanks for reading!


问:
How to configure android for not turn on the screen at the time of charging connection/disconnetion?
I want to android device not turn on screen when I connect it to charge and when disconnect from charge.
How and where it may configure?</p>


问:
Install PIT File on Samsung S8 SM-G950F
I try to root my phone but now I get the error Failed to mount '/preload' (Invalid argument) on practially every operation in TWRP, so I read that I should replace the PIT-file with ODIN.

Is this source trustworthy:
https://zfirmware.com/download-samsung-galaxy-s8-g950f-pit-file/

Title: Install PIT File on Samsung S8 SM-G950F


问:
What could be the cause of my phone going into safe mode?
I have a Huawei phone and I have been using it for several years but recently it sometimes ( very rarely) goes into safe mode. The android version is 6.

I do not have any external cover so no buttons are being accidentally pressed.


问:
RTT/TDD/TTY keyboard not showing in dialer app, for those of us with disabilities

There is an option to enable TTY in LineageOS 16, but it seems to do nothing. Phone -> menu -> Settings -> Accessibility -> TTY Mode -> TTY Full

Full documentation of functionality for users: https://support.google.com/accessibility/android/answer/9042284?hl=en

This step never shows:

While the phone rings, the other person's screen displays an RTT indicator Real-time text.

Is this also supposed to enable TDD? Does the phone automatically detect TDD tones then fallback to TTY tones?

Edit:

Here is a page showing the desired functionality, but on iOS 10. https://support.apple.com/en-us/HT207033

It looks like iOS also  has more options which I think would be very useful  in LineageOS/Android, for example placing the call directly or automatically dialing into a relay.


问:
Adroid phone refuse to connect via WAN interface while all other devices on the LAN or WiFi can connect to internet
In short, my phone cannot connect to the internet via 2 WiFi access points in my house. 4G mobile data works fine. Connecting to other WiFi and hot-spots away from my own WAN works fine.

All other devices, around 14 which includes phones, laptops, PC's, servers, VM's and 2 chromecast devices, all work without any issues.

My mobile phone worked fine until sometime late Friday afternoon. I did not install any new software or fiddled with the settings in days. Phone works well no issues with anything.

Mobile Phone - Doogee N10 - about 1 year old on Android 8.1.0

Router WiFi AP 1 - TP-Link Archer VR1600v IP 192.168.1.1 WAN connection

WiFi AP 2 - Netgear R6020 IP 192.168.1.178 (reserved)

LAN to LAN connection between the TP-Link and the Netgear Routers.

Netgear Router WAN port is disabled.

DHCP runs on the TP-Link Router LAN IP Range via DHCP 192.168.1.100 - 192.168.1.200 /24

Test 1 : 4G mobile data enabled / WiFi disabled - internet access OK from all apps.

Test 2 : Switch WiFi on for AP 1 (TP-Link) - establish link, gets IP does not report internet access problem. - But all apps don't connect to internet, browser times out.

Test 3 : Switch WiFi on for AP 2 (Netgear) - Result same as test 2 - No internet connection.

Test 4 : Get another member of the household to switch on WiFi hotspot on their mobile phone - Connects and internet works fine on all browsers and apps.

Things I have done to check out possible issues:

Assigned a reserved IP of 192.168.1.177 on the DHCP in case of aduplicate IP from another device.

Checked firewalls and black lists and filters on both routers, nothing. I can see the connected Doogee mobile phone in the WiFi connected listings same as all other devices.

Rebooted, powered down and deleted all the WiFi networks settings one by one made no difference.

On the Doogee Android admin menus, there is an option to completely reset all the networking configuration settings to factory. Done, re-entered all the settings and made no difference.

On my PC (Linux), I have 2 terminal sessions open. On the 1st one I ping a random ftp site somewhere on another continent. Ping is stable at about 500ms. This is my confirmation that there are no issues with the WAN connection. On the seconds terminal, I ping the Doogee Mobile phone on the 192.168.1.177 IP.

Phone connected to AP 1, it often stops randomly with no ping
activity, and then just carries on normally after some time.

Phone connected to AP 2 pings seems better without long ping pauses.

Switching between AP 1 and AP 2:

3.1 AP 1 - When switching to AP, it can take up to a minute before the ping responds.

3.2 AP 2 - Ping resumes as soon as a connection to AP 2 is established.

Pinging the Doogee is all over the place. Ping times vary anywhere from 2ms to around 700ms.

I don't have any side loaded apps installed. Everything is from Google Play. I installed Trend Micro mobile AV briefly just to make sure it is not something that the Play store didn't pickup.

I can from the browser on my phone connect to any other server / router on my LAN. I can connect to both the routers management interfaces. I can use my "Fing" app to browse all the devices on the network, port scan them and ping them from my phone. Fing however sometimes reports that I do not have internet access, but not all the time.

It seems like my phone refuses to connect to the internet via my WAN port. All other devices have no issues via the same WAN port. My phone connects to the internet via all other means except the WAN port on my network. No firewall or blacklist preventing it. No duplicate IP's.

I am completely baffled, any ideas or pointer welcome please :)


问:
History of unlock patterns
There's a way to see the previous unlock patterns that I been use before? I want to saw a unlock pattern that i use a few months ago...
I have a j3 2016 unlocked (with adb and twrp)</p>

Title: History of unlock patterns


问:
How to install SuperSU using adb while the phone is in TWRP recovery with a broken screen
I have a Samsung Galaxy S4 SHV-E330S with a broken screen (cannot see or touch anything). Please see this and it's comments for more context

I have managed to flash TWRP on this phone (https://twrp.me/samsung/samsunggalaxys4ltea.html) and now I can boot the phone into recovery mode and during this time I can use adb to get a root shell on the phone

I would like to find a way to stream it's screen to the laptop monitor and control it using adb, but I suppose I will need to root the android OS first to this more easily

I cannot use the phone screen so I am not sure how I can install SuperSu.apk from the phone itself. Is there a way to install it through adb? I think the adb shell I get while the phone is in recovery is not the android OS if I understand it correctly, so I don't know adb pm install while in recovery will install the apk correctly. Using adb to control the phone while in recovery is the only I can do anything at all with this phone at the moment so as far as possible I don't want to do anything wrong which might make me loose control of adb during recovery. What is the best way to go about this?

Or is there any way to get adb authorization for android OS, without root and completely through adb while in recovery?


问:
Does playing a 1080x1440 (16:9 aspect ratio) video in a 720x1600 phone decreases the quality a bit?
If I play a youtube video in 1080p quality, that's actually 1080x1440 (16:9 aspect ratio) resolution, right?

Realme 5 vs Redmi note 7 comparison:
720x1600 | 1080x2340

I'm wondering if realme 5 only supports up to 720px (in height), but it supports up to 1600px (in width).

Will that decreases the quality of the video a bit compared to playing it on a Redmi Note 7 that supports up to 1080x2340?

Or I will get the same 'Full HD' quality of a 1080x1440 video on both resolution in my naked eye?


问:
Where is a file actually located in case of bind mounts
I have a rooted phone with Magisk 20.1 running on it. Inspired by this answer on Unix SE, I successfully created a bind mount using Termux. It was between a folder on external SD card and one in the internal storage. The commands executed are as below:

```<code>>su
>mount -o bind /storage/6333-6461/Books /storage/emulated/0/Books
</code>```

The original folder in SD card is about 9GB, and my phone memory had only 1.2GB free. Needless to say, thanks to the Linux architecture, there was no problem because the folder in internal storage was just pointing to the one in SD card.

Now, I placed a test file in /storage/emulated/0/Books, and it was instantly visible in the original folder in SD card.

Then I removed the bind mount using the command >umount /storage/emulated/0/Books. I found that the test file was still there in the original folder in SD card.

My question is: When I placed the test file in the bind mount before unmounting, where was it actually located: in internal storage or external SD card? If I place a large file in the bind mount (i.e. in /storage/emulated/0/Books), where will the file take up space: in the internal storage or the SD card?


问:
How to capture kernel panic logs when ROM failed to flash?
Background: Stuck in boot-loop when unpack and pack system.img?

Short Description: I am trying to modify the system partition of my Samsung S10 5G system-as-root treble device. I have successfully rooted it with patching the AP file and flashed it on the device. It works fine but if I will just unpack and then pack the system.img.ext4.lz4(or vendor.img.ext4.lz4) and put it in the AP file, then the flashing succeeds but the device stuck in a boot loop. So, I am interested to see the logs that cause the boot loop.

Try 1: I have read about pstore and using adb I have noted the following things:

Run find . | grep pstore and the result is as following:

```<code>./sys/fs/pstore
./sys/module/pstore
./sys/module/pstore/uevent
./sys/module/pstore/parameters
./sys/module/pstore/parameters/update_ms
./sys/module/pstore/parameters/backend
</code>```

Check the kernel config by pulling the file from /proc/config.gz and it has all the flag available that are listed in Reading kernel logs article.

```<code>$ cat config | grep PSTORE
CONFIG_PSTORE=y
CONFIG_PSTORE_ZLIB_COMPRESS=y
# CONFIG_PSTORE_LZO_COMPRESS is not set
# CONFIG_PSTORE_LZ4_COMPRESS is not set
CONFIG_PSTORE_CONSOLE=y
CONFIG_PSTORE_PMSG=y
CONFIG_PSTORE_PMSG_SSPLOG=y
CONFIG_PSTORE_RAM=y
</code>```

With the above information, I should be able to read logs from /sys/fs/pstore/ after following the following steps:

Flash the ROM that makes the kernel panic. Followed all steps to root the system-as-root device until the step to boot in recovery mode after factory data reset. Because the device didn't boot properly and stuck in a boot loop.

Open the download mode and flashed the working ROM with following the root instructions.

After setup the device, I have installed MagiskManager and let it do its work.

Then, I have opened the adb shell with su user. I have tried to check logs but there were no logs:

```<code>1|beyondxq:/ # ls -l /sys/fs/pstore/
total 0
</code>```

Try 2: Read this article and tried to do the same step as above but with mounting /dev/pstore as following:

```<code>// Just flashed rooted ROM
// Install MagiskManager and allow it to do required setup
// Run adb shell:
D:\SamsungS105G\VZW-G977UVRU2ASH7-20190827135903>adb shell
beyondxq:/ $ su
beyondxq:/ # ls -l /dev/pstore
ls: /dev/pstore: No such file or directory
1|beyondxq:/ # ls -l /sys/fs/pstore/
total 0
beyondxq:/ # mkdir /dev/pstore
beyondxq:/ # mount -t pstore - /dev/pstore
beyondxq:/ # ls -l /dev/pstore
total 0
beyondxq:/ #

// switching off
// Opening Download mode
// Flashing Panic ROM
// Reboot into recovery
// Done Wipe data/factory reset and then Reboot system now
// Pressed Recovery ket combination till Splash Screen
// Instead of starting setup, the device rebooted, display Splash, black screen, and then again device rebooted...[3 times]

// Open download mode
// Flashing rooted ROM
// Reboot into recovery
// Done Wipe data/factory reset and then Reboot system now
// Pressed Recovery key combination till Splash Screen
// Device opened with root enable
// Install MagiskManager and allow it to do required setup
// Run adb shell:
D:\SamsungS105G\VZW-G977UVRU2ASH7-20190827135903>adb shell
beyondxq:/ $ su
beyondxq:/ # ls -l /dev/pstore
ls: /dev/pstore: No such file or directory
1|beyondxq:/ # ls -l /sys/fs/pstore/
total 0
beyondxq:/ # mkdir /dev/pstore
beyondxq:/ # mount -t pstore - /dev/pstore
beyondxq:/ # ls -l /dev/pstore
total 0
beyondxq:/ # ls -l /sys/fs/pstore/
total 0
</code>```

The above is the 6th try. While scrolling the command prompt above, I have noticed that in the very first try I have following logs:

```<code>1|beyondxq:/ # mkdir /dev/pstore
beyondxq:/ # ls /dev/pstore/
beyondxq:/ # mount -t pstore - /dev/pstore
beyondxq:/ # ls /dev/pstore/
beyondxq:/ #

-- Probably switch off or reboot

D:\SamsungS105G\VZW-G977UVRU2ASH7-20190827135903>adb shell
beyondxq:/ $ su
beyondxq:/ # ls /dev/pstore
ls: /dev/pstore: No such file or directory
1|beyondxq:/ # mount -t pstore - /dev/pstore
mount: '-'->'/dev/pstore': No such file or directory
1|beyondxq:/ # mkdir /dev/pstore
beyondxq:/ # mount -t pstore - /dev/pstore
beyondxq:/ # ls -l /dev/pstore/
total 0
-r--r----- 1 system log 262004 2018-01-11 09:32 console-ramoops-0
beyondxq:/ # exit
beyondxq:/ $ exit
</code>```

So, I did a mistake :( and missed to read the console-ramoops-0 file. But the problem is I am not able to get it back.

Is it like:

if you don't remove the console-ramoops-0 file when its generated first then no more logs will be written by kernel?

Or the memory is full?

Please suggest what I did wrong in my later tries?

Update: Tried to crash manually using the instructions given here but no logs recorded.

Update 2: Grep the pstore using find . | grep '\.rc' | xargs cat | grep pstore -n -i and get following result:

```<code>314:    # pstore/ramoops previous console log
315:    mount pstore pstore /sys/fs/pstore nodev noexec nosuid
316:    chown system log /sys/fs/pstore/console-ramoops
317:    chmod 0440 /sys/fs/pstore/console-ramoops
318:    chown system log /sys/fs/pstore/console-ramoops-0
319:    chmod 0440 /sys/fs/pstore/console-ramoops-0
320:    chown system log /sys/fs/pstore/pmsg-ramoops-0
321:    chmod 0440 /sys/fs/pstore/pmsg-ramoops-0
13623:    # pstore/ramoops previous console log
13624:    mount pstore pstore /sys/fs/pstore nodev noexec nosuid
13625:    chown system log /sys/fs/pstore/console-ramoops
13626:    chmod 0440 /sys/fs/pstore/console-ramoops
13627:    chown system log /sys/fs/pstore/console-ramoops-0
13628:    chmod 0440 /sys/fs/pstore/console-ramoops-0
13629:    chown system log /sys/fs/pstore/pmsg-ramoops-0
13630:    chmod 0440 /sys/fs/pstore/pmsg-ramoops-0
27725:    # pstore/ramoops previous console log
27726:    mount pstore pstore /sys/fs/pstore nodev noexec nosuid
27727:    chown system log /sys/fs/pstore/console-ramoops
27728:    chmod 0440 /sys/fs/pstore/console-ramoops
27729:    chown system log /sys/fs/pstore/console-ramoops-0
27730:    chmod 0440 /sys/fs/pstore/console-ramoops-0
27731:    chown system log /sys/fs/pstore/pmsg-ramoops-0
27732:    chmod 0440 /sys/fs/pstore/pmsg-ramoops-0
</code>```

Update 3 The configuration of ramoops is as following:

```<code>./sys/module/ramoops/parameters/console_size            262144
./sys/module/ramoops/parameters/dump_oops               1
./sys/module/ramoops/parameters/ecc                     0
./sys/module/ramoops/parameters/ftrace_size             262144
./sys/module/ramoops/parameters/mem_address             3241148416
./sys/module/ramoops/parameters/mem_size                1048576
./sys/module/ramoops/parameters/mem_type                0
./sys/module/ramoops/parameters/pmsg_size               262144
./sys/module/ramoops/parameters/record_size             262144
</code>```


问:
Can disabled application influence / modify system and UI
This is somewhat a follow up to my 1,5 year old question (still not answered).

I already know that applications displayed as disabled may still be running in background in certain scenarios (mostly, when Google says they must run). But is it a normal situation that such disabled application is modifying / interfering with the system or user interface?

I have Duo (another Google monster) disabled in my device:

Yet it clearly interfere with my system / user experience and it adds some new items to my contacts:

Is this a normal situation. And if so -- then what is "disabling an application" really mean? It seems to be a total fake, making Android users a pure idiots.


问:
keep needing to reset wifi
The network at my office works when I first connect to it, but every few minutes it becomes very slow. When this happens, I need to quickly turn the Wifi off and on, then it gets fast again. As you can expect, this gets really annoying.

Is there anything I can do on the phone side to help with this? Maybe it can automatically reset the wifi connection every few minutes? That would be ideal. Or any idea on what I can ask of our IT guy? I mentioned it to him, and he sort of blew me off.

I am using a Moto z4 with the current Android OS

Title: keep needing to reset wifi