text:
Is there a way to make my tablet turn off when not charging?
I am planning to mount my android tablet to my car with a charging cable permanantly left in. The idea is as soon as I turn the car on, the tablet starts charging,  and as soon as I turn the car off, the charging stops. (I'm prepared to accept the reduced battery life as a result).
It would be ideal to have the tablet turn on automatically as soon as the car does, and turn off automatically once the car does. I have found a way online to have the tablet turn on as soon as it starts charging, but I cannot find a way to make the Tablet/Android turn off once the charging stops. Could you please advise if there is an app, or a file that can be added/changed to make this happen?

Llama, an automation tool like Tasker (so probably Tasker, too), can detect the changing states of power, either input or draw. With this as a condition, you could make the device sleep/wake as desired.

Tasker will do that after a bit of setting up.. It takes a bit to get it working exactly how you need.

For rooted devices:
To have your device power off as soon as it stops charging, You can use an app called MacroDroid.

On the main page of the app, press on add macro  → battery/power  → power connected/disconnected  → power disconnected

press on actions (found, on the top)  → device actions  → reboot/power off  → power off  → ok.

press on the ✓ on the bottom right of the screen, and give a name to this action.

Now, when your phone is charging, and you unplug it, or in this case, turn off your car, it will automatically power off.
Non-rooted devices:
As far as I know, you cannot automate this action on non-rooted devices.
Therefore, the best suggestion I can give, is to have the power off dialog show up as soon as you turn off your car. That way, all you have to do is just press on power off.

Download MacroDroid.

On the main page of the app, press on add macro  → battery/power  → power connected/disconnected  → power disconnected

press on actions (found, on the top)  → device actions  → Android shortcuts  → power options  → ok

press on the ✓ on the bottom right of the screen, and give a name to this action.

Now when you turn your car off, the power off dialog will popup and you can press on power off


text:
Pull data from phone that causes BSODS?
Bet you had to read that title twice.
So the title says it all really - I have a Wiley-fox, a poor little thing that has been beaten up within an inch of its life. It cant connect to my Wifi, no idea why, it also fails to recognize SIM cards, but it seems the pins for that are damaged, and I need my old photos. Of course, if you read the title (if you think about it title is an odd word) I've tried plugging it in only to get a BSOD.
While I question why this phone has come from the seven circles of hell, does anyone have any ideas on how i can take my photos and stick them somewhere that doesn't spontaneously combust?

Try on a Linux system?

I would but I don't have a Linux system around atm.

How about simply copy pasting the files rather than doing a pull? Worst case scenario- send files via bluetooth.

Didn't think about Bluetooth, I'll admit. I'll try that

source: Stack Exchange

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

sort: votes


text:
How to know if Android Device Manager's erase phone worked on a stolen device?
Phone was stolen, and when I went to wipe it in the Android Device Manager the phone appears off line for more than 5 days.
Today when i checked, the phone was no longer listed in my device manager, does this mean it was wiped, how can i confirm this ?

There is no confirmation provided that the device had been wiped as you can read in Google Support (there are are earlier references and this is the latest I could find - last month)
So you can't - the fact that device is wiped also means that your device is not associated with your account and therefore you cannot see it listed in your devices. Also as stated here

Erase
  Permanently deletes all data on your device (but might not delete SD cards). After you erase, Find My Device won't work on the device

(Emphasis Supplied)
Not appearing in the devices list cannot be a confirmation by itself that the device is wiped ; since Google didn't cite this as proof, but yes, most likely it is wiped
Unless you installed a third party device manager app, which provides such confirmation , there is no way to get a confirmation

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


text:
Moto G5 Plus Xt1687 failed to validate recovery image. Can't reboot, can't go to recovery
Something really weird happened to my 6-month old Moto G5 plus. I had an android update, I downloaded the update and during setup, the phone suddenly froze. I was not able to turn it on, so I decided to use recovery mode, and I can't. It reads: "failed to validate recovery image". So I took it to technicians. 4 of them. They all failed, because once they download the OS onto their computers, they cannot install it on my phone. I'm in the US until Wednesday and I need to solve this problem before I get back to Argentina, as I will need my phone to get around the airport and stuff. Is my phone dead for good? Is there anything I can do?

I had an android update, I downloaded the update and during setup, the phone suddenly froze If installed in background, after completion it will ask to reboot. Is something happened during download? or installing?

All I know is that technicians downloaded the phone OS in their computers and then were unable to pass it to my phone. My phone by itself cannot reboot / go to factory mode because of the error I mentioned on the post (failed to validate recovery image). I don't really know what you mean by "background". I am really ignorant over android and mobile devices in general.

When an update notification arrives, firstly device will download it(downloads in background ). And then asks you to install. Some devices goto recovery mode for installation. But, in moto, you can install while you're using the phone. That's I have mentioned as background installation. And, I need to know whether anything happened during installation.


text:
What does this icon indicate?

What does this icon indicate it is coming in my statusbar recently and its worrying me..

On the left, no related information is shown, I'm using Redmi note prime running android 4.4.4

No app has this icon either, i've been getting verification SMS's frequently when i swipe the SMS this icon shows up.. I think it is some sort of virus or something

[edit] your question to give as much information as possible to help others help you. Right now your question looks like it is icon related but the root cause may be something else. If you don't bother to ask with all details, you are not likely to get answers


text:
Android is replacing some of my app icons with alternative ones. How do I stop this

Homtom HT30
The picture shows the icon for Google Maps.
The programs seem to launch fine but the icons are changed.

Are you using app icon pack or a launcher that changes app icons

Not deliberately, but that sounds like what has been installed by the manufacturer, Homtom. How can I check?

I guess you also mean that you are using stock launcher that came with your phone. Install Nova Launcher and from it's settings > look and feel> see what the icon pack shows. Also from the 3 dots menu reset and see if it helps. I am not aware of your OEM but don't think it is OEM initiated

Yes that was it!  Thanks  I'll answer my comment with this info.

I was using the stock launcher 'Launcher3' which was overriding the Google Maps icon (and others).  A different launcher doesn't have this problem, and looks much better.  User 'beeshyams' suggested 'Nova Launcher' but I installed the 'Google Now Launcher'
Thanks 'beeshyams' for the answer.


text:
My Galaxy J7 keeps shutting down even with 60 to 70 percent battery life. What is the cause?
My galaxy J7 that I bought from China about two months ago keeps shutting down even with 50% of battery life. Can someone please help out. I am depressed about this situation. What can I do to resolve this??

Replace the battery to start with

Is it at all related to battery? My Galaxy On7 restarts/switches off now and then because it crashes due to lack of internal storage. Is same the case with your phone?

You say that it shuts down. How exactly? Does it say that it's shutting down, or does it die out of the blue?

Yeah.... I mean it just dies suddenly


text:
How to make a note using voce command
I would like to make a quick note using voice command.
Something like: "OK Google" ..."make a note" ..followed by the message itself.
Preferably using Google Keep but I am open to suggestions.
What the voice command might be?
I tried several variants of make/take note, or just note, all recognized correctly as far as individual words go, but usually ending in launching Chrome web search or in giving me selection of application to handle note, where "Keep" is one of them. But even after selecting Keep, which is not persisted by the way, it is still not very straightforward to actually dictate the note. There must be a better way.

See this. It works fairly well , last step is important. I am not into dictating notes but it worked. Oreo 8.0

Thanks, that helped. You might need to say "Ok Google" again before you say your note ..that did the trick. Hard to guess..

Interestingly, now it goes straight to Keep, no choice given. It goes straight into taking note after I say "take a note". Nice. Now I face another annoying fact - it also saves audio recording alongside the text. I want just the text, it's usually correct.

That's a feature of Google Keep. Not possible to delete that AFAIK


text:
Video apps all failing?
I've recently noticed a whole collection of video streaming apps all failing at once on my Samsung S8+. YouTube, Amazon Prime Video and All4 are all now dead -Amazon will start up but not play anything, streamed or downloaded, while the others won't even start up. Apps have been updated, the device restarted.
It seems unlikely that three very similar apps have all died at the same time while the rest are fine without there being a common cause. Is there anything I could usefully check to try and get things working again?

Network connection of any type or none makes no difference. YouTube videos are payable in the browser.

Real strange! Even though it's 4 apps at once that are not working, I would still try clearing data for them and see what happens. Settings > application manger > YouTube > storage > clear data

If you can get an ADB logcat excerpt when the apps fail to start or play, that should be quite helpful towards pinpointing the culprit.

Well that's odd. Restarting didn't work. Reinstalling didn't work. Clearing the data didn't work. Restarting again having done all of the above now did, though...


text:
Android Wear "complication"
I previously had an Asus Zenwatch2. I was able to add a complication (I think that's what the little customize-able data points that can be added to certain watch faces are called) that would display the phone battery. It seemed the source for this was the Asus Zenwatch app installed on my phone.
I have upgraded to a Huawei Watch 2 Classic. I don't see an option to get this or several other useful complications that were available from the Asus app on my new watch.
I obviously don't really understand how these complications work.
Is this something that I could get in a 3rd party watchface or is it not available because it needs to be pushed from an app on the phone (like it was from the Asus app)?
Here is an example of the menu to choose a complication:


text:
WhatsApp crashes just after launching without any error messages
I have updated my WhatsApp to the latest version (2.18.46) but it crashes as soon as I open it. I don't get any "WhatsApp has stopped working" messages.
Here's what happens:

I click the icon
White screen opens, notification bar turns WhatsApp green
White screen suddenly disappears and I am left with the previous screen

I don't think an instance of WhatsApp is running as I don't get any notifications also. All the messages remain undelivered.
Things I have done:

Restarted the phone
Checked network - both WiFi, 3G
Removed battery, inserted it again, charged till 100%
Force killed WhatsApp
Uninstall - reinstall WhatsApp

I don't know what's happening. My OS is Lollipop (5.1) Cyanogen. Everything was working fine. It messed up after the update.

See if you have disabled important permissions in cyanogen settings?

See if you have disabled google play services or other background data or sync settings?

Okay, it has started working. Here's what I did.

Remove WhatsApp or any app that crashes
Restart the phone [this will remove any instance, cached process, etc.]
Remove Play Services [restart the phone]
Now the phone should try to update Play Services [you can manually do it by typing Play Services on Play store]
Restart the phone
Install WhatsApp or any app. Ta-Da! It works.

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


text:
can we change the general functionality of volume buttons?
can we change the general functionality of volume buttons while specific service is playing in the background in my app(like using the volume buttons to skip the songs, using those button to drag up or down in the reading app etc)?

Is this for an app that you are making, or is it something that you want for the phone to do when you press on the volume button?

Yes you can.  There is Volkey Scroll as an example which allows you to use the volume buttons to scroll your phone. This sounds like an app development question to me.  @ABochur  I think we should vote to close this as too broad.


text:
some files on SD card show up as 0 byte on Win10
I have a Samsung S7 (Android 7.0), with an encrypted SD card. I copied 3 mkv files via FTP on it. I can play all 3 on the phone without any problem.
When I plugged the phone in my Win10 laptop, only the first file showed the correct size in File Explorer. The other two seem to be 0 bytes, even when I copy them to my HDD.
If I copy these files from the SD to the internal storage of the phone, the file size is shown correctly, and the copied files are usable.
How can this be, how can I correct this behavior?

I'm guessing it has something to do with the fact that it's encrypted


text:
Is it possible to force an app to use cellular data instead of WiFi using android 7?
Is it possible to force an app to use cellular data instead of WiFi, using android 7 on samsung experience version 8.1?

Just turn off wifi and it'll use data. No? If that's not what you're asking, please edit your question to include more details

that only works some times and for a short while

That's why I'm not sure I understand the question. If your using YouTube for example, and you want it to use data instead of wifi, then simply turn off wifi. But if you're talking about an app that needs WiFi to function, but you want to fool it and make it seem that you're using WiFi, then you should edit your question to include that info

Try norootfirewall.
It allows you to blacklist specific applications.


text:
HTC DESIRE 820, how would I go about rooting this phone?
I have this HTC desire 820 and I would really like to ROOT this phone. The OS is getting a little long in the tooth and I would love to do something about this. I currently have an aversion towards windows and therefore I run Debian Linux 9.whatever. Can someone point me in the right direction?
Thanks heaps.


text:
Case statements in termux
I tried this and failed. Does case statements exist in termux?
#!/data/data/com.termux/files/usr/bin/bash
case in "$1"
    start)
            echo 'var1'
            ;;
    stop)
            echo 'var2'
            ;;
