问:
Are there (developer) tools to remove files from Android "Rom" cache, if the smartphone doesn't start properly?
(I have also asked on stackoverflow, as I assume the use of developer tools is neccessary, but I would be very glad to get any working help on here also.

The Google Photo App filled up the 16 GByte "Rom" of my Motorola G5: Google memory overview showed around 6.5 GByte of "Google Photo" data, whereas real (not deleted) photos and videos were only 4 GByte and I had moved those 4Gbyte to the SD card. To be on the save side before hitting "delete" of the 6.5 GByte, I removed the SD card beforehand. But now, when trying to restart, Android is stuck in the booting/start sequence. (I still can enter the pin, then the normal boot/start screen appears, but that only disappears shortly each 5 to 10 seconds. Stuck there.)

Question: Could I access in any way the "Rom" of the smartphone, so I could remove all or part of the 6.5 GByte occupied by "Google Photo", using for example adb?

I have Android 8.1 on the G5 and Win 10 on my computer.


问:
Reverse tethering without rooting or third-party software
The option "USB Internet" can be found by default in the settings of some Androids, allowing to reverse tether.

How could one know that the option does exist and work before buying a device ?
Does it depend on the Android version only ? or the manufacturer ? both ?

ContentLicense: CC BY-SA 4.0


问:
What would be necessary to use a Rasperry pi zero W as a wifi to usb-C gateway for Android Auto?
As many new infotainment systems in cars support Android Auto, but not wireless. I was wondering if I could program something that would allow to use a cheap Raspberry Pi as a gateway. Effectively emulating a phone on the usb side, but recieving the real data from a real phone through wifi. I'm a programmer, but I don't understand the inner workings of Android's USB system to know if it's possible or not (with or without root).

If I know where to start, I can create an open source project on github. I have experience in both a little Android programming as a few languages like .net core or python to make it work on the raspberries side.

```<code>android phone <--wifi--> raspberry pi <--usb--> car system
</code>```

Like for example Renault easy link that is in my Renault Twingo (2019).


问:
After update to Android 9, moto g6 vibrates on home button press even though vibrations turned off
My phone just updated and now every time i press the home button i get a vibration. How do i turn off vibrations?

here's a photo of my vibration settings.


问:
Root - patch/change installed application's smali code
I want to modify an existing android application, but I want to have it keep its original signature, or at least its capabilities of auto updating and using Google Play services.

I am aware of Lucky Patcher being able to be used to patch the system to disable signature verification, however, there must be another way. Lucky Patcher itself is also capable of patching installed application's code, without invalidating any checks in any way. How is this achieved?

I have also thought of a custom apk installer, ran as root, that just forces the apk install by bypassing the package manager, but I can't find the low-level install process to execute this.

Is there any good solution to modifying an installed Android application and have it still have access to Google Play Services and the like, without patching the Android system?


问:
Bluetooth headphones occasionally disconnect and immediately reconnect
I use a Huawei MediaPad X2 (GEM-701L with Android 4.3) and a couple of different Bluetooth headphones (the latest are Sony WF-1000XM3). I listen to music through the headphones and they occasionally disconnect and reconnect (maybe once every 15 minutes on average, but I cannot detect any regularity). Sometimes they go silent for a few seconds, then they say "BT disconnected", then immediately "BT connected", and the music is back; the whole episode takes maybe 10-15 seconds. Sometimes they disconnect while playing and immediately reconnect with a pause in the music of perhaps only 2-3 seconds. I read whatever I could find on the web about power settings, etc. but I believe this has nothing to do with that--again, it is completely irregular, not after a specific time. Somehow the problem must be on the Android side, for it manifests very similarly with both sets of headphones. I believe it is not a wireless signal issue, for it happens in very different settings, including sitting at the desk with less than a meter between the devices involved.

I know nothing to Bluetooth, but I tried to capture Bluetoot HCI packets in btsnoop_hci.log, waited for one such event, and I inspected the log with Wireshark. Here is, I believe, the relevant part of the log:

I believe the event in questionstarts at 1104.784603 and ends at 1104.895574, for the rest before and after looks a perfectly regular transmission. It is odd, though, because the event looks a tad too short and I do not see any sign of connection reestablished at the end of the event.

Anyway, alas, I understand nothing of the protocol. Does anyone have an idea of what might be going on or how to investigate further?

p.s.: I could not find problem descriptions on the web truly matching the problem I have. Except perhaps this one, fairly old and never answered: Bluetooth earpiece spontaneously disconnects and reconnects while talking.


问:
Browsing play.google.com without opening Play Store
When I try opening play.google.com in Google Chrome, it redirects to the Google Play Store app. I want to access the Play Store from my browser so I can easily get links to different apps for sharing. Thanks for being such a helpful group! </p>


问:
Use image file as camera (Android 10)
Instead of using the real camera, I would like to simulate the camera input as a static image file. I want it to work with any app, as if it was a camera. This question had been answered Use image file as camera but it doesn't work with Android 10.

The real world use case is that I will need to scan a QR code / tag from WeChat in order to use WeChat official accounts, and WeChat made it mandatory to do it via the camera. You can test it on: https://mp.weixin.qq.com/ (You will need to register an account first obviously...)

Title: Use image file as camera (Android 10)


问:
Recover a phone number a dialed with no signal
At the bar last night I got a number from an amazing girl that I dialed in the bar. I had no signal when I dialed the number (the bar was deep underground) and I don't see the number in my call history.

How can I recover this number?


问:
Have apps that "support Chromecast", want to send to TV using MiraCast
Situation:

I have an app on my phone that says it supports "Chromecast" (mechanism not specified).

I have an TV (Sharp) that supports MiraCast (protocol).

Is there any way to provide the "Chromecast" API (whatever it's actually called) endpoint to a local app and use MiraCast to send to the TV?

I am not asking:

how to turn on screen mirroring [I can, but it works poorly]

how to obtain or use a Chromecast device [I know Google wants to sell them]

the difference between the two? [I have read around a bit]

I have read through a number of questions about MiraCast and Chromecast, but most seem to be "what's the difference?" and the few asking for "how to...?" seem to be "how do I re-enable screen-mirroring support in Android?" which isn't the issue, since there are multiple apps that use MiraCast protocol to connect to TVs and play video.

I need to know, specifically, whether there is a pre-existing app that can provide a "Chromecast"-like interface at the client side, and use the "MiraCast" protocol to connect to the TV.

If not, is it possible for me to write one, or is there something about the 'cast services that's restricted so it can't be provided by a non-Google-sourced app? Not asking how to write one, I'm hoping I don't need to try.

As per @MorrisonChang's comment, we actually have three devices we'd like to be able to use for this, all Huawei: an HONOR 20 Lite, a P Smart (not the 2019 update), and an older P9 Lite which has a dying battery but works fine plugged in. Android version is Pie on the HONOR; I believe the P Smart shipped with Oreo but has since had a Pie update available (not my device, so not sure if it has been updated or not).


问:
Messages from other android users not registering
I've noticed that my galaxy s10 has problmes processing(might not be the correct term) messages from other android users. First, if im using my galaxy buds, it will skip reading messages from other android users. Second, KDE connect will not register new messages from android users. This is frustrating. Appreciate any help.

EDIT: Is there a way to treat android to android messages like regular SMS, as opposed to having the read receipt and blue indicator dots on? I think that is messing with everything.


问:
Offline Mesh Instant Messaging
TLDR: Is there an Android app that would allow for reliable instant messaging in areas without internet of any sort?

I am looking for a free Android app that would allow several users to communicate with each other over short distances even when there may not be any internet connection available to them. This means that the app should be able to run in the background, connect to a mesh network of all other devices running the same app and send and receive messages reliably. Having to give the app special permissions is not a problem. (Though the previous option
is preferable, if there is a way that works using a private WiFi (without it having to be connected to the internet) and a server hosted on a local machine I am also interested in it.)

I know this is asking quite a lot, however, a number of apps on Google Play claim to possess all these features. I have tried some of these that work via Bluetooth and ad-hoc WiFi but I found that none of them worked reliably. These include:

FireChat: I know it used to work in the past but the current version does not

Bridgefy: only seems to support text messages in the current version and is unreliable, but it's still the best I could find

Briar: did not work well

Signal: did not work well

goTenna: likely works well but very expensive

I only tested these between two devices each time, might any of these work better in practice with more users as mesh networks should in theory? Is there an app that might help I have not tried yet? Or is there a point to trying out old versions of FireChat hoping to stumble upon a working one? If so, would I be able to trust it (both the APK from a mirror and the app data security-wise)?

Title: Offline Mesh Instant Messaging


问:
S7 data recovery with broken screen
I have a galaxy S7 (SM-G930F) with a broken screen. It can receive calls and texts and connect to wifi. I can access it via https://findmymobile.samsung.com/ to unlock it. That site also has options to back up data but they seem to hang without doing anything.

If I connect it to the computer via usb it is recognised but shows no files present to copy.
The phone has access to my wifi.

I have tried downloading several supposedly different programs for data recovery.
One thing that is really confusing me is that most of them seem to be variations of the exact same program dr. fone but with different product names. What is going on there?
For instance isky toolbox = dr. fone

Some of them don't support S7 (even despite being the same programs as each other). They threaten to risk bricking the phone if the wrong model is selected.

I do not have usb debugging enabled (at least I don't recall enabling it, though I possibly install some apps that might have such as a Linux terminal program I don't remember and can no longer check)

I'm am also trying up the contents of the SDcard. I'm not sure what's it and isn't on there. ie. in the Android directory. Windows refuses to transfer the files itself (if I select all of them it copies nothing). It also suggested it would take >1 day to backup a subset of the media files (~9Gb). so I need to use a different copy tool. I am currently trying AOMEI Backupper. This has not yet completed even counting the files to copy.

What are my options for recovering files such as photos or other data like app settings, game progress, whatsapp messages or whatever?
I'm not sure what's on the SD card versus the internal storage.
I have the option to use either Linux, PC or even iPad for this.

Replacing the screen or some other hardware repair is not an option.

I have since moved my sim card to a new phone (different model) but could move it back if that would make any difference.

airdroid looks like a good way to get around this kind of problem except that I have to have installed it before I broke my phone.
Some of the backup/recovery programs look like they work by pushing an app onto the phone somehow. Being able to push one of them or something like airdroid would be great.

Similar questions:

Access files or ADB on locked Galaxy S7 with broken screen

Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen

They don't quite help me though.

Title: S7 data recovery with broken screen


问:
How can I darken the navigation bar when presenting slides with Google Slides?
How can I darken the navigation bar when presenting slides with Google Slides?

For example in the following screenshot I want to have the white navigation bar on the right to be visible to be dark:

I tried to use the Navigation Bar application to darken the navigation bar: this works until I open Google Slides, which turns the navigation bar white again.

I use Android 9 with Samsung Galaxy S9.


问:
Alcatel A574BL unrootable, FRP unbypassable
FRP bypass unsuccessful have tried every method posted on YouTube. Managed  to get browser, download apps, etc. Certain limits that i really want to be rid of. Phone wont root trying superuser, kingroot..any suggestions would be appreciated.</p>

OwnerDisplayName: Jeffrey Pulver


问:
Is appgallery.cloud.huawei.com a Huawei site or kind of malware?
I started to receive notifications urging to install the official Huawei app store, kind of alternative to Google Play Store. I would be glad, but the app immediately requires to give about all permissions that ever existed for the phone. Is it malware or just unprofessionally written? Please do not hurry to install the app if you just do not know.

One thing that made me suspicious is the app requires permissions right after start and refuses to do anything if not granted immediately. I would expect well written app to have some functionality available, and permissions box popping out only when the permission is really needed. At least could allow to browse over apps in the store - not any single permission is required for that.


问:
Can't generate keys for ADB
I'm trying to use ADB on an ARM device running Ubuntu 18.

The Ubuntu machine communicates with the android phone and can access its files. However, listing the devices on ADB produces an error relating to generating the adbkeys in the .android directory.

Command:

```<code>adb devices -l
</code>```

Error:

```<code>List of devices attached
* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 8409
--- adb starting (pid 8409) ---
adb I 02-04 01:26:21  8409  8409 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 02-04 01:26:21  8409  8409 main.cpp:57] Version 1:8.1.0+r23-5~18.04
adb I 02-04 01:26:21  8409  8409 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb
adb I 02-04 01:26:21  8409  8409 main.cpp:57]
adb I 02-04 01:26:21  8409  8409 adb_auth_host.cpp:416] adb_auth_init...
adb I 02-04 01:26:21  8409  8409 adb_auth_host.cpp:262] User key '/home/odroid/.android/adbkey' does not exist...
adb I 02-04 01:26:21  8409  8409 adb_auth_host.cpp:109] generate_key(/home/odroid/.android/adbkey)...

* failed to start daemon
error: cannot connect to daemon
</code>```

Manually restarting the service with kill-service and start-service and using sudo yield the same result. The .android directory remains empty. ADB worked fine on a Windows 10 machine with the same android phone, so I copied the adbkey files from the Windows 10 machine to the Ubuntu machine in the hope of getting lucky (I don't know what they do). That produced a different error with the same command:

```<code>List of devices attached
* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.0.log
Server had pid: 8699
--- adb starting (pid 8699) ---
adb I 02-04 01:31:38  8699  8699 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 02-04 01:31:38  8699  8699 main.cpp:57] Version 1:8.1.0+r23-5~18.04
adb I 02-04 01:31:38  8699  8699 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb
adb I 02-04 01:31:38  8699  8699 main.cpp:57]
adb I 02-04 01:31:38  8699  8699 adb_auth_host.cpp:416] adb_auth_init...
adb I 02-04 01:31:38  8699  8699 adb_auth_host.cpp:174] read_key_file '/home/odroid/.android/adbkey'...
adb I 02-04 01:31:38  8699  8699 adb_auth_host.cpp:391] adb_auth_inotify_init...
adb I 02-04 01:31:38  8699  8699 adb_auth_host.cpp:467] Calling send_auth_response

* failed to start daemon
error: cannot connect to daemon
</code>```

Does anyone know how to solve this?

Title: Can't generate keys for ADB


问:
Language on SOME sites is stuck on marathi
If this belongs in another stackexchange, please move it, I couldn't find a better one.

Some websites I visit, such an Instagram and Twitter show some of their text in Marathi.

I can't read Marathi, and don't know how to change the language back.

This issue is not website related, as it happens on some sites I never even visited before.

It doesn't happen on facebook or google for example.

It only happens on my phone.

It also happened on my previous phone, and keeps haunting me on this one.

I tried all sorts of language changes, and this persists. I don't know what setting to change to get my English back.

I do need Hebrew on my phone as well.


问:
Skip slide to unlock screen
Since android 5 I must slide the screen before I'm able to enter the PIN

How to bypass this behavior ?

I am, of course, expecting a "hack", not a vanilla solution

Android 8

Rooted and Xposed

Motorola Moto G6 (XT1925-5)

Title: Skip slide to unlock screen


问:
Phone shuts off in 3g
I have a Moto Z2 Play with Android 8.0.0, about 3 years old. Whenever I go out of range of 4g (to 3g), the battery goes from 100% to 80 or 70 in a couple minutes and then to single digits very quickly and the phone shuts down. The phone will not turn back on in this state. When I charge it, it returns to 70/80 immediately and it will turn back on. This never happens in 4g.

What is the problem? Is the battery just faulty?

--- follow up ---

I attached a power bank and went out. Here is what happened.

It lasted longer, perhaps an hour and then went to single digits and then turned off. I then restarted the phone with the power bank and it was quickly back up to full power.

What does this tell us?

Title: Phone shuts off in 3g


问:
adb devices not working in Hyper-V
I connected Motorola android device on my host machine. I can not view the connected device from Hyper-V VM (Windows 10)

I can not see connected android devices (adb) from VM, but i can very well see it on host.

Device on developer mode

SDK installed in both VM and Host

Title: adb devices not working in Hyper-V


问:
Recovery my data on internal storage (deleted permanently 1 month ago)
Does software like Dr. Fone, MiniTool that required "root" on android really work 100% for recovering my lost photo?

First of all my phone is not rooted.

I've lost my important photo (deleted permanently) which I kept in internal storage. And recently i always keep my phone clean that is always using cleaner app like CCleaner for cleaning my DCIM folder, thumbnails, and cache. And i've tried a lot of app like DiskDigger and another app in playstore for recover my photo, but they didn't work.

And my last hope is rooting my phone and use software like Dr. Fone, or MiniTool. (If these gonna work)

And i'm really really searching the accurated answer here which will advise me for rooting my phone or not. Because as you know, rooting is very dangerous cz i have bad experience with rooting. I mean if there is no way to recovery my data so i oughtn't to root my phone.

Please help me.
Thanks in advance!


问:
Keyboard with TAB key ('\t')
I make lists and I'd love to have a keyboard with a TAB key that actually puts \t character within a text field without switching to the following field. I tried most keyboards and I'm dissatisfied over the lack of that feature. Some have the TAB key, but these don't work as expected (pressing TAB switches to the next input field).

There is SwiftKey and is the only one that does this, but it has no option to disable predictions, which I find annoying.

Title: Keyboard with TAB key ('\t')


问:
How to set the time (including seconds) on Android
How do I set the time on Android, including setting the seconds?

I have an android handset that has no SIM, is permanently on airplane mode, and therefore doesn't sync its time from cell towers.

I use TOTP 2FA for many of my accounts, and sometimes the clock on my Android isn't precise enough to produce a valid OTP token. Therefore, I'd like to set the time manually, and TOTP would greatly benefit from being able to set the seconds as well. Unfortunately, it appears that the default "Settings -> System -> Date & Time -> Set time" route only permits me to set the hour & minute.

First, when I set the time with only the hour & minute per above, does the seconds field get set to 0? Or does the seconds field remain unchanged from before setting the updated time?

Second, how can I set the seconds in addition to the hour & minute? Bonus points for an answer that includes a GUI app from f-droid. The CLI works, but it's not exactly accessible to most..

Is there no app in f-droid that supports setting the time with seconds? I used to use NTPSync, but now it appears to not actually change the time after a successful ntp query.

fwiw, I'm using LineageOS and Android 9.


问:
Cannot unlock Motorola C following the instructions from Motorola
I have:

Created an account with Motorola

Enabled developer mode

Enabled "OEM unlocking"

Enabled USB debugging

Disabled the lock-screen PIN

I then connected the device to my PC with a USB cable and booted the device while holding volume down.

The device is visible to fastboot:

```<code>$ fastboot devices
ZY322V73DQ  fastboot
</code>```

However, I cannot run any "oem" commands:

```<code>$ fastboot oem get_unlock_data
...
FAILED (remote: unknown command)
finished. total time: 0.002s
</code>```

How can I unlock my Motorola C?

Here is everything else:

```<code>$ fastboot getvar all
(bootloader)    max-download-size: 0x8000000
(bootloader)    partition-size:flashinfo: 1000000
(bootloader)    partition-type:flashinfo: raw data
(bootloader)    partition-size:userdata: 32000000
(bootloader)    partition-type:userdata: ext4
(bootloader)    partition-size:cache: 19000000
(bootloader)    partition-type:cache: ext4
(bootloader)    partition-size:system: c0000000
(bootloader)    partition-type:system: ext4
(bootloader)    partition-size:metadata: 2480000
(bootloader)    partition-type:metadata: raw data
(bootloader)    partition-size:nvdata: 2000000
(bootloader)    partition-type:nvdata: ext4
(bootloader)    partition-size:frp: 100000
(bootloader)    partition-type:frp: raw data
(bootloader)    partition-size:efuse: 80000
(bootloader)    partition-type:efuse: raw data
(bootloader)    partition-size:tee2: 500000
(bootloader)    partition-type:tee2: raw data
(bootloader)    partition-size:tee1: 500000
(bootloader)    partition-type:tee1: raw data
(bootloader)    partition-size:keystore: 800000
(bootloader)    partition-type:keystore: raw data
(bootloader)    partition-size:secro: 600000
(bootloader)    partition-type:secro: raw data
(bootloader)    partition-size:oemkeystore: 200000
(bootloader)    partition-type:oemkeystore: raw data
(bootloader)    partition-size:seccfg: 80000
(bootloader)    partition-type:seccfg: raw data
(bootloader)    partition-size:expdb: a00000
(bootloader)    partition-type:expdb: raw data
(bootloader)    partition-size:logo: 800000
(bootloader)    partition-type:logo: raw data
(bootloader)    partition-size:recovery: 1000000
(bootloader)    partition-type:recovery: raw data
(bootloader)    partition-size:boot: 1000000
(bootloader)    partition-type:boot: raw data
(bootloader)    partition-size:para: 80000
(bootloader)    partition-type:para: raw data
(bootloader)    partition-size:lk: 80000
(bootloader)    partition-type:lk: raw data
(bootloader)    partition-size:protect2: a00000
(bootloader)    partition-type:protect2: ext4
(bootloader)    partition-size:protect1: a00000
(bootloader)    partition-type:protect1: ext4
(bootloader)    partition-size:nvram: 500000
(bootloader)    partition-type:nvram: raw data
(bootloader)    partition-size:proinfo: 300000
(bootloader)    partition-type:proinfo: raw data
(bootloader)    partition-size:preloader: 40000
(bootloader)    partition-type:preloader: raw data
(bootloader)    ro.carrier: 3gb
(bootloader)    radio: 5
(bootloader)    kernel.version[0]: Linux version 3.18.35+
(bootloader)    kernel.version[1]: (zhaopan@dell-PowerEdge-R730)
(bootloader)    kernel.version[2]: gcc version 4.8 (GCC)
(bootloader)    kernel.version[3]: 1 SMP PREEMPT
(bootloader)    kernel.version[4]: 2019-03-26:11:19:45
(bootloader)    ro.build.fingerprint[1]: motorola/namath_54/namath:7.0/NRD
(bootloader)    ro.build.fingerprint[2]: D90M.009/1553569854:user/release-
(bootloader)    ro.build.fingerprint[3]: -keys
(bootloader)    ro.build.version.mtk[1]: alps-mp-n0.mp1-V1.0.2_wt6737m.65.
(bootloader)    ro.build.version.mtk[2]: .n_P109
(bootloader)    ro.build.version.full[1]: Blur_Version.25.41.09.namath_54.
(bootloader)    ro.build.version.full[2]: 3gb.en.US
(bootloader)    imei1: 000000000000000
(bootloader)    boot reason: wdt_by_pass_pwk
(bootloader)    hwrev: M11
(bootloader)    CID: 0x0032
(bootloader)    SKU: XT1754
(bootloader)    CPU: "MT6735"
(bootloader)    serialno: ZY322V73DQ
(bootloader)    off-mode-charge: 1
(bootloader)    warranty: yes
(bootloader)    securestate: no
(bootloader)    hwsecure: yes
(bootloader)    kernel: lk
(bootloader)    board: WT98736B32_BB8
(bootloader)    product: WT98736B32_BB8
(bootloader)    Ram size: 1GB
(bootloader)    emmc: KMFE60012M_B214
(bootloader)    storage-type: emmc
(bootloader)    version-preloader: 0.1.00
(bootloader)    version: 0.5
all: Done!!
finished. total time: 0.006s
</code>```


问:
How to control Android phone with laptop's mouse and keyboard without lag?
I tried software called "MyPhoneExplorer" that has mirroring function and using it via Wifi gives mouse input lag. Maybe it's possible to achieve this without lag, like using regular Bluetooth mouse connected to phone. Maybe somehow connect PC with phone via Bluetooth?</p>


问:
Can I edit the hosts file on my android without root access?
I'd like to block access to websites on my Pixel 3 android device. The parental settings leave much to be desired and apps like BlockSite don't work across all browsers. (In this case - it doesn't work in firefox)

Here's what I tried so far

```<code>adb pull /system/etc/hosts ~/Documents/android/hosts
</code>```

I edited the hosts file and got it ready to be transferred back.

```<code>adb push ~/Documents/android/hosts /system/hosts
</code>```

This gave me error message: adb: error: failed to copy '/Users/[username]/Documents/android/hosts' to '/system/hosts': remote couldn't create file: Read-only file system

Per this post and this post, I tried a few other options.

I tried to use these commands

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

This gave me error message: adbd cannot run as root in production builds and when I tried adb disable-verity it said: verity cannot be disabled/enabled - USER build.

I tried to use this command

```<code>adp remount
</code>```

This gave me error: Not running as root. Try "adb root" first.

I downloaded an emulator and tried this command on my device

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

Similarly, this was unsuccessful


问:
Self tracking for Android?
I would like to do self-tracking on Android (ICS). Specifically: enter physical tension spots (forehead, hand, back, etc..) every hour or so, and then see plotted graphs and statistical insights on the accumulated data over days.

As an added bonus, I want to manipulate the data from SL4A scripts (e.g., read data and plot using PIL in Python, or jquery plot in webkit).

Is it possible? None of the Android apps listed in that site seem to do what I want.

ContentLicense: CC BY-SA 3.0

Title: Self tracking for Android?


问:
How to get the battery status from an Android phone with Python connected to a PC via Bluetooth?
Is there a way to interrogate an Android phone with Python on a PC and/or Linux to get battery status while connected via Bluetooth? </p>


问:
If I buy a used and infected android phone, will flashing a new custom recovery and custom ROM make it safe to use?
If I buy a used and infected phone with a expensive spyware on it that the antivirus does not detect or is unable to remove than will flashing a new custom recovery and custom ROM make it safe to use?

What would be the proper way of doing it?
Connect to computer and install new recovery first and then the rom or some other way?

Once I have done these two steps, can I be assured that my phone is clean?

And should I be worried about getting my computer infected?

Edit: If this is not enough then what other actions should I take to be sure that the phone is clean?


问:
SM-T815 tablet stuck into boot loop
I have a Samsung Galaxy Tab S2 (SM-T815), witch got into a bootloop after a android update. If the tablet reaches 0% battery and i try to plug it in, it automatically powers on into samsung logo and stays there.

What i've tried:

Keeping pressed the power button (up to one minute) - nothing

Home button + vol up + power (for recovery mode) - nothing happens

Home button + vol down + power -> Goes into a menu where i have to choose between rebooting and going download mode (rebooting goes back into samsung logo loop)

If i choose download mode:

Tried flashing original firmware with Odin3 (after finishing flashing restarts and goes back into boot loop)

Tried firmware from different sites (I live in Romania and there are 2 types of firmware available for this country) Some of them fail at the end and others pass, but after reboot goes back to bootloop

Kies - not compatible

SmartSwitch - not compatible

Any help is appreciated!

Title: SM-T815 tablet stuck into boot loop


问:
How do I disable the app switcher on Pixel 3?
I'd like to disable fast app switching on pixel 3. My device is not rooted and I use nova launched.

I've looked through the settings and I've looked at the gestures folder and the nova launcher settings and I haven't found a feature that appears to do the trick.

Can you help me understand how I can get rid of the fast app switcher in pixel 3?

There are two things that I'm trying to stop

1- When you swipe up from the bottom of the screen and you see apps and can switch between them

2- When you swipe horizontally on the dock bar and it takes you to the most recent app


问:
Data removal from android

If I log onto whats app using a new device and then delete the app ... will it remove the app , all its data , back ups and pictures from the old device and also remove it from google drive ?

Also would this still work if the device is switched off  or offline

If I wish to remote wipe the device would that be possible if I have already disconnected the device from google drive ( for safety reasons ) but it is still active on the find the device ( but won't locate - due to phone possibly running out of battery or offline ?

So if it is offline can it still receive a signal to be remote wiped ?

Title: Data removal from android


问:
Force single application to communicate over data plan -- NOT Wifi
This is the opposite of most questions out there.

My friend's work has blocked a chat application, but she still wants to be able to use the wifi there for the rest of her internet needs.

Is there any way she can have just the chat application use the cell network (getting around the block) and have the rest of her browsing routed over wifi?


问:
Possible to change an apps SSAID aka Android_ID without rebooting? Which service handles this? Fast rebooting with Zygote kills my shell script
This may seem like an odd question, and I apologize for that. I am currently debugging an application and I am having trouble getting new Android_ID's to stick without rebooting.

To be specific these are the new app specific android ID's introduced in 8.0. The location for these ID's are in the following file: /data/system/users/0/settings_ssaid.xml

I am able to change the app specific ID just fine but it doesn't actually change unless I reboot the device.

Is there a certain service or process that I can force-restart to make the new ID to take effect? Or possibly some type of cache that needs cleared?

I am mainly using adb shell commands. So far the best method is to run the following command:

adb shell setprop ctl.restart zygote

This does a 'soft' reboot, so it's much faster but unfortunately it completely kills my shell script that is debugging as well and it's a pain to keep restarting everything.

Is there a way to see what services or processes are being restarted when restarting 'zygote'?

Much appreciate the help in advance.


问:
OnePlus6 oxygen os 10.3.0 "popup notifications no longer available on your version of Android"
I updated my OnePlus 6 to oxygen os 10.3.0, and I can't enable pop notifications, especially on whatsapp.
Attached are the screen shots.

(Click to enlarge)


问:
How to make a screenshot using Termux
When I am using Termux may I send a command to create and save a smartphone screenshot in /sdcard/DCIM ?</p>

Title: How to make a screenshot using Termux


问:
Are VoLTE standards same across the world?
I have a SIM-free Galaxy S9+ (SM-G965F/DS) model. And in my home country (India) VoLTE works fine on it. I'm moving to Japan soon and was thinking of getting a Japanese SIM (The name of the carrier is au) . But I have read many posts about peoples phone not working with au VoLTE service (voice+sms service not working).

Is it possible that different countries use different VoLTE standards and my phone might not support au VoLTE?


问:
How to SSH into my Android Phone's command prompt
I have a non-rooted Android phone with the Termux app installed. I can run ifconfig on the phone's terminal and see the IP address of wlan0, and I can ping the phone's IP from the terminal on my computer. Is it possible to SSH into it from a computer on the same network? If so, what would the username and password be?

I know the openssh package is installed on the phone:
apt list | grep openssh returns
openssh/stable,now 8.1p1-4 arm [installed].

I can also run the ssh command in the phone's terminal (Termux).

Are there any extra packages I would have to install via pkg or apt? Please let me know, anything helps.


问:
SU binary exists, but not executeable (no error while executing from terminal, just empty)
My friend is having a little problem with his phone where he can't update or use banking software on it because of root even though he has never rooted it and root checkers gave me mixed results, some says its rooted and some says its not rooted. So after looking around i downloaded a terminal and ran "su", it ran without errors, but it didn't do anything and didn't output anything.

Now, im not fully sure if this is what is causing his phone to not be able to update, but it does seem odd to have the su file on the phone without it actually being rooted, my guess is that the phone was bought used and the previous owner was attempting to root the phone but failed and just gave up. So, now me and my friend are trying to find a way to get his phone "unrooted" even though its technically not rooted. What should we do?


问:
How to make a notification vibrate and sound once, and then ideally be muted afterward?
What I am looking to do is, get a notification as normal with vibration and sound, and then any further notifications from that app I want to not vibrate. For context, it would be the most helpful for a messaging app, where I would like to be informed when I receive a message, but I don't want my phone vibrating over and over if they are to send more than one message before I can reply. Just once is enough to let me know I have a message, I don't need 27 vibrations in my pocket. This sort of dynamic reaction to a notification would be extremely helpful for me, with the notification acting normally at first, and then if it is already present in the notification "bar" or "tab" (Im not sure what its called exactly), then it wouldn't do something like vibrate or sound my phone. I am not sure if any apps can control notifications like this, so I am here to ask for help. I am willing to root my phone if I need in order to get this functionality, so lets me know about any method you got, Thanks!

Additionally if anyone can think of a good method of receiving the notification you can let me know, I might not need my phone to vibrate or sound at all if there is a good alternative, but those are the only ways that I can think to inform me hands-free and from my pocket, and something like my phone notification led, while less intrusive, wouldn't really work.


问:
copy encrypted internal storage to pc ( in twrp mode )
I have this situation where I had my internal storage encrypted and then by using twrp I formatted only my data( booted into twrp > advance wipe > selected data and Dalvic cache > swiped to wipe . I didn't checked internal storage) ( dumb right ) now when I am booting into twrp it doesn't ask me for password to decrypt data but i can see my encrypted internal storage in file manager

I tryed to copy encrypted content to my pc ( hoping that i can decrypt it because i know the password by which it was encrypted ) but not able to do so

what I tried is

using adb pull it gives me error remote open failed: Required key not available

using MTP it is also giving me error

twrp decrypt <my password> it fails

can i somehow recover my data ( i know the password )


问:
What config file specifies which services load on startup?
I'm using ADB and have full access to the filesystem.

I run ps and see a process running called com.Something.Service. I can kill the process but it restarts most of the time.

It's not a visible app, it's some kind of background service.

I want to stop it from running on startup.

I can't find the setting that causes it to run on startup. What file determines which processes like these run on startup or how can I find it?

I've tried grepping some common directories for the name of the service. I'd hope to find it in /etc/init.d but it's not there.


问:
Hear myself in headset during call?
I have this issue when using earbuds. When I talk on the phone, since the buds are plugged into my ears, I can't hear my own voice and I find myself shouting.

Is there a way to configure Android so that I can hear my own voice thru the headset?

I'm on a Samsung Galaxy Note 9, with Android 10.

Title: Hear myself in headset during call?


问:
Private one-way automatic photo upload solution?
I'm looking for something to automatically upload/sync photos from my phone to my PC or server.

Anybody knows of something that could fit my use case?

My requirements:

upload only files older than some date - I just want new photos, not all the old stuff that I already have

don't reupload files I've deleted on the server/PC - I put the photos in different folders after putting them on the PC

private / open source / FOSS - I don't want for them to get in Google's (or some other company's) hands.

What I've tried:

syncthing - can't choose to upload stuff starting from a date, reuploads things I delete from the sync folder

NextCloud - doesn't have one-way upload feature

I've been thinking about writing something that runs periodically on my phone and just pushes the photos to some S3-compatible storage, and a PC component that pulls them. The problem is that without rooting you can't have reliable cron. Even if I would make it work with Termux somehow, Android could deny network access.

I know that paid Dropbox can do exactly what I want, but l'm hesitant to give them access to all my photos.


问:
Unable to flash custom ROM using TWRP, successfully installing AOSP extended, rebooting the device. Upon reboot it boots to TWRP instead of ROM
Successfully installed the AOSP Extended image for 'nicklaus'. Whenever I reboot my device to boot my device, instead of booting to  the custom ROM my device automatically boot itself into TWRP recovery, as if like there is no ROM installed at all.

I'm trying to flash AOSP extended or any other custom ROM to my device ('nicklaus' Motorola E4 Plus). After wiping the internal storage (dalvik & cache) and then successfully install the custom ROM.

Actually I flashed .zip file, GApps, and then reboot the device, the device automatically boot itself into TWRP recovery mode. Previously, I fixed my file system problem and then tried multiple times to install compatible ROMs. However, nothing helped at all.

After uninstalling stock ROM. I actually flashed ViperOS,
Lineage, Remix OS and AOSP extended as well. But after fixing the file
system issue nothing helped me to flash any ROMs.


问:
Default calendar doesn't show any calendar; not able to create a new one
My tablet runs Android 4.0.3. The stock calendar app complains that there's no calendar available, however I'm pretty sure that my calendar exists because I can read it online through other devices. I can even sync it with my Windows phone. Moreover, I don't see any button to create a new calendar. In my settings, sync calendar is enabled, and there is no problem with my Google account; I can successfully use Gmail and Play. I must be missing something... without any calendar, the calendar app is useless, uh?</p>


问:
fastboot oem off-mode-charge 0 Ressetting back to "1"
Using "Gzosp-rolex-riva-8.1.0.Stable.1.0-UNOFFICIAL-20180622-1133" on "Redmi 4A"

Upon Using fastboot oem off-mode-charge 0 its working for ONE TIME only,

Once the phone powered on, its getting back to fastboot oem off-mode-charge 1

Can Anyone please solve this ??

( OEM Unlocked & Rooted )


问:
Rooting and updating the OS for ZTE ZFIVE C LTE
How to root a ZTE ZFIVE C LTE (Z558VL) with build number Z558VLHWV1.0?</p>

OwnerDisplayName: Daniel Warren


问:
Command has different output when running in a shell or in script
I'm trying to run a script on the Nox emulator through adb. After connecting to Nox via adb with adb connect localhost:62001 and copying a script into a /data/scripts/script.sh folder, executing it gives me different outputs. The script contains the following:

```<code>#!/system/bin/sh
dd if="/data/scripts/screen.dump" bs=4 skip=540503 count=1 | hd

# Expected output: 00000000  08 04 1D FF
</code>```

Now, here is the problem: I'm getting different results depending where/how I run the script. For it to work, I need to open the shell first with adb shell, and any of the following commands work from within it:

dd if="/data/scripts/screen.dump" bs=4 skip=540503 count=1 | hd

. ./data/scripts/script.sh

But I need to be able to run the commands from within a script without having to type them. All of these don't work:

adb shell sh ./data/scripts/script.sh

adb shell . ./data/scripts/script.sh

adb shell 'dd if="/data/scripts/screen.dump" bs=4 skip=540503 count=1 | hd'

The main error I'm getting is Usage: hd [-b base] [-c count] [-r delay] file (which is weird because I know it's correct), and occasionally also dd: stdout: Broken pipe. I've spent about 5 hours today trying only to solve this and I'm out of ideas... If anyone has one let me know!


问:
How to use Google apps with VPN on? (Android 10)
I am using VPN because Google apps only work via proxied connections but recently all of the Google apps stop working if I have the VPN mode on (if I switch to NAT mode they works). I think Google detects VPN and disable its apps' network requests.

P.S. the servers work. The same phone running Android 9 works. Also other devices running Android 5 / 6 /7 works too.


问:
Writing Script to add eth0 interface on S7 edge
can someone take a look over this script? I want to add it in a sh file. When I connect my ethernet adapter I don't want enter all commands again. I just want to execute it from shell. Is this correct?

```<code>#!/bin/sh
ip link set eth0 up
sleep 1;
ip addr add 192.168.178.50/24 dev eth0
sleep 1;
ip route add default via 192.168.178.1 dev eth0
sleep 1;
ndc network create 1
sleep 1;
ndc network interface add 1 eth0
sleep 1;
ndc resolver setnetdns 1 8.8.8.8 8.8.4.4
sleep 1;
ndc network default set 1
</code>```

When I enter the commands directly into terminal emulator ir works, when I execute the script with #sh filename.sh I get error.

The second problem is, my file in root folder isn't here anymore after reboot.


问:
Factory reset a Panasonic Lumix DMC-CM1 - can't start settings to enable USB debugging
A recent update to the Panasonic Lumix DMC-CM1 seems to have broken something fundamental.

System apps will load but the screen will stay blank. e.g. Settings loads up and shows the header with 'Settings' but the rest of the screen is white. I have left it 30 mins and it stays that way. It frequently stalls and has to be rebooted, sometimes you see Launcher3/Settings/etc is not responding, neither wait nor close help. Same in safe mode. I have turned on airplane mode, turned off basically everything I can, removed SD card and SIM etc. Still the same. Google Play wont load so I can't load any apps that might help.

Unfortunately that means I can't turn on Enable USB Debugging, and so I am limited in my options. It seems like the only options are the following:

Using a 'secret code': *#06# works (shows IMEI num) but nothing else seems to, though I did find an info window in the background one time (I think must have been *#*#4636#*#*). I am going off a list of codes I found here.

Using Recovery Mode: There seem to be a lot of different ideas on how to get into recovery on this phone, but none of them work for me. It seems like it's possible to get into a fastboot mode and from there you can do adb reboot recovery but only if Enable USB Debugging is on! :/

Is there anything else I can do?  I am not even sure what version of Android is on it, perhaps 4.4


问:
Google email forgotten after hard reset
My father did a hard reset on his Samsung A10 to give to me as a gift, but he forgot his password and Google email.

I checked the RootJunky video mentioned in this topic but it seems that is not working anymore.

Is there another way to bypass the "Verify the account"? The A10 is unrooted and I don't want to do it.

Title: Google email forgotten after hard reset


问:
How to get a list (scan) of all available Wi-Fi networks/APs via ADB without root?
Non-root solutions only.
I found a bunch of questions and answers on how to connect to specific WiFi manually, but surprisingly none about gathering network info (without requiring root or some custom packages/apps). I don't think there is legit aircrack-ng for Android, all I've seen are some shady ports and regardless, it will require root.

What I want is a built-in way to list detected networks/APS (including placeholder entries for hidden) via default ADB.


问:
Changes in data at Google Drive in WhatsApp backup
I have scheduled WhatsApp Auto-backup at Google Drive using WhatsApp.

Apart from this, I delete unwanted media files (image & video) from the WhatsApp Folder in Gallery.

Will backup file at Google Drive keep deleted media file or it will be deleted in next schedule?

And in case of Restore backup file, will I get all deleted media files?

Please check and clarify.

Thank you in advance.

Regards
FewL


问:
How do I get Facebook Live mobile app to use the wide angle camera?
Many phones today have more then one camera with many of those having wide angle lens. I'm specifically interested in LG v30+ but it can apply to most modern smartphones now.

How can I get Facebook mobile app to recognise the other rear cameras and use them?


问:
I'm trying to disable hotspot but I can't find hostapd on android 9
I'm trying to permanently disable hotspot on my phone. I saw this answer here
How do I disable the Mobile Hotspot feature?

I've connected my phone (ulefone armor 6e) to adb  but I can't find hostapd in system/bin/ does anyone know where it is in Android 9? ( I can find it easily in an android 7 phone)
   or another file to delete that will do job without damaging anything else?
I've not yet rooted my phone and I know I will have to try to do this to delete system files.  But i would like to at least find the file i need to delete first.

Or is there an easier way?:D


问:
How do I find out how much an Android device output power is?
I have a SM-T510 in which I want to cast video to a Asus ZenScreen MB16AC using the Android DisplayLink Presenter app.

It's not working and I'm trying to figure out if the Galaxy is supplying enough power or if it's another issue.

I've plugged both devices into my laptop which has Ubuntu 18.04 installed and updated.

This command gives me the device id's when they are plugged in:

```<code>lsusb
</code>```

I use this device id with these commands to get max power:

ZenScreen:

```<code>lsusb -v -d 17e9:4374
</code>```

Power Result: MaxPower 500mA

Galaxy:

```<code>lsusb -v -d 04e8:6860
</code>```

Power Result: MaxPower 64mA

The problem is I don't know if this is max input or max output or both. Or if this number is dependent upon some other influencing factor.

How do I get the max power out so I know if my ZenScreen can be powered by the Galaxy?


问:
How to recover deleted .zip files through TWRP?
I deleted internal storage and forgot that my .zip backups was there. I have no OS installed, only access via TWRP. How can I restore my .zip files?</p>


问:
Do I need to factory reset?
I have downloaded a bunch of apps on my 3-year-old Lenovo Android tablet. Lately, several of the app icons have been turned into little green android images. Also, the books I've downloaded to Acrobat Reader are inaccessible. Do I need a factory reset? If I do, how can I get back the great books that I was looking forward to reading?</p>

Title: Do I need to factory reset?


问:
Couldn't move content, try again
I have a Motorola G6 with Android 9 and a 32 GB mSD card (a good Sandisk one) formatted as internal storage and encrypted.

When I first used the card, I used the content migration utility to move some content onto the card and it worked fine.

Now I'm running out of space on the mSD card but I have some 10 gigs free in the phone.

So I tried to use the utility again in reverse: In Settings > Storage > Internal shared storage I tap the 3 dots > Migrate data. The screen says it will move about 4.5 gigs of stuff from the mSD into the phone.

I confirm, it shows a progress bar that jumps to 80% immediately and then I get the notification "Couldn't move content. Try moving content again".

It's been like this for weeks. I've tried rebooting many times, I've moved all the apps into the phone storage but whenever I download something, make a picture or whatever it's stored on the card and I can't affect it.

Any clue what's going on?

As a side note: say I'd want to upgrade the card to 64GB... How would I proceed, considering the current card is formatted as internal and encrypted?

Thanks

Edit: I realized a strange thing. The mSD card shows there's 13 gigs of apps even tho there are no apps on the card. There are 13 gigs of apps in the phone however. Methinks the system is confused about what is where.

Title: Couldn't move content, try again


问:
galaxy note 4 sm910c PIT partition error
i  tried to flash the latest firmware, but after i press the start button,it says PIT partition error,so i installed a PIT partition for note 4 and then tried,still it says PIT  partition error.....can ypu help mewith it?</p>


问:
Random Media Pauses
I have a strange problem that started recently where media I'm listening to/watching will randomly pause. It happens both when playing on my phone and when playing over bluetooth to my car or headphones. Sometimes it happens when my phone is sitting on the counter and I'm not touching it. I've had it happen in both Pocket Casts and Youtube Vanced, but those are the only two media apps I use regularly. Sometimes it happens shortly after media starts, sometimes it's after I've been watching/listening for a long time.

I was able to grab a logcat where I started a podcast and then it paused a second or two after it started. I've tried to read through it but I can't really make sense of it. Here are two sections I think might be relevant, but I'm not really sure what it means:

```<code>02-14 17:19:29.537  5612  5612 V MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
02-14 17:19:29.537  5612  5612 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
02-14 17:19:29.538  1119  2261 D NuPlayerDriver: reset(0xeab4a500) at state 4
02-14 17:19:29.539  1223  4542 I AS.AudioService: releasePlayer: 39 currentPackageName:com.android.chrome
02-14 17:19:29.539  1119  7508 W AMessage: failed to post message as target looper for handler 0 is gone.
02-14 17:19:29.539  1223  4542 I OpAudioMonitor: MDM,stop.
02-14 17:19:29.540  1119  7508 D NuPlayerDriver: notifyResetComplete(0xeab4a500)
</code>```

and

```<code>02-14 17:19:32.091  3918  3918 D TouchInteractionService: onInputEvent# ev: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=614.0, y[0]=715.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=109664, downTime=109664, deviceId=6, source=0x1002, displayId=0 }
02-14 17:19:32.096  3918  3918 I Surface : opservice is null false
02-14 17:19:32.096  3894  3894 I Surface : opservice is null false
02-14 17:19:32.097   921  1000 I SurfaceFlinger: surface flinger receiver command 20001 .....
02-14 17:19:32.098   921  1000 I SurfaceFlinger: surface flinger receiver command 20001 .....
02-14 17:19:32.123   816  2840 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
02-14 17:19:32.159  4019  4019 D MediaBrowserCompat: Connecting to a MediaBrowserService.
02-14 17:19:32.162   566   566 E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1223 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
02-14 17:19:32.184  1223  4920 I MediaFocusControl: abandonAudioFocus() from uid/pid 10118/4019 clientId=android.media.AudioManager@7c6e8dcau.com.shiftyjelly.pocketcasts.core.player.d@cc5de5
02-14 17:19:32.197   566   566 E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1223 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
02-14 17:19:32.205  4019 14234 D AudioTrack: ClientUid 10118 AudioTrack::pause
02-14 17:19:32.207  1223  4920 I AS.AudioService: playerEvent: 63 event: 3 isMusicActive:true device:2 currentPackageName:au.com.shiftyjelly.pocketcasts
02-14 17:19:32.207  1223  4920 I OpAudioMonitor: MDM,stop.
02-14 17:19:32.207  1223  4920 I OpAudioMonitor: MDM,stop startTime:1581729563 endTime:1581729572
02-14 17:19:32.208  1223  4920 I OpAudioMonitor: MDM, playing,device:5 lapse:9
02-14 17:19:32.208  1223  4920 I OpAudioMonitor: MDM,device:2 lapse:9 packageName:au.com.shiftyjelly.pocketcasts
02-14 17:19:32.208  1223  4920 I OpAudioMonitor: MDM,stop remove start time for:au.com.shiftyjelly.pocketcasts
02-14 17:19:32.208  1223  1786 I OpAudioMonitor: logMdm run preserveOsData tag:audio_connect
</code>```

If anyone wants to look at the full log it's here: https://drive.google.com/open?id=1S30aOzaIg3CqdDKqSr88N-QDIADm2HeV

If anyone has any ideas as to what would be causing this I'd love to hear!
Thanks!

Title: Random Media Pauses


问:
Is there a way to install a imei on a samsung galaxy s9
I have a samsung Galaxy S9 that has no Imei Installed I was wondering if there is any way of boot loading or forcing a imei on to the system it is a retail phone </p>


问:
How to embed an Android app's data together with the app into a new apk file?
I found this Windows program to embed an Android app's data into a new apk together with the app.
https://github.com/And42/SaveToGame/releases

But it seems it uses old smali, baksmali, apktool files.
I tried with new files but it didn't make a difference.

To change the language to English, just change the first menu option and select the language as English.

If someone can test the program and see if they can get it to work, please let me know.

I tried it with a couple of apps like Kodi, but after installing the modded apk, it seems just like a regular install and doesn't restore any data or user settings. Some other apps also can't be repacked probably because of old jar files, apktool it still uses.

To use it
1) You make a backup of your app with Titanium Backup
2) Load the apk with the first button in the program
3) Load the tar.gz app data backup made with Titanium backup with the second button in the program
4) The third button creates the modded app that includes the app data.

This would be great to use to install an app with it's data on non rooted Android devices.


问:
How can my 3GB SD Card have 76GB files
What are these files in SD Card /Android/data/com.android.chrome/
And these are only in SD Card. They were never there before today. And they total above 76GB, in the attached picture only one screenshot is shown. Thanks in advance.

!

Title: How can my 3GB SD Card have 76GB files


问:
Android fastboot device-id
I have a smartphone lg g6 i try to root it.

When i put the command adb devices the cmd show me my attached device name.

I test many adb commands all works. Finally i put adb reboot bootloader and my phone was opened in fastboot mode.

All fastboot command works just the fastboot oem commands shows me this error:failed command.

I try also fastboot oem devices-id and show me the same error.
Note: fastboot devices work and show me my device name also fastboot getvar all, fastboot oem unlock all shows me result just fastboot oem device-id didn't work. Any idea please.

Edit: After i unlock my phone all the oem option they didn't work Any idea to relock my phone.

OwnerDisplayName: Mohamed amine Sekmani

Title: Android fastboot device-id


问:
Is it possible to open new tabs/links next to current tab in Chrome?
In Chrome (or Chrome Canary), I'd like to be able to open new links/tabs next to the current tab I'm on. If this was on a PC, the equivalent would be tabs/links opened at the top of the tab tree/stack.

The best workaround I've found is selecting any piece of text on the current tab's page, then doing a "web search" from the popup context menu. This opens a tab next to the current tab, then I'll use this tab for what I was wanting to search. This doesn't work for opening links next to the current tab, however. And I'd prefer if this could be done without needing a workaround.


问:
No keyboard after reset!
I don't know how it happened but I did a factory reset on my LG g pad and it came back with no keyboard   Which means I can't pass the setup wizard because I can't type a password.  I can't go anywhere?! I didn't delete the keyboard so I am wondering what happened.  Just need help!!</p>

Title: No keyboard after reset!


问:
What mitigation can I take for CVE-2020-0022 (aka BlueFrag)?
A vulnerability, CVE-2020-0022, was recently announced in some versions of Android. My phone, a Sony Xperia XA2, does not yet have an update available.

What should I do in the meantime?

The report suggests "Only enable Bluetooth if strictly necessary". Is it sufficient to disable by tapping the button on the "swipe-down" panel or does it require a deeper configuration change?

The report also suggests "Keep your device non-discoverable". Is it perhaps sufficient to leave discoverability switched off until an update is available? If leaving discoverability switched off was not sufficient mitigation, why would the report even mention it?


问:
How to identify which app is causing the notification LED to flash?
My LG G4's notification LED has started intermittently flashing yellow for unknown reasons.

Normally, I would assume that a notification is causing it, but in this case, no notifications are present and clearing the existing ones doesn't stop the flashing. I have not (knowingly) set an app to flash either.

Is there a way to diagnose which app is causing the flashing?


问:
Saved WiFi passwords on Android 10
I'm trying to figure out the logic of the WifiConfigStore.xml file on Android 10.

I am rooted. I have a XML file generated by Titanium Backup, which I can import and have several hundreds of saved networks restored.
Each marked with "Saved by Titanium Backup".

If I remove TiB - all saved networks are gone.

Password viewers work, but I'm looking for a way to "mimic" TiB's behavior: export a list, then import it, without a specific app dependency (so passwords won't disappear if I remove the app).

I tried dumping the WifiConfigStore.xml after saving one network, manually adding a saved network, pushing it back and setting the permissions+owner. After a reboot - no saved passwords on my device.

Help would be appreciated

Title: Saved WiFi passwords on Android 10


问:
Android device can't boot
I have this device Samsung A5 2016 which has not booted for a while, wanting to repair it, I went into recovery mode however no option seemed to work, recurring error which appeared: "can't find misc/", I tried to make a bootable SD card then to execute it from recovery mode, error "can't find sdcard/".

I also tried to go through Odin mode, however the device does not have USB debugging active it is not in the list of devices connected to adb, so I can do nothing on this side there.

What do you recommend ?

Title: Android device can't boot


问:
How to make a file show up in the Downloads App?
I have copied a file to the Downloads folder with the File Manager App. But when I open the Downloads App, the file doesn't show up.

The Downloads folder is definately the right one: I've deleted a file in the Downloads App and could wittness its disappearance in the Downloads folder in the File Manager App.

Does the Downloads app register downloads somehow and only shows files that have come to the Downloads folder the right way by some Downloads App standard?

Update:

I renamed a file in the Downloads folder to a filename, that already showed up in the Downloads App. That did work, I could open the file from the Downloads App.

Seems very strange to me...

My phone is a LANIX Ilium LT500 on Android 5.1.

Update 2:

Even a reboot of the phone could not make the Downloads App show all files in the Downloads folder...


问:
Adb restoration stopped on Zenfone 3
My goal is to backup save data of two games from my older phone, which I succeeded, and to restore them to my new phone where I have Lineage 16.0 installed.

I used the command : adb backup -apk nameoftheapp.com and then adb restore backup.ab

But as soon as I type the second command and enter the backup password on the new telephone a dialog appears with "Restoration ended".

Is there a workaround/a way to troubleshoot the issue?

Thanks a lot!!

Title: Adb restoration stopped on Zenfone 3


问:
Samsung Tab A6 won't leave battery screen or turn on
I'm currently having issues turn my A6 on, in that it simply won't start up.
I have tried: Holding the Power and Volume Down button, Holding the Power button for 30 secs, changing cables, changing adapters, changing wall sockets, and trying all manner of button combinations. Unfortunately the issue still persists.
When I plug the A6 in, the battery charging screen is displayed but doesn't change or do anything. If I unplug it, the battery charging screen stays for about 5 seconds and the switches off, leaving me with a dead tablet again.

Is this something I can fix, or do I need to get a replacement?


问:
Phone (Nexus Zenfone 5 !!MODEL ZE620KL!!) only boots into TWRP
So I unlocked my bootloader and flashed twrp, but my data was auto-encrypted so i had to perform a wipe from inside twrp. I did this and now everytime i start my phone it boots into twrp. I tried flashing a custom rom but i dont think my version of twrp has usb support since i couldnt tick the box.
So tbh im not sure if i accidentally deleted my stock version of android or if i just did something else wrong, and its very hard to find information about this since theres another phone by the exact same name (ASUS Zenfone 5) but the one I have has the model number (ZE620KL).

So yeah how do I make my phone boot into android instead of twrp everytime i turn it on.


问:
Called 112 (emergency) but no record in call log?
Last week I called 112 for an emergency. Later I saw that this call was not logged. In the past these calls were logged. Any ideas why this happens?</p>


问:
Bypass Samsung Knox factory reset protection
I have an Android device supplied by my government for students and secured by Samsung Knox. However & unfortunately, I forgot the security pattern of the device and I want to hard reset it to access it again. But Knox prevents factory reset by all the ways :/

I have tried entering the pattern in a wrong way 20+ times but it still refuses to achieve a factory reset. I have also tried booting into Android recovery but the factory reset option says MDM disallows factory reset.

Also Google's Find My Device can't even detect the device so I can't reset it using Google's Find My Device.
And developer options are disabled by Knox too so I can't do it using adb

I know that I have made it complex but its the truth and I was wondering if someone knows any way or PC tool to hard reset without USB debugging, or a PC tool that can enable USB debugging.

I don't want to flash ROMs because they will erase Knox which I shouldn't erase :/


问:
Corrupt weird files in Android Folder of SD Card after data transfer to PC
I had a 32GB microSD card and I transferred a few files to my computer using the SD card reader, but when I inserted it in my Samsung Galaxy Tab 4 SMT230_NU a separate folder named "Drive" was created with all my folders, all files were working fine except that the Android folder, instead of containing the data and obb folders, contained files without any format, the folder is still taking as much space as it took before but I cannot access anything

All my downloads were very important and they were in the Android folder, is there any way to recover my files?


问:
Recurring "Allow USB debugging?" popup during a test run
Per my work-around here ./gradlew test connectedAndroidTest erases my getFilesDir() folder, I test on two ONN tablets using a Ruby Rakefile that looks a little bit like this:

```<code>task default: [ :unit_test_and_install, :espresso_test ]

task :unit_test_and_install do
    sh './gradlew --console=verbose test installDebug installDebugAndroidTest'
end

task :espresso_test do
    devices = `adb devices`
    serial_numbers = devices.split("\n")[1..-1].map{|q| q.split("\t")[0] }

    threads = serial_numbers.map do |sn|
        Thread.new do
            sh "adb -s #{sn} shell am instrument -w -r -e package com.mycorp.myapp -e disableAnalytics true " +
                    "com.mycorp.myapp.test/androidx.test.runner.AndroidJUnitRunner | tee tests_#{sn}.txt"
        end
    end

    threads.each &:join

    serial_numbers.each do |sn|
        grop = `grep "^OK .*tests" tests_#{sn}.txt`

        if grop == ''
            sh "cat tests_#{sn}.txt"
            abort 'FAILURES on ' + sn
        end
    end

end
</code>```

The problem is the adb -s WHATEVER shell am instrument line. Even though it launches the JUnit tests correctly, sometimes the tablet puts up its "Allow USB debugging?" requester. (The one that says "The computer's RSA key fingerprint is...")

The tests run whether I tap the requester or not, and it usually does not pop up. Test runs and debugging runs from Android Studio or ./gradlew don't trigger the popup. But how do I get rid of it?


问:
How to know which App architecture is installed on my device? 32bit and 64bit
I've researched a lot about this,

found how to know if the APK is 32bit or 64bit
https://stackoverflow.com/questions/30348216/how-to-find-if-apk-is-32-bit-or-64-bit

I tried going to the developer area in my phone => process manager and still couldn't see running apps' architecture.

tried installing a couple of task manger apps too, still no luck.

I think Google play automatically detects CPU architecture and installs the correct version

https://developer.android.com/google/play/publishing/multiple-apks

https://developer.android.com/distribute/best-practices/develop/64-bit#test-64-bit-hardware

and apparently since 2019 August, Google play requires all apps to have a 64-bit version.
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html

but when I go to Chrome => chrome://version, it shows 32-bit

so I'm looking for a universal way to find out whether the installed app on my phone is 32bit pr 64bit.

I'm using Android 9


问:
How does the HTC Sensation know it's in a dock?
I like hacking stuff together and my next project I'd like to make my own dock for my HTC Sensation. It's a fairly simple project, but the bit I can't work out is how the Sensation knows it's in a dock and launch it's dock app.

I've seen other phones that use magnets or switches, but how does the HTC Sensation do it?


问:
Is it possible to boot a Android smartphone without battery with charging wire on?

Problem

The title of this post seems a funny challenge. But frankly, there are a lot of worthy points involved in this question.

If a Android phone support rapid charging. If its battery is removed, but the charging USB line is connected. Then push the power button. Is it possible to launch it normally?

My experiment

I have a Huawei Honor 9, It is nice condition phone.

I open its back closure and lift the motherboard. Then the bottom of battery exposed. I use credit card to flip the battery against glue. After that, I detach the battery wire from the motherboard.

Then, I put motherboard back and put the back closure on. I connected the charging line.

After push the power button. The boot-flash logo appears. However, this state last for a long time (much longer than normal situation).

When it told me to input password. The thing goes wrong. It indicated that several service (Google service, Huawei Service and UI) is not properly launched. When I input my password. There is only a empty screen with only background wallpaper and a notification bar.

The notification bar show there are 2% of battery. No application is able to launch.

My confusion

Is this result from the protective mechanism of Android system? (Because when battery is beyond some percent, the system will automatically turn off).

How nowadays Android smartphone determine the remaining charge in battery?
As the charging voltage is higher than the voltage in full-charge.

Is it the normal condition that the system cannot launch correctly without battery? Or it is because I might broke some part of circuit when I disassembly this smartphone?


问:
I installed some other phones flash file into my phone and my phone is not booting neither detected by pc, help me
Just for experiment I installed some other phones flash file into my phone using sp flash tool, flashing that file succeeded, SP flash tool successfully flashed that file into my device...

But when I started to turn on the phone, phone is not turning on neither even screen starts up.. I do not know what happened to my phone..

My phone model is Rivo RX45 and it is made by Rivo company.. My phone processor is mediatek mt6572. Flash file that I installed was from the following page: http://fixfirmwares.com/gowin-f7-firmware-mt6572/

Now when I tried to format my device from sp flash tool, device is not detected by the pc. Help me please


问:
Automatically synchronize files between PCs and Android without Internet
I have two laptops. One has internet access while the other does not. Both laptops are in a remote location (one in the office and the other in the home). I have to download some files on a daily basis (3~7 files having 500MB~2000MB file size) for my office project and need these files in the home as well.

I do not want to re-download these files in the home, so I use the following procedure:

Download file in Office Laptop

Copy in (Android) mobile (via SHAREit App)

Paste in the home Laptop (via SHAREit App)

Delete from Mobile

Delete from Office Laptop

Is it possible to do all these steps automatically?

This means, at the end of the day (before leaving my office) I just run a script that copy (latest) files on my mobile and delete these files from the office PC; when I reached home (from mobile) I run another script, which copies these (latest) files in my home PC and delete from mobile.


问:
SSH authentication failure from 4g network
I use JuiceSSH to connect to my server via my Android device. If the device is connected via Wi-Fi, all goes smoothly. But if I connect via 4g network, then I get Authentication failure error. Why? I couldn't find any solution so far. Any help is very welcome.


问:
Unlock bootloader with PIN using ADB
My phone screen has shattered, and is not at all visible. I made the mistake of rebooting the phone via ADB, and now it is stuck at the boot lockscreen.

I am interested in copying the files off the device onto my computer. The problem is, the disk is encrypted, and to decrypt, I need to enter the pin code, which requires using the screen.

How can I decrypt the disk, or unlock the boot-screen via ADB?

Within adb I attempted cd sdcard and it returns /sdcard: No such file or directory, despite ls showing it to exist.

Device is not rooted.

Title: Unlock bootloader with PIN using ADB


问:
Is there any way to recover from an over-written android system recovery, or what else might cause a Pixel XL not to enter fastboot from recovery?
This is an attempt to sideload an update to a Google Pixel XL stuck in a boot loop.

Following this answer from the official Google forums, I tried this procedure as linked in the chosen answer. Unfortunately at step 9 it states:

```<code>9. You will see the Google logo for a few seconds followed by a green android on his back with “No command” underneath. Press and hold Power, then tap Volume Up once, then release Power.
   NOTE: If your device starts rebooting at this point, your only recourse is to contact your place of purchase about a warranty replacement or repair.
</code>```

Unfortunately, sure enough - the device starts rebooting. This Pixel was bought by the previous owner from Verizon and I'd wager ten of them that they want nothing to do with repairing the phone, and would happily sell the user a replacement.

I don't understand what state the android on his back visual indicates, but I believe that the subsequent state would be the android system recovery. If the system is failing to enter that state and instead continuing to boot, it seems to indicate that a symlink or other direction or storage block has been over written. Is that true? And if so, is there any other way to enter android system recovery and continue to step 10 of the above-mentioned instructions?

For context: the user had started noticing battery/reboot/bootloop issues a few days before the device finally rebooted on its own and failed to completely start.

In trying to start the device normally, occasionally the boot loop will get far enough to spin the dots and display the "G" and powered by android at the bottom of the screen. It essentially always reboots after that to the Google splash that appears during initial boot-up.

For insanity's sake: Is there a way to JTAG into this thing?

Edit to add debugging info

```<code>user@host:~$ fastboot flashing get_unlock_ability
...
(bootloader)    get_unlock_ability: 0
OKAY [  0.052s]
finished. total time: 0.052s
user@host:~$
</code>```


问:
Cheap phone disabled flashing with mispelled error message
I have an 'Advanced A4 2019' phone from BLU, and it's known to have spyware. I wanted to flash the phone's recovery with TWRP to install a custom ROM, but I can't seem to enable flashing. It runs android 8.1 at the moment.

Commands I've tried in fastboot:

fastboot getvar all

```<code>all:
Finished. Total time: 0.000s
</code>```

fastboot oem device-info

```<code>FAILED (remote: 'unknown cmd.')
</code>```

fastboot flashing lock

```<code>FAILED (remote: 'Not implement.')
</code>```

.

(This is the good one)

fastboot flashing unlock

```<code>FAILED (remote: 'Not implemet.')
</code>```

That's not my typo, it says not implemet. Also, its worth mentioning that the screen that pops up in fastboot is different from the normal one. Has the binary just been patched and there's no way to put my own OS on it? Thanks in advance


问:
transfer android data from nandroid or twrp backup to new phone
My old phone has broken screen and I managed to get Userdata as TWRP and Nandroid Backup.

I Need to extract from either backup (below are the priorities from up to down)

Contacts

Call logs

Messages

Whatsapp data

Viber data

Skype data

Telegram data

Game data for one or two games

Old phone with broken is Nexus 5(hammerhead) with marshmallow
New phone is Nexus 5x (bullhead) with LineageOS ROM (Oreo)

Unfortunately I can't find programs or instructions how to extract and transfer to a new phone. Could you provide an instruction how to do it manually?


问:
Resigning app and shared user ID
I have a very old version of Tasker I use to create apps for an e-ink reader running Android 2.1 (Eclair). After a recent (security) update to the OS, I found I could not install Tasker unless I resigned it.

This worked OK except that apps which function as plugins would not work in tasks (although they do work if the tasks are compiled as apps with App Factory). This makes debugging very tiresome. I've tried resigning the apps used a plugins with the same key to no effect.

Based on my reading this might be an issue with "shared user ID", but I don't know where to go from here to see if there might be a "fix".

Title: Resigning app and shared user ID


问:
how to delete system apps from stock rom before flashing in windows
I want to remove apps from stock rom.

Tool that I used is "MTK extractor".

I unpacked system.img using MTK exractor tool, after unpacking I got "system " folder.

One youtube tutorial told me if I want to remove system apps, all I have to do is to delete apps from system/app folder.

I deleted browser.apk(built in browser), drive, google sheet, doc. And repacked the system folder.

I got system.img file again.

I flashed it using sp flash tool.

But now when I powered on my phone, it stuck on phone logo and its not powering on.

Please guide me how to remove system apps from stock rom, also I want to add some additional apps to stock rom like messenger. So how to add custom apps into stock rom


问:
Factory Reset without Factory Reset Protection
I've sold my old phone and perform Factory Reset to secure my data. After this the new user found that it's necessary to unlock phone with previous account.

Now, I've this user living nearby so I can perform a login of my account. But after that I want to reset my phone again to not allow him to recover my account/data.

If I perform again Factory Reset probably it will block again. How to perform a reset without enable this protection? (just for this phone and not all phone connected to this account)


问:
Why does the official AOSP website discourage OEMs from implementing support for audio accesory mode usb c to aux adapters?
I stumbled across some documentation from the AOSP project that encourages OEMs to only support digital to analog usb c to aux jack adapters which contain their own dac to convert the digital audio coming from the phone's usb c port to analog for the aux jack. What's so bad about supporting an analog only adapter that uses the phone's existing dac to convert the digital signal to analog and simply treat it's usb c port as if it were an analog headphone jack? Audio accessory mode at least on paper seems like a complete no brainer since it means the adapters are cheaper because they don't need to have their own dac. </p>


问:
wpa_supplicant issues on android phone
Disclaimer: My knowledge of android as well as the inner workings of wifi connections are exceedingly limited. Additionally, I'm new to stackoverflow, so I might just be the worst customer you had...

I'm having issues with my android phone (Fairphone 2).
For some reason, I cannot connect to any new WiFi, i.e. ones I did not connect to before. The adb logcat shows the errors:

```<code>02-24 11:33:49.215  2221  3763 E WifiConfigStore: Failed to look-up a string: WPA_EAP
02-24 11:33:49.215  2221  3763 E WifiConfigStore: Failed to look-up a string: IEEE8021X
02-24 11:33:50.221 23048  7088 E WakeLock: GCM_HB_ALARM release without a matched acquire!
02-24 11:33:50.223 23048  7088 E WakeLock: GCM_CONN_ALARM release without a matched acquire!
02-24 11:33:50.857 25094 25094 E wpa_supplicant: nl80211: Failed to open /proc/sys/net/ipv4/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
02-24 11:33:50.857 25094 25094 E wpa_supplicant: nl80211: Failed to set IPv4 unicast in multicast filter
02-24 11:33:50.858 25094 25094 E wpa_supplicant: nl80211: Failed to open /proc/sys/net/ipv4/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
02-24 11:33:50.858 25094 25094 E wpa_supplicant: nl80211: Failed to set IPv4 unicast in multicast filter
02-24 11:33:50.860 25094 25094 E wpa_supplicant: nl80211: Failed to open /proc/sys/net/ipv4/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
02-24 11:33:50.860 25094 25094 E wpa_supplicant: nl80211: Failed to set IPv4 unicast in multicast filter
</code>```

So I was thinking: I'm missing a file. Googling
drop_unicast_in_l2_multicast I found this webpage, so I tried to push a file of that name to the /proc/sys/net/ipv4/conf/wlan0/ folder, but I cannot do that since my phone is not rooted.

Interestingly, I found out this morning that I can connect to the open (unencrypted) wifi at my university.

My Android version is 7.1.2

I have literally no idea what is going on, so any help would be much appreciated, especially since I reset all my network settings (before I knew the issue is related to new WiFi connections in general, not just the new one I got at home), so now ALL WiFi networks are new to my phone.

Thanks a bunch in advance

Edit: Added some more of the error log

Title: wpa_supplicant issues on android phone


问:
Upgraded to Android 10 - can't change MAC address
Today I upgraded to Android 10, more precisely to unofficial build of Lineage OS. My phone is Xiaomi Redmi Note 5 Pro (whyred). I am used to changing my MAC address, because our school tracks network usage. I got around it by setting my MAC to MAC of one of schools iPads. After the upgrade I can't change my MAC anymore! I turn the WiFi off as always (otherwise I would get some error like resource busy) and set the MAC using following command:

```<code>ip link set wlan0 address MACHERE
</code>```

Or

```<code>busybox ifconfig wlan0 hw ether MACHERE
</code>```

In both cases the MAC gets changed, but after turning the WiFi on again and connecting to  WiFi, it gets resettled back to where it was.

Any ideas what can be causing this? I have tried (so far):

multiple different kernels

rebooting

Fixed by editing wlan_mac.bin:


问:
Navigation bar and pull-down menu eerily brighter
Occasionally, my phone's display goes significantly dark. However, the navbar and the pull-down notifications menu are very brightly lit up. Any idea why?

I'm running Android 10 on Samsung M30.

P.S. Sorry about the terrible quality.

P.P.S This is not some setting, as it happens and disappears on its own. I'm trying to trace what stimulates such an eerie UI get-up.


问:
Can low battery percentage (like 10%) affect phone heating when charging?
I have LG V20 and I like to play Cyber Hunter Lite on low graphics, high resolution and high fps but I don't understand why it sometimes heat so much when playing, sometimes absolutely not, even when charging with 2A, usually no heat. I use KillApps app to kill all processes and leave only Messenger, Facebook...  only about four, reboot phone and use "Boosting" app (called Dr. Booster) to launch the game. But now it heat a lot, and can't touch the screen how it gets after 10 mins of gameplay. But my situation is exceptional. My battery percentage is only 10% now. Usually I charge and play the game when battery is above 20%. So, I wonder if low battery percentage can affect heating.  Or maybe there are other reasons. I use Lineage OS 15.1.</p>


问:
Images received though social media end up in the camera-app Gallery
Lately, in the Gallery app associated with the camera app of my Samsung phone (Android 8.0.0), I can see not only past pictures I've taken with the phone camera, but also pictures that people are sending me through whatsapp, viber and other messenger/social media apps.

I didn't see any options in the Gallery app itself to have those land not in the same place as my camera-taken pictures.

Is there any way to keep the two categories of pictures (whatsapp attachments; and camera pictures) separated?


问:
How to verify sideloaded APKs?
I have sideloaded APKs, which are not available on sites like APK Mirror or APK Pure, from Google Play via the Evozi APK downloading service. It is an online banking app, so I want to verify it. How can this be done? I get checksums by uploading the files to Virus Total:

How can I get the checksums of the authentic APKs?

NOTE: I do not have a Google account.

Title: How to verify sideloaded APKs?


问:
Android boot.img installing BusyBox with Dropbear
I have installed TWRP on my device, extracted boot.img.
Initially I just wanted to build Dropbear for Android and make it run from boot.img.

I don't need any app to have root access.
What I would like is to have Dropbear running root and be able to SSH into it having root access.
I'm not experienced with BusyBox. I used a little bit of OpenWrt with BusyBox 1.28, but seriously don't know it much.
What I need is to have root SSH access to be able to configure some things. Be able to do some configuration with Ansible Playbooks for the phone would be nice addition.
I'd like to be able install certain program packages, the similar way I did in Openwrt I recently installed cURL package. I need to write some scripts which will be executed as jobs, something like cronjobs.
So the question is, do I need BusyBox for that or just build Dropbear?
It seems BusyBox would be very nice thing in my case.


问:
Google Translator does not appear automatically anymore
When I was using WhatsApp and chatting with my foreign friends, when I copied their text, the Google Translator was automatically appearing.

But now, after the Android update, it doesn't happen. I tried settings in the translator app but there is nothing to enable that.

Settings > Tap to translate > Enable

did not work.

How can I make the translator app button automatically appear whenever I copy a foreign language text?


问:
File Sizes (including hidden files) don't sum up to total data usage
I recently noticed that my Galaxy S9 was running low on space. While using the 'My Files' app that comes with the phone to do some spring cleaning, I noticed that my Internal Storage shows a usage of about 47GB.
However, something doesn't add up. I open that folder, turn on display of hidden files, and select EVERYTHING that is listed. The result is only 13.72GB!?!?!?!?!!! This is WAY WAY off. I have a huge amount of space getting used (over 30GB) and no idea what is actually using it, nor how to clear it out.

I have tried using cache cleaners, like Norton Clean, but those only found about 1GB of residual files, etc. I have also tried restarting the phone, but this doesn't help either... Other than a factor default reset, I can't think of anything else to try. Can anyone help me figure out what is going on?


问:
Where does Android acquire the weather (temperature) that it displays on the main screen?
I am building an app that will need several weather parameters. If they are already available somewhere internally, I would like to access them. If not, please identify the web service(s) that Android is using, if possible.

Specifically I am seeking temperature, pressure, and relative humidity.

Thank you.


问:
Password protect adb
Looking for an option to password protect adb so I can enable it all the time and accept all connections.

In the event if I break my phone's screen and I need to pull my files out this would really be helpful.

Title: Password protect adb


问:
prevent people to see that I use whatsapp
When Alice adds Bob's number to their Android contact list, they can infer whether Bob is using WhatsApp by looking at their WhatsApp contact list. Only if Bob uses WA, they will show up there. How can B disclose their phone number to A while hiding the fact that they use WA?</p>


问:
How to enable a disabled app in Samsung
Phone: Samsung Galaxy S9, Android 10, OneUI2.0

After updating my OS last month, the "Enable" button disappears from App info panel(Settings | Apps | (app) | Enable, said How to enable a disabled app). and "auto disable unused app" setting is not available, too.

If the app is installed by play store, I can re-enable it in play store app. If not, how to enable?

And I tried pm enable ... cmd in adb, but got

```<code>
Security exception: Shell cannot change component state for .../null to 1

</code>```

Title: How to enable a disabled app in Samsung


问:
How GBWhatsApp works?
I came across an application named GBWhatsApp. It is developed by some unknown people and there are many sites from where you can download the APK. It's not officially on the Play Store for some reason.

It was a big surprise to me to see that using this app, I can actually chat with the people who are using the official WhatsApp application.

I did some googling and found out that it is a modded app of the original WhatsApp application. It is built on top of the original application. This means some people/developers/engineers decompiled the original APK and inserted their code and published it with another name.

My questions are,

Is WhatsApp APK so much less secure that some engineers were able to decompile its Java code successfully? And they provided a lot of new features that are not there in the original app?

I know APK can be decompiled, but if the original developer team has obfuscated the code (ProGuard, etc), then it's almost impossible to reverse engineer the Java code. How did this happen?

Also, if it is not a modded app, it means they build their own app which is similar to WhatsApp, then how they are able to send messages to the official app?

Title: How GBWhatsApp works?


问:
What are these carrier configuration settings and which Android service handles them?
I signed a new mobile contract and received a carrier configuration message, but it seems that the settings were not updated properly. Up- and download is way too slow (typical 3G speeds) despite "4G" being displayed in the status bar. Which Android service is responsible for automatically updating carrier configuration settings and which settings are relevant for 4G connectivity?

Device, OS: Samsung Galaxy A40 (SM-A405FN) with Android 9.0

Carrier: Telefónica

Data plan: 3 GB LTE

These are the APN settings (3rd column) as specified by the carrier:

Mobile Data:

APN

Username

Password

MCC

MNC

Authentication Type

MMS:

APN

Username

Password

MMSC

MMS-Proxy

MMS-Port

MCC

MNC

Authentication Type

Max. Message Size

The following settings are not specified by the carrier (device preset values in brackets) or even non-existent in the device menu (x):

Mobile Data:

Proxy

Port

MMS:

APN Type ("default, supl, mms, xcap, email")

APN Protocol ("IPv4")

APN Roaming Protocol ("IPv4")

Bearer ("none")

Mobile Virtual Network Operator Type ("none")

Max. Message Size (x)

...not sure where this belongs:

Server

What are the correct settings? What about the following:

Authentication Type: "empty" (carrier) - vs. - "PAP" or "CHAP" (isn't the latter more secure?)

Bearer: "unspecified" (carrier) - vs. - e.g. "LTE" (doesn't this affect speed?)

APN Protocol, APN Roaming Protocol: ...shouldn't this be set to "IPv6"?

Mobile Virtual Network Operator Type: "none/SPN/IMSI/GID" ...what is this?


问:
Unlocked boot loader ADB issue
So I’m trying to downgrade my nexus 6P from Oreo 8.1 to 7.xx. I’ve unlocked the boot loader and can communicate with the device through Google’s adb fast boot command line which works fine (up to a point) I get this far and it fails every time. Here’s the files I’m trying to flash. Is there something I’m missing? I’ve installed google usb drivers too as I thought that was the issue

https://imgur.com/gallery/SsgNKPW

I’d like to pay whoever can resolves the issue, can send crypto

Title: Unlocked boot loader ADB issue


问:
How do I use my SmartPhone to USB host my old Tablet?
My new moto g7 does not Wi-Fi the correct frequency for my old dragon touch X10.  Android 9 on phone and 5.1.1 on the tablet.  Want to Host from cellular through USB to Client tablet. Any ideas on how to get the internet connection through? Tried PDAnet+ but both devices seem to HOST and I need tablet as client...</p>


问:
Got serious problem with my J530F need quick help
i've got really hard problem with my j5 which is probably totally bricked. But. there is but, i can access recovery mode and connect it to the ADB, but still, aint that easy. While trying to flash new ROM, im getting up to 40 % and its shows "e:signature verification failed" after that it gets to 92% and stops. Total xfer: 2.00x on phone it shows as "E:failed to find /misc partition".
I've been trying literally everything.
Weird thing, cannot open adb shell, "error:closed" been trying killing server, starting server etc.

Most weird thing is J5 CANNOT ACCESS THE "DOWNLOAD MODE" which is the biggest problem in my case.
apart from that, i've got no TWRP or CMW installd, only stock recovery mode, whatever option im trying to get into, always gets same info "E:Failed to find /misc partition".
what else... I've been trying to make SD card as bootable device with android on it, if you've got any ideas about that, im happy to hear.
been trying several rooms, stock, lineage, other customs.
Tried several versions of adb..
sometimes adb shows info "deamon not started" which after i've got communicate that deamon started succesfully and transfered to port 500 something.

Please guys, help me with that. I've wasted about 60 over hours now  getting sick.


问:
How to record calls and store on a central server?
Not sure if this should be asked on Software Recs Stack or not, but here goes nothing....

One of my coworkers needs to record calls whenever a call comes through on his premise cell phone. The issue is not recording the calls, instead, the issue comes from actually storing the calls, as the phone that is being used does not have a lot of onboard storage (i.e. has 8GB total storage).

Is there an app or some sort of configuration that we can use to store the recorded calls onto a central server, which has a lot of space? Or at the very least on a very large SD Card (i.e 64GB)?

As you would imagine, the premise cell phone deals with a lot of incoming and outgoing calls, so space is a critical concern.

Thanks for viewing!


问:
List of Android OS services/system apps with dependencies?
Is there a list of Android OS services/system apps including dependencies, similar to what can be displayed and configured in Windows using msconfig.exe? Researching every single one individually is just cumbersome, there must be a list of some sort for developers somewhere.

This map kind of gives an impression, but most apps/services listed in my device are not shown and I'm not sure if the graph edges represent dependencies or just exchange of information.

NOTE: The device in question is not rooted yet.


问:
Why are certain functions permissible while others are not (from a security standpoint)?
You would think there must be some sort of logical convention or decision-making that leads to what is or is not permissible, followed by sanity checks against each functions' interactions for homogeniety; however, it feels like this isn't the case.  Take for example: the end user is able to read incoming SMS (if so configured) but not able to send outbound replies when in lock screen.  However, when connected to Android Auto, by default receiving an inbound SMS will trigger an automatic preset outbound reply, regardless of the device's lockstate, and is permitted to read the inbound SMS via TTS regardless of the preview configuration.  Why is there an assumption that the outbound transmission is any more or less secure in one case as opposed to the other, etc?


问:
some websites having url start with http instead of https are not working in my android tab having version kitkat(4.4.2)
Basically I am using biometric android device tab(photo attached) having android version kitkat(4.4.2) I have android app which is basically used for thumb verification. The app is working perfectly fine on wifi but when I am using data connection It's not able to access the service url. Then I tried to check the browser to verify that internet is working or not than I found that internet is also working fine on data connection then I tried different url's and found that the url's start http instead of https are not working on data connection but on wifi and all the urls having https are working fine and my service url which is being used by my app is also start with http that's why its not able to access the url. I tried a lot of solutions like:

Resetting the android tab

Clearing the browser cache and history (Although it has nothing to do with my app)

And one more thing all of the urls not matter http or https are working fine on wifi. Picture attached of my device and of the error I am getting while accessing the url start with http.

Also the same network SIM is allowing all types of URL's in other Android phones, so port 80 is definitely not blocked by MNO.