问:
Android App for split screen pdf note taking (for tablets)
Does anybody know of an app which lets you have a split screen of pdf(left) and note taking blank page(right) setting, so that you can make notes for every individual page? When you revisit it would show the pdf page and its corresponding note. I know of the Boox Note e-ink reader being able to do this and some iOS apps such as Easy-annotate or Flexcil. Is there also perhaps an app like these for android?

Thanks.


问:
Gmail Contacts on Android refusing to sync 1 specific contact. What could be the reasons?
In my android device, I have set my contacts to be sync to my gmail account. I just add contacts under my email address instead of the phone and just assumed that everything will be synced. But now I found 1 contact that just would not sync. No clue why. Contacts created after that and just now before posting all synced, except that one. When I view all email account contacts in android, its 293 while my gmail contacts web-client has just 292. My backup phone which is also synced to Gmail Contacts has 292.

I have no clue why this contact would not sync. What is different about it? But the main question that I wonder is, how many contacts have I lost due to these non-syncing issue and never realised till date.

How do I understand the problem?

ContentLicense: CC BY-SA 4.0


问:
How to disable Amazon Single Sign-on in Kindle Fire tablet
I've two Amazon Kindle Fire tablets and i've an Amazon Prime Subscription.

I don't want to use the same Amazon Prime account in Fire tablet. Because my Contacts, Preferences, Calendar everything gets synced between. I don't want that.

I want to use separate Amazon accounts in each Fire tab and use a Complete Amazon Prime Subscription for Prime Video, Music and Kindle Apps in Fire. How can i make it possible ?

1. Amazon Account 3 - Has Prime Subscription

Amazon Fire HD 10 ( Amazon Account 1 with No Prime Subscription )

```<code>Use Amazon Account 3 for Fire Apps - Prime Video, Music and Kindle
</code>```

Amazon Fire HD 7 ( Amazon Account 2 with No Prime Subscription )

```<code>Use Amazon Account 3 for Fire Apps - Prime Video, Music and Kindle
</code>```

I've tried ADB, to uninstall Amazon's own Prime Video app - com.amazon.avod and tried to install APK from the Google Play Store - com.amazon.avod.thirdpartyclient, so that i can configure the Prime Video with a different account. But the app is not getting uninstalled and if i try to install com.amazon.avod.thirdpartyclient, i'm getting PROVIDER CONFLICT error.

```<code>    pm uninstall --user 0 com.amazon.avod
    Success
    pm install /storage/emulated/0/Download/com.amazon.avod.thirdpartyclient_2018-10-19.apk
    Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]
</code>```

I can think of

Installing Stock Android in the Fire tabs, which will make things easy and better.

Disabling Single Sign on in Amazon Kindle Fire tab - which i have no idea how to.

Please can somebody shed some light on this.


问:
Wifi hotspot without internet
With newer versions of Android and for certain manufacturers they always tries to make sure your WiFi has internet. I guess this is an OK feature if multiple known Wifi AP is available.

However the issue is that we have a product that creates a WiFi hotspot much like dashcams do.

The question is, is there a way to tell Android (via our App),that you know you are connecting to a WiFi network without internet so Android should stop controlling the WiFi "smartly" to try to get Internet regardless?

Title: Wifi hotspot without internet


问:
System Shared Preferences
I am new to Android. Using shared preferences each application can store key-value pairs and it can be in several modes (private, public read, etc) and the default mode is the private mode because of security issues.