esac

Termux does indeed support case, but your syntax is incorrect. This, instead, works.
case "$1" in
 start)
  echo 'var1'
  ;;

 stop)
  echo 'var2'
  ;;
esac

Adding a blank line between the start) and stop) blocks is just a stylistic choice.

Tnx. Got it. Where I can generally investigate about termux borders: what is supported and what - not.

@JosefKlimuk Being Termux's default shell Bash, you can assume that all of the builtins and shell commands you would be able to call during a Bash session on a Linux machine be working. If what concerns you are what packages are able to be installed, either see the project's homepage, or directly ask its author, which maintains said packages.


text:
Android Playstore speed problem on Stock Android phone
I am using Android One phone with Stock Android 8.0.0, I see some major speed problem in my playstore- while downloading from playstore I only get 250KBPS speed whereas my actual speed is 1.3MBPS -which I get in other apps..and even other phone's playstore while connected to the same network..
I don't know what is happening..
Any help and tips..?

With out more information it could be a bunch of different issues: Google could be throttling you download speed, your network router could be throttling it, or your internet provider could be throttling.  The play store is rather rudimentary IMO considering it historically doesn't allow the parallel downloading of applications

It is basically the problem of the software version  of the current update..There is no other way to wait for the next update.

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


text:
Why can't the touch layer on the screen can't be replaced?
AFAIK, touchscreen has three different layers: the protective glass, the touch panel, and the LCD screen:

Touch technology in smartphones explained - FlatpanelsHD
However, when an area of the screen is not responsive, in my observation technicians will replace the whole screen, not just the touch panel, and this would increase the fixing cost significantly. Why is that?

Digitiser and screen are normally sold together and they are likewise changed together unless you insist and they accommodate. More revenue to them

What is the "digitiser"? There is no appropriate meaning in Wikipedia. Is it the touch panel in the above image?

see this. BTW your question is off topic being Android independent (most touch screens work the same way and nothing specific to Android)

You do see the "adhesive" in the middle right? Most screens right now are in some way laminated (especially AMOLEDs), glued together by optical adhesives, which most shops either can't separate or can't guarantee to apply back without compromising display performance or structural integrity.

@AndyYan if a shop claims to be able to do so, would the new glue stop adhere after sometimes (the insurance time, for example)?

The glue is cured/solidified with UV light, so if it's properly applied then there's little chance it'll come apart. The problem though is usually not applying the glue properly (or using low-quality glue) in the first place, resulting in bubbles, display artifacts, etc.

@AndyYan do you know why some area of the touch panel can be dead, while the rest is not?

Not sure about that - I don't dig into the mechanics.

It depends on the phone, really. I had a Motorolla Attrix HD with a broken touchscreen, the LCD was fine, and I was able to order a replacement touchscreen by itself. However, during the repair, separating the LCD screen form the touchscreen damaged the LCD (it was glued on way more tightly than the one in the youtube video I was following for this exact model).
Some phones, the touchscreen and LCD screen are sold as an assembly, other phones, the 2 parts are available separately.


text:
lenovo a6000 plus on/off switch not responding
I have a problem with my Lenovo A6000 plus. when I lock it and a few seconds later I want to open it does not happen any response. and when i plug the charge was no response at all. does not charge the battery, does not respond to its on / off switch, and clock becomes delay. I've replaced the switch on / off with the original one. but still have the same problem. whether there is a solution or any answer what is the problem on my phone?


text:
Treble: How do I check if it is enabled on my device?
Title says it all
By way of background Project Treble was announced with release of Oreo to speed up OS updates by reducing OEM delay . Devices running Oreo out of the box are expected to have it , so how do I check if my device has it and I can expect faster updates?

For users not familiar with terminal and such, Treble Check saves some hassle, and on top of that also offers info on whether the device has A/B system partitions (for seamless updates).

Related https://android.stackexchange.com/q/223975/131553

Works on unrooted devices also
Install Termux
and run
getprop ro.treble.enabled
It returns true if your device supports and false if it doesn’t
With adb
adb shell getprop ro.treble.enabled

Edited the answer to delete Termux link from Play store, which is outdated and added Github link


text:
My phone buzzes (twice) but no notification
Since maybe a week I have this weird situation where my phone buzzes twice every so often, but there is no notification. It is really annoying.
I saw some search results suggesting that this is a notification reminder in Accessibility -> but I cant find such an option in that section of the settings.
Others suggested that this might be apps that are blocked from notifications that are trying to create push notifications but I was able to confirm(reasonably) this isnt the case by unblocking all of them.
Recently I updated my phone, and installed Any.do. I verified that it isnt Any.do either.
I am using One Plus One, with Lineage 14.1, and when I say I updated my phone it is to a newer nightly of 14.1.

If there is a way to check which app triggered the last vibration API call, that would be perfect..

My phone kinda restarts(probably crashes) every so often (atleast once a day) So restarting to see if it fixes it doesnt work

I installed https://play.google.com/store/apps/details?id=com.evanhe.nhfree&hl=en but I dont know how to activate "go to system Notification Access settings and check Notification History"

I have that app and was checking it . It didn't seem to record any system buzz instances. I don't have your OS so can't tell how to activate

For posterity, I figured out the Notification access thing. When opening the app and it shows the popup, can just click the line to go to the settings. Else it is Settings -> Apps -> Settings -> Special Access -> Notification Access

I'm having the same problem on Lineage 14 on my Nexus 5X, as well as most notifications being heavily delayed (maybe unrelated).  I don't have AccuBattery installed.

Lineage as well..

After using https://play.google.com/store/apps/details?id=com.evanhe.nhfree&hl=en I discovered that all of my ghost vibrates were due to Accu Battery. Some search results had pointed to that but I did not consider because i hadnt made any changes to it recently, but the problem had only started recently.

I disabled AccuBattery notification but the ghost vibrations are still happening.. now with no record in the history app


text:
sharing email accounts among multiple clients
I have configured the default MIUI8 email client with two accounts (one imap and one pop), but I'd like to try other clients. When I install, for example, aqua-mail or k9-mail they ask to configure new mail accounts instead of using the existent, system-level, ones: Settings->Sync->IMAP/POP3.
Is it possible to use multiple clients with the same configured mail accounts?

Yes, it is possible.
If you use POP3 make sure that you deactivate in all clients deleting the messages on the server after fetching them. Otherwise other clients won't be able to download them.
Update: to use an already configured system-level mail account, an email app should have an access to system accounts. Not every email app has it.

I guess you did not understand my point: how do I "import" my already-configured accounts into newly installed clients?

Well, if you want to ask "how do I import" then you should ask "how do I import" and not "is it possible to use". I answered exactly what you have asked.

I've specified "same configured" account

I added some more info.

Thanks for the answer. Any example of such apps?

@cipper No, sorry.

Thanks anyway. I cannot understand why for calendar and contacts it's straightforward (all apps share the same accounts) while for email it's not.


text:
I cannot remove Administrator Rights from any app
I gave admin rights to two apps I have on my Motorola Moto G5 Plus (Android 7.0): Find My Device; Greenify Automator. The first one I mean to keep it as admin, but I would like to remove Greenify. When I try to do so, it simply won't let me.
I try selecting "Deactivate this device administrator" but nothing happens. And nothing happens either if I try selecting "Cancel". It seems like these two buttons are just deactivated.
I then also tried doing the same for Find My Device, and it also doesn't work. So I guess it's some kind of bug when removing Device administrators.
Someone know how to solve this?

