text:
Macrodroid: I want a repeating alert when battery is less than/over than x%
I want a repeating alert when battery is less than/over than x%.
I have a pair of alerts (Using MacroDroid) that are triggered by a battery level change. One of less than 35%, and one of more than 85%.
It nicely runs a media sound file to alert me. (Ding!)
I want them to repeatedly alert me while they are above/below the limit. Currently it only seems to do it once: at the moment that the percentage level drops or increases past each limit. How could I make it sound every (say 5 minutes) when it is above or below the limits?
I'm becoming obsessed with battery levels ever since I replaced my battery and I found it to be swollen like a rotten grapefruit! :)
Edit:
I've found some info that accessing the root (whatever that means) can give you access to the sys folder that can actuate the ability of the phone to either charge or not do so. I have done similar things with windows and the registry and feel confident doing these things with the Win OS in the Registry, but not with Android OS. If I access the sys folder and try to save changes it won't let me.

You need root access to make those changes. I had that implemented back in Android 6.1.

Use the trigger Regular interval only. Do not use with any other Trigger. Setup your action, the media tone that is, and use the constraint battery level. You may have to use a logic constraint here, such as AND constraint in MacroDroid specific category.

+1, of course!  There seems to be no setting for "Battery Level = to". I modified my macro to show (triggers) "Battery level Change : Any value change" ... (actions) "Play Sound", "Display Notification"... (constraints) "Power Connected", "Power level >= 85%". If my battery is at 100% and my power is connected, there is no change ever, right? Bad! What (oh, what) do I do?

Fun Fact: if my battery is <=0%, I can't get my phone to do anything.

Battery level constraint is available under Battery/power. It can be set for greater, lesser and equal to a certain value. As I mentioned in the answer, do not use any Trigger other than regular interval. The battery level constraint should be used. // I have not tested the condition for 100%. You can use using logic constraint such as AND, OR, etc.

So... not totally obvious to me. trying now to make my phone discharge to test things out. :)

Try this
If (battery level [>/<]X%)
-Do/while
--media file


text:
motorola droid turbo battery not charging
I bought droid turbo about five months and I upgraded it to marshmallow. Unfortunately, it fell on the ground four times, then the fourth time it stopped charging. When I connect the charger, it sshows charger is connected but in the battery performance section, "it says not charging".

This had happened with my Nexus 6. As a workaroud I used to align the USB cable at an angle with the charging port. The solution however was to get the charging port repaired or replaced which stopped this problem.
I have unfortunately no information as to why it shows connected, but  not charging.

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

sort: votes


text:
Weird behavior of broken screen
My phone (OnePlus 6) fell just this morning right onto its screen, but at first I thought it's going to be fine, since I am a paranoid and got a bumper case and a screen protector for said phone. At first glance everything except the screen protector was perfectly fine, but upon trying to unlock the phone, all it showed was a black screen.
Regardless, I tried to use it, by connecting it with my PC and using adb, which worked perfectly fine. Since I wanted to narrow down the possible causes of the non-working (but seemingly fine, since there are absolutely no cracks) screen I tried some things, like unlocking with the fingerprint reader, or using the cameras, which all worked perfectly well. Just out of curiosity though I tried using the touch screen, which for whatever reason also actually worked.
Now on to my actual question: Has anyone had any expierence with a similar behaviour, or could think of any possible reason that the screen doesn't work, but the touch input does?
Thanks in advance for any help I can get.

Your led lighting which is part of the digitizer s broken but the tough part survived. You would want to replace the led/digitizer. I've done this on a few phones and no longer attempt it to the fragile nature of the repair. eBay has services available for repairs

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Network Selection disabled by WiFi Manager & Wi-Fi keeps disconnecting
Android 7.1.2 drops WiFi connection.
Wi-Fi verbose log says:
(network_selection_permamently_disabled)
network_selection_disabled_by_wifi_manager

I found out, the following WiFi Manager App was the reason:

Wi-Fi Privacy Police (Prevent leaking sensitive data on WiFi)

The problem disappears whenever I disable this app. Here is how to disable it:

(System) Settings / Memory / Apps started on boot / Wi-Fi Privacy Police / Start at boot: DISABLED

So you disabled the App's bootup autostart. Now reboot Android.
After you have Android rebooted, check again Android's Wi-Fi settings: The error message NETWORK SELECTION DISABLED BY WIFI MANAGER should have disappeared.
Wi-Fi Privacy Police was actually a useful app for long time, till I noticed the unfortunate repeated interrupted WiFi connection. Below you have a screenshot of that app's functionality:

I add a similar problem on LineageOS 16.0 (Android 9). I had to go to Settings / Memory / Apps started on boot / Work profile setup / Start at boot: DISABLED


text:
Effects of hourglass button in Android P easter egg
In the Android P easter egg, PAINT.APK, there is a button in the toolbar that looks like an hourglass. Clicking it rotates it, but it appears to have no effect. What effects do the hourglass button in the Android P easter egg have?

I found out that when the hourglass is vertical, it makes the colors fade over time. But when it is horizontal, the colors do not fade.
Purple sitting 3 minutes with hourglass vertical on the left
Purple sitting 3 minutes with hourglass horizontal on the right


text:
Reset Partition Table for Nexus 7 2013 (Flo)
To cut a long story short I wanted to make the system partition larger on my tablet PC as it's far too small to do anything practical on. I used ADB push to put Parted into the root directory and proceeded to resize some of the partitions, but it has failed terribly to the point I have bricked my tablet. I have luckily enough found some guides on the internet to after I got QHUSB_BULK in Windows Devivce Manager. At the moment I have managed to execute the command
fastboot boot twrp-3.2.3-0-flo.img

but this is temporarily running from RAM as I'm unable to flash any of the partitions as they are "missing".
This is the my original partition table:-
https://pastebin.com/rhhjZtef
From some reading on the internet Linux can only have 4 primary partitons. I'm no expert in Linux. I know some basics but partitions is out of my area of expertise. All I know is that I have 30 partitions that I need to re-create and I don't know what partition type to set them to; primary, logical or extended.
I've played around with the three partition types but I get an error message saying "Too many primary partitions".
Could someone shine some light here please?
Many thanks
Will

This script might be worth a shot. If you wish to restore original partitioning, install sysrepartundo.zip. This script will attempt to non-destructively resize system again but if you installed some mega-gapps, it will obviously fail. In this case, use TWRP and manually format the system partition, then restore system's backup. https://forum.xda-developers.com/showpost.php?p=76278047&postcount=19 Or the link within about a way to un-brick the device. Hopefully it will bring Flow back to life.

Maximum 4 partitions is the limitation of MBR partition table. Android devices use GPT partition table which can have up to 128 partitions. You can use parted or gdisk to create GPT. But creating partition table isn't enough. Many of your 30 partitions contain contents related to bootloaders which are critical for booting. So you have to flash the proper contents to every partition too. These are just system, boot, userdata, cache and recovery partitions we modify usually during ROM flashing. So your best bet is to flash whole factory firmware that creates partitions as well

@IrfanLatif will just flashing a factory image re-partition the device? I thought they were just binary images. If this is the case I learned something new today. It is a nexus so its super easy and all firmware is available from Google. I have flashed a lot of nexi but I do it manual to the partition. Would he have to use the flash-all.bat to achieve this?

@BoLawson Personally I have never erased all of my partitions to test if this works or not, but it is possible, though I'm not sure if all vendors implement this in their factory flasher software or not. In one of my Qualcomm SoC phone's factory firmware, rawprogram_unsparse.xml contains entries of images from sector 0 to the last sector of eMMC. It also includes 17KB at start for main and 16.5KB at the end for backup GPT boot sectors (gpt_main0.bin and gpt_backup0.bin image files) which clearly indicates that whole memory is rewritten during flashing process including partition table.

Thanks for the replies. The problem I have is I can't load or flashing anything because I don't have any physical partitions. Currently TWRP is being assumingly loaded from RAM using 'fastboot boot' as I can't flash TWRP to the recovery partition. Once TWRP was temporarily loaded I then used ADB and entered Parted. It was here were I was having problems trying to re-create the 30 partitions.

@willowen100 the link in my first comment has a download for a flashable .zip that has a script with that utilizes the parted command to attempt to re-partition. (sysrepartundo.zip)

@willowen100 once you are in TWRP, you can create partitions using parted. First create a GPT partition table and then partitions one by one. But you need exact boundaries of your partitions in bytes (or at least in sectors; 1 sector = 512 bytes usually). The partition table you shared on pastebin won't suffice for creating accurately sized partitions.

I was in the same position as you re a total resizing of the partition table > System to Data. The following posts will help you. The first is a script to recreate all the required partitions. The second is a method to get the bootloader functioning from a Hard Brick. Worked on this for hours last night and have now had successfully recovered back this morning. Good luck. Mo https://forum.xda-developers.com/showpost.php?p=75465233&postcount=222 https://forum.xda-developers.com/showpost.php?p=75360854&postcount=199

Sorry for the extremely long reply back. I've only just managed to get some holiday since Christmas to sit down and crack on with this.
Anyway I have restored my entire partition table byte by byte but it has taken me ages to do as I have had to copy and paste 60 lines into Parted. The first line of each of the 30 partitions is for the partition sizes itself and the second line is rename each partition. Is there a way I can make a backup or at least a batch file to speed up the process in the future?

This file https://pastebin.com/aJJ1R4Be lists the entire procedure of commands I ran. However, after selecting 'Power off' in TWRP my Nexus 7 goes to a blank screen and I'm forced to follow the unbrick method again. What am I doing wrong?

UPDATE - I've successfully restored all 30 partitions and have flashed the stock Nexus image. However, Its stuck on an infinite boot animation so I'm not much further than before.


text:
How can I set the screen to turn off during a video?
I want to set the screen to turn off during a video from the gallery if there are something about 30 seconds without any touch,
How can I do that?
Is root necessary?
My android version is 9.0.

I believe you can do it through an adb shell without root. However, the way I know of you have to manually input the commands. I do not know how to set a timer. I believe the power button is keyevent 26. Try opening an elevated command prompt and with adb throw the command: adb shell input keyevent 26 that should press the power button and hopefully turn of the screen. Then throw the command again to turn it on.