I understand that if an application set the mode to 'public', it would be readable by other apps. But I am wondering if there are any system-wide shared preferences that can be read by all the applications by default? How can I find the list of all readable preferences (of other apps)? Should I enumerate all /data/data/*/shared_prefs/*.xml and see to which one I have access?

Title: System Shared Preferences


问:
Why are apps given the right to run whenever they want even when they keep the phone awake?
This question is quite related to (and could end up being closed as a duplicate of):

How can I stop applications and services from running?

I would probably just comment there to get clarification on the answer given but I don't have enough reputation to add comments and I have additional questions, not another answer, so adding an answer to the above seems inappropriate, so the only option I have it so ask a new question.

Hopefully I am not committing too serious of a sin expanding on the above here in a new question.

So I understand that task killers are bad and completely buy into the concept that Android itself is in the best position to allocate resources, killing apps to make room in memory for newly opened apps, etc.

I (think I) also understand the concept of Intents and how they can activate an app so simply preventing them from starting at boot isn't enough to prevent apps from magically appearing in the "running" list (and potentially causing battery consumption).

But my phone (Huawei[1] Honor 8, still running Nougat, not Oreo) has a feature where it will tell me about "Power-intensive apps" and lists apps that it deems are causing (excessive) battery consumption.  Along with the apps in the list, it provides a short explanation of why it thinks it's "power intensive" such as "High location frequency" or "Frequently wake up system" or "Keep awake", etc.

Surely apps running in the background, that I didn't even start (and have even previously closed but have restarted themselves) and are guilty of one of the above ("High location frequency" or "Frequently wake up system" or "Keep awake") are causing excessive battery use, no?

Wouldn't "Frequently wake up system" or "Keep awake" at least prevent Doze from kicking in, unnecessarily consuming battery?

And to be clear, these are apps that I have not used (i.e. opened in the foreground) since I booted the phone and are not likely apps that I feel need to be notified of any Intents.  They are apps that I couldn't care less about until and unless I specifically open them to use them.  They shouldn't be trying to "collect" information in the background since whatever collection they are doing is not useful to me.  These are not social media or messaging apps that I am interested in having information presented to me unsolicited.

To call one of them out specifically, Spotify is currently running with the "Keep awake" permission.  I am not listening to any music.  There is no need for Spotify to be trying to keep my phone awake.  I can "close" (kill) it but it will most definitely be running again at some point without me having opened it to listen to music, presumably woken up by an Intent.

Why can't we users be in charge of when apps are allowed to be awoken to run, particularly when they do things like "Keep awake", without having root our phone and install something like LineageOS that let's actually control permissions such as Keep Awake, etc. with it's PrivacyGuard (i.e. AppOps)?

[1] Yes, it's well understood that Huawei have a history of being overly aggressive with killing apps to try to preserve battery but that seems to be relaxed in their Nougat ROM (as the above linked article even confirms) as they now seem to have a whitelist of apps you want to be closed when the screen lock is activated and nothing is in the whitelist by default.  But that aside, my observations here aren't about apps being closed or killed, etc. but simply that Huawei's OS is flagging apps that are exhibiting behaviours that would appear to be affecting battery life and even moreso even just making me aware of apps that are waking up and being run in the background, exhibiting bad battery life behaviours when I didn't even start using them or won't have any interest in using any time soon and so whatever they are doing in the background (data mining no doubt), I am uninterested.  So ultimately, I want to be in control of what gets to start in the background.

App Ops - Permission manager seems to be an app to manage AppOps, but unfortunately it looks cumbersome to use.  It requires one execute adb commands to start yet some other app every time you reboot your phone, etc.  Users having more control over what apps can start based on which Intents and when should be a lot easier than this.


问:
Why does a charger charges one phone but not another?
I have a charger that came with my phone, Huawei Mate 9. I recently bought another phone, Xiaomi Pocophone X1. I tried to charge the new phone with my charger (and cable) and it went into boot loops and ended up draining the battery instead of charging. I then connected it to the charger that came with it and it charged fine.

What caused this difference? I'm asking since I want to buy a backup charger and want to know what to look for (other than buying a Xiaomi original)


问:
Honor 6x Bootloop, works sometimes with charger plugged
I have a Honor 6x which was working fine till yesterday. Now it just keeps restarting all of a sudden and works fine sometimes only with the charger plugged in. It restarts every 1-2 second.

Things I've done:

Removed the cache, nothing happened.

Did a Hard reset, worked but showed Data partition has damaged
seriously error.

tried flashing rom through dload, software install failed.

tried extracting the upadate.app using Huawei update extractor and
flashed them, received command not allowed error.

The phone is locked, FRP is locked, Bootloader is locked and not rooted. Also, I can only access the recovery/dload menu once in hundred tries.
With the charger plugged in, either the eRecovery menu loads by itself or phone starts normally but restarts on its own after few minutes(I made a full backup in those few minutes).
Any solution?


问:
How to extract calendar data from the stock calendar app of Android Gingerbread (2.3.6) without a Google account?
I am confronted with an old Android phone:

OS: Gingerbread (2.3.6)

Type: Motorola XT320

It holds quite a significant amount of data in its local calendar, operated by what appears to be the stock calendar app of Android of that era. The phone is not (and has never been) connected to a Google account.

How can I extract this data onto a computer (preferably without having to create a Google account etc. since this particular data actually is not Google's business)?

I have looked at the following questions, among others:

How can data on an unrooted phone be backed up?

How to backup the Android calendar file (is there such a file)?

Full Backup of non-rooted devices

I am aware of this iCal Import/Export CalDAV app which appears to be only available in Google's Playstore - as far as I can tell a no-go without a Google account.

I have experimented with the Calendar Import-Export app from F-Droid. The good news is that it is available (and still maintained) for Gingerbread. The bad news is that it does not see my calendar. This appears to be a dead-end so far. EDIT: I just filed a bug report against it.

I am no stranger to ADB - the phone has developer options enabled. From my research and test runs, I learned that adb backup only became available with Android 4, so this is no option for me. By gaining access to a shell on the phone (adb shell) I furthermore learned that the folder /data (where according to Android's documentation the calendar data should be located) can not be accessed by a regular user. My understanding is that /data is located on the phone's internal memory (not on its SD card) where it is protected by Android's security model.

In the context of ADB, I came across this project on Github. I am not entirely sure whether or not this will work with Gingerbread. The one thing I know is that I probably need to root my phone first before I can find out. Right now, targeting content://com.android.calendar/calendars, the script exits with Querying DB: Done and content: permission denied0%.

My four options left, as far as I can tell, are:

Going through the hassle of creating a Google account and extracting my data through Google cloud (and I really do not want to go down this path).

Rooting my phone so I can access whatever is stored in /data in the hopes that I can convert it to something readable (e.g. an ical file). If I understand the documentation correctly, the stock Android calendar app stores its data in a SQLite database file. I have yet not found a definition of how this data is stored in the database (which I could use to write some code to convert it). Funny side note: I have NOT yet found a "safe" way of rooting this particular type of phone. The general advise given: Backup all your data before trying ...

Android 2 allows to connect the phone to a Microsoft Exchange service (in addition to or even instead of a Google account). Theoretically, this should allow me to set up my own Exchange service in one way or the other and to get the data out this way ...

Going through the calendar by hand and writing every event into a computer manually as well. Given the amount of time I have spent researching this, it does not appear to be the worst option ...

I'd love to hear if there are any other options left that I might have overlooked or misinterpreted ... I am pretty damn frustrated at this point.


问:
Play store downloaded more than 100%

What is happening? Play store keeps downloading after 100% how to fix this ?

Title: Play store downloaded more than 100%


问:
Is there a widget or something I can go with IFTTT to block and unblock a contact?
I have a friend that says some pretty bad things about certain people pretty often and a lot of the time I am around those people while he's sending me those messages.

I just want a button/widget I can use to discreetly block his texts and calls quickly, like as the person is walking up to me and will arrive in less than 3 seconds.

Does that exist? Can I use IFTTT to do something like that?


问:
One click Google Photos backup & sync turn on/off
Google photos has this option nested within it settings → backup & sync.

I use Xposed Edge for various gesture based activities in which you can configure an apps activity as gesture. But I am unable to find this particular activity. Is there any other way (Using any xposed module or any other way) I can configure a toggle (QS Tile will be much better) which enables or disables Google Photos sync option?


问:
How can I conveniently save the urls of the opened webpages in https://www.google.com/bookmarks/?
I have opened a number of web pages in  Google Chrome browser in  my android phone. Is it possible to conveniently save the urls of the opened webpages in https://www.google.com/bookmarks/?

This is especially helpful on android phone, since google chrome browser there doesn't provide bookmarking all open webpages into the browser at once.

Thanks.


问:
Android JuiceSSH endless prompt to enter Interactive Aunthentication password
I am new to network stuff. Normally I connect to the internet provided by the student dormitory using the login client that they provide.

But it is inconvenient as I always have to switch on my laptop to connect it and when my laptop goes to sleep mode, the connection is broken. So, I tried something called SSH (in particular JuiceSSH), and tried to connect using my android smartphone. I followed all the steps written on this website , when I tried to connect, it asked me for the password, after I typed in the password, it still keeps asking me for the password, but not saying that the password is wrong.

Can anyone tells me what's going on and how to solve it? Thanks.

OwnerDisplayName: Steven Lee WW


问:
ADB shell input keypress play/pause doesn't work in Netflix/Hulu Android apps?
I'm trying to control my Android Box (running Android 6.0, my guess is a modified version of a phone's os, definitely not the official android tv os) via adb for a home automation project & I'm having a bit of trouble with some apps not responding to emulated keypress events. So far I've experienced the following results:

Apps used for testing

Xfinity Stream - Pause & Play both work (using adb shell input 85, MEDIA_PLAY_PAUSE keycode)

Hulu - Pause works & Play doesn't (again using adb shell input 85)

Netflix - Both Pause & Play don't work (tried both adb shell input 85 & adb shell input 127/126, PAUSE & PLAY keycodes)

Has anyone else experienced this issue of inconsistency with apps responding to keypresses? Is there any way I can reliably simulate the Play/Pause for all apps?

System-wide the Power & Mute/Unmute work, so I'm curious why the Play/Pause doesn't.


问:
Have transferred all music to SD card but still seem to have full system/ user data
My galaxy S7 external SD card seemed to have stopped working. Which caused my phone to show full internal storage. I replaced the SD card with a new and larger one and transferred all my google play music to it. My phone is still showing full storage. 30.5 GB of storage is consumed by userdata/system. I removed the external sd card and checked if the google play music was showing any data still. No data is showing. So I can not for the life of me figure out what data and where is consuming all my storage.

Next step is clear the cache.

Last step is master/hard reset. Really don't feel like that though.

Ideas?


问:
Pattern unlock not working after OS upgrade to android 6.0.1 Sansung J7
I upgraded my Samsung Galaxy J7 device from system update menu. It was working fine after the upgrade but it is not accepting my pattern after the restart. I don't remember the PIN also.

I have tried following things to unlock the device :

I have tried logging on to Android Device Manager, but there is nothing like resetting password there in the options. It just allows you to display some message on the device.

I have tried unlock through Samsung website but looks like this is something I should have setup before the device was locked up.

I have tried pushing Aroma File Manager zip file through adb sideload and also through SD Card but through both ways it is giving same error :
E:footer is wrong E:Signature verification failed

To disable Signature verification I tried pushing CWM custom recovery but I am not able to sideload that also as I get the same error.

The recovery is only giving me option to connect to adb sideload. So, I can't delete files through adb shell.

Please tell what other methods I can try.


问:
Android hangs after rebooting when upgrading to 2.3.5
I used HTC's update software functionality to upgrade my Android to version 2.3.5. Though, upon reboot all I get is the cryptic icon (a phone and a red triagle with an exclamation mark inside). When entering System Recovery (volume + power button) I see:

```<code>Copying fotaBoot to /data/system for customize reload...
Verify current system...
  assert failed: apply_patch_check("/system/framework/com.htc.resources.apk", ..., ...)
  E:Error in /sdcard/download/OTA_Marvel_S_HTC_Europe_2.13.401.3-1.33.401.3_release_237845pg2016qpaadczbkc.zip
  (Status 7)
  Installation aborted.
</code>```

And four options are given to me:

Reboot system now (which I have done)

Apply update from sdcard

Wipe data/factory reset

Wipe cache partition

I am tempted to select "Apply update from sdcard". Though, I cannot imply if I will find sideffects in doing so as I do not understand the meaning of "Status 7".

Any help would be appreciated!

ContentLicense: CC BY-SA 3.0


问:
WiFi Disconnect also disconnects Bluetooth
I have a new problem that has started in the last few weeks that's been getting more and more annoying. I have a Samsung Galaxy J7 with Android 7.0.

It seems now whenever there's some momentary interruption in my WiFi, the Bluetooth device disconnects. For some reason, when the Bluetooth disconnects like this, the sound continues to play on my phone while my headphones/speaker/truck is still on and working but not playing sound. Usually when the Bluetooth disconnects, whatever is playing will pause or stop.

This is especially annoying at work where it's quiet until my phone starts blasting music (or some hot sports take). This has only started a few weeks ago - I had NEVER noticed it before. I haven't made any changes to the phone recently or even installed any apps.

I have tested this by manually turning off WiFi - at which point my Bluetooth headphones stop playing and the music starts playing through the phone speaker.

How do I fix my Android or Galaxy so WiFi interuptions don't force Bluetooth to disconnect? And shouldn't it stop playing when the Bluetooth disconnects?


问:
Galaxy S6 (international ver) not auto-connecting to WiFi
I have a Galaxy S6 SM-G920F that will not auto-connect to WiFi starting several weeks ago.  This appears similar to what is mentioned in Galaxy S6 and S7 not auto-connecting to WiFi except I don't have an AT&T phone and that mentions uninstalling some AT&T apps.

It doesn't matter what WiFi hotspot it is, it won't (Edit: rarely does) auto reconnect.  If I click on the WiFi icon then click the hotspot name, it will connect.

Here are things I tried:

Forget a hotspot then re-login with password

Reboot the phone

Toggle the "Smart network switch" and "Hotspot 2.0" advanced options

Clear the system cache as described in https://thedroidguy.com/2018/10/fix-samsung-galaxy-s6-can-no-longer-connect-wi-fi-mobile-data-networks-troubleshooting-guide-1068247#Problem2

Edit: I noticed today that it auto-connected once.  Also a couple days ago, I saw that once when I tried manually connecting, the status went back to Connecting.. then when back out, then went to Connecting.. then said it was Connected with no internet, then a few moments later it resolved itself and became Connected.

What else can I try, besides a factory reset?  Has anyone else seen this issue on a SM-G920F model?


问:
Pause audio when Google maps speaks
iOS has a nice feature, where any audio playing pauses when Google maps starts talking.  I was looking for a setting that might do this on my Samsung Galaxy S9+, but I can't find it. Is is possible? </p>

Title: Pause audio when Google maps speaks


问:
Nexus 5X keeps making notification sound without any notification
I've a Nexus 5X on Oreo that has recently been making notification sounds when I wake it up from sleep. However, there are no visible notifications. I tried to look at logcat to see if there are any logs that coincide with the notification sounds, but it's too noisy. I did notice the following though, but I'm not sure if they're the culprit.

```<code>11-07 17:01:49.997  3460 17021 I WifiService: getConnectionInfo uid=10124
11-07 17:01:49.998  3460 17021 D WifiPermissionsUtil: Denied: no location permission
11-07 17:01:49.998  3460 17021 D WifiPermissionsUtil: Denied: The current config is not for an open network.
11-07 17:01:50.003  3460  4950 I WifiService: getConnectionInfo uid=10124
11-07 17:01:50.004  3460  4950 D WifiPermissionsUtil: Denied: no location permission
11-07 17:01:50.004  3460  4950 D WifiPermissionsUtil: Denied: The current config is not for an open network.
11-07 17:01:50.009  7249  7249 W Notification: Use of stream types is deprecated for operations other than volume control
11-07 17:01:50.009  7249  7249 W Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:23 -- type:android.media.SoundPool -- u/pid:10035/3869 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:3639 -- type:android.media.MediaPlayer -- u/pid:10035/3869 -- state:idle -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:15 -- type:android.media.SoundPool -- u/pid:1000/3460 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:31 -- type:android.media.SoundPool -- u/pid:1027/6162 -- state:idle -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:3631 -- type:android.media.MediaPlayer -- u/pid:10035/3869 -- state:started -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager isPlaying: true
11-07 17:01:50.062  3114  3114 D NuPlayerDriver: NuPlayerDriver(0xf1414200) created, clientPid(3869)
11-07 17:01:50.082  3114 13299 D GenericSource: FileSource remote
11-07 17:01:50.094  3460 17021 I WifiService: getConnectionInfo uid=10124
11-07 17:01:50.094  3460 17021 D WifiPermissionsUtil: Denied: no location permission
11-07 17:01:50.094  3460 17021 D WifiPermissionsUtil: Denied: The current config is not for an open network.
11-07 17:01:50.097  3114 13298 D NuPlayerDriver: notifyListener_l(0xf1414200), (1, 0, 0, -1), loop setting(0, 0)
11-07 17:01:50.099  7249 13274 W Notification: Use of stream types is deprecated for operations other than volume control
11-07 17:01:50.099  7249 13274 W Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case
11-07 17:01:50.113  3460  3510 I ActivityManager: Start proc 13301:android.process.acore/u0a1 for content provider com.android.providers.contacts/.ContactsProvider2
11-07 17:01:50.116  3460  3460 E NotificationService: Muting recently noisy 0|info.kfsoft.android.TrafficIndicator|2131623986|null|10124
11-07 17:01:50.314 13301 13301 I ContactsPerf: VoicemailContentProvider.onCreate start
11-07 17:01:50.348 13301 13301 I ContactsPerf: VoicemailContentProvider.onCreate finish
11-07 17:01:50.401  3114 13289 I NuPlayerDecoder: [audio] saw output EOS
11-07 17:01:50.483 13301 13316 D ContactsDatabaseHelper: WAL enabled for contacts2.db: true
11-07 17:01:50.608 31569 31627 D Avrcp   : AudioManager Player: ID:23 -- type:android.media.SoundPool -- u/pid:10035/3869 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
11-07 17:01:50.608 31569 31627 D Avrcp   : AudioManager Player: ID:3639 -- type:android.media.MediaPlayer -- u/pid:10035/3869 -- state:started -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
11-07 17:01:50.608 31569 31627 D Avrcp   : AudioManager isPlaying: true
</code>```

PID=3460 is for system_server, and location setting is on(high accuracy), so I'm not sure why it's complaining of a permissions problem.

Tried dumpsys audio when I hear the sounds, and based on the timestamps, here are the relevant output:

```<code>Audio event log: focus commands as seen by MediaFocusControl
11-09 08:50:29:151 requestAudioFocus() from uid/pid 10035/3869 clientId=android.media.AudioManager@8aef0d8 callingPack=com.android.systemui req=3 flags=0x0 sdk=27
11-09 08:50:32:129 abandonAudioFocus() from uid/pid 10035/3869 clientId=android.media.AudioManager@8aef0d8

Audio event log: playback activity as reported through PlayerBase
11-09 08:50:29:120 new player piid:9887 uid/pid:10035/3869 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null
11-09 08:50:29:120 player piid:9887 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
11-09 08:50:29:121 player piid:9887 has OP_PLAY_AUDIO:true in uid:10035
11-09 08:50:29:652 player piid:9887 state:started
11-09 08:50:29:654 releasing player piid:9879
11-09 08:50:30:156 new player piid:9895 uid/pid:10035/3869 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null
11-09 08:50:30:157 player piid:9895 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
11-09 08:50:30:157 player piid:9895 has OP_PLAY_AUDIO:true in uid:10035
11-09 08:50:30:686 player piid:9895 state:started
11-09 08:50:30:688 releasing player piid:9887
11-09 08:50:32:129 player piid:9895 state:stopped

Audio event log: force use (logged before setForceUse() is executed)
11-09 08:50:32:130 setForceUse(FOR_MEDIA, FORCE_NO_BT_A2DP) due to setBluetoothA2dpOn(false) from u/pid:1000/3460
</code>```

Any idea?


问:
SD card write permission issues after restoring from backup to an identical phone model
I've been using LineageOS 14.1 on a rooted unlocked Samsung S7 (G930F) for a long time. My phone started dying, so I rebooted to TWRP and managed to take a full backup to the SD card before it died. Because TWRP doesn't have an option to include internal user storage files, I lost that partition but it didn't have much I missed - the backup contains my chats, contacts, and apps+data, and DCIM (pics) was being saved on the SD card anyway.

I bought a replacement phone of the identical model, wiped it, unlocked it, transferred over the SD card and SIM cards, installed TWRP, then used that to wipe system+data+cache, and restore all my saved partitions (except boot+baseband+EFS) to the new phone.

It worked fine, but I've found that programs such Titanium and FX file manager can't write to the sdcard. I suspect some files can't be read either, as am attempt to copy a 10GB backup folder to internal storage (18G free) failed for unknown reasons after about 6GB in FX.

So there is clearly some kind of permissions issue going on. But what?

I know the rough scenario of sd card permission changes that came in at the time of KitKat, but that knowledge hasn't helped me resolve it either.

Unlike most scenarios, I've still got the identical combination of system partition + sd card, so unless the file permissions are also locked to say, IMEI or something else equally unlikely, I'm confused why it's having such a problem, and how to resolve it.


问:
How to emulate swipe actions with keyboard for Android-x86?
I want to play some RPG games on Android, but I own a mediocre phone which does not run them well. Running them inside Android-x86 on my PC sure runs them better, but there's just one problem: these apps don't support keyboard/mouse control. They have virtual navigation buttons on screen, which need be both tapped and swiped. I can do that with the mouse, but that's not useful. I need to bind specific tap and swipe actions with keyboard buttons, so that whenever I press that key, the corresponding tap/swipe actions will be emulated on corresponding part of the screen. Is there a solution for this? Or is it a far cry?</p>


问:
Hide the PIN entry on stock lock screen
Is it possible to hide the visual feedback on the PIN entry on the Android stock lock screen?

The feedback makes it pretty easy for anybody standing near to watch the PIN:

I know that it is possible to disable the feedback when using a pattern, and I read tips that the pattern setting would also apply to the PIN entry, but I tried that and it didn't work.

I usually use the finger print sensor to unlock the phone, but on the rare occasions when it asks for the PIN ("for security") I always wonder why anyone would design a PIN entry screen like this.

I don't know if it matters, I'm using a bq Aquaris X. The Aquaris X5 I used before that had the same behavior (with Android 7), the HTC One before that did not (IIRC .. it's been a while).

Title: Hide the PIN entry on stock lock screen


问:
Android users cannot access Windows SMB file shares
Android users on domain cannot access the SMB file server (Windows Server 2012r2). Windows desktop users connect, and iOS users connect if they use a file browsing app that supports SMBv3.

Android devices properly convert the hostname from the DNS, and SMB shares the same server. But the error is simply "could not connect".

Modifying server registry parameter HKLM/SYSTEM/CurrentControlSet/Services/LanmanServer/Parameters/IRPStackSize
 did not fix. I tried setting to 20, 32 & 40.

I'm not trying to migrate to Samba currently, so please don't suggest that.

What else might I look at to fix this problem?


问:
How to find out what is causing vibration when sending and receiving texts?
After updating my LG V20 phone to 8.0, everytime I get a text message my phone vibrates twice. My phone has also started vibrating when I send a text.
I am using the message app that came with the phone.

How do I fix this?


问:
How to test SD card for suspected fault, or validate correct performance, within Android?
I have a Samsung S7 running LineageOS 14.1 (=Nougat 7.1). Since purchase I've used it with a 60GB Samsung SD card. I know that fake SD cards are out there, so on this one I bought direct from Amazon as vendor, rather than as middleman, to be more sure it was indeed a Samsung card. The card has always been formatted within the phone itself, and as portable storage.

Recently, a number of errors make me suspect the card could have a fault. An ADB push that failed halfway... a TWRP restore that couldn't read the source file... both with IO error of some kind,  etc. The card is probably under warranty, but that's useless unless I can confirm a fault.

The trouble is, I'm not sure how to test whether or not that's so. Most questions about card testing seem to relate to data recovery, and use fsck which tests the file system rather than sector-by-sector testing the card itself as a storage device (the approach wouldn't quite be the same for these). They don't provide an automated way to test the full card itself. I don't want to plug it into Windows for testing, since that doesn't actually test if it's good in my phone- I'd like to test it in the phone itself. The one test app I've found, "SD Card Test Pro", limits testing to a 4GB file on FAT32, but there isn't an option in Lineage to format a portable SD card with anything else.

What is my best way to test it?

Ideally I'd like a good quality test, a bit like memtest or other memory testers - a way to try and fill the card, and report any "difficult" sectors that didn't write first time, or any that don't read/verify correctly - and then repeat this 2 or 3 times with different/random bit patterns to catch "hard to get" issues which depend on previous RW data.

I'm happy to run in terminal/adb rather than an app, if it's easy to do.

But I'll settle for anything that's generally seen as a good test to catch and identify faulty cards.

What should I do?


问:
How to build a DiY Google Home from an old Android Phone?
When the phone is off, it will never hear my voice. How do I get OK google to work when the phone is off? The option seems removed for non Google Pixel/Nexus phones.

I want to convert my old android phone into a Google Home (so I can say "Ok Google, turn off the lights" in my bedroom).

I have an old Samsung Note 2. I used Odin to put TWRP on it so I can run LineageOS w/ Gapps, and now I have Google Assistant running on it.

However, when the phone is off, it will never hear my voice.
I can turn on and off the smart lightbulb in my room with my voice now. But there is no "always listening" "wake word" for "Ok Google Everywhere" anymore. Pretty sure Google removed this feature so you have to buy a Google Home device. I want to be able to use Ok Google anywhere, even when charging my phone.


问:
Open gapps crashing, no GSF id available on LineageOS 15.1
I just installed LineageOS 15.1 on my Galaxy Note 4 (SM910F) via TWRP, everything worked out nicely. Now I wanted to add the Gapps to the system in order to use the playstore. I downloaded the zip file from https://opengapps.org/ (ARM/Android 8.1/pico) and installed it with TWRP. After a reboot I keep getting messages that Google Play services repeatedly crashed, about every 10 seconds or so.

After some searching I found out that Google started blocking uncertified devices from using the service, but that there is a way to whitelist your "custom device" by submitting your Google Service Framework ID to Google. To get this GSF ID, I tried the commands given on the page (www.google.com/android/uncertified):

```<code>$ adb root
$ adb shell 'sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"'
</code>```

But this did not work, no ID was found, neither via adb as above, nor in a local root shell directly on the phone. I then tried to read out the ID by using an app called "Device ID" (as described here), but this app also did not manage to get the GSF ID, the field was blank.

I already wiped the phone and retried the procedure with another gapps package (the "micro" variant), but I ran into the same problem.

Is there something I can do? I would love to use LineageOS, but unfortunately I still do need the Playstore and I really do not want to go back to the stock Android 6.


问:
Are non-Google emails stored only locally when using the Gmail app?
The Gmail app allows to add non-Google email provides (via POP and IMAP).

Is it mentioned somewhere that the emails pulled from these providers stay on the device and are not stored/shared with Google?

Note: I have marked my own question as duplicate (and not deleted it) because there is another one which is strikingly similar, but the answer is purely speculative.


问:
Can Android device be used as USB webcam for full-HD, 30fps video source for Skype calls via PC?
Have found some apps that allow an Android device s.a. a Smartphone with good camera to be used as a USB webcam, when used of ADB over USB. However they seem to limit the video source to be fairly low quality i.e. mostly little better than VGA or if higher-resolution then at low fps.

Is there anyway to tether an Android device to a PC, over USB while using the device camera as a USB webcam working at FullHD (1080p) at 25-30fps, that could be used for doing Skype (or Skype for Business) calls ? I would like to use this setup for a live-demo. I know that I could go out and buy a dedicated webcam, but trying to avoid it if possible. My PC has an inbuilt cam, but it is 720p (not very good) and for the demo I need to be able to tilt, swivel, pan the camera - not very convenient when using inbuilt PC webcam, but fairly easy for an Android phone, mounted on a tripod.


问:
How to mount an SMB share as a removable media?
Is it possible to mount an SMB share to a folder that Android thinks is a removable media (external SD card or USB storage)?

Currently. I am using the following command to mount the share to Android's filesystem (I should mention that it doesn't work if the android device is in battery saving mode - took me a while to figure this out):

```<code>busybox mount iocharset=utf8 -t cifs -o username=guest,rw,noperm,iocharset=utf8 //192.168.0.11/xxx /data/media/0/xxx
</code>```

But, I don't think it's the best way, because I had some media scanner crashes, random reboots and notifications about low internal memory, which I think are related to the mount I performed.


问:
Linux automount corrupts ext4 partitions of Android install?
I've been experimenting with dual-boot between Linux and Android on an x86 device which came with Android + Windows preinstalled (Chuwi Hi10 Pro).

I soon found out that simply booting Ubuntu (either from a live USB stick or from the on-device install) will kill the Android installation (hangs at boot), to the point that only a factory restore will help.

The reason seems to be that Ubuntu automounts every ext4 filesystem it can find, including the Android partitions (system/data/cache/config). I've fixed this by adding the following to /etc/fstab:

```<code># do _not_ automount the Android partitions
UUID=57f8f4bc-abf4-655f-bf67-946fc0f9f25b  /none ext4 ro,noauto 0 0
UUID=57f8f4bc-abf4-655f-bf67-946fc0f9f25b1 /none ext4 ro,noauto 0 0
UUID=57f8f4bc-abf4-655f-bf67-946fc0f9f25b2 /none ext4 ro,noauto 0 0
UUID=57f8f4bc-abf4-655f-bf67-946fc0f9f25b3 /none ext4 ro,noauto 0 0
</code>```

I'm now wondering about two things:

What is it that Ubuntu can possibly do to the ext4 partitions that will later cause Android to hang on boot?

Could this be related to the fact that apparently all Android partitions share the same UUID?

EDIT: as suggested by mook765, here's the output of lsblk -f:

```<code>NAME         FSTYPE LABEL     UUID                                 MOUNTPOINT
mmcblk0
├─mmcblk0p1  vfat   ANDROIDIA 1389-AFF9                            /boot/efi
├─mmcblk0p2
├─mmcblk0p3
├─mmcblk0p4
├─mmcblk0p5
├─mmcblk0p6
├─mmcblk0p7  ext4             57f8f4bc-abf4-655f-bf67-946fc0f9f25b
├─mmcblk0p8  ext4             57f8f4bc-abf4-655f-bf67-946fc0f9f25b
├─mmcblk0p9  ext4             57f8f4bc-abf4-655f-bf67-946fc0f9f25b
├─mmcblk0p10
├─mmcblk0p11 ext4             57f8f4bc-abf4-655f-bf67-946fc0f9f25b
├─mmcblk0p12 vfat             8A7A-6F97
└─mmcblk0p13 ext4             9dadc784-4ed1-4e54-adec-8227b73a0777 /
mmcblk0boot0
mmcblk0boot1
</code>```

Note that this is an intentional duplicate from https://askubuntu.com/questions/1092142/ubuntu-automount-corrupts-ext4-partitions-of-android-install.


问:
How do AOT and JIT work together in Android Nougat and later?
The Android OS was using interp years ago, then they added Just-In-Time (JIT). However, since Android 5.0, they replaced JIT with Ahead-Of-Time (AOT) compilation which increased app installation time quite a bit, so I wasn't following its development. Then in Android 7.0, it seemed JIT had come back, but I cannot understand how JIT and AOT would be able to work together.

Does this mean they finally ditched AOT and switched back to JIT? (I have read some articles but since I have detached myself for a while from the follow ups to development, I am not sure if I still understand everything correctly.


问:
Micro SD Card causing Problem in Tablet
Device: Pipo N7 MT8163
Android 7.0

I am using a Micro SD Card (128GB) in my tablet. As far as I know the device is supposed to be able to handle this card. The tablet recognizes it without a problem. What I am experiencing is, that I find different areas of the tablet malfunctioning. for example I can't download or install new apps while the card is mounted in the tablet. If I unmount/eject it then I'm fine.

I also find that most of the time I can't delete data or cache in the Settings -> Apps. Even when I can delete it doesn't update the data and chache amounts.

Usually when you go to the apps in settings it shows under each app the amount of space the app is taking. When my card is mounted I don't get this info.
These are only a couple of the problems I seem to have. As soon as I eject the card all goes back to normal.

I have tried to google this problem but wasn't able to find anything related to my problem.

Please if someone can advise on what I can do

Title: Micro SD Card causing Problem in Tablet


问:
App from Hockeyapp won't install even though Unknown sources is allowed
I am getting a weird error, only in 1 of my phones. I am using Hockeyapp to distribute and test apps and it works fine in every other mobile device. In Oneplus 3 (A3003; Android 8.0.0; OxygenOS version 5.0.6) though, when I try to install an app from Hockeyapp I get the message that I need to enable 'Unknown sources'.

After I press APP SETTINGS I am taken to the unkown sources screen where Hockeyapp is selected, just like the image below.

If I go back in Hockeyapp and try to install the app again, I still get the same error message. I tried to clean install Hockeyapp, change manually the unknown sources but nothing changes. I repeat that this only happens in this Oneplus device.

How can I solve this and install the app that I want from Hockeyapp?

Edit: I uninstalled Hockeyapp, installed it again and explicitly granted that permission. I still get the same error!


问:
Display bound manipulation on an android device, to avoid faulty touchscreen area
I have a Oneplus 3T on which, the digitizer would not register a touch on the bottom 1cm of the display. I tried the adb shell wm overscan 0,0,0,100 command to set display margins, and it breaks a lot of apps (even after restart). The margin seems to scale differently to different apps. So, I used the adb shell wm size 1080x1820 (original resolution: 1080x1920) command to set the height 100px less. Unfortunately, it shrunk to the middle, and there are 50px padding on the bottom as well as the top. But, all the apps are working well. Is there a way to shift ("translate") the display upwards on y-axis 50px, so that all the extra padding is on the bottom? If not, are there any other ways to achieve the same intention (to shrink the display to the usable area)? I can't find any comprehensive list of all the adb commands anywhere...

PS: I've tried activating on-screen navigation to offset the display, but on Oxygen OS 5.0.3, it also disabled the hardware buttons.

Edit:
The instructions I followed were from these questions question 1 & question 2. But it didn't help.

Edit 2:
Current device display configuration:

Here are a few screenshots to show what went wrong with the adb shell wm overscan 0,0,0,100 method. There is an empty space at the bottom of each of these app windows and they are different for each of them as well.


问:
How to fix LG Tribute stuck at 0% on "Firmware Update"?
My parents bought me an LG Tribute from the store. Suddenly, it is stuck on a screen saying "Firmware update", and is stuck at 0%.

I have seen people saying to remove the battery, but if I do that, I cannot turn the phone back on, because my power button has stopped working over a week ago. Does anyone know how to fix this?


问:
How can a third party app run in safe mode?
I had a problem with my phone restarting at random, and it all started when I asked a third party app, FX File Explorer, to carry out a task (searching for duplicate files). So I duly rebooted the phone in safe mode.

The phone crashed on reboot, but with a cache wipe I was able to start it again and it was verifiably in Safe Mode.

FX File Explorer was absent from the home screen as expected and absent from the app list. I tried to force it to stop through app manager, but the phone just hangs, tried to uninstall it but with the same problem.

Moving back to another task using the recent apps list (Overview screen), I noticed that FX File Explorer had a window in that list. I touched on it and it opened, a fully functioning app. I thought safe mode was supposed to disable third party apps?

Firstly, how does FX File Explorer get to be still running even in safe mode?

Secondly, how do I stop it? Force stop just hangs forever until the phone restarts, uninstall just hangs forever. The phone appears to be working fine until I actually ask it to do anything (open an app, uninstall anything etc) then it just hangs. Being fairly sure it's FX File Explorer that's causing the problem, I need to stop it, but nothing seems to be able to get to it.


问:
How to determine the cause behind various apps freezing, including system apps?
I understand if this is too broad a question, but on the off-chance there is at least a broad category of problems anyone could point me to...

I've had a problem with the phone after asking a third party file managing app (FX File Explorer) to look for duplicate files (usually quite a long operation). It failed to complete, and since then nothing has been working on the phone and it keeps restarting. The weird thing is (or at least weird in my experience). It hasn't frozen or crashed. It's just that everything seems to be finding it hard to do anything. It's exactly the same in safe mode.

I turned on some developer tools (CPU indicator and notification for unresponsive apps). I don't really know what the CPU indicator is showing me (having no point of reference), but it spiked very quickly one time to cover almost the whole screen then calmed down to sit about a quarter along, so I'm presuming CPU usage is far from full. The unresponsive app notification is more telling as every minute or so a new app comes up with "... is not responding. Would you like to close it?". Basically everything is not responding.

I also tried checking running apps and cached processes, the third party app is not still running, just the usual set of background Google apps.

I can't do any USB debugging or software repair because "USB connectivity is not responding". I can't uninstall or re-install anything because "Settings is not responding" and "Google Play is not responding". I can't even use certain developer tools because many of those are "...not responding"

I realise this means I'm probably out of options, but before a factory reset (or the bin!) I'd just like to try and understand what could have happened. At least I could possibly avoid it next time.

Just to add - I've just done a Factory Reset. The problem is still there, apps don't respond, I can't uninstall anything, USB connection doesn't respond (or does respond but keeps dropping out) and after a while it will spontaneously restart. How on earth can one operation do this to a phone?


问:
Can a TWRP Wipe Delete SD Card Data That I've Explicitly Excluded?
I've got several years of experience rooting, flashing, and even recovering Android phones from severe hangups, but today I'm befuddled as to why I seem to have lost all of my data on the external SD card of a Samsung Galaxy Note 2 (GT-N7100) running LineageOS 14.1 (t03g).

Is the file system for an Android phone somehow integrated with the file system of the SD card such that a System wipe would affect the SD card? If so, then I guess there must be a difference between an SD card formatted on my PC as opposed to having it formatted in the phone itself whereby deleting/wiping the phone's System volume can also cause the SD card to be wiped. I've never had this happen before and the only difference I can recall is that this time I had formatted this SD card on the phone instead of doing it on the PC.

WHAT I DID:
I made sure to copy all the data files that I wanted to keep onto the SD card (/external_sdcard) using the File Manager in TWRP 3.0.2 before wiping everything on the phone except the card (I chose to wipe Data, System, Cache, and Dalvik). I was getting ready to flash LineageOS ROM (t0lte) on the phone from the SD card. However, it appears that all the files I had dutifully transferred to the SD card are no more! When I visit /external_sdcard via TWRP, everything's gone! I took the card out and checked it on my PC and indeed, the PC says the card needs to be formatted!

Did I miss something? Did I inadvertently forfeit my SD card data by wiping the phone the way I did?


问:
Phone (usually) reboots when train enters a specific tunnel
The title is pretty much it.

There's a tunnel that, when I'm in a train entering or exiting it, frequently reboots my phone.

It's quite rare for me to see spontaneous reboots otherwise.

Why would such a thing happen?


问:
Alcatel One Touch pop C3: How to install TWRP?
The problem I'm having is mainly because all the websites that I've searched are next to impossible to follow. Either links are dead, or something horribly went wrong while translating, so I'm asking here.

I got an Alcatel One Touch pop C3. Not the "one touch 3" version, the 'C' is significant. Up until recently, it was impossible to load a different ROM on it, but it seems Lineage OS has released a version for the One Touch pop C3, so I wanted to give it a try.

with adb I was able to check that the bootloader is unlocked, with fastboot I tried to upload the TWRP image (TWRP-3.1.0.0-PopC3.img), but it won't work.

I can boot into fastboot with:
adb reboot bootloader the device boots into a blank screen with => FASTBOOT mode...

I can list the device in question with fastboot devices

When I then do fastboot flashing unlock nothing happens, it just sits there.

Same thing happens when I do fastboot oem unlock.

When I tried to do fastboot flash recovery TWRP-3.1.0-0.PopC3.img, I get the following error: FAILED (remote: 'partition 'recovery' not support flash') (sic).

I was lead to believe, that the only way to successfully upload the file onto the phone, is via "SP Flash Tool" I have version v5.1824.00 installed which I believe is the latest one.

And that's where I'm pretty much stuck. I've installed the MT65xx USB VCOM drivers in a Windows VM, and that's pretty much it at this point.

I've also tried the Linux version of SP Flash Tool, but whenever I select the scatter loading file, and choose the TRWP image as recovery image, it just sits there and doesn't seem to do anything.

Do I need to boot into the fastboot bootloader, or something?

I can access the phone with adb and fastboot just fine, but I have no idea what that SP Flash Tool is doing, or if it is doing anything at all.


问:
Not receiving SMS from short numbers on Xiaomi Mi Max 3 (MIUI)
Phone doesn't receive 2fa messages, bank codes, etc.

This is chinese Xiaomi Mi Max 3 with unlocked bootloader which came with global 10.0.1.0 miui (Android 8.1).

What I've tried:

checking sms center number

disabling MIUI optimizations

changing settings of messaging app (disabling block list, enabling miui sms)

disabling volte

installing alternative sms apps

changing sim slots

reflashing global 10.0.2.0 miui via fastboot with full wipe

I was able to fix this on another Mi Max 3 with chinese 8.8.9 ROM by disabling MIUI optimizations if I remember correctly, but it doesn't work on this one...

Any idea how to fix this?


问:
Moto Z2 Play shows much smaller icons in Nova Launcher
tl;dr: I have switched from Moto E4 (1080p) to Moto Z2 (1920p) and on second phone Nova Launcher draws icons and icons' captions very small, barely noticeable. Even though settings are quite similar / the same. What can I do to prevent this?

I've been using Nova Launcher (Prime) for years. Recently on a number of Motorola Moto devices, including E3, G4 and E4. All was fine up until now, because all these devices had 720x1080 screen resolution. Yesterday I have purchased Moto Z2 with 1080x1920 resolution and problems started.

I can clearly see that while icon sizes are quite similar, icon captions are minimal, barely noticeable:

Settings for both phones are nearly the same:

I had to increase icons' size from 125% to 145%, because with 125% they were not acceptably small. But I have noticed that using 125% on Moto Z2, while reducing icons' size doesn't actually increasing captions' size so this doesn't seem to be a problem.

I also had to change font type from Normal to Medium, because using E4's settings (Normal) on Z2 resolution caused me to have problems with reading captions' sizes.

Z2 is my fifth Motorola Moto device with Nova Launcher and the first one where icon's preview section in settings (upper part of screen on second screenshot) doesn't actually match real icons' and captions' sizes. As you can see, preview suggests that everything will be fine (2nd screenshot) while closing settings
reveals (1st screenshot) that icons and their captions looks much different.

Is there anything I can do about it? Any hidden Nova's or system settings that controls how launcher draws its contents on higher resolution etc.?


问:
How to flashing bootloop Samsung Grand Prime SM-G530H with USB debugging Mode is disabled
i need your help..

my device bootloop.
Stuck in Odin mode.

Product Name: SM-G530H/DS

Current Binary : Samsung Official

System Status: Custom

here'e some information about the device and the tools:

debugging mode : disabled

root status : Unroot

Firmware : Official KitKat 4.4.4. G530HDCU1AOF1 (Indonesia)

Windows 7 SP1 32-bit

Samsung-USB-Driver-v1.5.63.0

Odin 3.04, Odin 3.07, Odin 3.1, Odin 3.2, And Odin 3.3 patched.

Root file for Sm-G530

Official firmware file SM-G530 all version and Indonesian version.

TWRP file for SM-G530

And then I try to :

wipe data/ cahe in recovery mode(Press power+volume up+home), the result is none...

root device via Odin, failed.

Install TWRP via Odin, failed

Flash via odin with some firmware ( HDC, HXX, HXC) the result also failed..

When i try to root or install TWRP or flashing with stock rom Odin displayed same error log:

=======================

 File analysis..

 SetupConnection..

 Initialzation..

 Get PIT for mapping..

 Firmware update start..

 SingleDownload.

 aboot.mbn

 sbl1.mbn

 rpm.mbn

 tz.mbn

 hyp.mbn

 NON-HLOS.bin

 sec.dat

 boot.img

 FAIL! (Erase)

 Complete(Write) operation failed.

 All threads completed. (succeed 0 / failed 1)

=========

Now, after i repeate to Flashing with root file, flashing with stock rom official then i cant access to recovery mode (Press vol up+home+power) anymore, just stuck in Odin Mode like as i just switch on the device..always displayed "Firmware Upgrade ecountered an issue. Please select recovery mode in Kies & try again."

If the USB debugging mode is the problem for this case, so what can i do to fix it?

I found this and i trying, but im still fail to follow the instruction.

https://www.isrgrajan.com/how-to-enable-usb-debugging-in-android-using-recovery-mode.html

Anybody can help me to fix my case?

Here's some Error pictures..

![flash official rom all version]
Flashing Official firmware with 4 files All country
(https://i.stack.imgur.com/MrOkU.png)

Flashing Official firmware with single file Indonesian version
(https://i.stack.imgur.com/2v6vC.png)

Installing TWRP

(https://i.stack.imgur.com/usJSu.png)

Rooting


问:
Can not install apk, got navigated to Security page when tap on apk
I need to install apk on my Motorola android 7, no root.
I did enable allow install app from unknown source
I dont have any screen filtering app running on my phone (so other thread on this topic doesnt work).
Everytime i tap on apk. The security page show up, not the install button.


问:
Error retrieving information from server [DF-DFERH-01]
Error retrieving information from server. [DF-DFERH-01]

I have a Sony Xperia XZ Premium running android 8.0.0. I have a problem when trying to go to the play store app and selecting the music tab. I get this error 'Error retrieving information from server. [DF-DFERH-01]'. I have seen errors like this on other android versions where you can fix it by clearing cache, deleting, and re-adding the play store app but it does not seem to work here.

Please assist. Here is a screen shot of it.

I have tried these solutions with no luck

Google Play error "Error while retrieving information from server [DF-DFERH-01]"

Play store - Wishlist server error DF-DFERH-01 - ZTE Blade III

Please note that I am asking about Android 8.0.0 and have not found solutions for that. Solutions for Ice cream sandwich and lollipop have not worked.


问:
Package installation in Termux
I'm reading this guide that describes how to install the statistical language R on Termux. My installation journey is briefly outlined below.

I need to determine why nothing happens at Step #2 below. Anybody have an idea?

Step 1: Add the its-pointless package repository

I copy/paste the following text to Termux, hit enter, and the console spits confirmation text, and it appears everything works fine.

```<code>pkg install curl gnupg
mkdir -p "$PREFIX/etc/apt/sources.list.d/"
echo "deb https://its-pointless.github.io/files/ termux extras" > "$PREFIX/etc/apt/sources.list.d/pointless.list"
curl "https://its-pointless.github.io/pointless.gpg" | apt-key add
</code>```

Step 2: Install required .deb packages

I then copy/paste the following code block to Termux, hit Enter on the keyboard, and nothing is output to the console. It appears nothing has happened. I try to copy/paste each line individually, pkg install r-base then pkg install make, etc., but nothing is output to the console and nothing happens.

```<code>pkg install r-base \
            make \
            clang \
            gcc-7 \
            libgfortran \
            openssl-dev \
            libcurl-dev \
            libicu-dev \
            libxml2-dev
</code>```

Step 3: Configure your compiler with its-pointless script

If I can make it this far I'll simply copy/paste the following directly into Termux.

```<code>setupclang-gfort-8
</code>```

Step 4-6: ...see the rest of the guide if you wish

So yeah, I need to figure why nothing happens at step #2 and I can't proceed any further with the install. Maybe I need to change directories at some point? Funny enough, even when I did a basic command such as ls nothing was printed to my console. Is there some permissions I need to change?

Title: Package installation in Termux


问:
Why using ADB command 'settings put global preferred_network_mode' doesn't reflect the changes in Test Settings?
I've been trying to search about changing network mode programmatically which was already answered, but I noticed that when using:

```<code>settings put global preferred_network_mode x
settings put global preferred_network_modex x
</code>```

Changes doesn't reflect to the Test settings, which can be access through *#*#4636#*#*, and some device doesn't get the change in their phone signal literally after the command.

So question:

Why using ADB command 'settings put global preferred_network_mode' doesn't
  reflect the changes in Test Settings but manually changing the
  network preference under Settings or the opposite changing from Test
  settings using UI will reflect the change to each other.


问:
Advice to recover a bootlooped One plus One
Tldr: I now have a phone that works when it is plugged in but continuously reboots when it is not, shows the Oneplus logo and then reboots again. I am able to boot into TWRP or fastboot. I tried a wipe clean and flash Lineage 15.1 but still the same issue. Occasionally it gets a few seconds into the OS boot process, I start to see the lineage OS boot sequence and then it crashes again.

I had Lineage 15.1 on the phone, which I believe was flashed over 14.1 without a wipe (i dont remember). It was quite unstable, it used to crash and reboot couple times a day. And this particular time, it rebooted, then crashed again, and started the bootloop that it is in now. It was getting faster.. Initially it used to reboot to the lock screen, then crash in a second or 2. Then it used to come to the boot animation and then crash, and soon after just looping at the manufacturing logo. I did not flash or do any such tinkering recently. Yesterday, before I wiped, It was stable as long as it was plugged in to power, and then when I remove the power cable the boot loop would start. Now after I tried the wipe there is no such thing any more. It reboots whether it is connected or not. The only thing I did differently was use a cheap aliexpress cable that i bought recently and a old powerbank for a few minutes the day earlier, and given the behavior with it bootlooping on battery but not on AC, i was wondering if the battery pack or the cable fried my battery in some way.

Edit: Even after flashing a new rom I have the same behavior, works if it is plugged in, bootloop on battery.


问:
Connected to Turbo VPN - 10.13.0.42/30. Tap to manage the network
When I use a VPN app on my smartphone, the following notification message is shown

Connected to Turbo VPN - 10.13.0.42/30. Tap to manage the network

Why is it connected to 10.*.*.*? Isn't it a private network?

I'm using Turbo VPN 2.6.3


问:
How do I make the Google Assistant notify me when I get email from a specific person using my S8?
I have a Google Mini & the IFTTT app but I can't figure out how to make Google mini make a voice notification when email from a specific user arrives. Is there a way to do this?

I use Gmail & have an S8.


问:
Why do I have enter all my logins on every app on a new Android phone?
I've just got a new OnePlus 6. It's installed my apps from my old phone but every one is asking for my login.I have loads and remembering the logins will take ages.

On websites Chrome remembers this, does it not in apps? It doesn't stores all this stuff in the cloud as part of backup?


问:
How to protect a system app's data from factory reset?
Is it possible to protect a system app's data from factory reset?

For example: my phone is rooted. I choose to move the Tasker app as a system app. I want all the Profiles, Tasks, Scenes and settings to remain on my phone even after factory data reset. Is that possible? Is it possible to preserve the data of the app?


问:
Backup Messages for Web?
My phone's screen died, and neither did I root it nor enable USB debugging, so I can't back up my SMS messages the traditional way.

However, I have messages for web (messages.android.com) set up, and can see all my messages there. Is there a way to back this up? If not, is there some API I can use to scrape all my messages?

Title: Backup Messages for Web?


问:
Any Camera-enabled app will block my Pixel 3 XL camera until reboot
I own a Pixel 3 XL phone (Pie). I am experiencing the following:

When I open any camera-enabled app (including Whatsapp and Barcode scanner), the camera subsystem will stop working, the camera-enabled app will crash or just won't show images on screen. After that, the stock Camera app by Google will crash after 10 seconds of attempting to render an image on screen, and the behaviour will persist until reboot

My phone is rooted with Magisk Core, but the framework is stock and is the latest version

I have tried a lot of times to fix issues with caches and user data, but the behaviour is consistent.

Reset Stock camera to factory version

Deleted settings and caches from other apps (I didn't reset Whatsapp data, but I tried with Barcode scanner)

Revoked and reviewed Camera permissions to the very minimum

Restart in safe mode and in normal mode

Haven't yet factory resetted the phone

I will probably try to uninstall Magisk and flash the stock boot image

I am very concerned not just because the issue is annoying, but that the camera subsystem is rendered completely unusable until reboot. In Android, apps cannot interfere each other.

I collected a bug report from my phone and sent to my personal email, I am likely to inspect it.

In the meantime, has someone else experienced this problem and found a way to use other camera apps that are not the Stock one?


问:
How to recover data from a device with broken touch screen and no OTG support?
A friend of mine owns a ZTE T84, also known as the Telstra Tough Max. Unfortunately, he dropped the phone and cracked the screen which resulted in a non-responding touchscreen. The screen itself does work.

In the meantime, he has bought a new phone, but still wants to restore all his contacts from the old phone. So I promised him to take a look at it.

At first I checked his Gmail account with him to verify if all his contacts were backed up in that account. Unfortunately, that wasn't the case.

I am able to connect the phone to a PC and it is connected in PTP mode, which gives the possibility to copy all the photos but not the rest of the data stored in the phone.

Then I tried to use an OTG cable with a mouse connected to the device. Unfortunately, this didn't work either, because the phone doesn't function as a USB host.

After that, I ended up trying things via the recovery mode menu. I tried to access the device via ADB, but it doesn't show up in there. It looks like USB debugging is not enabled. I noticed, when choosing "Apply update from ADB", it does connect and shows up in adb devices as sideload. But I can't use adb shell from there on, only the sideload things.

When I choose the option "Reboot to bootloader" it gives me a black screen, but I noticed it popped up in device manager and fastboot list it in the devices. However, commands such as fastboot oem device-info don't work.

I also tried to wipe the cache partition in the hope that the usb-connection mode would change, but no luck with that.

I did a lot of Googling on this subject but, so far, no luck in finding the solution. Does anyone have an another idea of what I can try to gain control over the phone or at least restore his contacts?


问:
Type German special characters with Bluetooth Keyboard
I'm trying to type German special characters ä, ü, ß with Bluetooth keyboard (Logitech k810) using SwiftKey (this is the keyboard app I normally use when not using the keyboard, ideally wouldn't have to swap keyboards everytime). When typing directly onto the phone, I would long press the 'a' key to bring up the ä character, but doing the same thing on the physical keyboard just repeats the same character.
On my Windows laptop, I use Autohotkey to overide the input such that pressing CAPS + a = ä. Would be ideal to be able to do the same thing on android</p>


问:
Is it possible to make Android remember the SIM PIN and automatically unlock the SIM upon reboot?

This way the phone could be unlocked and used with the visual pattern. (Or some other mechanism, e.g. fingerprint, face scan, etc.)

The SIM card PIN wouldn't have to be repeatedly input after every restart.

In case the SIM is removed and put in another phone, it would require PIN to access.

The PIN would likely be encrypted while stored on the phone so it cannot be easily (or perhaps in any way) recovered without getting through Android's built in unlocking mechanism.

Maybe the SIM would only be unlocked after the first time the Android phone itself is unlocked after reboot. And that's okay, maybe even desirable.

I don't mean the option to disable the SIM PIN completely, as that makes it very easy to put the card in another phone to have unfettered access.


问:
Unlock with fingerprint instead of PIN after Device reboot or Device Locked by admin
Android has a security feature that requires the user to input PIN/Pattern/Password if the device was locked by an app using the Device Administrator permission or when the device is restarted.

Recently though, I've started using custom ROMs like LineageOS and Resurrection Remix. I happened to notice something interesting in Resurrection Remix: that it allows you to use fingerprint even after an admin device lock or device restart. Take a look at the screen capture below.

You'll find this setting typically under Settings > Customizations > Interfaces > Fingerprint settings.

Now, with that option enabled, it allows me to unlock device with fingerprint auth. regardless of the method with which the device was locked before.

I've since switched to LineageOS for reasons but I kind of want this feature and am looking for help. I've also looked a bit into the Resurrection Remix Sources but was unable to find anything helpful.

Perhaps, maybe, is there a build.prop hack/tweak/option I could use to get said feature in LineageOS too?

Any pointers in the right direction are greatly appreciated, Thanks!

Note: In before someone points out, I understand this option, if enabled, can seriously downplay device security but I kind of want to learn about why it works how it works. I do not necessarily plan to enable this but learning is always interesting. I also happen to understand code a bit, please feel free to use code instances (I was thinking about Android Keystore auth code) to make things more clearer should need be.


问:
Android phone plugged into charge 24/7
I currently have an LG E440 (non-stock ROM) plugged on charge 24/7 (connected to mains outlet, not PC) as it runs several Tasker-based routines which need to be seperate from my day-to-day phone.

Aside from the shortened battery life-span and increased electricity bill, are there any inherent dangers to this? E.g. battery exploding, risk of fire etc.

As far as I'm aware, as long as the battery doesn't overheat it should be fine, but I'm sure someone out there can point something out!

Thanks

Title: Android phone plugged into charge 24/7


问:
How can I turn off any kind of fanciness/animations on Samsung A7, with Android 8.0.0?
I am a more or less a nostalgic type of user and what I really would like is to turn of any kind fanciness as much as possible on an/any kind of mobile phone what I have so far.

But the problem is: How can I do this?

With fanciness or fancy stuff I really mean something like moving something smoothly (or continues), or an open/close animation, or moving some unnecessary stuff on screen etc. etc.

Like in this video e.g. at the beginning. I would really like to change the slide instant when I swipe left/right.

Or e.g. here the first gif on the page. It can (for my flavor) slide horizontally/vertically but to open the split e.g. instant (without wait to long).

Here are two more examples what I mean:

In Windows XP minimizing/maximizing of a window was instant, see here e.g. and on Mac OS the min/max-ing of a window looks like here.

If you ask yourself 'why' then I can only say that I really mean this seriously. No, seriously, I really would like to have things happen more or less instant and not when the animation is done or what ever.

Update #1

If this can be applied only to my phone (Samsung A7, with Android 8.0.0) it would be fine too.

Update #2

I have already unlocked the developer options in the settings and also disabled the animations (see here). But is it possible to disable these kind of animations in other apps too?


问:
Finding out what App causes unwanted new tabs in firefox on Android
Recently some app started opening new firefox tabs with the adress 'livemobilesearch.com'. I uninstalled the most recentently installed apps, but the problem still persists. I assume the pages get opened when I unlock my phone from standby, because sometimes after I unlock the phone the screen flashes for a second and if I open the firefox after that, a new tab with said webpage is open. I already deleted the 'cache' and 'data' of the firefox app but nothing changed. Also I tried an anti virus and malware software called "Malwarebytes Security: Virus Cleaner, Anti-Malware", but it didn't find anything. I have two ideas / questions to find out what causes this problem:

Does the firefox app have a logfile that tracks from where pages are openend?

Is there a way to see a list of receivers that are 'subscribed' to the SCREEN_ON Event?

If anyone has another idea to how to fix my problem I'd be glad to hear it.

Thanks in advance.

EDIT:
I've read and followed the instructions of the related articles from the comments. dumpsys activity activities shows the following:

```<code>* TaskRecord{3bf05cb #1075 A=com.android.chrome U=0 StackId=1 sz=1}
  userId=0 effectiveUid=u0a103 mCallingUid=u0a103 mUserSetupComplete=true mCallingPackage=com.android.chrome
  affinity=com.android.chrome
  intent={act=android.intent.action.VIEW dat=https://livemobilesearch.com/?utm_campaign=dist&utm_source=foobar flg=0x14002000 pkg=com.android.chrome cmp=com.android.chrome/org.chromium.chrome.browser.ChromeTabbedActivity}
  realActivity=com.android.chrome/org.chromium.chrome.browser.ChromeTabbedActivity

....

* Hist #0: ActivityRecord{bbeee47 u0 com.android.chrome/org.chromium.chrome.browser.ChromeTabbedActivity t1075}
      packageName=com.android.chrome processName=com.android.chrome
      launchedFromUid=10103 launchedFromPackage=com.android.chrome userId=0
      app=ProcessRecord{408bf79 18941:com.android.chrome/u0a103}
      Intent { act=android.intent.action.VIEW dat=https://livemobilesearch.com/?utm_campaign=dist&utm_source=foobar flg=0x14002000 pkg=com.android.chrome cmp=com.android.chrome/org.chromium.chrome.browser.ChromeTabbedActivity (has extras) }
      frontOfTask=true task=TaskRecord{3bf05cb #1075 A=com.android.chrome U=0 StackId=1 sz=1}
      taskAffinity=com.android.chrome
      realActivity=com.android.chrome/org.chromium.chrome.browser.ChromeTabbedActivity
</code>```

The way I understand the output is, that the tabs were opened from chrome. I've disabled chrome for now, as I can't uninstall it.

EDIT 2:
The problem still persits. Even though I followed the steps in the similar thread in the comments, the unwanted page still gets opened. I can't uninstall Chrome since it is a system app (I have a sony xperia x compact on Android 8.0.0).

After I disabled Chrome the unwanted page is still opened. It now states in the dumpsys: "launchedFromPackage=org.mozilla.firefox". It would appear, that the solution form the comments is in my case not working.

Any advice would be much apreciated.

OwnerDisplayName: KArlk.


问:
Samsung Galaxy S5 Stuck in boot loop & will not enter recovery mode
I have a Samsung Galaxy S5 Model SM-G900V stuck in a boot loop.  Unknown Android version, but the phone is stock with no mods. I've tried the following:

Replaced the battery with a known working battery
Soft Reset
Tried every key combination possible
Entered Download mode and re-flashed with a stock ROM
Phone will not enter recovery mode shows blue text on top right and then also reboots into a boot loop before entering recovery mode.  After it reboots it still shows the blue text on the top right but never gets past that.
I am able to enter maintenance boot and tried safe mode and clicked on factory reset which then brings me to the screen for recovery booting and then enters a boot loop again.

The fireware I have tried is:
G900VVRU2DQL1_G900VVZW2DQL1_G900VVRU2DQL1_HOME.tar.md5
&
G900VVRU2DPG2_G900VVZW2DPG2_G900VVRU2DPG2_HOME.tar.md5

I also tried to use ODIN and replace the PIT with the following:  KLTE_USA_VZW.pit

All Flashing was sucessfull

power + volume up (in several combinations of holding / pressing

power + volume down

power + volume up + volume down

power + home

power + home + volume up

power + home + volume down

home + volume up

home + volume down


问:
On a multi-user Android device, when Google Backup runs, whose data will get backed up?
If it's enabled, Google Backup does two things.

A)  It runs "key/value backups", maybe once every few hours, and it stores the data in the Android Backup Service.

B)  It runs "Android Auto Backups", usually once per night, and it stores the data in your Google Drive.

(Source.)

On a multi-user Android device, when Google Backup runs, whose data will get backed up?

(I could do some testing and find out the answer myself, but it might take me days.  My device is running Android 6.0.0 "Marshmallow", and I'm not sure I've yet figured out how to properly force a full immediate backup using bmgr on such an old OS.)

Edit

adb shell then dumpsys backup will mention "Backup currently running" if a backup is running.  It can also tell you much more information.

adb shell then logcat | grep -i backup will watch for backup-related activity and show you the log entries as they happen.

To read more about multi-user backup

If you'd like to see other threads about multi-user backup, please go here and here.


问:
Phone can not reset and cannot boot to recovery mode
Actually I don't know what I did or did not do. I'm running a stock jellybean ROM. It is rooted. I've tried to soft reset the device but when I hit the "delete everything" in factory reset, the phone reboots normally and my apps are still there looking at me with their data.
Secondly, when I try to perform a hard reset, phone won't boot into recovery mode not even when I use adb or terminal Emulator, or hardware buttons or other advanced reboot apps. But the device can enter fast boot mode.
Any idea what is wrong?? </p>


问:
What does the PIPE icon mean in status bar?(with picture)
I just noticed this today, and I have not installed any apps which I think related to this Pipe icon. It just flash and disappear repeatedly but if I pull the status bar there is no visible notification that I can check.

I checked running apps, I cant seem to find any related apps, I only have messenger, tasker, spotify and other system apps. It seems I could not also find any details through google. I already tried rebooting.

Is there anyway to find out this app? perhaps through adb? I have root.


问:
What damage can someone do with a logged play store account?
Let's say I have 500 tablets that I'm using for educational purposes at a highschool. In order to preload the app and receive automatic updates later, we have a single dummy Google Account that's logged into Google Play Store. The question is, once we give these tablets out to our students, some of whom we should assume are tech savvy and up to do no good, what damage can they do with the fact that all devices share the same account?

Now, if the damage they can do only applies to their device, we're ok with that. For instance, of course they can log out and in with a different account, which is ok. And of course they could use and abuse the tablet as they could any other tablet. That's ok too.

What we don't want to happen is for one user to be able to impact another user because of that shared account. Since they're all logged into the same account, can they access the email of that account? Could they force other tablets of the same account to download other apps? Could they force other apps to log out? What's the worst that could happen?


问:
How to setup a finger specific app launch?
On my ZTE Axon 7 I had four fingers configured to start specific apps when the corresponding finger was pressed. That was very practical to be able to start an app like Evernote directly. On that device that could be specified in the setting and that setting seems to be missing on Pixel 3.

Is there a way to do something similar on the Pixel 3 (with Android Pie)? (It's even okay if I have to write code.)


问:
Boot loop, random crashes, flashing won't help [Galaxy S4 VE GT-I9515]
I'm in dire straits. I have been using an unofficial LineageOS port for almost 2 years. I was going to give the phone away to my buddy as a Christmas gift, he only has an S3 mini with a shattered glass. Literally minutes after I paid for my new (used) phone, my S4 screen went completely pink at the same moment I received a message. The vibration from the message notification turned into a loop while the pink screen stayed on. I used to get the pink screen every now and then, but usually only for a fraction of a second. After that I only had to lock and unlock the screen to continue operation. Several other users have reported this minor bug.

After removing the battery, the phone would go into a boot loop. I re-started several times and it did boot up again once after several minutes of a black screen, but before I could do anything, like save my current day's data, it went pink again. The worst part is I couldn't even enter recovery for whatever reason, it would just re-boot but never go beyond the Samsung splash screen. Download mode did work in the beginning so I used the chance to flash several other TWRP ROMs, and did manage to boot to recovery once, again only seconds before the screen went pink again.

After these experiences, it behaved like the battery would be drained rapidly. The amount of time that the splash screen would show up decreased from the full time to only a fraction of a second. Likewise when I plugged in the charger, it would only flash the charging logo before going off again. After several re-tries, it wouldn't even vibrate anymore when connecting the charger.

I thought my S4 had died on me, and that I had watched it fade away slowly and painfully, until after several hours of charging, it turned on all of a sudden, but only for the Samsung splash screen. After that it seemed completely dead again. Pretty random behavior, but at least a little sign of life.

I already tried my older battery, which let me power it on for a while, before eventually reproducing the same behavior until it also wouldn't turn on again. Luckily, I have now gotten a third battery (all three original Samsung), and with that it would immediately power on again, and go into a boot loop after the Samsung splash screen. However this time I could enter recovery on the first try, so I tried:

Wipe Cache/Dalvik

Flash latest LOS from first post

Wipe System/Cache/Dalvik

Flash latest LOS from first post

In that order. The first options resulted in the same boot loop as before, while the last options finally showed the LOS boot screen for a couple of seconds, until the screen turned pink again. I had to remove the battery to start over.

So I finally gave up on LOS and tried flashing Stock with Odin, as long as it would let me enter download mode. All went normal, but now after the Samsung splash screen it simply stays black. Tried again, now the screen only stays black a couple of seconds until it reboots. How can that be after a Stock ROM flash?

So I let the battery fully charge. For the first time since the start of the problems, the LED would turn on, first red then green. I pressed the power button and lo and behold, the Samsung boot animation (after the splash screen) showed up. I was hopeful for several minutes (normal after Stock flash) until it went back to boot loop.

I couldn't even factory reset because the stock recovery Android icon would only show up for a couple of seconds before the boot loop resumed. So I flashed latest TWRP again, and started flashing LOS when the after several seconds the screen turned pink again. Tried flashing stock with Odin once more, phone shut off midway through. I have just completed my third stock flash, and it went straight to boot loop. However this time it would let me enter stock recovery and I did a complete factory reset + wiped the cache partition. Still stuck at boot loop.

I'm at my wit's end.

Edit: Tried it with a stock ROM from a different carrier, same result.


问:
Is there a way to combine SMS from different Android versions
I'm looking for a proper way which will allow to combine SMS from two different devices with different Android versions.
I took a look into this solution but it doesn't explain the step "4. Edit both XML files to merge them;" - how to do it?</p>


问:
Need to flash Galaxy Tab PRO 10.1 to recover data
Hope you can help with this issue:
Samsung Galaxy Tab PRO 10.1 SM-T520 Kitkat 4.4.2

This is my wifes tablet and it recently stopped booting at the second Samsung logo.
This is the one that happens after the purple swirly (sorry for the technical term).

I went through some simple things to try and fix it including reboots.
I also disconnected the battery for some time while pressing the power switch.
I hoped this might clear the issue but it did not.

I tried connecting to my wifes PC where it wasn't recognized (used to work there).
I tried my system as well, I had no SW installed to I tried the latest Kies SW.
Also tried an older Kies version and also Samsung Smartswitch. Later I also tried Odin.
Nothing recognized the tablet as being plugged. Tried several cables to no avail.
If I look in the HW manager on both PCs no tablet shows up.

It seems as if the tablet USB is dead or the SW isn't running far enough to enable it.

Did some research and got into recovery mode, here is what comes up.

Android system recover <3e>
KOT49H.T520UEUANF4

Dead android with "no command" below

In my research I found out that you can update an image from the SD card.
So I found two US (XAR region) roms for Kitkat 4.4.2, I have tried both.
I used "apply update from external storage" in the recovery menu and selected the ROM.
They seem to start loading/extracting on the tablet and then I get the following;

E:footer is wrong
E:signature verification failed

The above message happens twice. The only reason I haven't just resorted to factory settings is my wife did not back up the tablet in the last 6 months and the previous backup has empty directories. While nothing is critical on the tablet she has save a lot of free quilting/clothing patterns to it.

So whatever I do I am trying to preserve the data, hence my efforts with the ROMS.

I can't change any settings on the tablet, I can't get the USB to work and I keep getting errors with the ROMS. I have seen it suggested that slow downloads can corrupt the zip files I am downloading. I don't want to pay for the download. Is there anywhere to get ROMS free at a decent download speed to rule this out?

Anyone have any ideas for anything else I can try.

Thanks


问:
Can not re-sign Android system app without app crashing (using LineageOS)
The original post on Reddit with some more background about the issue.

I have re-signed all system apps of LineageOS with my own key and have replaced them all before the first boot. LineageOS boots normally but then all re-signed system apps crash with an error like:

SystemUI has stopped, Settings has stopped.

The screen stays dark. It seems that the re-signed system apps are unusable. Maybe I made some mistake or LineageOS has some anti-tampering check implemented?

What I have done: I opened all system apps with the WinRAR zip manager and removed the CERT.RSA and CERT.SF files in each META-INF folder and deleted all the names and SHA-256 digest entries in all MF manifest-files. Also, all other APK for example, in the framework folder, like the framework-res.apk file, I edited them like this. Then I created a keystore with Key, using the Java keytool, I think this is self-signed. Then I signed all APKs with the Uber Apk signet tool and successfully performed zip-aligning. Then I flashed Lineage OS with TWRP on the phone. Before the first boot, I deleted the system APKs with the TWRP file manager and replaced them with my self-signed ones. Uber-Sign-Tool: https://github.com/patrickfav/uber-apk-signer

I have now adapted with the TWRP terminal chmod with the following commands: Before I adapted chmod, I checked everything with ls -l.
Then I adjusted everything as it is right in the system so for me: chmod 644 for system-apk's and the apk-folders and chmod 755 for the /system/app and /system/priv-app folders. Now I'm stuck again in bootloop when I edit chmod.

The chown-Settings were already on root. Also I tried chown 0.0 -R and chcon u: object_r: system_file: s0 (see also installing apk in /system/app with android 5.1 or higher (simple adb push doesn't work anynore) push does) I stuck again in bootloop when I edit chmod.

There are no Odex files available.

Why can I edit the AndroidManifest.xml from all Systemapps without problems if I keep the original signature except at the framework-res.apk? Does anyone know why it doesn't work with the framework-res.apk? The only way I find which works is to turn off signature verification in the whole system, but this is bad for the security.


问:
Is there a way to show the status bar in Adobe Reader in Reading Mode?
Adobe Reader has a "Reading Mode" that is very nice for reading books and other documents but unfortunately, it hides the status bar on my Essential Phone.

This phone has a notch so when the status bar is hidden, instead of disappearing completely, it becomes blank instead. I'd rather see my notifications and especially the clock at all times.

I tried with adb:

```<code>settings put global policy_control immersive.status=-com.adobe.reader
</code>```

but it still didn't force it, the status area remains blank :(

Is there some sort of other adb command that can override this application control to show the notification area as usual, around the notch?


问:
Google Calendar notifications not displaying
How do you get events on the Google Calendar app to display notifications on the phone?

Steps I have tried:

Google Calendar app > Swiping left > Settings > (Calendar label) > Default Notifications: Set this to 1 minute before

Tapping on Google Calendar app > calendar item > edit > Notification: Set this to 1 minute before

Going to Phone OS system settings > Sound & Notification > App notifications > Calendar > Setting: Block all to 'off'; Treat as priority: on; Allow peeking: on;

Notes:

My calendar events are created via the web at
https://calendar.google.com

Phone os: 6.0

Phone: Moto E (2nd Gen)

All events are NOT all day. Instead they last for 1 minute.


问:
How to prevent loud beeps before alarm rings
Using alarm xtreme on Samsung S8.

In the past it didnt happen but recently when the phone wakes up to play the alarm it plays a very loud 3 beeps and then starts the alarm.

The alarm is set to start quietly and raise but due to the beeps I wake up in panic.

Please advise


问:
How to use a music player notification's play button state as an event for Tasker
Is it possible to read the state of the "play" button inside a music app's notification and use it as an event to activate/deactivate a Tasker profiles?

I need to run certain commands when playback starts or stops in a music app. I think Tasker can use notifications from specific apps as events for activating its profiles, or even look for specific text in the notifications. But can it respond to the media buttons in the music player's notification, or in the music app itself? I cannot use the %atmusicplaying variable from Autotools plugin or similar approaches to check if music is playing, because I use the device to stream the music over DLNA and for some reason the device doesn't return the music state as "playing" in this case (see another question and its answer's comments).


问:
Is there a way to find history of websites which was opened through app browser?
I tried to find the websites I opened through apps like Twitter, Instagram; but I wasn't able to find them again. Is there a way to search for history of websites which was opened through app browser than using chrome or opera when opening them</p>


问:
How to screen robocalls by forcing caller to press a certain key combination? (audio CAPTCHA)
I am trying to stop all those junk calls I am getting, I have tried quite a few apps like Hiya, TrueCaller etc; unfortunately, phone numbers are easy to spoof and those apps can't screen all that spam

Allowing calls from my contact list only is not an option for now

Question - is there a way which will answer the call, ask caller to press a certain keys (playing message like "Press 4-5-6 to be connected) and disconnect the call if caller failed to do so? (audio CAPTCHA)

I have Android 7.1.1