It was blue light screen filter that was causing the problem and deactivating that fixed the problem as confirmed by OP .Tinted screenshot lead me to suspect this :-)
For additional details on what such apps do see What does "Drawing over other apps" mean?

It's very possible that a third party app, is in your way. Therefore, you should try removing administrator rights, while in safe mode. Because while is safe mode, all third party apps are disabled.
To go into safe mode, turn your phone off, and when turning it on, press and hold the volume down button. When it's fully powered on, it'll say safe mode on the bottom left of the screen.
Now try removing administrator rights while in safe mode.

You can also hold down restart in the power options. I think a device without the restart button binds it to holding shutdown instead, but that may need checking

@DanBrown holding down on the word restart, did nothing. Do you mean that after pressing restart I can hold down on the volume down button till safe mode? I know that but didn't want to make the answer more complicated with too many options

Hmm, try holding power off instead. I can verify that works, at least (just tried it)

@DanBrown just tried in a Galaxy s5, doesn't work. Probably a feature added by your phone manufacturer or removed by Samsung


text:
How can I get Onedrive to automatically save screenshots to a different folder than "Camera Roll"?
Currently, onedrive uploads all photos from different folder on my mobile phone to the same  "Camera Roll" folder, however on windows it saves screenshots to a different folder "Pictures\Screenshots"; That would be very convenient if it was possible to do the same thing on phone.

The OneDrive app doesn't currently support this. It looks like it's already been suggested on UserVoice several times, but this one looks to have the most votes, so you can add your support there as well.
Alternatively, you can try third-party apps that support OneDrive accounts, like FolderSync. In the case of FolderSync you'd need to set it up a little differently, because it doesn't have a "upload pictures" setting to my knowledge. Instead you can set up a one-way sync between your phone's camera folder (or screenshots, or what have you) and a destination folder in your OneDrive account.


text:
Write protection of loop device // Read-Only Filesystem
After spending days on that topic I am in need of additional ideas ;)
Facts: MTK6757 / Android 7 / Kernel 4.4.15 / FS EXT4 (No F2FS) / Working Root
I have a fresh and clean 64MB EXT4 .IMG File in /data/adb. e2fsck agrees with that ;)
Problem: Mounting and/or writing to it via Loop Device fails.
What I have checked:

Access rights of the file
Access rights of the block device
Access rights of the destination dir
Manually created the block device
Manually setup via losetup
Played with all options
SElinux Permissive / Enforcing

Behaviour:

It only gets mounted with "mount" because it calls a ioctl BLKROSET (thx  strace)

Mount and /proc/mounts show RW

As soon as I write (mkdir) to it, it switches to RO
(dmesg says Switching to RO cause of Buffer I/O error on dev loop0, logical block 0, lost sync page write)

When I enforce writing it gets written to cache but not to the file
ioctl /dev/block/loop0 0x125d 1 mkdir /sbin/.core/img/test

And now the strange part:
When the img file is on /sdcard it works.
The SE Context is of course different, but i also tried in Permissive.
When the mounting occurs BEFORE Zygote starts or in Recovery, writing fails also on /sdcard (Update: Because during boot /sdcard is not available yet)
Anybody any ideas?
Update:
It gets even more interesting:
Turns out writing to /sdcard only works as long as it is mounted as sdcardfs.
If sdcardfs is deactivated it gets mounted as FUSE properly, but writing doesnt work anymore.
As all the facts hint toward a selinux \ vold \ FS problem, i tried to restage the sdcardfs evironment.
Assign root \ sdcard_rwandu:object_r:sdcardfs:s0` to the file in a different directory.
Doesnt work ;(
Then I compared the selinux policies of 2 devices where it works with the problematic one.
Turns out allow vold block_device : blk_file { ioctl read write create getattr setattr lock append unlink rename open } is completely missing.
But injecting that doesn't help too...
Any experts or suggestions?


text:
""Unfortunately Google (or other app) has stopped error.
I read recently about a privacy app that causes the above error to display to keep out unwanted intruders. Does anyone know this app? I remember something about opening yourself by tapping something 3 times or tapping and holding a button, just can't remember specifics. I know from many questions I read about the subject on here that it does happen for a legitimate error but I know I read about an app that uses it as a disguise, so to speak. Anyone?

App lock does similar but I don't recall tapping three times etc. Used it way back

ES App Locker does similar when a wrong pattern is entered

One app that does that, is called App lock - fingerprint.
This app has many cool features. One of them is, when someone opens a locked app, it will tell them that the app has crashed. They'll have to press and hold the ok button in order to have the keypad show up. (You have the option to enable or disable this option in the app settings)


text:
reverse usb tethering works, but no internet
For a hobby project I'm building a system manager for a gaming pc.
Instead of a custom touch screen and microcontroller I'm trying to use an old Samsung Galaxy S2 (i9100). For useabilty I'm trying to use reverse usb tethering to use the LAN connection of the pc.
I've managed to install LineageOS 14.1 with Gapps and Xposed framework.
Via the network settings on the S2 I've activated usb tethering
On the windows pc, a network adapter is added: NDIS based ethernet port with ip adress 192.168.137.1 and the local ethernet port is set for sharing the connection
Via Terminal Emulator for Android on the S2 with command ifconfig all the ip settings are confirmed and the NDIS is set to UP. I've also tried to reconfigure the default network route. Via the Xposed framework fakewifi connection is running for all the apps.
Still the S2 doesn't get internet connection. What am I doing wrong?

You just need to configure the dhcp.
Open Terminal emulator and type in: su . The $ will change to #.

Type the following command in Terminal Emulator:
 netcfg rndis0 dhcp

The name for usb interface inside Android may vary. It is usually rndis0 or usb0. Type busybox ifconfig to identify the name.
It can happen that automatic dhcp method does not work. In this case you  have to do it manually:
Type these following commands in Terminal Emulator:
ifconfig rndis0 192.168.137.2 netmask 255.255.255.0 route add default gw 192.168.137.1 dev rndis0

If route fails, try: busybox route add default gw 192.168.137.1 dev

It has been noted that some applications (download in Google Play,
  Gmail, Facebook.) don't recognize Internet connection.

The following is a recommended workaround:

Enable temporarily 3G connection on your Android
Type: ifconfig rmnet0 0.0.0.0

The name for 3G interface inside Android may vary: ppp0, rmnet0... (Type busybox ifconfig to identify the name).

This will make applications see your Internet connection via USB as
  3G.

Thanks for the detailed answer! Only my s2 doesn't find the commands 'netcfg' or 'busybox'. Can it be that it doesn't exit in LineageOS 14.1?

You need busybox installed if you haven't installed it.

For further troubleshooting see:  USB reverse tethering - netcfg not found (marshmallow CM13)


text:
Cannot start android emulator64 due to Qt unable to load xcb
I cannot start the (android) emulator64-x86. It always fails with:
--> ./emulator64-x86 -avd loli -gpu off
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: linuxfb, minimal, offscreen, xcb.

Reinstalling the application may fix this problem.
zsh: abort      ./emulator64-x86 -avd loli -gpu off

Every forum thread I found on thw problem was to run ldd on the emulator64 and the XCB library to check for missing dependencies:
--> ldd emulator64-x86
    linux-vdso.so.1 (0x00007ffefb048000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3bfefb5000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f3bfec75000)
    libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f3bfe9e9000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3bfe7e5000)
    libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f3bfdf9f000)
    libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f3bfd838000)
    libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f3bfd14d000)
    libQt5Svg.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5 (0x00007f3bfcef8000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3bfcb73000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3bfc828000)
    libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f3bfc625000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3bfc407000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3bfc1ef000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3bfbe39000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f3bff1bd000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f3bfbc11000)
    libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f3bfb9e0000)
    libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f3bfb72a000)
    libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f3bfb4f7000)
    libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f3bfb258000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3bfb03e000)
    libicui18n.so.57 => /usr/lib/x86_64-linux-gnu/libicui18n.so.57 (0x00007f3bfabca000)
    libicuuc.so.57 => /usr/lib/x86_64-linux-gnu/libicuuc.so.57 (0x00007f3bfa825000)
    libpcre2-16.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f3bfa5b8000)
    libdouble-conversion.so.1 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1 (0x00007f3bfa3a7000)
    libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f3bfa093000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f3bf9e8f000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f3bf9c89000)
    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f3bf9a77000)
    libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f3bf97c2000)
    libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f3bf9595000)
    libicudata.so.57 => /usr/lib/x86_64-linux-gnu/libicudata.so.57 (0x00007f3bf7b18000)
    libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f3bf78a6000)
    libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f3bf7691000)

And for LibXCB:
--> ldd /usr/lib/x86_64-linux-gnu/libxcb.so.1
    linux-vdso.so.1 (0x00007ffc465d8000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f68c727c000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f68c7076000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f68c6cc0000)
    libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f68c6aab000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f68c76a8000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f68c68a3000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f68c6685000)

Additional details:

Android emulator version 27.1.7.0 (build_id 4581633) (CL:b5ec07662db0f9d8644e5fbda7040053a8741bfd)
Debian SID x64

So it seems that all dependencies are OK. How can I debug that issue further ? Any idea how can I make the emulator work ?
It turned out I can run QT with debug logging:
QT_DEBUG_PLUGINS=1 ./emulator64-x86 -avd loli -gpu off

So I it fails because of:
Cannot load library /home/svetlin/software/android/emulator/lib64/qt/plugins/platforms/libqxcb.so: (/home/svetlin/software/android/emulator/lib64/qt/plugins/platforms/libqxcb.so: symbol _ZN26QPlatformIntegrationPlugin6createERK7QStringRK11QStringList, version Qt_5 not defined in file libQt5Gui.so.5 with link time reference)

Today it started working without doing any chnages.

I tried every possible solution I could find on the net but I still got:
Cannot load library
/home/darkstar/android/emulator/lib64/qt/plugins/platforms/libqxcb.so:
(/lib64/libQt5XcbQpa.so.5: version `Qt_5_PRIVATE_API' not found
(required by /home/darkstar/android/emulator/lib64/qt/plugins/platforms/libqxcb.so))