So you mean that I need to try that line of code to check if the power button is keyevent 26?

Yes, it might work depending on your android version. You need to invoke an adb shell with the shell send the command input keyevent 26 which should simulate a power button push shutting of the screen.

What do you mean when you say "it might work depending on your android version"?

My android version is 9.0, would it cause different code?

"As soft input methods can use multiple and inventive ways of inputting text, there is no guarantee that any key press on a soft keyboard will generate a key event: this is left to the IME's (input method editor) discretion
In general, the framework cannot guarantee that the key events it delivers to a view always constitute complete key sequences since some events may be dropped or modified by containing views before they are delivered"
Yep, it still is 26
https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_POWER


text:
Not receiving notifications on dual WhatsApp on Samsung Note8
I have two instances of WhatsApp on my Note8. When I receive a message on my primary WhatsApp, I get notifications instantly as normal. However, on my dual WhatsApp, I don't get notifications unless I open the app.
Sometimes, I get notifications come in all of a sudden as if the app has come alive and checked, but this is not consistent with the primary app.
I've gone to Settings->Notifications and there is only one 'WhatsApp' app listed and notifications are enabled. However, this cannot be where the issue is as the notifications are fine for the primary app, just not the dual app.
If I go to Settings->Apps, then here I do see both instances listed. And notifications are enabled for both. I've also checked the Mobile data settings for both, and they both have Allow background data usage enabled. I am not using Data saver.
The only thing I've not tried is disabling Optimise battery usage for WhatsApp as this seems to be for both instances of the app, not either. But other than that possibility, I'm stumped. Any ideas welcomed.

Do you have two sims?

@RohitGupta Of course. But this is no longer an issue as this was nearly 4 years ago. I have a Samsung Z Fold3 now which handles dual messengers much better, possibly owing to later versions of Android and/or WhatsApp. It was probably due to the power saving settings of the apps.

I think your phone power saving app is putting a dual messenger app to sleep. so please check that it's not in sleep app list.

I had problems with getting notifications for my dual Viber app and it seems that by default they are turned off.
So, you need to go to Notifications > Advanced and there you could find and manage your dual messenger's notifications.

I'm not sure that the path will be the same for your device but for the record I'm using Samsung Galaxy S7 with Android 8.0.0 on it.
Maybe that could help you with the issue.


text:
Clone the Andriod version from Samsung to Lenovo?
I bought this Lenovo K10a40, and I bought just problems.
This will be a number 2 phone if I can get it work in a reliable state.
I have been looking a little around and if I could downgrade it to clone of the Android 4.2.2 on an old simple Samsung GT-S7580 it would really work as an upgrade. If that is impossible any change to the better would be OK to test. Else the phone is just garbage, I cant trust it.
I am totally green on this, and do not even know how to root a phone. Among the problems with the Lenovo, I got MMS problems, Bluetooth problems, and I miss the native android sip client.
As you understand  I need a detailed description of every steps I have to do.
Thank you
dsk

Android version are always device specific. Therefore you can't use Android from device X and copy/clone it to a different device Y.
The main reason for this is that each Android version contains a number a device drivers for all the different components (graphics chip, GPS, camera, sensors, hardware keys, main CPU). Each driver has to be the correct driver in the correct version configured in a correct way. Otherwise nothing will work
If you have problems with a new Android device there is only one way: Check on https://lineageos.org if there is a custom ROM version for your device. With a little bit of luck such a version exists and there is a way to install it on your devices. Note that installing a custom ROM results in loosing the warranty for your device. If something goes wrong with the installation of the custom ROM there is always the chance to brick the device.


text:
How to hide developer option from setting except with clear data or factory reset on android 8.1.0?
I'm using clear data but the developer options is still there, the phone is vivo y81

Mostly ROMs have a toggle switch inside Developer Options to disable them. Or may use settings put global development_settings_enabled 0 from adb or terminal emulator.

it only disable the developer settings, not hide it

It does both at least on Pie.

You can clear the settings through an adb shell. That should hide the developer settings to make it like them hidden like before you enabled them:
adb shell pm clear com.android.settings

on coolpad it works, but on vivo it doesn't, is there any other solutions?

vivo android version is 8.1.0

it says not found

Well then how about listing every thing with the command adb shell pm list packages

https://justpaste.it/6ldjw

Alright, I had the package name correct. I do not think they changed the syntax with oreo. I will look into this.

how do i do that?

Use a file manager from the play store such as FX file explorer. Then go into the system (/) and navigate to the system folder lastly navigate to the bin folder (path being /system/bin/ ). Within the bin folder you will see a lot of files look for one file named clear and one file named pm let me know if they are both there in the bin folder.

nevermind, i found the way using this method https://m.youtube.com/watch?v=yGPx7wcleiw

looks like vivo indeed do something about the settings, thanks for the help, appreciated


text:
How do I share something to a list?
I frequently make lists of things, e.g. in Google Notes. I'm looking for a way to share anything (with a share button) to become a new item on a list. The app doesn't matter, as long as it lets me in turn share the whole list. Is this possible?

So not the default Keep Notes share option that is there - you want to add to a list instead of making a new note? Not sure how convenient that is because you'd need to select a list to add to etc would be faster to copy and paste.

Any text file shared to ColorNote becomes a new item.


text:
Error mesages after uninstall samsung scloud and youtube
After uninstalling Samsung bloatware (*) (using root), I am receiving the errors "Unfortunately com.samsung.android.scloud has stopped"
and "Unfortunately com.google.android.youtube has stopped" even if what an doing has no relation with youtube.
Every time I try to use the camera I receive many scloud error messages.why?
Is Samsung connecting to their cloud server even when this function is not used?
Should I remove(as root) the other system Samsung apps (S.Link, S. Print, S. push,...)?
What is trying to launch these deleted apps?
Is the any startup/triggers list from where these apps can be launched?
(*)(If not bloatware, at least for me they are non desired apps and installed as system apps).

How did you remove youtube? Most likely you have auto updates enabled in the play store. So it keeps trying to update youtube. Also deleting a system app general just deletes from from the user i.e user 0. Lastly a copy of youtube is within the cache. That why when you factory reset the system apps come back.

I have no autoupdate. BTW in my phone youtube was a system app, but using ES explorer and root access I managed to remove it. At the moment  I got rid of error message after enter in Play and yes Play was thinking that I had youtube installed, so I click on "update". But I still want to remove completely and then install as a user app. Regarding samsung cloud, I still have error message, and i cannot find this app to install as user

Samsung has their own pre-installed app updating service with Galaxy Apps. Samsungs backup and sync just about everything involving their products. Turning off Sync will also help with the Samsung cloud errors. Interesting, I am just curious why do you want to change these system apps to user apps? To be honest not every system cannot be converted like this and still do what they do. System apps have special permissions in the manifest that user apps do not have access to. Your the apps and your device may lose some functionality by this move. Get the Scloud apk at sammobile or apkmirror.

I have no account at samsung or sync account. I don't want this special permissions for these non desired System apps. I hope to loss all these extra functionalities but without error messages ;)

Alright then, Sync is not an account but a process. Make sure you disable synchronization (sync) of content.
Settings/cloud & accounts/accounts/turn off the auto sync toggle. That will help with the cloud errors. You might also need to look in settings of the apps were the Samsung errors are thrown such as the camera. Turn off backup (cloud), make sure there is no sync option within the app.

@BoLawson, I downloaded and installed apks for samsung.cloud and Samsung Galaxy (com.sec.android.app.sns3). Now get rid of previous error messages but I have a new one "Unfortunately com.osp.app.signin has stopped"


text:
What version of Android starts “Messages for Web” support?
The Messages for Web documentation gives the impression (as does the Chrome OS documentation on the matter) that this feature has been available since Android 1.0 as it lists no "if you have Android greater than". But my LG V20 is running Android 7.0 and in the Messages app under the "More icon" there is no menu item "Messages for web".

The "Messages for web" feature works only with the Messages app created by Google.
The LG V20 runs a custom version of Android with a customized user interface. It is not the stock version of Android using only standard Google apps as is shipped on, for example, Google Pixel devices. The manufacturer (LG) will customize and add more features to applications like dialer, messages, camera, themes etc. creating a custom Android version above what Google provides. So, in this case, the Google SMS messaging application has a feature "Messages for web" which has not been implemented in the Messaging app created by LG.
But, you can use this feature by following these steps:

Download the Messages app by Google from the Play store.
Set the Messages app as the default messaging app in Settings.
Open Messages app, and tap on three dots on top-right corner (options menu), select 'Messages for web'.
QR code window will open, enable camera permission, scan the QR code on the desktop, your messages on android device will be opened on your desktop/laptop.

Note: You can't uninstall the LG provided Messages app as it was installed as a system app.


text:
Contacts from removed Google account still appear in Phone app - Android 9
I am currently using a Xiaomi Mi A2 (andoid one) with Android 9.
At some point I added another google account to the phone, just to view some mails.
After removing this account, the contacts saved to it were removed from the Contacts app, but still appear in the Phone app.
I have tried force stopping the Phone app, and clearing the cashe and the storage and also resetting the permissions.
Does anyone know what I can do?
Is there a way to find out if any contacts are stored in the internal storage do that I can mass delete them?

Ok so, moments after I posted this I found the answer and I am posting it in case someone else struggles for some days like I did. I went to the Contacts app, and on the menu I selected All contacts. This way everything appeared and I could just select all that I didn't need and delete them.


text:
Is it possible to make developer options inaccessible via tapping build number 7 times?
I want the developer options can only be accessed through a shell, please explain how to do it

What are you trying to achieve from this? Is your phone accessed by an another person and you want them to prevent them accessing those settings? Is your phone rooted and which  phone and Android version are you using? An Xposed module can easily hide a settings entry.

for security reason, my brother sometimes mess up with it, it isn't rooted and the version is 5.1, can you explain how to do it with Xposed module?

Why don't you setup a separate user account for your brother? As for Xposed module, it is pretty easy to use. See https://play.google.com/store/apps/details?id=com.wilco375.settingseditorpro

To disable developer options:

Go to Settings and scroll all the way down to Developer Options.
If you manage to identify a button (toggle) next to Developer Options, go ahead and tap it. All the options inside the tab will be grayed out, meaning they are disabled.
Open the Settings menu of your Android device.
Scroll down and tap on Apps (Applications). On Samsung, you need to go to Apps > Settings > Applications > Application manager.
Make sure you have the ALL apps filter selected.
Scroll down and tap on the Settings app.
Tap on Storage and hit Clear data and confirm by tapping Delete.
Go back to the Settings menu and check to see if Developer options is gone. If it’s still present, restart your phone and check again.


text:
alt+tab on physical keyboard not working anymore
on my P20Pro Android 9.0.0.159, something happened with my Logitech K380 BT keyboard ; suddenly the alt-tab combination stopped working.
I tried with another keyboard, same problem. The direct button "recent apps" stopped working too, it only does a tab now.
The other combinations and shortcuts work, just not this one.
I used the Android key test app and pressing alt-tab shows keycode 57 with KEYCODE_ALT_LEFT on.
Any idea ?
Thx

Keycode 57 is alt modifier i.e. alt key on the left side of the keyboard. The tab key is what's not registering. The tab key's constant value is 61.

Thx... so what can I do ?

What I believe is happening is the the specific key character map for your k380 keyboard is either not present or it has errors in the format either or the system is defaulting to the generic kcm (key character map) file. So one needs to be created for your specific vendor, device model, and desired layout. The thing is the file is a system file and the commands to get the needed information require escalated privileges. So to start, is your device rooted?

Not rooted, and if it's useful, alt tab didn't work with another keyboard either


text:
Disable/pause audio when active playback device changes
Is there a way to enable a system-wide disable/mute switch for audio when the playback device changes (i.e. on an Android phone). Sometimes on the bus, my Bluetooth headset will disconnect from the phone, and VLC continues to play music loudly through the built-in speakers, which is embarassing for the user and annoying to other passengers.
Similarly, using "Smart Audiobook Player", if the same thing happens, the family gets to listen to whatever I'm listening to during a Bluetooth disconnect until I manually unlock and stop playback 30 seconds later. Is there any reliable mechanism built into the OS to clamp down on this "feature"?

Would a solution be okay if it provides lowering the volume of speakers to a certain level, say 0, when a BT or headphone is connected? In this this way, even if the BT gets disconnected automatically or manually, the sound would not emit from speakers or to an extent you had pre-selected.

@Firelord Unfortunately, no: I'd like to disable the audio playback outright (i.e. s/w mute), or be able to suspend any applications that attempt to play audio.

You can achieve it with Macrodroid by creating macros to pause apps such as VLC.

Open the app, select Add Macro.
Under the Connectivity section, select Headset Insert/Remove, then choose Headphones Removed. Click OK.
Go to Actions tab, under the Media section, select Control Media, select Simulate Media Button, click OK, then select Pause. Click OK and select the app you want to mute/pause. Click check the check mark button on the bottom right, give the macro a name.

When completed, the macro will look like the image below (there are 2 Media Pause because 2 apps where selected).

A solution to disable sound only for VLC if you are unable to use the steps described above:

Open VLC, go to Settings, then to Extra settings, click on Audio.
Go to Headset section, enable Detect headset.

Note: I didn't test it with a Bluetooth headset.


text:
What happens if a change the SIM card to my phone?
Will Android add the contacts of the new SIM card to my Google Account?
What else could happen?

If your contacts are in your Google account, just sync your Google account.

The Moto 5GS by default does not support saving contacts to the SIM, any contacts on the SIM are displayed in the contact list but unless you use a third party application you cannot save or move contacts to the SIM card.

You'd probably have a different phone number, and possibly a different contract/data plan for your device. If your device is SIM-locked, you might have no service at all (i.e. no calls, SMS, internet) if the SIM card is from the "wrong" provider.
Apart of that, nothing would happen: contacts on the SIM card are not synchronized with any account.


text:
How come Android can support 2 apps in split screen but not in background?
I read another question on Ask Different about why apps have to reload when you switch to another app and back, and I think it's the same for Android.
But why does this not happen in split screen?
For instance, when I'm using a ressource-consuming app (pokémon Go for example), of I switch to another app (let's say Whatsapp) and stay a little too long on it, the system will kill other apps (possibly the most consuming first), and when I come back to the game I'll have to face the (long) loading again.
However, I can split the screen while playing, having the game on one half and any other app on the other.

Why is it so different? If the system is capable of running Youtube and Pokémon Go at the same time, why does it kill Pokémon Go if I do a single search on the youtube app when not split?
If the system "locks" Pokémon Go and kills other apps when in split screen, is there no way for me to "lock" it too in normal mode?

On Android, only 1 app can be in the active (or "resumed") state, but when the app is still visible but not currently the active app, it will be in the paused state.
So when you use multi window, the app you've interacted with last will be the active app, while the other app is paused.
If the app is no longer visible, it will enter the stopped state. In the stopped state, the elements on the screen will still be kept in memory, but if other apps require more memory the app might get killed, destroying the data causing the screen to reload when you come back to it.
If you'd like to learn more, there's a guide to understanding the activity lifecycle here. (An Activity is just a single page in the app)

Ps. This is my first answer on stack exchange ever. Let me know if I didn't follow some rule.


text:
Can I use whatsapp with a number belonging to another phone
I currently have a Samsung S5 phone but find it bulky to carry and as I use it mainly for old fashioned calls I was thinking of moving my simcard (and therefore phone number) to my old Motorola Razr.
I understand that the S5 will effectively become like a small tablet and the email will still work on the S5 but will whatsapp if I am using the number on another phone?
Will my whatsapp contacts notice any difference or will it work exactly as it currently does?
Thanks

Answer is 'Yes', you can use it on your S5 seamlessly while using SIM in another device.
• Your Whatsapp contacts doesn't see any change.
• Remember Whatsapp can only be use on single device at a time(not whatsapp web) that means if you try to open it in your Moto device than you Galaxy device 's account will be closed.

I think I am in a good position to answer this question. You can always use a WhatsApp account with a no which isn't available in the device. I have been doing this for years. But please make sure that you setup a security code feature after successful completion of WhatsApp setup in the desired phone, which will secure you from being hijacked if the no(WhatsApp) lost!

Yes, you can use it on your S5 while using the SIM in another device.

You have to copy contact to that mobile.
Use the OTP that comes by SMS on that number to put on the mobile you want to use Whatsapp.
Sync your old chats from Google mail id,  you use to store back up.

Note: Whatsapp can only be used on a single device, so only use one account associated only one mobile number.
Suggestion:  You can also use Whatsapp Web to use Whatsapp on your laptop or computer without changing SIM.

Yes, you can, I have done it my times. Even the number is no more active, you still can use it for your WA. Like my WA's number right now, the number itself already deactivated by the operator since around 2 years ago. But I still use the number for my WA.

Short answer:

Your S5 will still be usable for WhatsApp, with your phone number.
Your WA contacts will keep the same.

Important notes:

Every phone number can be used with WA on a single device. Using WA with that phone number on another device enforces closing the WA account in the previously associated device.
Be aware that, when you insert your Sim card in another phone (Moto Razr here), if it has WhatsApp installed, the phone may prompt about "updating the account" (or the like) in a cryptic way, and not explicitly stating that it refers to WhatsApp (this depends on versions of OS and WA).
If you answer "yes" (assuming it relates to the phone/line, not WA), the number will be used for WA in the Moto Razr, and it will be automatically removed from the S5.
You will need to associate again the number with WA installed in the S5.
It may be a problem if you do not have your Sim card at hand, as it happened to me before.
Be aware that, if you insert a new Sim card in the S5, WhatsApp may prompt for changing the number associated with the WA account (this depends on versions of OS and WA).
You have to decide what you want to do.
The latest Android versions allow for having two WhatsApp accounts in a single phone (likewise for Viber, Telegram, etc.), with Dual Messenger.
This required before the use of Parallel Space or the like.
So for the case above, if you configure it properly, you may keep you old WA account in the S5, and also have your new number associated with WA in your S5.
I have exactly this.


text:
redmi 5a: custom rom freezes
my rom freezes a few seconds after it booted up, the screen gets black, then it turns off and there is nothing i can do but reboot. before it freezes it says com.android.bluetooth stopped. perhaps it has something 2 do with it.
im on: crDroidAndroid-8.1-20180926-riva-v4.6.1
recovery: OrangeFox-R8.3-riva
i tried several roms, recoveries and the inferno kernel but same problem. no problem with stock rom.
i got some logs:
logcat (not the complete log): logcat
dmesg: kernel boot log
the new last_kmsg are empty but i have old ones. i can post them if u think they r important. and i have a tombstone log for bluetooth. buts its 2 big 2 post at pastebin ;D i can do it if its important.
sum1 has a hint for me?
cheers

This should be reported to the respective ROM threads instead.

https://forum.xda-developers.com/xiaomi-redmi-5a/development, here you have other rom's available for your device. select official one's which have more number of posts and discussions (bcz the developer will be active by solving bugs reported by users)

did u read that this problem is not related to one custom rom? this problem occurs on every custom rom i tried. so its not a rom only problem. i could report it to every custom rom thread ;D i wont do this and i asked at the redmi 5a thread. they couldnt help me yet so i try it here ;>

i forgot 2 mention: it once worked. but then i flashed a newer version of crdroid. since then no custom rom works :/ i thought it could b a hardware issue but  the stock rom works... dunno