This application failed to start because it could not find or load the
Qt platform plugin "xcb" in "".

The error message is actually misleading. In my '/lib64' folder, I do have a file  'libQt5XcbQpa.so.5' and it links to the shared lib 'libQt5XcbQpa.so.5.10.1'.
This is not the correct version. All of the correct libs are actually stored at:
~/android/emulator/lib64/qt/lib

If you include the above path as part of '$LD_LIBRARY_PATH', the emulator will run.

For Android SDK version 30.3.5.0 build_id 7033400 it turned out to be a bug.  This version requires directory structure properly created at $HOME/.android for successful startup.
In order to create the directory structure you have to run the emulator with -writable-system once.  For example, suppose you've created an avd named 'test', then you can start the emulator as follows:
/opt/android-sdk/emulator/emulator -no-window -writable-system -avd test

Once it's created you don't need the option any longer.
/opt/android-sdk/emulator/emulator -no-window -avd test


text:
Tablet with very long boot time, what can I try?
I apologize if this question is too open-ended, but I wanted to collect different ideas regardless of the specific tablet model.
I've owned an Android 4.1 tablet for quite some time now. When I first got it, the boot time was very quick. Lately, however, it takes much longer to boot. The lengthened time is not spent during the boot-animation, it's spent on the splash screen that appears before the animation.
I have rooted this tablet and am willing to pry deeply into the system files to try and resolve the problem.
What steps can I try?

How about taking a logcat during boot. May throw up some hints?

@beeshyams Not sure if logcat is running at the point that it is slow. However I will give it a try.


text:
Android 7.0 - SD Card formatted as internal storage
My Wileyfox handset recently upgraded to 7.0 and I'm getting nowhere with their support. My SD card is formatted as "internal storage". Despite over 30GB of free space on the card, I'm unable to add new apps or update existing ones and am getting lack of space error messages instead. I've reviewed the list of first aid options and these don't offer any solutions. I'm already using the SD card formatted as internal (i.e. not portable) storage.
WFox maintain that many apps will now not run on SD cards.
However, I thought that this related to "external" / "portable" SD cards and that formatting the card as internal memory would avoid this issue. WFox won't address this question. If my understanding is wrong, so be it, but it would be helpful if someone can answer this query for me.

See this and search here. You can [edit] your question to add inputs once you are done

Couldn't you just stick it into another device and format it's brains out?


text:
Moto G4(XT1625)Funny behavior with sim card inserted
I have a Motorola Moto G4(XT1625, Amazon Prime Edition) on US Cellular. Data doesn't work(sim status screen shows connecting or disconnected but never connects), the signal fluctuates somewhat, and occasionally sms and phone temporarily failed for < 5min or so. It is using an older sim card with pronounced contact lines. Would that be a phone problem or a sim card problem, or is additional information needed?

Get a replacement SIM card. They tend to go bad and symptoms you describe point to that. It happened once with me


text:
How to fix Data and Cache file system error
Weird problem with my One Plus One. Cannot install ROM and Cannot repair file system via TWRP. I'm at my wits end. Can anyone help me fix this? The attached images should give you an idea of what I am talking about.
The system partition looks like this -
However the data and cache partitions look like this -  and
When I try to format or repair using TWRP I get this -
Any help would be much appreciated.

have you installed any rom/is running any rom currently? is there any change after performing wipe all(internal, data, system, cache). Do a nandroid backup before that.

No ROM running currently. Was using Lineage. I hadnt used the phone for about 6 months. When I switched it ON, it went into bootloop. I decided to do a full wipe, which worked at first. Then I 'm not able to install ROM or Wipe the partitions. When performing a wipe, it shows the same error as shown in the picture. Basically an error with 'failed to mount data (Invalid Argument)'.

Go follow the instructions in the comments of this post: https://forum.xda-developers.com/xperia-sp/help/format-data-using-twrp-3-0-2-t3371137


text:
Network Support Explained
Is a phone that supports the most network bands ideal if you are trying to get the best cellphone service?
I have noticed that for example the iPhone supports dozens of bands https://www.apple.com/iphone/LTE/ while many Android phones may only support a couple bands in 2G/3G/4G etc...  http://www.china-prices.com/phone/bands/10024/doogee-bl12000

Is a phone that supports the most network bands ideal if you are trying to get the best cellphone service?

It simply depends on the match between your phone modem (radio) capabilities and the band used by Telco(s) where you plan to use them. Other than this having capability to function in bands other than those your Telco(s) or carriers use neither adds nor detracts performance
It is a marketing decision to cater to a few bands which are reagion specific or broader (International models). Apple is more consolidated than splintered Android and that could be a reason for support to bigger range of bands
No
If you have a set of bands that your phone can support but are not supported by your carriers. Capability has no use
Yes
If your carrier(s) (as in roaming) support different bands and your phone supports them, it is good because your phone will work on all of them
Aside,  you can see performance in the same mode widely varies within networks

Hmm if you area has 4G support will all bands be broadcasted and work successfully?  Also I'm assuming some bands have longer ranges then others or something but not sure.

Bands supporting 4G will work.  Some network operators in US customise their networks for higher speeds (when it is a carrier  locked device) so their takes and speeds will be better but other 4G bands will work but with lesser performance


text:
Samsung FRP lock - Android 5.1 have access to Settings
Not a duplicate as per other threads, due to the final step, Go to Backup and Reset and do a Factory Data Reset. As per my other answer, this will remove FRP from the device. The FRP lock is still there in my issue.
I have tried the methods listed here: How to bypass "Verify your account" (Factory Reset Protection)
FRP lock on Samsung S5 Neo
Android 5.1
Have full(ish) access to device
Using various methods, 5.1 Samsung camera download trick in this instance, I have access to Settings, and the rest of the phone. This is the 2nd time I have got to this stage as the first time, I followed the tutorial and did Settings > Backup and reset > Factory reset > Erase everything; but the FRP lock was still on!! Even though it isn't in the videos.
I have now got to a stage again where I have device access, but this time I wanted to enable Developer options to enable ADB and force the change in the settings/secure Content Provider, however enabling dev options tapping Build Number doesn't work!!
Any ideas?

Not a duplicate, as I have tried those methods and it doesn't work for me. the final step is "Backup and reset > Erase everything". My FRP lock stays activated even after doing this step!

Enable ADB may work but it needs root

Already tried to flash stock Marshmallow, same issue; but there is another workaround on MM using RealTerm and the dialler.

Honestly... I'm not 100% but here goes....
After fiddling around, flashing a custom bootloader (which got blocked due to FRP lock) I reflashed 5.1 stock ROM and did the camera trick for the 3rd time, however I got boot loops and so the phone started up in Safe Mode.
I then restarted the phone to get out of Safe Mode and the FRP Lock was disabled. I had done nothing different except that the phone booted itself into Safe Mode. After Safe Mode and normal reboot, Settings/Build Number taps worked fine whereas it previously hadn't. I believe Safe Mode to be the crucial step to disable FRP Lock/Google verification.... Now need someone to verify.
Manual way here:

Power off the device.
Press and hold the Power key for one or two seconds to turn on the
device.
When the Samsung logo displays, press and hold the Volume down key
until the lock screen displays.   When the Lock screen is displayed,
Safe mode is displayed in the lower-left corner of the screen. To
exit Safe mode, restart your device.

TLDR; FRP Lock/Google verify > Boot into Safe Mode, then reboot again into normal mode > FRP Lock gone?
The only extra step was that it rebooted into Safe Mode from a privileged state, e.g. I had a lockscreen setup.

Hell yes this worked for me on a Samsung Galaxy Tab A6!!

could you add what version your Tab A6 was running when this worked please


text:
Using android devices as wired webcams for computers?
I have got myself a new phone, and I wonder - if I could use it as a webcam.
I know there are WiFi apps to stream video, but:
 1. My Wi-Fi network is slow (1-2 MiB/s max)
 2. The resolution, framarate and bitrate of video form these apps is very limited
Since I can access the device through ADB console via USB connection - I wonder if I could stream the video that way into my Linux PC, to then use it as a webcam in OBS Studio for preview and capture?
I wonder if there are apps that expose the phone as a webcam device that can be fully controlled from a PC (exposure, focus, zoom etc.).
If not - do you think creating such an app is even possible?
I guess hardware H.264 encoding is not a problem on the newer phones (mine is OnePlus 5T), and the webcam interface supports that - so it should even manage to push through 4K 30 FPS video if the bitrate is optimized for USB 2.0 transfer - right?
I'm thining about this, becasue the phone I have capures better video than my Logitech C920 webcam, however with the webcam I can do things I cannot do with the phone:

I can store and restore camera settings from PC easily (exposure, focus, zoom, white balance etc.)
I can preview the video in realtime on a big screen
I can capture it with whatever program I want (mostly OBS Studio)

Would it be possible to expose phones in a way that'd make PCs see them just like webcams so we can use them this way? It doens't have to be wireless.

you can try creating a hotspot in computer, connect both phone and computer. It'll be fast enough for wifi cam apps

It might be, but the quality will still suffer.

I've tried. no quality loss occurred to me

Can you transmit 1080p 60FPS video? 4K 30 FPS video?
What app have you used?


text:
I tried starting VPN, didn't set password, but later now screen is asking password. What to do?
I have Gionee P5L phone. I was not able to access a site, then thought on starting VPN of the phone; went to VPN, and then it asked to set any of the security: password, swipe, etc. I entered into password section, but didn't press any password, then pressed back button. Now, phone is asking password, but I didn't set any password before.
I didn't really type any password, as I remember. Same thing had happened before with my other Gionee P5W; but then I tapped on forgot password, it asked me security question and allowed me in. Here, with P5L, on tapping forgot password, it says me on me to have not set any security question and the only option as to factory reset.
What do I do to remove this password wall?

If that's a VPN app  try uninstalling that from safe mode if possible

Thank you for the comment. I didn't install VPN app, I tried starting the in-built VPN. I don't know about safe mode, I will see on whether I can remove password via it or not.

In order to enable built-in VPN, you must put a screen pattern or pin code, that's a security feature.
So you did put a code, just remember

NO I DIDN'T PUT A PASSWORD, I REMEMBER THAT! :)

I tired with my first 4 numbers of my phone number, it opened! If any are having this problem, try doing this.

You put your firt four numbers as password, that's a fact! This won't work for everyone having this issue .


text:
Sd card COMPLETELY unrecognizable after rooting
Around a year ago, I rooted my Samsung Galaxy Tab T-113. I cannot find the respective rooting thread anymore, so I cannot provide any links :/
I do remember that the thread told me from the start, that the external sd card (Sandisk class 4 32GB, used for rooting) would be locked to the device after rooting it.
The external sd card functioned without any issues for a while, until the device got into a bootloop. I restored the device to factory settings after which the sd card became unreadable, not even recognized as corrupt by the device.
I then tried formatting the sd card through Windows, but Windows doesn't recognize my sd card either.. no sound, no cards in device manager. It can't even be recognized by other phones/laptops (tried multiple)
Is anyone aware of any rooting tools which actually locked the sd card to the device? I'm trying to find the method, in order to find a solution..
Or does anyone know how I can retrieve the data from the sd card? (maybe through additional purchasable hardware for sd card recoveries?
Thanks in advance! :)
P.s: the sd card was never exposed to extreme temperatures or water.

Sounds like the card malfunctioned. Most likely it has nothing to do with the device or root.

See if the solutions here help in recognising SD https://android.stackexchange.com/q/190820/131553

Can you access the SD card using a computer or some other device?

If your pc doesn't see sd card but you are able to hear a sound when connecting to the pc then you have a chance of recovery. Try to connect via USB adapter and first go to your pc didn't management. If you can see your sd card there then you just make it visible. If you can't see through disc  management then log in to your bios and see if you can see your sd card there. Also try to use other port. If you can see via bios then you need to create  another usb with Windows restoration environment or create bootable USB with command line in order to be able to perform file check command. I don't know how advanced you are in these things. If don't feel comfortable doing this then perhaps you need to ask some tech. If you think you can do it yourself then check first whether you are able to see it as I have mentioned.   Also try to create bootable USB with Linux on it and boot your pc into USB with Linux on it. If you can see your sd then just work in Linux virtual environment.  Sorry may seem a bit complicated but it's the way it is.


text:
Why "System Update" app of "android 6.0" is draining battery
I am using Yu Yunicorn (5530) android phone. It has android marshmallow update. Recently I noticed when I put the phone on charging it takes long time to charge and never goes to 100%, also during the charging when I looked into the "Settings > battery" it shows "awake" green line throughout the period of charging.
Yesterday when I saw in the battery usage I found that "System Update" app is using 190% of battery and phone battery was draining very fast. When I forced stop the "System Update" it increased the battery life and also lets the charging up to 100%. When I put the phone on charging the "System Update" app starts and that slows down the charging. Also when I remove the phone from the charging it again starts "System Update" app. So every time I have to forced stop this app.
Now I would like your help to solve the problem, why my "System update" is using all of the battery and why it is running all the time, How can I solve the problem without factory reset? I already tried running phone in "safe mode" and "wipe cache partition" which did not help.
Thank you.