@morturio it is definitely an issue related to the custom ROM('s) source code. Based on your logs it looks like the vendor blobs need to be updated more details would confirm it. Have all the roms you tried been higher then your devices base firmware of android 7.1.2 or all been android 8.x. Have you tried a custom rom of android version 7.1.2 and had bluetooth issue. Most likely the ROM's you tried all use the same proprietary vendor source in their manifest.

who can update them? (how) can i give more details? all roms i tried were 8.x oder 9.x. i will try 7.1.2 now (viper os). i cant tell for sure that the bluetooth issue always appeared. sometimes the rom didnt/does not even boot up completely. yeah i thought it maybe has sumthing to do with the vendor thing. i once wiped internal storage and formatted data. perhaps a newer twrp version caused the incompatibility. but the combination which worked once does not work anymore :( thx so far @ all

so i just installed viper os 7.1.2 and it works fine :o

so what can i do that android 8 und 9 is working?

problem solved: did a full restore of my full nandroid backupt with twrp. no everythinks works fine ;> dunno what the prob was. never mind


text:
Can't uninstall an app
I downloaded a locator app not thru google play and after turning off all permissions, it still in my applications.

Turning off all permissions wouldn't uninstall an app. Clicking on uninstall would do. Are you saying you can't do it? Which application, device and Android version are you using?

You can't uninstall a system application without root permissions. root permission may voids your warranty, and system apps are built-in app for device, which you see out of the box / first boot.

Have you tried using safe mode?
If not, then try it. I, myself had a similar problem. Using safe mode, I uninstalled it easily.
If you dont know, how to use safe mode, search on google how to enable it on your device.


text:
How do I know which GPS my Android Auto is using
Apparently Android Auto can either use the GPS in the connected head unit or the GPS in the mobile device itself. As I understand, Android Auto will always prefer to use the GPS in the connected head unit. (which makes sense: typically has better antenna reception, doesn't drain the mobile unit's battery, etc).
How can I tell which one is being used ?
When the phone is in the car, I put it in "The Grotto" below the climate control and connect it via USB. I call it "The Grotto" because it is really deep and I'm thinking there's no way a GPS can reach in there. Yet my Android Auto works fine and never loses GPS signal. So something else must be going on.

After a short drive, try collecting a bug report (under developer options) and looking at the logcat log in it - IIRC so-called "FusedLocationProvider" reports which GPS source its using.

According to this forum post it uses the phone's GPS. Can you see if the GPS indicator shows up on the notification bar? Also if it were the car's GPS, revoking location access to the app shouldn't cripple it. You could try this if you wanted to truly confirm.
(I have not used Android Auto before)

The GPS indicator in the Android UI doesn't - AFAIK - necessarily indicate that the phone's own build-in GPS antenna is being used. It just means that the phone has access to some kind of GPS, being it something within the device or externally. To make things worse, on later Android versions there's no such thing as a "GPS indicator". You can now only turn Location Services on/off, not the GPS antenna itself. But you are right that finding a way to turn off the phone's own GPS antenna would be a good test. Do you know how?


text:
How can i reset my Gmail password from inbuilt Google settings of android if 2FA is enabled?
I've recently changed my gmail password and now i forgot password before this time i was able to reset it by OTP that Google sent to my number for verification but this time i enabled 2FA and Google asking some more steps to verify like when is my account was created.
I submitted all the things together with an email address to reach me but at the last it shows 'Google couldn't verify it's you'.
Please, Is there any solution and steps where i can change this in my Google App for android ?
My account don't have any recovery email, it includes only phone number for verification.


text:
Transfering app data to other android device
I have lot of data written by ColorNote application. Now I installed the ColorNote in other Android device, too.
Now, how to copy my ColorNote data to from the original device to that device (with the fresh installation of ColorNote)?
I don't know where ColorNote writes data written by its user :-(

The Colornote support page gives a few options. You can sync through their online services, by transferable backup, or by SD card.

How to transfer notes from old phone to new phone.
Using the online sync is Recommended.
Sign up online sync on your old phone. Go to:

Menu –-> Backup –-> Sign Up.

next Sync your device by going to:

Menu –-> Sync. Check how many notes are synced by going to: Menu -–> Settings –-> Online Backup –-> Synced notes.

Then sign in to online sync in your new phone by going to:

Menu –-> Backup -–> Sign In.

Using sdcard backup:
the steps below to transfer notes saved on the previous device to the new device using local backup.
When you have the previous device
  Open ColorNote and go to the device backup screen on the previous device go to:

Menu --> Backup --> Tap Device

Which is located in the upper bar or go to:

Settings --> Backup.

Next manually back up notes by pressing:

Backup Notes --> Enter master password --> Done.

then move the backed up files from the previous device to the new device.
Go to sdcard backup screen on your old phone by:

Menu –-> Backup -–> SD card backup.

To Backup Notes you need to press the button and then enter your master password.
Lastly, move sdcard from old phone to new phone.
Go to sdcard backup screen on your new phone and tap backup item you want to restore.
finish up by typing the  password that you have set when backup file was created.


text:
How to stream to my smartphone only what I see inside the bluestacks window
I've just installed Bluestacks on my PC because I wanted to run whatsapp inside it. I have two whatsapp account. The first one on my smarthphone and the second one inside the bluestacks emulator. I want to do this because till now I used whatsapp desktop on my PC instead of using it directly on my smartphone. But the problem was that often the connection was lost and above all whatsapp for the smartphone eats a lot of battery from the phone. So I had the idea to use it directly inside the android emulator. NOW,a problem arises : when I'm at home,I kill whatsapp on my phone and I use that installed on the android emulator. BUT when I'm out of my home,I would like to see what my friends are saying in one of the two accounts. So,I have installed the "screen stream mirroring" app inside bluestacks. It says that the mirroring address is "http://10.0.2.15:5000/screen". I tried to connect a web browser from the pc and from the smartphone to that address but it refuses the connection. I have also registered a new dyndns account and I have installed a dns manager inside bluestacks because I wanted to point the address "10.0.2.15" to a domain name,but it didn't work. It says : "wrong ip address". I know that I could install a screen stream application directly on the host OS (Windows 10 in my case),but this has a big dis advantage : I should keep the bluestacks window opened and it takes a lot of space from my screen. I have also tried to run teamviewer on the bluestacks side and on the smartphone side,but I don't like this solution,because everytime I should understand where the pointer is positioned and I should move it exactly where I would like it to be. I would like also say that for me it's not useful at all using two android remote applications which works only inside the same network,because when I go out of my home usually I use the mobile connection that I have on my phone and not the wi-fi connection that's inside my house. So,the question is : how can I stream to my smartphone (samsung note 3) only what I see inside the bluestacks window ?

There are a number of separate issues within your question. If you were trying address "10.0.2.15" did you find/read: https://developer.android.com/studio/run/emulator-networking or ADB Bluestacks - Connect 2 PC

excuse me,but I don't understand how make it works. I'm running the trivial port forwarding on windows 10 like this : > trivial_portforward.exe 9999 127.0.0.1 5555 but inside bluestacks the IP number is again : 10.0.2.15 and it says that the screen stream mirroring APP is listening at : http://10.0.2.15:5000/screen ; since the IP number of Windows 10 is : 192.168.1.2 but when I open the address http://192.168.1.2:5000/screen ; on Windows it says : connection rejected...

I believe you should testing with a different device on your home network. The point of port forwarding is to connect to your emulator from outside of the computer running it. Windows firewall/anti-virus may be blocking the port. You should easily find references on the subject online via your favorite search engine as it is not Android specific.

what I don't understand is which port should I use on the host OS...I'm using 5555,BUT the port used by the mirroring APP is 5000...does it matter if they are different ?


text:
Using whatsapp on two devices
One device has my Sim card, the other one only the internet connection. Both devices have already been verified by my number. Will I get incoming messagges in both devices?

You cannot use the same WhatsApp account on more than one device at a time. As soon as you sign-in to a new device, the old one becomes invalidated.
WhatsApp does not support a 2nd device.

What if I dont need to sign up? I mean, it happened that when I changed the smartphone, I transferred all the back ups, the files... In the new device I didn't need to sign up to use whatsapp so I had whatsapp working both in the old and new device.. How is it possible?

You're not allowed to do this, From whatsapp FAQ:

Using one WhatsApp account on multiple phones, or with multiple phone numbers
  Your WhatsApp account can only be verified with one number on one device. If you have a dual SIM phone, please note that you still must choose one number to verify with WhatsApp. There is no option to have a WhatsApp account with two phone numbers.
If you attempt to frequently switch your WhatsApp account between different devices, at a certain point, you may be blocked from re-verifying your account. Please don't repeatedly switch between different devices and numbers.

What about theb phone without sim working on wifi? I read there whatsapp works and it would be a second device


text:
Android viruses infected my phone (Tecno)
My phone has been infected with viruses for nearly a year. At first it was just a virus in disguise called 'settings', but then it spread to my Chrome, opening a site called 'aiboo.com' SmartSite. I had to disable Chrome, and now there are 3 other viruses on my phone: One called Magic, which pops up ads on my phone screen, Lake worth ISD or something, Then one called System with the note saying 'Guerilla exe.' I use Eset Mobile Security to remove them, but every time I get access to internet, they get installed again. Sometimes they get installed even if I don't have network connection.
Someone please help!

If you do get a virus, you could perform a factory reset to get rid of it, but that means you’d lose all your data. Your photos, saved games, text messages, and everything else will be gone if you didn’t back them up. Obviously, a factory reset should be your last option.
There are also other malware removal tools without factory reset:
* Malwarebytes
* Bitdefender Antivirus Free

You can use NoRoot Firewall for preventing malware activities such as this.
If the malware appears as an app, then you can use Advanced Task Manager app to uninstall the apps you don't recognise.


text:
If /system partition is never encrypted (even in "full-disk" encryption), how is it protected?
It seems that Android's "full-disk-encrytpion" is only concerned about encrypting the data or internal storage partition. It says:

Full-disk encryption is the process of encoding all user data on an Android device using an encrypted key. Once a device is encrypted, all user-created data is automatically encrypted before committing it to disk and all reads automatically decrypt data before returning it to the calling process.

I am puzzled what encryption (at rest) of user-data is worth, if an attacker can simply modify the content of the /system partition, to contain a malware that would exfiltrate data or encryption key.
Is there a reason to consider Android's encryption to be effective even though /system partition is not encrypted?
I assume that an answer involves a chain-of-trust, relative to a locked boot loader.

/system is read-only, and what's stored there is stored there on all devices of the same brand/model running on the same Android version – so what do you want to protect there? "System data" (configuration etc) is stored on /data together with the user data. So if that's what's been encrypted (and AFAIK it is), it's encrypted along.

Follow this link to know about Android's verified boot process. https://android.googlesource.com/platform/external/avb/+/master/README.md

@Izzy I was perfectly able to retrieve data from encrypted /data partition, by simply modifyng (i.e. by inserting an app in /system/app), being that /system is not encrypted made this easier.

@humanityANDpeace what Device, android version, and chip set where you able to do that to?

@humanityANDpeace provided you did not use the evil root powers you should not have?

@Izzy with an unlocked boot loader, hence implied root, correct. The question however, was exactly as provided in the answer, the information that the security of /system is not via encryption, but boot-chain lock.

Oh my, I forgot about SecureBoot

It looks like Google agrees with you and is phasing out "legacy" full disk encryption:

Caution: Support for full-disk encryption is going away. If you're creating a new device, you should use file-based encryption.

Full disk encryption was considered pretty solid until 2016 because of the hardware backed trusted execution environment. Depending on how the OEM implements the trusted execution environment and if the OEM utilizes the android keystore system. Makes a varying degree of security. If instead it is software backed then not so much.
The encryption keys are not just sitting in some un-encrypted partition. The encrypted encryption key is stored in th
e crypto metadata. The hardware backed trusted execution environment’s signing capability and if the android keystore system is implemented then the android device as a whole and even the android kernel do not have access to the keymaster within trusted secure enviroment. The keystore system is very intresting but explaining the security and operations behind it involves a multiple page explaination that would be answered best though its own question.
Android devices that support a lock screen and ship with Android 7.0 or higher have a secondary, isolated environment called a Trusted Execution Environment. This enables further separation from any untrusted code. The capability is typically implemented using secure hardware.
Examples of the way a trusted execution environment can be set up are:
A separate virtual machine, hypervisor, or purpose-built trusted execution environment like ARM TrustZone. The isolated environment must provide complete separation from the Android kernel and user space (non-secure world). This separation is so that nothing running in the non-secure-world can observe or manipulate the results of any computation in the isolated environment.
Android 9.0 introduced a hardware backed trusted execution environment called a strongbox. The strongbox is a completely separate, purpose-built and certified secure CPUs. Examples of StrongBox devices are embedded Secure Elements (eSE) or on-SoC secure processing units.
A hardware backed trusted secure environment that utilizes the android keystore system can serve as strong protection for the encrypted encryption key. Unless a third party such as Qualcomm (2016) happens to mess up with design oversite in the implementation of the keymaster.

"Full-disk encryption was considered pretty solid until 2016" — Could you give a reason as to why it's not considered solid anymore? I'm asking in particular because the way I understand the Android docs, file-based encryption was not introduced because of security concerns (if we disregard that FBE also separates multiple users from one another through encryption) but because full-disk encryption didn't allow alarms and other apps to work right after boot without user input.

As for /system not being encrypted by FDE – the way I understand the docs, /system is still not getting encrypted under the new FBE scheme but only user data, so OP's concerns still apply.

@balu yes I can, if you consider compromising the trustzone by exploiting Qualcomm's small kernel running within to load the attackers own custom QSEE (Qualcomm Secure Execution Environment)  app within the secure environment which then can exploit a privilege escalating  flaw which will allow us to gain code execution thus hijacking the space so to utilize an exploit that extracts Qualcomm's KeyMaster keys. Feom those keys use the keys generated for full disk encryption. Using the FDE keys to brute force the password, pin, or lock crack/decrypy the device retrieving the data protected within.

Security researcher Gal Beniamini has discovered and provided proof of concept step by step guide on 06/2016.   http://bits-please.blogspot.com/?m=1 -- https://github.com/laginimaineb you missed the security update bulletin Docs https://source.android.com/security/bulletin/2016-05-01.html

Thanks, that's good to know!

Well explained answer, but I was hoping to see why /system isn't encrypted. No notion of VB or AVB or dm-verity. Explanation is on merits of FBE and demerits of FDE. FBE uses the same TEE and same KeyStore/KeyMaster that FDE used (with minor differences in implementation). /system is protected with dm-verity, an entirely separate kernel framework. Integrity of dm-verity depends on AVB at SoC/bootloader level. The same is true for FBE (DE). Android is using TEE for hardware-backed keys since Lollipop. Implementations have emerged over time: QSEE, Trusty, Kinibi, TEEGris, iTrustee etc.

/boot, /system, /vendor, /vbmeta and ODM Partitions are protected by android verified boot (AVB). They are not encrypted but their integrity is verified during boot. Any modification to these partitions will halt the boot flow and brick the device. At this point without EDL mode, you won't be able to flash stock OS to unbrick it.
AVB verifies vbmeta partition image using OEM public key which is hardcoded in android bootloader (ABL). Then hash of boot image is calculated and compared with the hash stored in vbmeta. Once the boot image is verified, kernel constructs hashtree of every partition and compares their root hash with the ones that are stored in vbmeta. In this way, just by protecting vbmeta, every other partition can be verified on boot.
To protect ABL from tampering (e.g. replacing OEM public key with your own and resigning vbmeta with your private key, thus breaking chain of trust), chipmakers implement secure boot. In Qcom devices, Primary Bootloader (PBL) which is burned on CPU die, verifies Xtended Bootloader (XBL) using Qcom's public key which is stored in eFuse. Then Xtended Bootloader verifies ABL and ABL enforces AVB.
When you unlock bootloader (unlock and unlock_critical), AVB is not enforced but secure boot is still enforced by SoC. This chain of trust goes upto the hardware level making any modification useless. There's no reason to encrypt system partitions as those images are already public. What matters is protection of their integrity.

a quick check on Samsung Galaxy Tab S3 SM-T820 Tablet with official Android 9 Pie indicates that /system is encrypted with FDE
:/ $ df -ah
Filesystem                            Size  Used Avail Use% Mounted on
rootfs                                1.5G  9.4M  1.5G   1% /
tmpfs                                 1.7G  1.1M  1.7G   1% /dev
devpts                                   0     0     0   0% /dev/pts
none                                     0     0     0   0% /dev/cpuctl
none                                     0     0     0   0% /dev/cpuset
proc                                     0     0     0   0% /proc
sysfs                                    0     0     0   0% /sys
selinuxfs                                0     0     0   0% /sys/fs/selinux
debugfs                                  0     0     0   0% /sys/kernel/debug
tracefs                                  0     0     0   0% /sys/kernel/debug/tracing
pstore                                   0     0     0   0% /sys/fs/pstore
tmpfs                                 1.7G     0  1.7G   0% /mnt
tmpfs                                 1.7G     0  1.7G   0% /mnt/secure
/dev/block/dm-0                       3.7G  3.5G  245M  94% /system
/dev/block/bootdevice/by-name/apnhlos    0     0     0   0% /system/vendor/firmware_mnt
/dev/block/bootdevice/by-name/modem      0     0     0   0% /system/vendor/firmware-modem
/dev/block/bootdevice/by-name/dsp      12M  4.1M  7.6M  36% /system/vendor/dsp
none                                     0     0     0   0% /acct
none                                     0     0     0   0% /config
/dev/block/bootdevice/by-name/cache   193M  8.8M  184M   5% /cache
/dev/block/bootdevice/by-name/efs      16M  720K   15M   5% /efs
/dev/block/dm-1                        24G   13G   11G  56% /data
/data/knox/secure_fs/enc_user          24G   13G   11G  56% /data/enc_user
/data/knox/secure_fs/enc_media         24G   13G   11G  56% /data/knox/secure_fs/enc_media
tmpfs                                 1.7G     0  1.7G   0% /storage
/data/media                            24G   13G   11G  57% /storage/emulated
/mnt/media_rw/4280-3E71                60G  4.8G   55G   9% /storage/4280-3E71
tmpfs                                 1.7G     0  1.7G   0% /storage/self
:/ $

That's dm-verity, not dm-crypt (FDE). Both are targets of Linux kernel's Device Mapper framework, but serve different purpose.

please downvote, i will leave answer for reference. can you elaborate?

Linux kernel's DMCrypt vs. DMVerity. Android's FDE vs. Verified Boot


text:
Xbox 360 wired controller isn't recognized in Android 6.0 (BQ Aquaris M10)
This weekend I decided to add the keylayout for an Xbox 360 wired to be able to use it on Android, because now it just only blinks when I connect it.
I searched in the site about other people that could have the same problem (because the tutorial in the internet about only plugin the OTG cable in, and that's not how things go normally), but neither of then could illuminate me.
So far:

OTG cable just works fine (I used a pendrive of some years ago, so...)
The Xbox 360 wired controller is just a normal one like this (also, it is about 5V and 400mA, maybe the tablet cannot give that much power support? Personally I doubt this, as the ring-shaped connection LED can blink)
I created the required vendor files (Vendor_045e_Product_0719.kl, Vendor_045e_Product_0291.kl, Vendor_045e_Product_028e.kl and Vendor_046d_Product_c219.kl are the names I finded so far), setted its permissions (644) and restarted the tablet. The content is the same in all of them:

`
# Copyright (C) 2011 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# XBox 360 USB Controller
#

key 304   BUTTON_A
key 305   BUTTON_B
key 307   BUTTON_X
key 308   BUTTON_Y
key 310   BUTTON_L1
key 311   BUTTON_R1
key 314   BUTTON_SELECT
key 315   BUTTON_START
key 316   BUTTON_MODE
key 317   BUTTON_THUMBL
key 318   BUTTON_THUMBR

# Left and right stick.
# The reported value for flat is 128 out of a range from -32767 to 32768, which is absurd.
# This confuses applications that rely on the flat value because the joystick actually
# settles in a flat range of +/- 4096 or so.
axis 0x00 X flat 4096
axis 0x01 Y flat 4096
axis 0x03 Z flat 4096
axis 0x04 RZ flat 4096

# Triggers.
axis 0x02 LTRIGGER
axis 0x05 RTRIGGER

# Hat.
axis 0x10 HAT_X
axis 0x11 HAT_Y

`
So I decided to see what the log was saying. I did a logcat and then...
u0_a81@Aquaris_M10:/ # cat /sdcard/my-log-file.txt | grep Microsoft
01-20 16:03:04.340   731  1018 D UsbAlsaManager: deviceRemoved(): Microsoft Corporation Controller
01-20 16:03:07.971   731  1018 D UsbHostManager: Added device UsbDevice[mName=/dev/bus/usb/001/005,mVendorId=1118,mProductId=654,mClass=255,mSubclass=255,mProtocol=255,mManufacturerName=Microsoft Corporation,mProductName=Controller,mVersion=2.0,mSerialNumber=15E8D53,mConfigurations=[
01-20 16:03:07.971   731  1018 D UsbHostManager: UsbInterface[mId=3,mAlternateSetting=0,mName=Xbox Security Method 3, Version 1.00,  2005 Microsoft Corporation. All rights reserved.,mClass=255,mSubclass=253,mProtocol=19,mEndpoints=[]]]
01-20 16:03:07.993   731  1018 D UsbAlsaManager: deviceAdded(): Microsoft Corporationnm:Controller
01-20 16:03:33.424   731  1018 D UsbAlsaManager: deviceRemoved(): Microsoft Corporation Controller
01-20 16:03:36.930   731  1018 D UsbHostManager: Added device UsbDevice[mName=/dev/bus/usb/001/006,mVendorId=1118,mProductId=654,mClass=255,mSubclass=255,mProtocol=255,mManufacturerName=Microsoft Corporation,mProductName=Controller,mVersion=2.0,mSerialNumber=15E8D53,mConfigurations=[
01-20 16:03:36.930   731  1018 D UsbHostManager: UsbInterface[mId=3,mAlternateSetting=0,mName=Xbox Security Method 3, Version 1.00,  2005 Microsoft Corporation. All rights reserved.,mClass=255,mSubclass=253,mProtocol=19,mEndpoints=[]]]
01-20 16:03:36.951   731  1018 D UsbAlsaManager: deviceAdded(): Microsoft Corporationnm:Controller
u0_a81@Aquaris_M10:/ #

There you can see that the vendor and product IDs are different (1118 and 654 respectively), so I tried to make another vendor file (Vendor_1118_Product_654.kl), setted its permissions, and restarted. But keeps the same. It is supossed to let you navigate over it, selecting apps and also, but nothing. I also tried playing Asphalt Nitro (looks like those are some of the games with support for controllers) with no luck.
It's my first time into Android, and so far all good tutorials just say to copy those vendor files, set their permissions, and then restart. But for me it isn't working.
My Android's version is 6.0. I don't know if you need the kernel' and compilation number, but tell me.

did you ever manage to clarify what was going on here?

Not really sure, but for all I searched in the web at that time and a few debugging, looks like it just doesn't have the driver or wathever to recognise the controller (keeps in a type of infinite recognition loop)

Thanks, I've been debugging and making quite a lot of changes on Android 5 and 6, and even though all settings seem to be right, none of my 3 Xbox 360 controllers are recognized either.

I don't remember well, but I think the same happens for Xbox One controllers. About the settings, yes, when I debugged I also saw that the configuration files were right and should detect them, but it just don't

Thanks, so weird... it doesn't make much sense, as there are not obvious errors anywhere. I'm asking around in some forums, I'll let you know if they get back to me (in case it's a similar issue and you're still interested)

I'm no longer interested, but an answer explaining it and referencing where did you get the answer from will be helpfull for others


text:
Change physical keyboard layout
I want to use my Filco Convertible 2 TKL keyboard with swedish layout on my Samsung S8, but cannot get any other layout than US. I want Swedish.
The other questions I could find in here did not help.
Here is my Settings menu for physical keyboard:

I've also seen the Swiftkey help and tried their suggestion, to no av. Their input menu shows nothing related to layout, beside a link to the Android options.
As you can see I have four input there, three stock android languages, and Swiftkey. I've tried both the stock swedish, and Swiftkey in swedish. The shortcut menu says that switching language is done with shift+enter. That does nothing more than putting an actual space in my text.

Edit: I've now removed the stock keyboards from the non physical keyboard, and they also disappeared from the physical keyboard menu (which is strange, but ok). I now have nothing more than Swiftkey, both for on-screen and physical keyboards. In Swedish. Still, the physical keyboard writes with US layout.

You could try External Keyboard Helper (it also has a gratis demo to try out, though that hasn't been updated for a while).

@Izzy thanks! It didn't help though. I've got the app, it's high up in the "Physical keyboard" settings menu, in Swedish. Still US layout. One thing is the "Language and input"->"Default keyboard": it's stuck on SwiftKey. I also see the External Keyboard Helper, and Samsung keyboard as alternatives, but these are not selectable.

Sad to hear it didn't help (but at least was worth a try). But glad to see you solved your issue, congrats! And that without needing an extra app. All the better!

External Keyboard Helper did the trick for me. I know this thread is old, but next time, post screenshots, how you configured External Keyboard Helper. Why don't you put "Swedish" for all the keyboards?

@Quidam I want the auto-complete in all three languages.

The solution involved deactivating all keyboards from the on-screen keyboard options.
After doing so, the only one that was left (as on-screen) was also the only one left in physical. Even SwiftKey Swedish (not External keyboard helper) now works.
With several possible keyboards in on-screen, I still cannot select which one is default (the options show up with radio buttons, but are not selectable), but I think I can live with it.


text:
You are already a developer/but no developer options
I have a Huawei nova 3i and I remember unlocking developer options when I first got the phone a few months back. Problem is now I have noticed that the developer options are gone so I went to build number and went to press it 7 times but after the first press it says (you are already a developer) but the option is still not there. I have looked online for at least an hour but can find nothing. Any help would be appreciated thanks

Did you try to make a reboot and look again if its activated?

I just tried a restart but still nothing?

Not sure if it matters but I'm using android 8.1.0

I am not sure but I remember that I have read something about Huwei has moved the developer menu somewhere else in the settings. Check all the settings (sub-)menus for the developer options.

@Robert thanks but I unlocked  the option when I first got the phone and it was in the system menu 3rd from the bottom but it is gone now.

If the Developer options menu refuses to appear there is an alternative:
Use the very tiny app Developer Options. It allows you to enter the developer options menu independently if you have enabled or disabled it.
Once you are seeing the developer options menu check the switch on the top for enabling/disabling the developer options. Try to toggle it several times and in the end leave it enabled. Now check if the developer options menu is visible.
If this does not work use the app again to enter the developer options menu and change the developer options switch to disabled. Then try to tap again the build number 7 times. Hopefully afterwards the developer options menu appears. If not you can keep the "Developer Options" app as workaround. In difference to other apps it does not contains tracking, adware or advertisement frameworks (at least the version I have checked - v1.0.4).

Well you got me worried for a minute Robert because I just got the app and when I selected it part of my phone froze up I couldn't swipe left or right from the main screen and thought the app was bad. But I could still access the drop down menu so I checked settings and developer options were still not there and main screen was still stuck but I could access the back, home and app buttons at the bottom of screen and I pressed the app button and then I could close the app by swiping right but I could not select it. When I did press the app before swiping it away it would freeze that section

And I would need to press the app (square) button again to unfreeze screen

I finally found the other question I had in mind th is nearly identically to your question. It has a slightly different solution, may be it works: https://android.stackexchange.com/a/205858/2241

Well I'm about ready to give up mate i got that app and followed instructions but there was only one developer options selection and instructions  said there were two but before that there was a selection called developer mode, I tried dev options first which was

Com.android.settings.development.DevelopmentsettingDisabledActivity Instead of com.android.settings.Settings$DeveloperSettingsActivity Which the guys said was the first out of 2 dev options it did nothing and I checked to see if dev options were there but no. Then I pressed dev mode option and it took me to and screen that said  {.} developer mode and had a toggle which I turned to on and then checked but still no dev options

For me it was inside System menu.

Settings--> System --> Advanced --> Developer Options.

For Enabling Developer Option:

Settings--> About Phone --> Build Number (Tap 7 Times, to enable)

Tested on Moto Action.

same for me on Sony Xperia XZ2, Android 10

I had the same exact problem with the mentioned phone and none of the provided solutions worked for me. Finally i succeeded to make the developer options visible by going to settings - apps - selecting "settings" app and executing "clear data" on it. It worked with me.

Thanks Johny but after a lot of things I ended up giving up and then when I updated to android 9 I was able to get developer options back the normal. After the update the first thing I did was press build number 7 times and it worked so I'm all good now but thank you for help maybe someone else who has same issue but doesn't want android 9 can try you way

Just press the build number a few times and then go the settings->system
Honor with EMUI 9.1.0 and Android 9

This could also be the solution, especially when the device upgraded to a newer OS/version. And on recent OEM OSes, the Developer options is hidden in additional/advanced settings.

I had the same problem on my sm-j600g but I rebooted and showed up by itself


text:
Droid Explorer cannot find device
As the title implies, Droid Explorer cannot detect my Samsung Galaxy Tab A.
I've enabled USB debugging and set up Droid Explorer with Android SDK Platform-Tools 28.0.1.
I can detect the device with adb devices which shows:
5200dfccec4a940d    device

I can send commands to it as well, running adb reboot will cause the device to reboot, but Droid Explorer still cannot detect it.

Solution: https://github.com/camalot/droidexplorer/issues/63

Droid Explorer is pretty old and unmaintained for years.
Some years ago Google changed the API of adb. If you are using a recent version of adb together with Droid Explorer which was developed for the old adb version this may end up in several non-functional features.
You should better check for an adb based tool that is still actively developed and maintained.

Do you have any suggestions? I'm just trying to view the root directory on my device. Thanks for the help.

Just use adb on the command line. This works without problems: adb shell -> cd / -> ls -l


text:
Is there a way to pull stock rom from android using adb and a non-rooted android device?
I know that in a lot of cases adb can be powerful, but adb requires root access under certain circumstances, so my question is, if i wanted to pull my stock rom or firmware from my device, can i do it using adb and a non-rooted android device?
The reason for doing so is i know for a fact, hours of researching, that a few of my android devices do not have root availability due to locked bootloader and recovery, ext.
I want to make root available for my device any way i can, even if i have to build my own rom and flash it so it can flash other files (Samsung devices run through odin, and not fastboot)
NOTE: I am NOT looking to backup my device, i simply want the stock files so i can create custom flashable files for odin. Also, i do intend on rooting my device later, so temporary root, could help achieve what i want.

I happily stand corrected, but AFAIK that's not possibĺe. Even if it were, you couldn't flash back your own ROM without unlocking the bootloader, so you'd be stuck in that last step anyway. But what I'm not sure about is whether Odin itself can do that (I have no Samsung devices, no Windows and thus no Odin to check); I know that for MTK devices, MTK Flashtool is capable of that.

I doubt you can do it without root. I also do not know if you can do this from the system. I am sure you need to do it from a custom recovery such as TWRP since the stock recovery has minimal adb support. You need to locate the  and dump the desired partition the use the command and pull the block file from said partition. example only the command should look something like:  pull /dev/block/mmcblk0 mmcblk0.img

@BoLawson I know for a fact i have pulled a stock img from a non-rooted device using adb in the past, i cannot remember how. I actually plan to build my own twrp image for use on my device and yes Odin is an alternative to fast boot, just Samsung's take on it, and it has nothing but flashing a few small commands like flash reset. I plan on taking the stock images and making them Odin compatible (iv'e done this before, just been so long i don't remember how to pull my stock files)
Using dirty cow or another exploit to gain temporary root could be useful for this im thinking.


text:
How can two apps access the microphone simultaneously?
If an app tries to access the microphone while the microphone is already being accessed, it fails.
How can I make two or more apps access the microphone at the same moment?

Simply you can't. because microphone just like camera is a hardware part of the phone and it's drivers connects to only one source, there is a way to make this work but it will be difficult, by using an app to transfer the audio came from microphone and stream it to another app.

But how does the telephone app do calls while a third-party voice recorder can keep recording?

. . . and how come desktop computers and laptops do not have this limitation?

It was possible in earlier versions of Android. And I find the same problem, too. Using the third-party apps seems to fix this problem.
From www.androidpolice.com;
Privileged apps have higher priority than ordinary apps.
Apps with visible foreground UIs have higher priority than background apps.
Apps capturing audio from a privacy-sensitive source have higher priority than apps that are not.
Two ordinary apps can never capture audio at the same time.
In some situations, a privileged app can share audio input with another app.
If two background apps of same priority are capturing audio, the last one started has higher priority.
Reference:

https://www.androidpolice.com/2019/09/12/android-10-allows-multiple-apps-to-access-your-microphone-at-once/
https://gadgetstouse.com/blog/2020/05/06/working-trick-to-record-whatsapp-video-and-voice-calls/


text:
Why are third party apps entirely excluded from USB OTG since Android 7?
Android KitKat rendered SD cards next to useless for writing, but did not affect USB-OTG at all.
Android 6.0 put USB OTG into read-only, which can be a good thing, but sometimes, I want to write to OTG.
Android 7.0 entirely hides OTG from anything else than Google built-in Stock File Manager,  which is not even nearly as good and functional as ES File Explorer from 2012. (yes, 2012. No typo here.)
Is that for security reasons?  But what if I actually want read/write OTG access?
What's next? Removing Internet access for security reasons?

Does this answer your question? Access media files on NTFS formatted USB OTG drive (preferably without rooting)

Though my phone could have Android 7, I've stuck with 6 because of compatibility with a few Xposed modules so I don't know if this helps you, but a file manager named MiXplorer has it's own OTG driver, so maybe it could r/w your OTG device. By default this is disabled, you need to turn it on in the settings.
Please let me know if it did work for you

You kept Android 6? Understandable.

I'm planning to upgrade to 7, but no further. From 8 there are a lot of restrictions (which I could overcome with root what I always have, but what if something goes wrong and need to debug and fix on the go), and also that new "Material" 2 design with that more aggressive white design and bunch of curly corners...
I'm planning getting a new phone, but I'm afraid I'll not find a suitable one with 7 :/

The custom On-The-Go (OTG) driver of MiXplorer supports: FAT32 (read/write), exFat (read/write) and NTFS (read only). Here is explained how to enable MiXplorer's OTG.


text:
Is it possible to get LineageOS working on Samsung Galaxy S6 T-Mobile USA (zerofltetmo, SM-G920)?
LineageOS offers an official International Samsung Galaxy S6 build, which does NOT install on the T-Mobile USA S6, but there's an unofficial T-Mobile USA build that does, but after installing it just hangs on boot. (To install I used TWRP and adb sideloaded LineageOS, Stock Open gapps, SuperSU in that order)
Has anyone had success running LineageOS on the T-Mobile version of the S6?

Please tell us about the steps you've followed. Have you installed Unofficial TMobile build over LineageOS for S6?

@RahulGopi I installed the unofficial TMobile build + gapps + superSU over a fully wiped phone, using TWRP side-loading

This looks different than what Jonathan's links look like now, but I believe it's the same as these? http://androidbiits.com/t-mobile-samsung-galaxy-s6-sm-g920t-android-7-1-1-nougat-lineageos-14-1-rom/
("taste the tremendousness! Isn't it stunning?") https://www.cyanogenmods.org/forums/topic/lineage-os-14-1-galaxy-s6-t-mobile-zerofltetmo-nougat-rom/ I haven't tested this either, and am loo

I was able to install this cryptic NexusOS version of LineageOS by Team Nexus.
I have no idea if it's safe, or a good ROM, The github is here but it's lacking information, an issues page, or a website on it, and it only seems to be referenced in broken english blogs, and scam searches appear when searching
nexus-roms.eu on duckduckgo, and their site is down. So I would not recommend it.
It does seem to install & boot on the T-Mobile USA Samsung Galaxy S6

I just installed LineageOS on my SM-G920T using this build from XDA:
https://forum.xda-developers.com/galaxy-s6/samsung-galaxy-s-6--s-6-edge-unified-development/rom-unofficial-lineageos-17-1-t4053959
I used the following resources:

LineageOS multitarget: https://github.com/enesuzun2002/lineageos-ota/releases/download/lineage-17.1-20200413/LineageOS-10-zero-multitarget-2020-04-13_2047.zip
Open Google Apps (Optional): https://opengapps.org (Select ARM64, Android 10 and choose the bundle you want, I used Stock)
Magisk: https://github.com/topjohnwu/Magisk/releases/download/v20.4/Magisk-v20.4.zip

In the end, the process was:

Install TWRP (https://twrp.me/):

To install it, Firstly root the current ROM using https://autoroot.chainfire.eu/ I attempted to use the new version at firmware.mobi but had no success (the file was written correctly with ODIN, but it didn't install SU)
Then install the TWRP APK from the Playstore (https://play.google.com/store/apps/details?id=me.twrp.twrpapp)
Follow the instructions to download the file for your S6 and then flash it to the recovery partition

Restart the phone in recovery mode (Vol Up + Home + Power)
Move the 2 or 3 zip files (LineageOS, Magisk, and GoogleApps) to your phone's internal memory or a mounted SD card
Wipe the Dalvik cache, system, data and cache partitions (do not wipe the internal storage or USB)
Install Lineage OS, Google Apps, and Magisk
Wipe the Dalvik cache again and reboot

The instructions from the XDA build do not mention installing Magisk but If I didn't install it both the 9.0 and 10.0 based builds failed to boot, I didn't install SuperSU but you shouldn't have trouble adding the zip to the install queue.


text:
Show size of biggest folders and files in system data
1. Summary
I don't find, how I can view, which folders and files are the biggest in my system data. So I can manually decide which files to delete and which not.

2. Expected behavior
Ideally to have behavior as in SpaceSniffer Windows program.

SpaceSniffer can show sizes of system Windows files.
I can't get similar behavior for Android.

3. Data

ASK Benefit S401
Android 5.1.1
CyanogenMod 12.1 ROM
Rooted

When I install CyanogenMod, system data size — ~700 MB; at the time — ~1,5 GB.
Several hundred megabytes — apps data, for which I would consider the possibility of removal.

4. Not helped
4.1. SpaceSniffer Android alterntaives
All doesn't show system data files and folders.

DiskUsage

DataSize Explorer

Grid Size File Manager

I don't find another DiskUsage alternatives, that can help me.

5. Do not offer

Yes, I understand that operations with system Android files may be risky. I understand that I do actions at my own risk.
Yes, I know about SD card partitioning, and I move all my apps to SD card use Apps2SD.
Yes, I can view system data files, use any file manager, that support root — I use Amaze, — but I don't find file manager, that:

correct sort folders and files in system data
show files/folders size of all files in screen.

6. Related questions
My question is not duplicate for these questions; please look carefully.

How to see what is stored in System memory area?
Huge «system data» file on SD Card
How do I get rid of “System Data” that takes up half my hard drive?

SDMaid is also a good app.

Install Solid Explorer and grant it root access. This is the most feature filled file manager that I've tried. Visit the Root (/) partition, click three dots on top right and properties. There you can see a breakdown of the content, file types and top 20 files (it does take a while to index this).

Alternatively with a terminal emulator use the common Linux tool du and sort by size:
du -ah(x) | sort -n -r | head -n (number_to_show)
I tried to find a build of ncdu for Android which would be ideal but no luck. If you have Ubuntu/Arch/some other system with a package manager installed you could simply apt-get it.

One problem: Solid Explorer is a great tool, but not FOSS :( . Thanks.

@СашаЧерных true that's why I was a bit hesitant providing it GDrive access. SFTP to my VPS works really well though.

If you haven't tried termux you might want to check it out. It gives you a terminal with apt and doesn't require root.  It has a package for ncdu.  https://play.google.com/store/apps/details?id=com.termux

I have tried five or six apk installed file management space app that can obtain root permissions. In addition to https://f-droid.org/en/packages/com.google.android.diskusage/, other apps are very, very slow to index, may be associated with magisk or partitions? So I chose to su root permissions using adb shell.
Both ncdu and gdu (more feature-rich than ncdu) have compiled arm static binaries. Can be used directly in adb shell. The specific method of use can refer to https://android.stackexchange.com/a/256220/397711


text:
Kindle Fire Freetime questions
We have 2 kindle fires for each of our kids: 7 YO and 10 YO.  Like most kids all they want to do is watch YouTube.  I'd like to let them do that but with time limits and blocking inappropriate content (I know the blocking isn't perfect).  It seems like if I enable free time, there's no possibility for accessing YouTube.
Freetime also seems to have weird ideas of what websites are  appropriate for a 10 year old child.  I tried setting the age range in Free Time to the range 10-13+ and it's still recommending "Paw Patrol" and "Nick Jr. Preschooler."  This is for a 10 year old whose read the whole Harry Potter series and reads a 300 page young adult novel every week.
Other than me having to set a stopwatch or something is there an easy way to set time limits on a Fire without using Freetime.  The Windows parental controls, which I also use, seem to work a lot better.

Unfortunately, i do not believe there is any way, unless you are on a 3rd generation and up version of the kindle fire.
If you do have a kindle fire 3 and above, you could attempt to install google play store unofficially on the tablets, and find apps there that can do just what your asking, including youtube kids for them, and set an age limit on that app.
I personally do not recommend amazon tablets, as they dont come with a google play store pre-installed.
As to this link, it states that you must:

"Go to settings > Security > click on enable unknown sources"
Download Google Account Manager on your device
Download Google Services Framework on your device
"If you have the 2017 Fire HD 8 download" Google Play Store - Fire 8 otherwise Google play store - other
Install apps from .apk in order (Google account manager, Google Services Framework, Google Play Store)

The above method is for a tablet that has not been rooted, if you dont know what rooting is, it probably is not rooted.
I hope this helped

Looks like you confirmed what I was afraid of.  I'd read about rooting tablets and installing stuff from outside the Amazon store, but I'm not keen on installing random, free, closed source appliations on my tablets.

I'm going to try checking out these two apps: https://www.amazon.com/dp/B01N1V79A7/?coliid=I2BFGLD4IXEXZ1&colid=2MSFRGER2X313&psc=0&ref_=lv_ov_lig_dp_it and https://www.amazon.com/dp/B00R1CR5RG/?coliid=I2LSFAT4SZBG50&colid=2MSFRGER2X313&psc=0&ref_=lv_ov_lig_dp_it.  I'm also going to see if I can do something in the settings on my wireless router.

Im not sure your router can be much help outside of blocking sites entirely, some routers allow for ad-blocking across the router, but very few. If you find a better answer, please post it here, otherwise please mark mine as the correct answer for the post.

I don't think I can do very sophisticated blocking from a router, but I understand some will allow you to do time limits on a per mac address basis.

There is a possibility of open source apps, that offer blocking on android devices, although you are going to still need them outside of the amazon app, and please post your own fix here, if you do find anything inside, or outside of the amazon store, so others with the same problem may benefit. Or if my answer is the way you end up needing to go, please mark it as the answer.


text:
Redmi 2014818 says "unfortunately com.android.systemui has stopped"
I have Xiaomi HM2 LTE IN. Also called Redmi 2014818. Every time I try to open any MI app the phone says "unfortunately process com.android.systemui has stopped".
Then when I tap "view summary" the lock screen appears.
So it has made using the phone difficult.
Luckily this error message doesn't appear when I open any non MI app like WhatsApp, Chrome.

Solved it myself.

Downloaded update.
Renamed it update.zip.
Pasted it in SD card "in" the phone from another "in" the phone folder using the RAR app.
Used power and volume buttons, etc. (in followed recovery instructions).
Did it. Much relieved.


text:
Unable to login to Google account after reflashing gapps (LineageOS 14.1)
today I ran into some trouble and had to reflash my LineageOS system and with that my GApps. After reflashing (dirty flash, by the way) I could not login to my Google account anymore. After logging in, I was just brought back to my previous screen and the Google account was not added. I can see my device show up on https://myaccount.google.com/. I've collected a logcat of what errors were being spit out when trying to log in. I hope anyone can help me with this! I have already tried turning off 2FA and even tried deleting the /system/etc/hosts file as this forum post recommended.
01-21 20:22:50.104  8412  8412 E Finsky  : [1] com.google.android.finsky.tos.TosAckedReceiver.a(10): Could not get DFE API, returning.
01-21 20:22:51.057 12771 12771 E ResourceType: Style contains key with bad entry: 0x01010575
01-21 20:22:52.208 12771 14287 E SetupServices: [AuditHelper] Error getting account ID
01-21 20:22:52.208 12771 14287 E SetupServices: guc: BadAuthentication
01-21 20:22:52.208 12771 14287 E SetupServices:     at gtq.a(:com.google.android.gms@14847017@14.8.47 (040306-228741232):15)
01-21 20:22:52.208 12771 14287 E SetupServices:     at gtp.a(:com.google.android.gms@14847017@14.8.47 (040306-228741232):2)
01-21 20:22:52.208 12771 14287 E SetupServices:     at gtp.c(:com.google.android.gms@14847017@14.8.47 (040306-228741232):6)
01-21 20:22:52.208 12771 14287 E SetupServices:     at gtp.b(:com.google.android.gms@14847017@14.8.47 (040306-228741232):1)
01-21 20:22:52.208 12771 14287 E SetupServices:     at gtp.b(:com.google.android.gms@14847017@14.8.47 (040306-228741232):3)
01-21 20:22:52.208 12771 14287 E SetupServices:     at gtp.f(:com.google.android.gms@14847017@14.8.47 (040306-228741232))
01-21 20:22:52.208 12771 14287 E SetupServices:     at anrn.run(:com.google.android.gms@14847017@14.8.47 (040306-228741232))
01-21 20:22:52.208 12771 14287 E SetupServices:     at qzy.run(:com.google.android.gms@14847017@14.8.47 (040306-228741232):3)
01-21 20:22:52.208 12771 14287 E SetupServices:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
01-21 20:22:52.208 12771 14287 E SetupServices:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
01-21 20:22:52.208 12771 14287 E SetupServices:     at rgd.run(:com.google.android.gms@14847017@14.8.47 (040306-228741232))
01-21 20:22:52.208 12771 14287 E SetupServices:     at java.lang.Thread.run(Thread.java:761)
01-21 20:22:52.214 12771 12771 E SetupServices: [GoogleServicesActivity] Exception writing audit records
01-21 20:22:52.214 12771 12771 E SetupServices: guc: BadAuthentication
01-21 20:22:52.214 12771 12771 E SetupServices:     at gtq.a(:com.google.android.gms@14847017@14.8.47 (040306-228741232):15)
01-21 20:22:52.214 12771 12771 E SetupServices:     at gtp.a(:com.google.android.gms@14847017@14.8.47 (040306-228741232):2)
01-21 20:22:52.214 12771 12771 E SetupServices:     at gtp.c(:com.google.android.gms@14847017@14.8.47 (040306-228741232):6)
01-21 20:22:52.214 12771 12771 E SetupServices:     at gtp.b(:com.google.android.gms@14847017@14.8.47 (040306-228741232):1)
01-21 20:22:52.214 12771 12771 E SetupServices:     at gtp.b(:com.google.android.gms@14847017@14.8.47 (040306-228741232):3)
01-21 20:22:52.214 12771 12771 E SetupServices:     at gtp.f(:com.google.android.gms@14847017@14.8.47 (040306-228741232))
01-21 20:22:52.214 12771 12771 E SetupServices:     at anrn.run(:com.google.android.gms@14847017@14.8.47 (040306-228741232))
01-21 20:22:52.214 12771 12771 E SetupServices:     at qzy.run(:com.google.android.gms@14847017@14.8.47 (040306-228741232):3)
01-21 20:22:52.214 12771 12771 E SetupServices:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
01-21 20:22:52.214 12771 12771 E SetupServices:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
01-21 20:22:52.214 12771 12771 E SetupServices:     at rgd.run(:com.google.android.gms@14847017@14.8.47 (040306-228741232))
01-21 20:22:52.214 12771 12771 E SetupServices:     at java.lang.Thread.run(Thread.java:761)


text:
How to get rid of Google invasion?
The performance of my phone became very poor. It's very slow. When I open the wifi, it freezes for a few minutes! I had to reset factory default.
After the resetting, the phone became super fast once again but I found some pre-installed apps that may make my phone slow again such as Facebook, Messenger, Whatsapp, ...etc. I deleted all of them but I can't get rid of Google products. I can only disable them. I don't know why Google imposes their products. I have the right to manage my internal memory the way I like!
Here is a list of the products that consume the internal memory as well as the performance:

Chrome
Google Play Store
Google Drive
Gmail
Google App
Google play music
Google Play services
Google Hangouts
Google Maps
Google Photos

Would you tell me how to get rid of them, please? I have Android Marshmallow 6.0

Generally here, going Google-free is the arena of moderator Izzy. See the user profile with expertise in the form of links to explore Google-free options including app substitution, eradication, and the like, and related info about that topic.

Indeed I run my devices "Google-free". Easiest way to achieve this is to install a custom ROM like LineageOS – as for license reasons, those come without the so-called "GApps". Once those "GApps" are installed, it's hard to get rid of them in any othe way.


text:
Unable to Send or Receive MMS on LineageOS on T-Mobile S6
NexusOS 9.0 (LineageOS for Galaxy S6 T-Mobile)
MMS sending hangs Messenger
MMS receiving downloads forever

Verify you have the most up to date APN with T-mobile customer service.

@BoLawson that was the problem, it was just an APN setting wrong, I checked in the docs

I had to go to
Settings > Network > APN > Hold finger down on current APN setting
and change APN Protocol from IPv6 to IPv4/IPv6 per T-Mobiles APN Docs
NB: I also downloaded the T-Mobile and T-Mobile Visual Voicemail app and switched from LineageOS messenger app to Textra, but I doubt those steps were relevant.


text:
How can I increase my samsung galaxy s4 signal power
I'm having poor signal quality from service provider(the signal for recieving calls, messages etc.)
When I check from "about device" section, it usually says around -110 dbm and 2 asu.
I have no problems connecting internet via wifi( my home's modem, not mobile data)
I have given the phone to a technician for repair but it's still not fixed.
I opened the case and checked antenna(which I'm guessing, was replaced by the technician, so it's most probably pretty new), which looked like okay.
I usually recive only 1-2 bars and rarely 4 bars of signal quality.
What might be the reason(s)?

Distance and obstructions from the nearest cell tower? I cannot get even that inside my house, and have to make calls from the driveway. Service to the HOME is generally NOT GUARANTEED by your service provider, just to your AREA. Check your contract wording.

I've been using the same places for the last 5 years, this problem started to occur a month ago, so that's not because of the area I'm in.