text:
How can I access data on Charge Only mode (Phone's screen is non-functional!)?
I have a Xiaomi Redmi Note 3. The phone was accidentally dipped into the water which rendered it unusable. I left the phone to dry in a rice bag for 5 days and then took it out and charged it.
The phone booted and was working until I put it to charge. The moment I switched on the power adapter, the screen went black and then the backlight came on.
I remember that before the incident, the phone was in charge-only mode and as the screen is non-functional, I cannot change the mode now. I was wondering, if there is any way, I could access, and recover my data before I give it to any authorized Service Center personnel, who says that there is no chance that the motherboard is fine.

I don't think you can do that, is phone even alive or it just turn on backlight?

As far as I know, the phone is alive. When I long press the power button, the phone vibrates which indicates that it is still booting, I guess!

There's little chance you can do that in normal system. But you can do it in (custom) recovery.
If you already have a custom recovery flashed, then skip this step. Boot it into fastboot (bootloader) and flash a custom recovery in.
Then boot into the recovery and you can access it using ADB shell. You can use adb pull to retrieve data from your phone.

Could you provide me with a walkthrough of the process, and how could I do it without using the screen! Thanks for the help!

I don't know how it goes with Xiaomi but when you want to flash recovery you need to unlock bootloader, and when you do that phone will perform factory reset itself so you will have nothing to save. However you could be able to use "fastboot boot recovery.img" where recovery.img is file name of custom recovery you trying to boot, and then maybe try with ADB

@J This specific phone does not have a locked bootloader, IIRC.

@iBug Is it? Xiaomi Redmi Note 3 does not have a locked bootloader? So are there any chances I would be able to recover my data?

authors: Једноруки Крстивоје


text:
Share location between iOS and Android..?
My wife and I find it really useful to share our locations with each other. Until now we both had iPhone's and were using the "Find my friends" app, but my wife is now using Android (Samsung S8).
I've looked at the "Trusted Contacts" app, but that only seems to share the location temporarily. We want to share locations permanently, without manually authorising all the time, and without annoying notifications.
Is there any way,  that works on both platforms to permanently share your location with someone else ?

Family locator on Play store claims to work with both. Not tested by me. See if that works

We don't want to send locations to each other, we want the same system as Apple's Find My Friends, but between iOS and Android. So, an app we can both set to permanently share our location, which we can fire up any time to see where the other person is.

In which case app in second comment seems to be a candidate. BTW asking for apps is off topic here so edited your wording. If you are not OK with it, you can roll back the edit and ask on softwarerec SE

Great, thanks @beeshyams... My apologies for being off-topic, I've not used this Android Enthusiasts site before.

Welcome. Test that app if that fits

Google maps has live location sharing, built in.
It works for both, iPhone and Android devices according to Google support
You can set it up in just a few steps:
Open Google maps, in the menu, select location sharing. There, it will ask how long you want to share your location for.  Select until you turn this off and choose an email account to share it with. (Both have to have a Google account to use this feature)
The same is done on an iPhone after downloading Google maps.
Now, every time you open Google maps, it will show you exactly where the other person is located.


text:
Can't move facebook to sd card by lucky patcher
I have Android Kitkat OS on a mobile which is rooted. After root I had installed Lucky Patcher to move non-movable apps from phone to sd card memory. Some apps moved successfully but couldn't move facebook. It is showing following error while moving facebook-

How to resolve this error and move facebook successfully?


text:
Add external calendar to Google Calendar
I have a Google Pixel 2 and I would like to add an external calendar to my Google Calendar.
If I use my computer, I can login into my Google account (the same account I'm logged in with my phone), go to the apps and open the Google Calendar. Once there, I can add a new calendar by providing a URL, and automatically the new events of that calendar are added to Google Calendar.
I was expecting to see those events in the Google Calendar of my Pixel 2, but they don't appear. What am I doing wrong?

Have you tried the obvious, like selecting the calendar in the menu on the left, while in the calendar app?

That's the thing, in the website I can see the new added calendar on the left, under the "Other calendars" section. But in the mobile app that calendar doesn't appear. I only have two options, "Birthdays" and "Holidays", which seems to be two predefined calendars on the mobile app.

I think the Google Calendar app for Android doesn't support that functionality.
From a computer:

I open a Google Calendar, for instance this one
I click on the  button.
That calendar gets added to my Google Calendar.

From an Android phone:

I open a Google Calendar, for instance this one
I click on the  button.
The Google Calendar app opens and displays the message "Calendar couldn't be added".

According to the response from a Google representative, "there isn't an option to add external calendars to the Google Calendar app".

This answer is partially incorrect. While it appears that you cannot add a calendar from a url using the app, you can view a calendar that you have added via the desktop calendar, using the app. See Susan's answer for details. https://android.stackexchange.com/a/216608/300843

From Official Google Support - Calendar Help - Fix sync problems with the Google Calendar app,

Check that Calendar is synced

Open the Google Calendar app Calendar.
In the top left, tap Menu Menu.
Tap Settings Settings.
Tap the name of the calendar that isn't showing up. If you don't see the calendar listed, tap Show more.
At the top of the page, make sure Sync is on (blue). You'll only see the Sync setting for calendars you've created, but not your primary calendar (this is usually called "Events" unless you've changed its name).

Note: It might take some time for your events to show up after you turn on sync.

I found a useful Youtube video helping me with what I assume is the same problem.
What is explained in the video is that in the Google Calendar app, if the calendar doesn't show in the list of calendars, try to open settings and scroll down and find the link "show more", where you should be able to find the calendar you are looking for. Simply click on it and turn on sync.
It worked for me with a calendar I had added via URL to my Google account on desktop.


text:
Failed smartwatch company, new phone, cannot register app on new phone because server shut down
I have an Olio Smartwatch that I bought on a deal a day site last year. I has worked great up until me getting a new phone. I have to register the watch to the phone app on my new phone. In order to do this, I have to login to the olio server, which has been shut down since the company went out of business. The watch works with the old phone, but not with the new. Is there a way that I can move all of the app data to the new phone and bypass the registration? Or am I screwed?

You could try to transfer the app including its data using [tag:adb] backup. Not sure if that works out completely, but it's worth a try.


text:
Why doesn't my Android 7.0 smartphone have Ambient display?
I'm trying to figure out why my Android smartphone isn't showing notification on the lock screen when I receive a new Skype message. After some researchings, I found that it seems to have something to do with a featured called "Ambient display".
As this article explains, Ambient display is a feature introduced on Lollipop (Android 5.0) and above, and it wakes the device and light up the display for a few seconds when new notifications arrive.
My Android version is Nougat (Android 7.0) so it is supposed to have Ambient display. But after I followed the instruction of that article and went to Setting > Display, I cannot find any option called Ambient display.
Why doesn't my Android 7.0 smartphone have Ambient display?
== Edit ==
My device is CAT S41.

I am not familiar with this device specifically, but it is not unheard of for OEMs to disable certain Android features... Ambient display being a common one, often due to the type of display panel or issues with battery consumption on some devices. The only thing you can really do is complain to the OEM/Vendor, although it is unlikely, they could enable it in a future update.

Your device doesn't have it as per the manual you can download from here
But it does the Ambient  light sensor as mentioned here

Reasons for not enabling it are best known to OEM and you can ascertain from them and also request for inclusion in future updates (unlikely they would heed your request)
Edit
As suspected it doesn't support. Chat screenshots

Thanks. "Not being mentioned in the manual" doesn't necessarily mean "Not having it". It's likely that it does not have it, but we need to wait for the OEM's response before making the conclusion. Besides, "Ambient light sensor" does not seem to be related to "Ambient display".

Thanks for reaching them out. They also responded to my email and said Ambient display does not come on their Android nougat phone as standard. So it is confirmed that CAT S41 does not have the feature.

Okay. I just deleted it.

To answer your question what you need to do is in the settings go to "My device" press "Lock screen" then "Screen lock" as if you are going to change your password/code etc. then highlight "Show all content" that will make all notifications appear when you turn on your phone even if you don't unlock it.

Thanks. I had already enabled it. But the issue remains.


text:
Able to open existing files, but cannot download any new ones (e.g., pictures from Chrome or camera app)
My (unrooted) Moto G4 currently has a 32Gb SD card formatted for internal storage. I can open files stored on the SD card (e.g., pictures, ebooks, etc.), so as far as I can tell the card itself is working fine. However, whenever I attempt to download a file in Chrome I get the following error: "download failed missing SD".
I thought this might be a problem with Chrome so I removed and reinstalled the app, but that didn't solve the problem. I also ejected the SD card, and then later remounted it, but I still got the same download error each time. It was at this point I realized that I can't save any new files to my phone. I can open old pictures, but I can't take a new one with my camera app. I can open old documents, but I can't save a new one in the Microsoft Word app. I even tried restarting in safe mode and I'm still having the same issue. The only thing I can download are new apps from the Google Play Store. Bizarrely, I can move apps from the SD card to phone storage, but not the other way around.
I've combed online forums and talked with Motorola tech support, but nothing has helped so far. Any help would be much appreciated.

I finally managed to solve the problem. Although ejecting the card did not work, choosing "forget SD" in the storage options solved the problem immediately (fair warning to others, this did delete all data on the SD card). It seems that although I was able to access files on the SD card, it had still become corrupted.


text:
make google voice forwarding number the same
I have a tasker script that triggers based on number. Is there a way to keep my Google Voice number the same? I am giving my Google Voice number out to the public and I don't want anyone to know my real number. If Voice can't do this, is there another way?
Edit:
I am sorry, what I am trying to do is forward sms based on Google Voice. I already have it set up in Google Voice to forward any SMS it receives over to my personal cell, however, the number it uses keeps changing and I have a tasker script that then forwards that SMS to another number. I am use Google Voice because I don't want to give out my personal cell, and the number that I need to forward to is a short code which Google can't do. –

I find this confusing and unclear what you are asking... Your Google Voice number doesn't change, it will always be the same. What exactly is your question?

Where does Tasker come in? Can you explain that. And please explain the rest of the question.

Trying to read between the lines, and I'm thinking that maybe what you're trying to do is, when someone calls your GV number, and it forward to your real number, you want your phone to display the callers number instead of your gv? Is this a good guess?


text:
Unable to download any apps whatsoever from google play store
Recently I found an issue with downloading apps from the play store. I am able to select the install button, and it goes to the loading bar without issue, but stays in that indefinitely. I left my phone overnight for several hours, to wake and find that an app has yet to install. It does not show a progress bar, but instead consistently says it is “downloading”. I am running Nougat on an Asus ZenFone Deluxe. There are no current patches or updates issued as of today that I write this post, so I cannot download a new update and hope that this is some bug that will be fixed. I have tried force closing the app, changing networks and connecting through wi fi and cellular, as well as clearing the cache for the google play app. I checked that the phone connected to the internet through using the web browser, which worked perfectly fine.
Addition 1: As suggested by a comment, I cleared my data for Google Play as well. Had no effect.

Cleared the data, still hasn’t helped :(

Restarted your phone?

Yep, I did that too

I’ve restarted it several times. Should I just do a factory reset? Everything is backed up to the cloud anyways, and I don’t really have any documents on it or anything that I couldn’t afford to lose.

you can try downloading apps from a browser on play stores website, otherwise i can't think of a suggestion other than factory reset

Try uninstalling all updates of play store and connect to Internet for updation and see if that helps

Tried that, still hasn’t worked ;(

Ok. Now it works....maybe networks were the issue? All the networks I use have Been spotty.


text:
How to track a androids location using phone number?
Okay so my phone was stolen and is off locations off whatever can't track. But I do know who stole it and I do have his number is there a way to track his phone?

There is no way to track his location using just a phone number, unless you are law enforcement or a hacker. If you know who it is, and you have proof, why don't you report him to police?

Cause we used to be real close and I don't want to get him in trouble he is just going through a hard time I just want my stuff back the phone he took is a moto z force

A court order is required to track a cell phone by phone number/IMEI number, and must be requested by law enforcement... Otherwise, no. And that "hacker" thing isn't real, hackers can't track a cell phone by it's number, that is just in movies and on TV.

@acejavelin by hacker I could mean any level of hacking which includes hacking the NSA system (good luck with that...)

There is no way for a law abiding citizen to track the location of a phone by using the phone number.
Your options are to report the theft to law enforcement and see what they can do. Or contact the person on your own, and hope they give it back.
Both options will work better if you have some proof that this person stole the phone.

(I don't want to let you down, but the chances of law enforcement putting too much effort into a lost phone, are very small. They will most probably not be able to go as far as getting a warrant to search for the location of the thief, as pointed out by @acejavelin in a comment)

To be honest, unless the phone was used in relation to committing a felony or in the hands of a suspected felon, the chances that law enforcement will get the OK from a prosecuting attorney to request a court order to locate the device is slim to none. I have worked for a regional carrier in the past, you would be surprised how little this happens, in 10 years I think we only saw a court ordered locate once and that was because a possible child abduction if I recall correctly. Maybe it's different where you live, but a stolen phone is pretty low on LE's priority list.

@acejavelin agreed. That's why I said "and see what they can do" more about getting the list phone and not tracking the person. But yes, a lost phone is not something they'll going to put too much work into, if any..


text:
Opening .memo files from Samsung default memo app
I have .memo files on my PC from the default memo app on a previously owned Samsung phone. When opened in Notepad, the files do not contain plain text. How can I recover the contents of the memos?

By using VLC player or downloading Samsung Note for PC as mentioned
here
Related methods mentioned here for export - see Husni's answer of zip file solution and others
How can I export Samsung memos?

I wrote my own "memo2txt" converter in Python. Here is the script (first you'll need to install Python libs using pip):
import os
import re
import glob
import zipfile
import xmltodict
from datetime import datetime

MEMO_PATH = r'i:\MY\PROGRAMMING\AndroidMemoExtracter\MemoFiles'
RESULTS_PATH = r'i:\MY\PROGRAMMING\AndroidMemoExtracter\Results'

memos = glob.glob(MEMO_PATH + '\*.memo')

for i, memo in enumerate(memos):
    print('{}/{} - {}'.format(i+1, len(memos), memo))

    try:
        # Extract *.memo file and read the content
        archive = zipfile.ZipFile(memo, 'r')
        memo_content = archive.read('memo_content.xml').decode('utf-8')
        cleanr = re.compile('&.*?;')
        memo_content = re.sub(cleanr, '', memo_content)
        memo_content = xmltodict.parse(memo_content)
        text = memo_content['memo']['contents']['content']

        # Generate filename from memo timestamp
        timestamp = int(memo_content['memo']['header']['meta'][2]['@createdTime'][:10])
        date = datetime.fromtimestamp(timestamp).strftime('%Y-%m-%d %H-%M-%S')
        file_name = '{}.txt'.format(date)

        # Save file as a *.txt
        with open(os.path.join(RESULTS_PATH, file_name), 'w', encoding='utf-8') as file:
            file.write(text)

    except zipfile.BadZipFile:
        continue

inspired by beeshyams, here's my version ...
on my Samsung J3, the memos are in an MTP drive somwhere like ...
SAMSUNG Android/Phone/ShareMemo/*.memo
the source xml looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<memo Version="1.0">

<meta title="==PROGRAMMING=="/>
<meta favourite="false"/>
<meta uuid="85f94ab2-77a8-XXXXXXXXXXXXXXX"/>
<meta createdTime="1551038092051"/>

<contents>
<content><p value="memo2" >=====</p><p>https://medium.freecodecamp.org/</p><p>=====</p>
</content>
</contents>
</memo>

I run this xslt transform over it ...
 <xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

     <xsl:variable name="s1">

      <![CDATA[
       //https://stackoverflow.com/questions/847185/convert-a-unix-timestamp-to-time-in-javascript
       //https://stackoverflow.com/questions/5292372/how-to-pass-parameters-to-a-script-tag
       var ts = document.currentScript.getAttribute('timestamp')
       document.write(""+ts+":   "+Date(ts).toLocaleString());
     ]]>
     </xsl:variable>

     <xsl:template match="/">

          <meta charset="UTF-8"/>
           <title>
            <xsl:apply-templates select="memo/header/meta[@title]"/>
           </title>

           <xsl:apply-templates select="memo/header/meta[@title]"/>

          <xsl:text disable-output-escaping="yes">
           <![CDATA[ — ]]>
          </xsl:text>

           <xsl:apply-templates select="memo/header/meta[@createdTime]"/>

           <xsl:apply-templates select="memo/contents"/>

     </xsl:template>

     <xsl:template match="memo/header/meta[@title]">
      <xsl:apply-templates select="@title"/>
     </xsl:template>

     <xsl:template match="@title">
      <xsl:value-of select="."/>
      <xsl:if test="string-length(.)=0">...</xsl:if>
     </xsl:template>

     <xsl:template match="memo/header/meta[@createdTime]">

     </xsl:template>

     <xsl:template match="@createdTime">
      <xsl:value-of select="."/>
     </xsl:template>

     <xsl:template match="memo/contents">
      <xsl:value-of select="content" disable-output-escaping="yes"/>
      <xsl:if test="string-length(content)=0">...</xsl:if>
     </xsl:template>

 </xsl:stylesheet>

using lxml from python..
import os
import glob
import zipfile
from lxml import etree

import sys

if len(sys.argv) < 3:
    print('python3 convert_memos.py <memo-dir>  ')
    sys.exit()

MEMO_PATH = os.path.join(sys.argv[1], '')
HTML_PATH = os.path.join(sys.argv[2], '')

xslt_src = '''[see xml above]'''

memos = glob.glob(MEMO_PATH + '*.memo')

for i, memo in enumerate(memos):

    try:

        archive = zipfile.ZipFile(memo, 'r')
        src = archive.read('memo_content.xml').decode('utf-8')

        xslt = etree.XML(xslt_src)
        xml = etree.XML(str.encode(src))
        transform = etree.XSLT(xslt)
        result = transform(xml)
        root = result.getroot()

        html = etree.tostring(root, pretty_print=True).decode('utf-8')

        filename = '{}.html'.format(os.path.basename(memo))
        filename = os.path.join(HTML_PATH, filename)

        with open(filename, 'w', encoding='utf-8') as file:
            file.write('<!DOCTYPE html>')
            file.write(html)

    except Exception as e:
        print(e)

outputs something like ..
<!DOCTYPE html>

    <meta charset="UTF-8"/>
    <title>==PROGRAMMING==</title>

        ==PROGRAMMING==

    —

=====

https://medium.freecodecamp.org/

=====

I am forking @Alderven 's version to import the media files, and convert the emojis to proper UTF-8 characters. That way they are easy to import to Notable (on the Linux desktop) and sync back to Markor (on android). I posted this on my Github https://github.com/morciej/memo2html -- feel free to use.


text:
Need help. Touchscreen not working LG G3
Here's the deal, folks.
I've been having trouble with my LGG3. I initially had blue screen of death but I solved it by putting the motherboard in oven for 10 min.(Amazingly worked)
Had to do it often over last 3 months because occasionally the LGG3 heats up & loses wi-fi when I use google maps.
In my latest attempt to fix the wi-fi I put the motherboard in the oven again and I fixed the wi-fi, but now the touchscreen does not respond. I get the hardware key control mode message when I power off/power on.
Is there anyway to fix this problem, so I can use the touchscreen again?
If there is no solution, is there some way to retrieve all my data and information from the phone? Whenever I plug it into my computer the cell asks me to give my PC permission to access the phone, but because I can't use the touchscreen I can't give it permission.

To answer the part about using the phone even though the touchscreen doesn't work:
You can use an OTG cable, to plug a computer mouse into your phone and you will then be able to navigate through your phone with it. This way, you'll be able to allow your phone to connect to your computer.
Here's an OTG cable that will allow you to connect your phone to the computer while having the mouse connected.


text:
Top down menu items gone
So this is a little stupid but I did something that caused all of my items in the top dropdown menu  to disappear and there is only a wifi icon left.
When I press edit it doesn't change anything, I have no idea what I did. I've never seen it do this before.
I'm asking here because pretty much anyone I ask is kind off baffled and doesn't know what is going on. Maybe it's a bug?
It somehow happened while pressing a notification
Info:
ZTE Axon 7
Android 7.1
MiFavor UI 4.2

@beeshyams The cog is spinning but it appear to open the settings menu afterwards, can't find any UI tuner either.

I am able to go into UI tuner via Nova launcher widget and then searching for the system UI activity and dragging demo mode into the screen. But I don't see any options here that would help me.

@beeshyams To be honest, not even LineageOS has the Settings cog behaving that way.

Sorry can't help further. Huawei users would be better placed to help

@DeathMaskSalesman: Thanks. Guess I am mixing up things// Florian -sorry for the trouble and misdirection

@beeshyams what do you mean with huaewei users, is that a part of this site?

No I meant users who are familiar with that brand and UI of Huawei devices - those users can probably help is what I meant


text:
Android Auto apps don't interrupt radio
When listening to the radio in car, with Bluetooth handsfree, the radio is interrupted when a phone call comes in but not when I play spotify or other apps (Google maps, Tunein radio or others) from Android Auto app on my Nexus 5x.
This forces me to change the car radio input to Bluetooth manually.
The apple version of Google maps has an option to "play audio over bt as phone call" and will interrupt the radio but this option is not available in the Android app.
Any suggestion?

Sound about is well recognised . May help you

Sound About crashes on Nexus 5x Android 8.1


text:
Are recent emoji on Samsung Keyboard my own or from group chats?
Are the recent emojis on my Samsung Galaxy 7 Edge keyboard my own recent ones, or from people using them in group chats, like Facebook Messenger or WhatsApp Messenger?

The recent emoji tab on the Samsung keyboard, display the most recent emojis that you've used with the keyboard. You can test it simply by selecting a new emoji, and you'll see it appear in the recent tab.
In the screenshot, you can see I'm in the recent tab, and it displays the emojis I've selected in the other tabs.

So its can only be what I've used? Emojis sent to me through group chat don't show in my recent?

That's correct. Any emoji that you clicked on, even if you didn't send, will show in recent. Nothing else

This was submitted over 4 yr's ago, and Samsung would have upgraded their phone use with emoji's, but none of the Samsungs I have "Glaxy A21; S21" ever had anything called a "Recent emoji Keyboard", they also did not show the most recent emoji's used when I clicked to place an emoji in a text message.
This article is incorrect.

The question is about an S7, not an S21, so it cannot be described as incorrect.

I think there's a misunderstanding here. The keyboard is not called "Recent emoji Keyboard" but "Samsung Keyboard". I just checked on Samsung Galaxy M12, Android 12, and Samsung Keyboard still has "recent emoji" on their emoji section.


text:
Permissions to run any app
I am looking for possibility to run only:

phone
chrome
camera
music player

on Android device. I want to check app first before I decide to give permission to run it. I want to run Phone app but I want to block SMS app and all other messaging apps.
How can I set it up ?
The purpose is to give the smartfone to the kid but with very limited options, so it's not using messaging and other chat apps , the only way of communication is just phone call but also I want her to have a Web Browser and phone Contact list, Camera and some Music apps so she can use it as a player anytime.
No distracting apps loaded with ads, no texting, no notifications.
Please help with the simplest solution for that.
Thank you

What you're after is called "kiosk mode" (I've adjusted your tags accordingly). There are specific "app-lockers" for that you could check with. Not sure if the on-board functionality of "restricted profiles" would suffice for your needs.

You can use kiosk mode for that. The simplest way to set up kiosk-mode on Android is to use Google's Android Management API which works for any Android devices running Android 5.1 or above.
To lock the device on one app, or on multiple app, you define a kiosk policy like below, it will disable the navigation buttons (sample copied from Create a policy):
"applications": [
 {
   "packageName": "com.example.app",
   "installType": "FORCE_INSTALLED",
   "lockTaskAllowed": true,
   "defaultPermissionPolicy": "GRANT",
 },
"persistentPreferredActivities": [
  {
    "receiverActivity": "com.example.app/.com.example.app.MainActivity",
    "actions": [
      "android.intent.action.MAIN"
    ],
    "categories": [
      "android.intent.category.HOME",
      "android.intent.category.DEFAULT"
    ]
  }
]

Hi Fred! We are an end-user oriented site so we naturally expect answers catering to such users only. Please visit [help] for more information.

May I ask you to paste here JSON with settings for this API and tell me where should I place it in my device ? The settings should only run those 5 apps I mention in my questions.  Thank you in advance.


text:
How to register/invite a communication partner in Signal on LineageOS?
I used Signal once on CyanogenMod and it didn't make me think during the registration. Now that I want to recreate a secure communication with my previous communication partner on LineageOS (OS reinstallation) I face the following problem after installing Signal from the Google PlayStore:

I can send SMS invitations and receive them. They contain an obfuscated HTTPS link which is opened in the default browser which redirects to https://play.google.com/... from https://signal.org/... and offers to "Open in Play Store App" which redirects to https://play.app.goo.gl/... (a phishing scam? And if not why would anyone choose such a URL?). The problem is that the websites offers to install the app although it already is installed (maybe the web app doesn't have access permissions to that information and always offers to install which would make me think even more).
https://support.signal.org/hc/en-us/articles/219377827 doesn't mention the reception of SMS and doesn't like any information how to proceed with it.
Not matter which unnecessary inacceptable confusion the first two points cause: there's no way to confirm the invitation because everything ends in the request to install an already installed application. Since I was hoping for better support of using the invitation when using Signal as the system-wide SMS application, I cannot deinstall it because I'd loose all my SMS or at least those exchanged after making Signal the system-wide SMS application. This comes very close to malware behaviour (not all criteria is fulfilled, though)...

How to get started using Signal as secure messenger instead of SMS application and how to undo the setup as system-wide SMS application with as few data loss as possible?
I'm using LineageOS 14.1.


text:
How to remove added ringtone
I have added a new ringtone to the ringtones list in Settings->Sounds->Phone ringtone>Add ringtone. After that I can see the same ringtone file in Ringtones folder of Internal storage. I need to remove this ringtone? For that I have deleted that file from folder. But, the ringtone is still running there. How to remove it.
Device: Moto X4 Oreo 8.0 (non rooted)

If you don't want to see that file, try removing the extension say MP3 and rename it to something else like PDF . That should prevent it showing up. This was a suggestion by Firelord

I have deleted that mp3 file from Ringtones folder. But, still that name(filename) is listed on ringtone list and plays on testing ringtone. Do I need to clear cache of settings app? Similar to above Fielord commented question for alarm sound, and that of mine about ringtone.

If you rename it , it won't be recognised as tone and after reboot when media scanner is forced, it should vanish theoretically. Not tried

Now I just cleared cache and data of file manager. Also, removed the same ringtone from Downloads folder. After, refresh ringtone list got reset. Downloaded file.ogg tone(kept in Downloads folder), set ringtone through settings. It created a new folder named Ringtones and saved file.ogg in it. I have deleted this file(file inside Ringtone's folder). But, only after deleting source(Downloads folder), ringtones got reset. Why?

No idea. That possibly could be a separate question

Don't clear data of Media Storage (System App) as mattm suggested, you'll lose all ringtones and sound effects.
Instead, do a search for the ringtone or sound effect you added using the Files app (comes with Android), then erase it. It'll be removed from the ringtone selection menu without erasing all the other sound files.

That worked like a charm! Thanks! The unique drawback is that the Google Files app will show you all files with the same name and you have to open its detailed information to see where it's in the system folder, before decide to remote it. You have to do that, file by file, until you are sure it's the file in the notification ringtones you want to remove.

I can help you because I also hate the this problem.
You need clear data of Media Storage(System App)
1 - Go to "Settings > Apps"
2 - You need enable "Show system apps"
3 - Search and open "Media Storage"
4 - Click in "Storage > Clear data"
5 - Reboot your phone for enable default config.

This is tried on an Asus Zenfone Max Pro M1 running Android 9. Inspired by Joao's answer I didn't use the Files app, but connected the phone to a PC using USB cable in file transfer mode, and then used Windows Explorer search to find the file.
Found the folder containing the file: \Notifications. If you delete from this folder, your file will be gone from the list of ringtones.

Open your file browser, find music (and its file path) which you like to remove from ringtone selection screen. Beware of duplicate file.
After you find it, please rename the song; add a symbol or character at the beginning or the end of the file name(s).
Now, open ringtone selection screen. The system will not found file(s) and remove them from selection list.
After those files are removed from the selection list; reopen the file browser, rename back to the original name.

You might want to check a path in Main Storage called Ringtones. It might include added ringtones, so removing them from this path could remove them from options.


text:
Boot looped on my Lg V20
I have an Lg V 20 that is stuck on Lg logo in other words boot looped can someone please tell me how to fix this thank you your help is highly appreciated


text:
Improving horrible screen-on battery life
My HTC 10 is doing horribly when it comes to screen-on battery life after its update to Android 8.0. Average screen-on battery time is 1 hour and 15 minutes.

I've tried most I could: turning off animations (which were bugging anyway) and doing some screen brightness tricks. However this is not good, my phone used to be better before the 8.0 update.
Any tips?

What have you tried? Have you wiped the cache partition from recovery or performed a factory reset? After a major Android update it is not uncommon for a factory reset to be necessary.

Try what ace said.  But IME there is nothing your can do unless you can install the original factory OS onto the phone(which is only available for Pixels and unlocked phones depending on where you bought it).  You need an unlocked bootloader(different then unlocked carrier phone) and frankly the battery may even just be bad.

Decrease your screen brightness, makes a huge difference. Unless you are outside in the sun, you won't need full brightness to see properly.


text:
Facebook - Comment as Page
When on my desktop browser, I am given the option when posting on somebody else's page to comment as myself or as one of the pages I have. But on my Galaxy S7, there seems to be no way to do this.  If I use the Facebook app, the option to "Comment as" is not even displayed. If I open up Facebook on my phone, on Chrome or on Microsoft Edge for Android, the option to "Comment as" does display. But as soon as you click your page, the checkmark automatically goes back to your personal profile. Even tried clicking on the "Desktop Site" option in Chrome, but this does nothing.
Is there anyway to do this?

This sounds more like a question for Facebook support than an Android question. Since it's about how Facebook's website works (or doesn't!), it seems unlikely that this is something you can fix in Android.

@DanHulme - My question though is if I am loading the Desktop site, why would it be any different than on my desktop browser? Is this a User Agent String thing?

Actually just tried installing Dolphin and the "Comment As" worked as expected. Must be some sort of glitch with Chrome and Edge for Android. I suppose it would be nice to know why these mobile browsers don't work though, or if there is a fix for them.


text:
Issues with gmail not recognising Google Play services
I have a tablet that came with no Google (suite) applications however I  managed to install them manually and are working pretty fine. The only issue is with Gmail application which seems to have problem with Google play services.
Everytime I open the Gmail application it shows a rather awkward, uncommon error meassage that reads: Gmail relies on Google Play services, which is not supported by your device. Contact the manufacturer for assistance` and I can't sync new emails or send new mails.

In my opinion this is a false alert, since other Google applications, work well and seem to interact well with the Google play services.
Previously to solve this issue with reference to Gmail, I have ditched Google play services in support of microG which works well with Gmail (version 6.4120760496) (as in I can sync new inbox messages and send mails from within the app).
However microG still misses some important aspects which is why I tried to switch to using default Google Play services implementation.
Things I have tried to resolve the issue:

clearing cache/data for Gmail, Google Play services, Google service framework
factory rest
ROM flashing (initally works but after some period of use the error shows up again)
Updating to latest Google Play services
Wiping cache
Unistalling and reinstalling Gmail (initially works but error starts showing after some time)

Any way to fix this?

This isn't really deserving of an answer but why not try EasyMail or some other client.  I don't particular care for the default Gmail interface anyways.

Thanks William, I also have been considering alternatives even Outlook mail if doesn't give me problems

I believe it might not be a false alert... Your tablet may not be certified for Google Play, and that's probably why you are seeing this message.
Try this:

On your computer browser, go to the Google Play Services app page on the Play Store: https://play.google.com/store/apps/d...roid.gms&hl=en. Click the Installed button, and see if you can select your RCA tablet to install to.

Got it from here

But then other apps work fine,also I have already installed google play services on my device and only gmail is problematic


text:
How to use -net-tap with android sdk emulator?
I am trying to create a bridge between android emulator (from android sdk) and host system using -net-tap. Is there any working manual for that case? I have tried to launch emulator with -net-tap tap0 - tap0 appeared in host system, but no one interfaces appeared in guest android. I also tried
-qemu -net tap,iface=tap1,script=no, but it also doesn't work. I checked /proc/kmsg, there are no anything connected with new interface.
Full cmdline looks like /opt/android-sdk/emulator -avd test-x86 -accel off -no-audio -net-tap tap0 -qemu -net tap,ifname=tap1,script=no
Does anyone have an idea?

-net-tap tap0

I think -net tap is the old way, use -netdev tap with new android sdk emulator and -device virtio-net-pci for x86 android emulator. For ARM emulator you must use an other device.
And you must install the emulator package with the sdkmanager as this:
sdkmanager emulator

Then you can use the emulator located in /opt/android-sdk/emulator/emulator.
Create a network bridge which include a tap interface (tap0) for the emulator and an ethernet interface (enp0s20u1) connected to a lan network.
# ip addr flush dev enp0s20u1
# ip link set enp0s20u1 down
# ip tuntap add dev tap0 mode tap user $(whoami)
# ip link add br0 type bridge
# ip link set enp0s20u1 master br0
# ip link set tap0 master br0
# ip link set enp0s20u1 up
# ip link set tap0 up
# ip link set br0 up

A quick overview of the bridge.
# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.0050b609a5d1       no              enp0s20u1
                                                        tap0

Start a dhcp client on the bridge:
# dhcpcd br0

Then you can plug the tap interface (tap0) to the android emulator via -qemu options when you launch the emulator.
./opt/android-sdk/emulator/emulator \
  -avd android_25_x86 \
  -verbose -no-window \
  -qemu \
  -device virtio-net-pci,netdev=hn0,mac=52:55:00:d1:55:51 \
  -netdev tap,id=hn0,ifname=tap0,script=no,downscript=no

Normaly a new eth1 interface is present in the android emulator. And you can run the dhcpclient binary if it present or configure static route to your network, then it work.
generic_x86:/ # ping -c 1 -I eth1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.1.60 eth1: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=17.1 ms

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 17.160/17.160/17.160/0.000 ms

But I have some issues to ping the emulator from the outside or route all the traffic in the emulator to the host network, see my other post.
Connect android emulator to lan

I get RTNETLINK answers: Device or resource busy when I call ip link set enp0s20u1 master br0


text:
Update failure for Redmi Note 4
We have two Redmi note 4 phones. In both of them the official update for miui 9 also android nougut (same package total of 1.3 GB) came. In one of the phone it updated smoothly but in the other phone it is displaying - Try using full rom
Interesting fact is that the total 1.3 GB package everytime gets deleted after unsuccessful update attempt
Tried many times not functioning.
Please help to fix this bug.

Why don't you contact the redmi officials through email, or call them up?


text:
Limit storage usage of an app
How to limit how much space an app can take ?
Facebook, for example... Keeps caching useless stuff on the background
Dont care if it breaks functionality
Have xPosed if needed
Edit:
Somehow, android tells the apps when there's no space left
Maybe someone can clone this functionality to fool the app

I am rooted. Any suggestions for that case ? I tried many times FB lite. It's horrible.

I have not done this with FB but this comes to mind http://www.droidviews.com/increase-file-size-limit-whatsapp/

Not only that. I noticed that power consumption grows with the size of the internal data used by the App (any large app).


text:
Android Wifi Roaming always on
I have a problem with an Android device with multiple access points.
The device loses the connection to the Wlan network sporadically.
If I make the following setting, the wlan connection will persist permanently.

"Developer Options"
under System Turn on "Allow Wifi Roaming Scans"

After a restart of the device this setting is deactivated, is there a possibility to leave Wifi-Romaing switched on permanently?
Android 6.0
not rooted


text:
samsung odin twrp recovery
I have exactly the same problem of this question:
After flashing TWRP with Odin, nothing happens and the OEM recovery is still there
The problem is the answer is not valid for me, my volume buttons don't work.
Is there another way to do it without using vol+?

This is assuming you can still boot the phone like normal since your question did not specify if it could or could not boot.

boot the phone normally
enable USB debugging
connect to computer by cable
from the computer, run adb reboot recovery
phone reboots directly to recovery

Done!