text:
Galaxy S3 GT-I9300 Stuck at Samsung logo with no recovery and no download mode
Background:
I was having CWM recovery with custom ROM "CyanogenMod" and recently I flashed "LineageOS" successfully but I noticed that phone internal storage is being occupied by previous ROM files and folders so I tried to delete everything to have a phone in clean condition with only "LineageOS" files. By mistake I format /boot, /system, /data, /cache and /sdcard and after that I reboot to system.
Weird Stage:  (don't know if its soft brick or hard brick)
:( At this stage, my phone stuck at Samsung logo with no access to recovery mode and download mode. I tried

Volume up + home + power  = No recovery mode and
just Samsung logo
Volume down + home + power = No
download mode and stuck at warning screen with a yellow
triangle but pressing volume up is not entering to download mode

:(
 Also, phone is not detected by Odin or ADB in PC with having correct Samsung USB drivers and also tried Kies but phone is not recognized by pc at all.
I tried some solutions like

flashing debrick.img into SD card and try to boot with it but no success
pulled off the battery for many hours and after putting it back have no success to access download mode
Tried with different USB cables and different OS like Windows 8, 7 on different PC

Update:
With the help of @esQmo_
I just found that Volume up button is not working and thats the whole reason why Recovery and Download mode are not accessible. Can I do something directly from SD card to boot into recovery or download etc?

Does your volume up button work? If i'm not wrong, Download mode never fails to boot into.
Let's assume it is not working and in this case, you'll need a way to force boot in download mode.
There are two methods I could find:

Using a USB JIG (and here)
Using a software called Samsung 300K Tool (Video)

After that, flash stock firmware and everything should work now.
Other solution would be replacing the volume buttons flex cable or making jumpers from the volume contact to the motherboard. Schematic below:

And

Source: gsmhosting.com

Yes you are right. I just found that Volume up button is not working and thats the whole reason so Recovery and Download mode cannot opened. Unfortunately USB jig is not available in my area and I tried Samsung 300k tool but its not working due to mobile cant recognized by PC. I think at this time replacing the volume flex is the only solution to access Recovery or Download mode. Can I do something directly from SD card to boot into recovery or download etc?

There is a way to make your own JIG as explained from the video link I posted. Do you think the flex cable is broken or key button is simply not working caused by bad contact ? You should disassemble the phone to have a look. Look for video tutorials on YouTube

Yes I disassembled and checked and pulled the volume button and tried to press volume with tweezers and I found Volume down is working but volume up is broken, so I think flex cable need to be replaced to make volume work. Yes I saw that video and I am not so expert in hardware thing but I will try to get resistor and try once.

Or you could make jumpers from volume up to the motherboard, it requires only 2 wires

Can you explain a little more about jumpers way ?

I've attached schematic as what to make jumpers from. You need soldering iron and stain

So to be sure I need to connect wire one end to volume contact and second end to motherboard contact R427 right ?

If the only the flex is broken, connect one wires end to the contact and the other end to the cable  connector pin (see upper image)

Also, consider asking more help on the forum linked in the source.

I finally replaced speaker/volume flex and now volume up/down both working. I am now able to enter in recovery & download mode. Many thanks for pointing in right direction.

You're welcome, glad that I helped.


text:
Reset my android device password using android device manager
I'm android Marshmallow user. and I want to resent my password using android device manager. I signed in my google account and went to google's android device manager and it's not showing any option to reset the password.

I went through some tutorial on google and they've shown this option with screenshot. But i'm enable to find it right now. can somebody pls help
thanks in advance

Resetting pattern / password using ADM is possible for devices running 4.4 or lower only . Also see this on Google forums
Your way out is to reset your device after logging out of the Google account to prevent factory reset protection issues or keep guessing the password till you get it right

Here’s how to Unlock your Android device using Android Device Manager.

Get on your PC or borrow a phone or tablet from a friend and go to "Forwarding ...".
Sign into your Google account that you use on your locked phone.
Choose the phone you want to attack in Android Device Manager.
Choose "Lock".
A window will appear, which will prompt you for a password. Enter a new password.
Hit "Lock" a second time.
You'll get a confirmation message if everything went right.
Unlock your phone with the new password.
Finally, go to your phone's settings and remove the new password unless you want to keep using it.
Unlock your Android lock screen pattern with your Google Login (only works on Android 4.4 and older versions).

However the asker is running Android 6.0 Marshmallow.

source: Stack Exchange

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

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

sort: votes


text:
My tablet will not turn on. Please Help!
The screen on my tablet just won't turn on, but I was told there is a fix for it. I made sure it was charged but it did nothing.
It didn't turn on when I tried to get on it, and I hadn't got on in 2 weeks.
Please Help!!!
NeuTab N7 Pro is the tablet.

"I was told there is a fix for it" Presumably you were told this by someone you described the whole problem to? There's not enough information here to help you. Please [edit] your question to describe when the problem started and what you've tried.

Is that better??

If you could unhold this so I can answer this. I found the issue.

The problem was that there was a rip in the connection from the charging port to the battery. The solution is a new battery.

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


text:
Dual sim unlocked Galaxy S9 - is it able to run Verizon AND T-Mobile simultaneously?
The Galaxy S9+ supports dual sim cards.  If buying an unlocked one, can it have both Verizon and T-Mobile running on it at once?
Also, if so, how does it know which one to use for data like if using tethering?

I don't know about the S9, but most dual-SIM phones that I've seen only use the secondary SIM for calls and SMS, and not data. It's essentially just a means of providing a second phone number for the device. Only the primary SIM is used for data.

@eldarerathis Okay, thanks.  Do you know if it would be able to use both T-Mobile and Verizon for calls and SMS?


text:
Hotspot timeout setting in android Nougat
Where can I find hotspot timeout setting on android Nougat? (I am using Redmi note 4 phone).
I cannot find it anywhere in the hotspot section of settings. Problem is I turn it on and then I forget to turn it off at night. The hotspot keeps running all night and I lose battery for nothing. It would really be bad if it was removed in Nougat :(
I searched for the solution but everyone who asked question related to this want to turn the hotspot timeout off and not on.

You can, alternatively, use an automation app like MacroDroid or Tasker to turn off the hotspot at a set internal or time or event.


text:
LG G6: Remove the "Clear All" button from the recent apps menu
My LG G6 has a "Clear All" button in its recent apps menu which annoys me big time because I often hit it accidentally. Is there a way to remove it?
I found a petition on Reddit, and a manual workaround (pinning the apps you need most), but no complete solution.

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


text:
Shell: get battery voltage_now if power were not connected
I am trying to make my device stop charging (echo 0 > /sys/class/power_supply/battery/charging_enabled, the easy part) when the battery's voltage reaches 3920000 µV.
Using cat /sys/class/power_supply/battery/voltage_now or dumpsys battery, I can also tell that the battery is at a certain voltage, like 3916000 (in µV). When the device is not charging, this number is the battery's charge voltage, the number I want. However, when the device is connected to a charger (DC out is normally 5V), this value is neither the battery's voltage, nor the input voltage, but some value in between, because of how charging works.
Because the voltage_now does not reflect the battery's rest voltage when charging, and this number is dependent on which charger I use, I cannot obtain the number I need (3920000) whenever the device should stop charging. So apart from pulse charging and sampling, how should I get the battery's non-charging voltage from the shell while charging?

Note: "manually calculating the battery percentage when the voltage is 3.92V, and then stopping charging when /sys/class/power_supply/battery/capacity reaches that number" is not a satisfactory answer or workaround.

I don't know if voltage can be read and not sure that is a reliable way of doing it (what if the battery ages and cannot reach full voltage on full charge?). Alternate method to do that is mentioned in my answer here https://android.stackexchange.com/q/167260/131553

The voltage is reported by voltage_now and it is the battery's current voltage as advertised, but I want the "rest voltage" of the battery if the cable were unplugged at that instant. The rest of the task involving charging_enabled is already implemented the same way as your previous answer.

You may like to look at the Magisk module used in this answer. But the kernel needs to support this https://android.stackexchange.com/q/223812/131553


text:
Enable notifications for some emails in gmail application on Android
I am not sure this is good place for this question, if not, if you could please route me to right page.
So the thing is, I have android phone, and I have GMail account, and application GMail installed on my phone. I get notifications but only for mail that is arriving in Primary Inbox.
Since I am programmer and I have my team on my job and we are using GitHub, and any time someone changes something in the project I get email notifications. But, this email notifications goes into Forum section, and I do not get notification on my phone?
Is there any way I can change settings so that emails from GitHub still get into Forum section but for me to get push notification of GMail application informing me I have new email from GitHub...?

To enable notifications for Forum emails, follow the steps below:
Open Gmail → open the menu on the top left → settings → youraccount@Gmail.com → manage labels → forums → label notifications "on", notify for every message "on".
You should now be getting notifications for those emails.

Oh I see, I can as well create new label only for GitHub and get notifications only for those emails, as I do not want to get notifications for all messages that arrives in Forum section, thanks

Also if I create a filter for messages on gmail that will star email from GitHub, then they will arrive to Primary Inbox

I'm not sure if your asking or saying. I didn't really experiment too much with staring emails, so I can't weigh in

I am saying, that is what I discovered when I tried to create GitHub label


text:
Lineage OS 14.1; Missing TWRP and 7GB of storage
Yesterday I installed Lineage OS 14.1 + GApps on my Galaxy S2 using one video from youtube.
Links to necessary files were there, so I just downloaded:

odin3 v1.85
lp-kernel-14-03-CWM-for+ODIN.tar
lineage-14.1-20180301-nightly-i9100-signed.zip
open_gapps-arm-7.1-pico-20180306.zip
PIT1GBsystem3gb4gb6gb8gbDATA.zip (I used I91001GB_3GB.pit as it was recommended in video)
recovery-Lanchon-IsoRec-TWRP-2.8.7.0-20160113-i9100-(by-arnab).zip

After installing I went to storage settings and see only one partition of 4GB size available. On the stock ROM there were 11GB of space on sdcard0 (internal storage).
There is no option to format internal storage.
ES File Explorer cannot access the / directory.
How to have 11GB again and access to root partition?
Additionally I looked how to install Root. All the instructions lead to booting in TWRP. But my Lineage OS14.1 has no TWRP recovery, and the standard recovery refuses to install root update (addonsu-14.1-arm-signed.zip). How to root the phone?

The pit supposedly takes space from your internal storage partition to compensate for the lack of /system and /data space.

I got it!
As instructed I flashed lp-kernel-14-03-CWM-for+ODIN.tar and using it's recovery installed then lineage-14.1-20180301-nightly-i9100-signed.zip and open_gapps-arm-7.1-pico-20180306.zip and that was all.
What I should do else is to install recovery-Lanchon-IsoRec-TWRP-2.8.7.0-20160113-i9100-(by-arnab).zip and addonsu-14.1-arm-signed.zip as long as custom recovery works, because after reboot it will be too late.
Now I have root and TWRP and will check what is up with big internal memory.


text:
Why does it take very long to start downloading from the playstore?
It typically take from 5 minutes to hours after I tap on download or update in playstore. Sometimes I can activate downloading process by opening up Google map or Google assistant.

Can you explain the last part?

Is your internet speed fine ? Maybe you are using a VPN to access Store and that is throttling the speed. Is your download fine on other sites? 2. Settings > apps> show system> download manager > storage > clear data and cache. See if that helps

You have not mentioned how you are connected to Playstore. Example Wifi, Broadband or Wifi through a Tether. Its too general a question.
The most common reason in this case is due to the network condition. Try to install at different time of the day. Switch to different networking environment and see the difference.

I don't think Tboxmy can leave a comment so this is really the only option he has to respond.


text:
How to manually activate download manager process via adb or terminal emulator?
Playstore relies on a process called download manager embedded in Android OS, yet it cannot be manually activate resulting in prolong wait time when using secure proxy to download playstore apps. What would be a good way to manually activate download manager via adb or terminal emulator?

I'm afraid no..


text:
My phone is downloading "Google Play", over mobile data
My phone randomly shows the Download Manager downloading "Google play". I usually cancel this download since it seems fishy to me, and that's what my question (asked below) is about. Since this sounds all too common and like many questions posted here, let me clarify what this is not:

This is not a download within the Google Play store.
All apps are up to date in my play store.
My OS was recently updated to Oreo (Samsung Galaxy S8).
All my Samsung apps are also up to date.
As far as I can tell, I have set all updates to happen only on wifi, not on mobile data connections.
The download is happening via Download Manager. Long-press etc shows me info about the default "download manager" app itself, not about what it is trying to download.

This reeks of malware to me, wherein some shady app might have just named itself "Google Play" so that I allow it to be downloaded and run it. A malware scan shows nothing (of course, I aborted the attempted download  so that file was not scanned, but there seems to be no trojan trying to download more stuff) My questions are:

Has anyone seen this issue? Is it a regular deal, so that I should just let the phone do what it wants?
If this is "business as usual", how do I set it to happen on wifi and not on mobile data?
If this seems suspicious, what steps could I take to further investigate / remove the problem?

Have you enabled instant apps? If so, could be download of that

I'd never heard of instant apps, but just found that they were enabled. Just disabled them, let's see if the problem recurs. It did not show me any "recent instant apps" though. Also, this is a download that starts without any interaction from me (i.e. I didn't click something new which would need the use of an instant app to preview, etc). The phone was lying there, and I picked it up to notice a random download. Multiple times.

Read about instant apps. Play store and instant apps download happen without user intervention. Being system apps they are automatically downloaded. There's a question around this too on the site.

Also install this app. Check under com.packageinstaller in the app to see what's been downloaded and update your question

You could use a network monitoring app like Network Log or Privacy Friendly Net Monitor to find out which URL (or at least which server) is accessed by which app (probably the download manager). That might help narrowing it down.

I've installed 'notification history' and 'Network Traffic Monitor' (which did not require root) on my device, I will post updates if/when I catch something there. Thanks !

Update: most likely it was a google play component. Next time the phone went onto wifi, it downloaded and installed a whole bunch of updates. The notification history showed google play and app downloads in the download manager. I forgot to initiate the network traffic monitor :( - so I don't know if they were all from the same IP. But for now, it's done, and I have left logging on for checking if this ever happens again.

Update: I have seen this happen many times by now, and typically right before other apps are updated. I have concluded that this is normal behaviour, just like microsoft office auto-updater updates itself first before updating office itself. If anyone knows otherwise, please respond!
(Posting as an answer, because it seems a lot of people have this issue based on how many views this question is getting!)

Hmm, I had the same activity on my samsung galaxy j1 a couple months back despite the fact that all the apps were updated, and as you said it started downloading apps via the download manager.
Recently an android vulnerability named strandhogg was discovered which potentially spreads via the google play store....
sources:

https://m.youtube.com/watch?v=plP96fPJSa4
https://m.youtube.com/watch?v=ED_xOP2WNXg

Hope this helps "To whom it may concern" into further digging (:


text:
Gesture to repeat invisible recaptcha audio challenge while using TalkBack
When I am on an invisible recaptcha audio challenge (see image below) and I am using Google TalkBack is there a gesture to repeat the voice saying the numbers? When I press the play button focus seems to go to the textfield below and TalkBack describes the change of focus at the same time with the recaptcha voice saying the audio challenge making it difficult for me to hear both voices at the same time and solve the 'puzzle'.
When I use VoiceOver on Mac, if I press ctrl button, the recaptcha voice repeats the audio challenge and I can solve the puzzle without having to hear both voices simultaneously.
Is there a gesture for TalkBack to repeat the challenge without moving the focus somewhere else?


text:
Gmail Auto Suggest Not Working
I installed Lineage 14.1 and then flashed: open_gapps-arm64-7.1-full-20180303.zip on my rooted ZTE Axon 7.
I let the phone do all the updates and checked the permissions for Gmail, Calendar, and Contacts and they seem set properly; however, in Gmail, the addresses of known contacts don't populate on a new email or forward. Similarly the Calendar won't let me choose invitees for a meeting. Contacts and Calendar are properly synced.
I subsequently deleted my Google account and all its data and reflashed Gapps again. This forced Gmail to ask if I wanted auto suggestion (or auto complete). When I tried to click on the option, it feels like it never allowed me to complete the selection. In the app permissions Gmail has access to contacts, and no amount of selecting or unselecting does anything. I can choose to i"add from contacts," but this is very clunky.
I consider the lack of autocomplete for Gmail (and calendar) enough that I might have to nuke the device and go back to stock.
I have googled to find a solution, to no avail. I've also searched the forums. Any ideas?

To fix this, I deleted my Google account from within Lineage OS. I then downloaded the Aroma of Gapps and pushed it to my device. Rebooted into TWRP and wiped cache/dalvik cache and then flashed the new version of Gapps. Aroma allowed me to exclude whichever Gapps I no longer wanted and I then rebooted.
I double checked that both Gmail and Calendar both had permissions to access contacts, but thankfully this process brought back auto suggest.
P.S. there was an issue with contact syncing all the way, whereby I was given the dreaded "Sync Is Currently Experiencing Problems" message. I used the Contacts Sync Fix app in the Play store to remedy this (it worked). It discovered a malformed contact with illegal characters in the notes field (this may ultimately have been the problem in the first place).


text:
I have a weather window that keeps popping up
I have a weather window that keeps popping up. It occurs randomly & wants permission to install. Problem is, it looks me out of doing anything but installing. Only way to not install is restart device.
Galaxy note7 w/ current updates

Screenshot (click to enlarge)


text:
Voice typing in Android for a disabled person with very limited hand function
I have a close friend who is suffering from a neurological disorder similar to ALS (Lou Gehrig's disease).  Over the last year his arms, hands and fingers have weakened greatly to the point where he can no longer type or hold a pen.  He is a writer.  As yet we cannot afford expensive assistive technologies or a full time assistant, so I have been trying to use an Android tablet to help him write via Voice Typing.
He writes in Hindi.
We have done some experiments combining the tablet with an external keyboard that he keeps on a tray (with the tablet on a desk), since lifting his hand up to tap on the screen or to hold the tablet tires him out quickly.  The goal of our experiments is to reduce the need to tap the screen to an absolute minimum.  Using this app we have set up a key on the keyboard to start voice typing, so he no longer has to tap to start it.    However, I have some questions:

Voice typing will sometimes stop and ask you to tap the microphone icon to start it again.  As far as I can see this seems random but happens every one or two minutes.  The external keyboard key has no effect on this and he has to lift his hand to tap the microphone icon.  Why does this happen?  Is there a way this can be reduced?  Alternatively, is there some other method that will allow a tap on a key to restart voice typing without needing to tap the screen?
Are there any guides to how to speak most effectively for dictation to Voice Typing (e.g. which is best - full sentences at a slow speed, full sentences at a normal speed, a few words at a time, or some other combination?)?
At times voice typing will seem to "jam" and simply stop writing anything - even though the microphone icon is red and it seems to be hearing.  After a minute it may start to write a lot, or it may just seem to hang, and restarting it requires tapping it once to stop it and then again to start it.  The tablet is an old machine (3 years old) that is extremely low end - Android 4.4. running on 1 GB RAM.  Is this a result of the low end nature of the tablet?
Is there a way to allow external keyboard typing in a language other than English (i.e. similar to the Gboard's phonetic entry for other languages)? He can use this for a few corrections to the frequent mistakes that Voice Typing makes (we'll ask someone else to clean up the final text, however).

I hope there are ways around these things - it is crushing to watch a major literary writer lose his ability to write.... If I'm barking up the wrong tree entirely and you all have suggestions on better methods, that would also be great.


text:
Qi wireless charger
I just purchased a Samsung Galaxy S9+ and it should arrive soon.  I am interested in getting a couple wireless chargers and looked on Amazon.  I see there are a large variety of chargers.  Since this will be my first wireless charging phone, I was curious, are there any specific features and specifications I need to look for in a Qi charger for my phone?

Firstly, congratulations on your phone. Once you start using wireless charging you'll be hooked.
I have Samsung's own EP-PG950 wireless charger that was marketed alongside last year's S8 and S8+. That supports two modes of charging:

Normal wireless charging, at 5V and 2A input (i.e. 10W input) and 5V and 1A output (i.e. 5W output)
Fast wireless charging, at 9V and 1.67A input (i.e. 15W input) and 9V and 1A output (i.e. 9W output)

Samsung's flagships support both normal and fast wireless charging.
Now, the Qi standard itself specifies a minimum of 5W output (i.e. the normal wireless charging listed above), so any Qi charger will support your phone.
If you stick to brand name Qi chargers (e.g. Samsung itself, or Belkin, Anker, and other such big names in the mobile accessory space), you will be fine.

I bought a cheap $10 charger from Amazon a day or two after I got the phone.  It said it supported the S8, so I figured it would work.  It works great.  Its good to know about the fast charging though.  I will look to see how much more expensive they are.  If the cost is significantly more, Ill still with the cheap ones.


text:
Custom Boot animation slows, freezes and crashes phone
I've created a custom boot animation:

Create animation with Blender, render all the frames 1080 x 1920, PNG.
Convert them to JPG.
Store frame 0 to 123 to folder part0, store frame 124 to folder part1.
Create desc.txt with content (every line ends with <LF>):
1080 1920 24
p 1 0 part0
p 0 0 part1

Store all that into bootanimation.zip (mode: Store), almost 10 MB.
Copy it onto the SD card and copy it to /system/media/ with TWRP.

When I reboot the phone, it displays the animation okay, but then slows down (still during the first loop), halts, and reboots after a few seconds.
Is there anything I've done wrong? The phone is a Fairphone 2, running Fairphone Open with the newest TWRP and encrypted data partition.

For me, the solution was to shrink the frames by half (540*960) but leaving the description text as it was – it seems that it just was too much data.


text:
Nexus 7: Unable to install factory image, stuck in < waiting for any device >
I want to restore factory android on my Nexus 7 2012 WiFi.
I'm following the official guide.
I start the device in fastboot mode by executiong:
adb reboot bootloader

This works well.
But when I run any command that uses fastboot the execution gets stuck, eg:
$ fastboot oem unlock
< waiting for any device >

The same issue with flash-all.sh.
I also noticed that if I run
adb devices

it doesn't list the tablet. However it gets listed if I run the same command after entering Recovery Mode (I have TWRP recovery).
More details/preconditions: I used to have CianogenMod on the device but I smashed it by mistake (I removed Android in recovery mode instead of simply wiping the data). I can't find the CianogenMod image anymore on LinageOS site (there is only Nexus 2013 available) so I'm trying to install at least what is available.

The problem was that fastboot didn't see the device without sudo.
To make flash-all.sh work I replaced every fastboot call with sudo $(which fastboot) like was suggested in this post.

Well, the device is detected in ADB only, you probably haven't installed fastboot drivers. < waiting for any device > means that the computer is waiting for a device in fastboot mode.
Download the drivers from this page then install. fastboot oem unlock should work now.
Learn the difference between these two protocols (ADB and Fastboot).
This question may also help.

Acoording to the link you’ve posted the drivers are needed only for windows, but I’m using Ubuntu. Anyway I’ll try tomorow.

This could help , I guess: https://developer.android.com/studio/run/device.html

You didn't mention anything about your OS, so I assumed you were on Windows... Oh skipped the flash_all.sh part. Sorry

I installed android-tools-adb package, however I can't enable USB debugging (not sure if it is really needed) as I don't have Android on the device. I still end up with < waiting for any device >

Your fastboot isn't working, phone is not being detected. Are you sure you're in Bootloader ? Any screenshot?

https://android.stackexchange.com/questions/58187/adb-can-discover-devices-but-not-fastboot

Thank you. I'm running fastboot for sure ( lsusb shows that the device is in fastboot mode). I've found that the problem is somehow related to sudo access  - fastboot devices works with root.


text:
Live wallpaper has entirely taken over phone
One of my customers says my live wallpaper has completely taken over the screen. They tried restarting the phone, but all they can see is the live wallpaper. No way to unlock the phone.
Are there any steps that can be done to start the phone without the wallpaper started, so they can uninstall it?
It's a Galaxy S6 and I don't think it's rooted.
(I'm in email conversation and will add details as I get them.)

Thanks! I emailed instructions to my customer. Hopefully this will do the trick.

I have no new details; customer hasn't written back yet.

With the information available , it is recommended to put Galaxy S6 in safe mode .
In safe mode installed apps are inactive and the wall paper app can be uninstalled . Restarting the phone gets it out of safe mode

Turn the device off
Press and hold the Power key
When the Samsung Galaxy S 6 logo appears, release the Power
  key, then immediately press and hold the Volume Down key
Hold the Volume Down key until the device finishes restarting.
  When 'Safe mode' appears in the bottom left, release the Volume Down key
Uninstall apps that cause problems.
  From the Home screen, tap Apps.
  Tap Settings.
  Under 'Device,' tap Applications.
  Tap Application manager.
  Swipe right to the DOWNLOADED screen.
  Tap desired app, then tap Uninstall.
  Tap Uninstall to confirm


text:
How to Recover Data from internal storage of dead phone?
I'm Using a Intex Aqua Power HD phone with Android 4.4. Its broken and cannot be switched it on... Whatever be the problem with the phone, what I really want is the data in that phone... The data in the phone is important... Is there any way to recover Data from Internal Storage of my Phone When I cannot turn it on ?

The only way to access the internal storage from a dead phone that I know of would be to open it and use specialized tools to connect directly to the flash memory chip, which is a complicated process. If your phone does boot but the screen stays black, then you might have a chance to connect it and access internal files using  ADB

So I think it would be better to consult a specialized technician.... Thank you...


text:
Where does the term flashing come from?
The term flashing in Android communities seems to be interchangeable with "Install"

Because Google's apps are not open source, custom ROMs can't bundle Google's apps -- like Gmail, Hangouts, or the Play Store -- with their ROMs. That means you'll need to download and flash them separately.

From How To Flash A ROM To Your Android Phone
So if this is the case where does the term flashing come from?

@beeshyams understanding terms often helps understanding the system better (here: the storage system, as "flashing" can be understood as a short form of "replace what's on that flash storage").

flashing comes likely from the flash memory that electronic devices such as mobile phone have. So writing data to the flash memory means to flash

ROM is a short for read-only memory. Nowadays, it is often a writable memory that is not written in normal operation. In past days, it used to be rather EPROM/EEPROM.
The term flashing probably comes from era of EPROM, which can be erased using a strong UV light. Erasure of whole memory is needed before EPROM is written. This is not the case of current flash memories, but the term “flashing” remains.

The procedure of modifying or replacing the contents of such
  flash memory i.e ROM is known as flashing. Thus, in layman’s terms,
  flashing is essentially the same as installing or modifying the
  firmware of a device that is stored on its protected flash memory.

Such modification can be perfomed on a special partition of the system called recovery.

In Android, recovery refers to the dedicated, bootable partition that
  has the recovery console installed

When you perform a factory reset, recovery is what boots up and erases the files and data. Likewise with updates — when  restarting to install an official OS update, it's done in recovery. Recovery is also where one goes to manually install official OS updates  downloaded from the Internet. (There are two types of recovery; stock recovery and custom recovery, but I'm not going to discuss it here)
Flashing is the term originally used to describe the "modifying or replacing the contents of ROM memory, and has been traditionally used to install fresh OS from custom ROMs, The term also embraces the operation of mounting various partitions   in order to  copy files to the SD card without having to remove it or reboot into Android as well as applications from a zip file through recovery, has now come to be associated with installing.
While most apps for Android devices are available at the app store for direct download and installation or as .apk files for direct installation, there are certain apps which are only available as zip files installable from recovery. Their installation procedure is the same as installing a custom ROM described.
Hence the reason, terms ‘installing’ and ‘flashing’ can be used interchangeably to mean the same thing .
References

What Is Meant By Firmware, Stock & Custom ROMs And Flashing
What is Android recovery?
How To Install A ROM Or App From Zip File To Android Device From Recovery


text:
Combining two single sim phones (backup) into one dual sim phone
Is there any method of combining the Android backups from two mobile phones when I move from two single sim phones to a dual sim phone?
I have a Samsung Galaxy S4 running my UK contract SIM, and a ZTE running my PAYG German sim.
I have just purchased a S9+ and I want to use both sims in the one phone. This is not an issue for me.
I have some data stored on the S4 which I do not wish to lose, and some data stored on the ZTE which I also do not wish to lose.
The Android backup show for both phones by name, but I can only use one to migrate my data.
How do I combine the data on two different phones, into a single backup that can be used on my S9.

Backups of what ? Contacts? Photos? Apps? Are both those earlier devices rooted? What Android versions are they running?  Do you plan to root the new device? Please [edit] to add these and more information that would help folks answer


text:
Fake the Android USB Debug settings
I'm trying to get a certain NFC tap-and-pay app to work. It's called Nexi-Pay and AFAIK is only available in Italy. Due to "security concerns" they deny access to the app to rooted Android users. I managed to get past the root check with Magisk Hide, but now the app says that I have to disable "Android USB Debugging" to use it. Now, I tried doing so and it worked, but since it is a feature I use very often, it would be a pain to switch it on and off every time I need to pay for something.
How can I make the app think ADB is disabled while it's actually not, a-la-MagiskHide?

Another approach would be using an automation app like [tag:tasker] or MacroDroid which, whenever your Nexi app is started (comes to foreground) could disable USB Debugging. This is just a raw idea; I haven't checked which automation apps can toggle that setting.

@beeshyams Thanks! Apparently it needs Xposed, which I don't have. I'll install it and check if it works when I have some time

@izzy: Macrodroid can't do this directly. Maybe possible with a shell command run by it though

@beeshyams AFAIR there's a corresponding setprop command, but that might need "elevated privileges". Not sure which one is responsible: [persist.sys.usb.config]: [mtp,adb], [sys.usb.config]: [mtp,adb], [persist.service.adb.enable]: [1], [init.svc.adbd]: [running] (this one might need an svc command to be toggled) … I'd first check with getprop what they are set to, and then start with the second one (removing adb from it). Can be tried with adb shell getprop … for convenience ;)

@Izzy : Thanks. I'd seen this too earlier but it went over my head. I think I will pass this as it requires an understanding which I dint have. This for the pointer though , it may help others :)

Ah, yes @beeshyams – that's the ones in the new syntax (starting with ~MM, setprop got replaced by settings on most devices/ROMs). Good find!

Hide USB debugging mode didn't work with your app. Just checked. Deleting answer

Try installing Magisk and then install the "MagiskHide Props Config" module. After this applications won't be able to detect if ADB is enabled.
Magisk can also hide the root availability. Just enable the hide feature and add the application to the list.
An app I tested reported 5 "security" issues. Enabling Magisk hide (and adding the app to the list) removed 3 of them, and adding the "MagiskHide Props Config" module removed the other 2. One of the remaining 2 is known to be the "Android USB Debugging".
You don't need to do any extra stuff. The module is designed to fool transaction software. In my case the app uses the veritran API, very common on bank apps.


text:
How do I disable individual components of an app's APK?
ROM Toolbox Pro's app manager had this feature but it has been removed in recent versions.
Specifically I'm looking at disabling individual components of an APK, AdActivity for example.
I have already seen questions on doing this programmatically on Stack Overflow, which involve recompiling it - running into signing problems later.
I'm looking for an easier way to disable activities, services and content providers.

MyAndroidTools (and its Pro variant) fits very well, been using it to this day. Will move it to an answer if the question gets reopened.

Take a look at Auto-Start Manager apps then. Assuming you chose the rooting tag to indicate you have root-access, that will be needed to disable activities separately. In the past (some years ago) I had good experiences with Autorun Manager in this context (can be found behind that link).

I guess you are talking about advanced freeze, how about using Disable service or something like Tasker to disable the services programatically

i.e am stopservice com.package.name/.service name

MyAndroidTools (and its Pro variant) fits very well - offers control on activities, services, receivers and providers, and if you get Pro you can also conveniently peek into and edit apps' SharedPreferences and databases, so that's what you require and then some more.
Requires root, but that's pretty much a given for this kind of app.

This has been since removed from the Play Store, for anyone else looking for a solution. SOL at the moment unless there's anything else.

The app hasn't been updated since April anyway, but if you sideload via an APK it'd still work.

It's living on borrowed time, I wouldn't count on it working indefinitely, which is why I was looking for a more recent alternative.


text:
'Do not disturb' during a SECONDARY Google Calendar [Android 7.0]
Under Settings → Do not disturb → Event as scheduled , I found the magnificent option to automatically turn on DND mode during events I'm in. Oddly I can only choose whole calendars, like general events in my whole Google Calendar, and not a specific calendar within my Google Calendar.
This makes this amazing feature unusable for me, since it cannot distinguish between important and casual events.
Does anyone of you have a solution?

Two ways I can think of, both not elegant. 1. Mark your events with replies and Configure where reply is to match. 2. Create a second account and use that for casual calendars and apply DND rules for primary account

And say that I would use 2. a second account – would that be an entirely new Google account, or is there some other lightweight option to create a second one I can select?

New account.... That's why I said not elegant

I guess that's fine. How can I add a separate new Google account to my calendars?

You would need to create a new account and use the calendars associated with it for casual events where you don't want notification. When you choose the DND option birth accounts would show up and you can select the one where casual events are not present


text:
How to copy system files and other data files in internal storage When i have access to recovery only?
i can Only boot phone to screen Where there Is logo.
i can go into recovery.  there Is fastboot. adp. and install from microsd options.  factory reset. Clear cache.
i Found cwm recovery Is too old for New phone.   mine Is asus zenfone 4 pro.
if you have instruction on How to copy internal files. Let me know.  i can follow them.   so take some data before factory reset.
Thanks

I know your issue has been sitting here unanswered for months now, so you might not need this information, but in case someone else comes around with the same problem:
I've had a similar issue - phone just went into a boot loop and I had some critical files to recover from internal storage.
Unfortunately, I'd never switched on debug mode in my phone before, so no ADB commands were an option, but Fastboot worked fine, and that eventually led to my solution.
For your phone, you'll need to use this TWRP recovery image and follow the instructions on that page - except for perhaps one instruction:
Where it says to type fastboot reboot I opted to rather manually power it down and then disconnect. Then, I used my phone's Recovery Mode button combo to boot into TWRP. The reason for this, is that my phone's (and supposedly many other phones') system will automatically replace the internal Recovery upon boot. So, if you flashed it with TWRP and typed fastboot reboot it'll go back into a boot loop (and also - invisibly to you - quite likely replace the built-in Recovery, meaning you'll have to repeat the flash operation).
So, in summary

Download TWRP
Start phone in fastboot mode (you'll have to Google to check how to do this for your device)
Flash TWRP to Recovery partition using fastboot from a PC (this is the fastboot flash recovery twrp.img command after confirming that fastboot works and communicates with your device via fastboot devices)
Power down your device
Insert a large enough SD card to perform your backups
Use the button combo to boot into Recovery mode (remember to not start up normally, otherwise you'll very likely have to flash TWRP again)
Use TWRP's tools to backup your system (SEE CRITICAL NOTE BELOW)
When you're done, power down, remove SD card (and make a copy of it somewhere else, lest you lose it)

CRITICAL NOTE:
The built-in backup on my device's distro of TWRP does NOT backup your actual user-generated data like downloads and pictures, BUT, the TWRP file manager does allow you to browse to all the different folders and manually copy those to another place, e.g. the SD card
I really hope that helps!


text:
Retrieve my phone contacts lost in previous phone
Please send me _ how to ? I don't want to lose info stored on lost phone

If you backed up your contacts to Google:
(You have tagged the question with Google-account tag, so I'm assuming that you have stored the contacts there.)
First, make sure you actually have saved your contacts to Google. To do so, go to contacts.google.com and log into your Google account. If you see your contacts there, then follow the steps below:
Go into your phone settings → accounts → Google → sync, and make sure that contacts sync, is on, if it's on, but the last sync date was a long time ago, make sure to refresh sync. Your contacts should now appear in the contacts app.
If you have not backed up your contacts to Google:
If you checked in contacts.google.com and the contacts are not there, that would mean that you have saved the contacts to the internal memory of your lost phone, and in that case there's not much you can do to get them back.


text:
How is screen recording different from a screenshot with respect to the way it is implemented?
To experiment I used root privileges and Lspeed to make my screen monochromatic. Then I took a screenshot, surprisingly, the image was not monochromatic but in full colour.

To prove that I actually took a screenshot with a monochromatic screen, I decided to shoot a video with a camera. But then the inbuilt screen recording feature quickly came to my mind and I decided to screen record me taking a screenshot, fully knowing the likely outcome.
I was in for another surprise when I found the screen recording to be monochrome. I've converted it to a gif given below.


text:
I have lost my Panasonic Eluga A3 mobile - Can i do Enable lock and Erase then can i access my phone back?
Hi i  have lost my Panasonic Eluga A3 mobile and i could see the last time when it was online was last morning 5:45 AM in chennai. The mobile has been switched off by the guy who has looted it. Now i know that the mobile has location ON but as the phone is OFF it is now showing anything on Android manager and i am not able to Ring it or Lock it. So the only option now i have is Erase Your device option. So if i do it now.. Then will i be able to again login to my Andriod device manager and track this mobile ? Is this the last option ?

Since the phone is off you cant retrieve anything from it, the location that is showing to you is the latest location the phone could retrieve before it was switched off.
Trying to erase all the data will take place after the phone is turned on again and got any 4g - wifi signal on it.

"Then will i be able to again login to my Andriod device manager and
  track this mobile"

Answer - No, because of the above.
Hope it helps

"Then will i be able to again login to my Andriod device manager and track this mobile" I think you missed the answer to this question

Thanks Sir.. If i use the lock my Phone option with a message and contact number -- If the mobile is switched on with another sim put on it -- will it still make the phone locked with the message displayed on screen. ?

yes, lock my iphone is independient from your sim, it works with your apple account


text:
I don't want to see DP of a particular contact on Whatsapp
I don't want to see the DP of a contact on Whatsapp without blocking them.
Can anyone help in getting that done?
Please note. I have an Android phone Samsung S8.
Thanks

What does DP mean?

DP means Display pic or Profile Photo

Try this out. To summarize the steps in the link:

Resize the pic you want to use to 561×561.
Save it in /sdcard/WhatsApp/Profile Pictures on your phone.
Then rename it to your friend's phone number, including country code first. (If Jenny lived in Manhattan, her filename would be 12128675309.jpg)
Reopen WhatsApp and the picture should be there.

That used to be possible until WhatsApp hid the profile picture folder. Now it's not possible.

Yeah, maybe you can try this same procedure in the directory mentioned here if you're rooted: Whatsapp Profile Pictures folder missing


text:
wifi roaming in android os oreo 8.0
I am checking the wifi roaming behaviour of android os, for this test my setup like this:

I have two APs (T1 and T2) having same SSID, channel and security configuration.
I am using Xiomi mi A1 phone with oreo 8.0 for testing roaming.
I connected my phone to first AP T1 and continuously moving towards T2, after some distance my phone disconnected from T1 and connected to 2nd AP T2.
Am using wifi-analyser app for checking the RSSI values of AP.

my question is:

At what RSSI value phone starts background scan?
What is absolute difference between the RSSI of the two AP's for roaming?

Anyone knows this behaviour please share your answer.


text:
mac address collision
The setting:
I have two identical phones: Samsung Galaxy S5 neo (SM-G903F). Due to various reasons (in one I tried Lineage OS, the other I had to reinstall) and crashed backups made by TWRP I ended up having to flash stock ROM to both of them. I installed the latest same image downloaded from https://www.sammobile.com/firmwares/galaxy-s5-neo/SM-G903F/
The ROM is NOT rooted, the Knox reports no flags - just as if it was a freshly bought phone.
The problem:
After a while I discovered that both of them have the same MAC address and therefore I cannot have them both connected to my home WiFi at the same time - both are assigned same IP address by router and in the end none of them has access to the internet. However, one connection at the time works.
Same goes with bluetooth pairing - when I connect one phone to a speaker and then disconnects, I cannot then pair the other phone with same speaker.
Questions:

How is that even possible? I thought MAC address is tied to hardware not ROM? Is there other possible cause? I didn't have this problem before I started flashing.
How can I solve the problem of assigning same IP?
I'm aware of MAC spoofers. Nonetheless, is there an option that doesn't require rooting?

If it's necessary, I can reflash one of the device.


text:
Is there any method to search particular texts in a certain app?
I need to search some certain texts in a certain app. These texts are real-time and server-sided so they only appear when I am using that app and tap (+) button.
Have any third-party app(s)/non-programming method(s) [for searching] come into your mind?

No, at least not if the function isn't built into the application. I don't know how a 3rd party app could search in another app's data, especially when all the data is held server-side.


text:
Allow few URLs/Websites only on browser
I need like a browser to open ONLY a set of predefined URLs/Sites. I don't need remote management or anything like that,like Surefox but not commercial or cheaper for a few devices.
So, I want to block all sites except a few URLs

Something like a parental control that filters sites?

yes, but only allowing a few sites & by default all other site is blocked.


text:
Your system is heavily damaged by Four virus!
I'm using Google Pixel XL / Android 8.1.0 w/ March 5, 2018 security patch level.
Yet, I've got following pop-up on my screen:

Per Play Protect - "Looks good" - No harmful apps found.
I understand one of way to go about it is to do Factory Reset, however is there another way which doesn't involve Factory Reset?
I'm not really sure, how this virus got on my phone at the first place as I don't install anything outside of Play Store, any ideas what can be done to avoid this in future?
Please advise.

There are no real Android viruses, these are simply malware or redirect issues. Even if there was, a webpage could not "detect" them. Wipe Chrome's cache, restart, and avoid the sites giving you this pop-up ad and do NOT under any circumstances download the "recommended" app or link on the page. See https://android.stackexchange.com/questions/190027/how-does-virus-been-detected-on-android-pop-up-on-chrome-when-visiting-some-si for more information

It it absolutely nothing to worry. Feel at ease and close that shitting tab.
There's a special word, or terminology, for this kind of behavior of a random webpage, "scareware". Scaring pages frighten and threaten you by telling you that you're in danger, and try to make you download their promoted software (or even a real virus - though that's rare but that does happen from time to time).
Next time whenever you see something like this, close the tab with confidence. You're in no real danger. It's just a fake page.

I've seen these windrows in the past. Not sure if its a virus or just a popup trying to get you to download one.
When it came up on mine, it came up simultaneously with a window I "DID" ask for. I closed the window with those messages, and moved to what I actually clicked on.


text:
"Failed to send message. Review message and try again" when sending SMS to short code from Samsung Galaxy Note8
When trying to send SMS to short code recipients like 567676, 56161, etc. from Samsung Galaxy Note8, I got the following error message:

Failed to send message. Review message and try again.

I've tried entering the correct SMSC number, allowing premium access, nothing has worked. I tried the SIM in another phone., I couldn't send it from there too.
I'm able to send SMS to normal phone numbers.
How to fix this?

Contact your carrier to see if it's included in your phone plan

I had the same issue, turns out the problem was due to my mobile balance. I had unlimited recharge package which always showed 0 balance hence the messages were not going out for these kind of numbers that are chargeable. I recharged my mobile and voila, the message got sent.

Yes, you have to do a recharge. Do a General Top Up of the lowest denomination (Rs 30). Don't top up with SMS Vouchers. The SMS to 567676 would generally cost Rs 3/-.

"Unlimited pack is not applicable to call/sms for special numbers (starting 1860 and 567*****). For contacting special number you need to maintain minimum balance in your account( Rs. 05/-)." - From Airtel customer service today.


text:
Chrome 65 doesn't allow screenshots in Incognito mode
Seems that in Chrome for Android version 65, a "feature" was introduced which doesn't allow you to take a screenshot in Incognito mode.
When attempting to take a screenshot, Android will now show an alert saying "Taking screenshots isn't allowed by the app or your organization."
     /**
     * Sets the attributes flags to secure if there is an incognito tab visible.
     */
    @VisibleForTesting
    void updateIncognitoState() {
        WindowManager.LayoutParams attributes = mWindow.getAttributes();
        boolean currentSecureState = (attributes.flags & WindowManager.LayoutParams.FLAG_SECURE)
                == WindowManager.LayoutParams.FLAG_SECURE;
        boolean expectedSecureState = isShowingIncognito();
        if (currentSecureState == expectedSecureState) return;

        if (expectedSecureState) {
            mWindow.addFlags(WindowManager.LayoutParams.FLAG_SECURE);
        } else {
            mWindow.clearFlags(WindowManager.LayoutParams.FLAG_SECURE);
        }
    }

Source: chrome/android/java/src/org/chromium/chrome/browser/incognito/IncognitoTabSnapshotController.java
This is imposing rules you can expect to have in a enterprise environment on a personal phone.

The operation system UI should make clear when and how other apps are recording the screen. As an app developer, I should not be bothered with avoiding screen captures. Breaking this functionality breaks the lowest common denominator of data sharing: Taking a screenshot. One of the reason to make a screenshot is just because an application misses a proper data export functionality.

Source: HN Discussion

Is there any way to disable or prevent this behavior?

That could be due to your device admin policy (if you are on a corporate device or allowed your company as a device admin). Did this start happening from the browser upgrade?

Related: Disable Screenshot security

Surely the point of doing this is to prevent you accidentally leaving evidence of what you did in incognito mode?

Update:

Navigate to chrome://flags

Search for "Incognito Screenshot" and mark and mark the incognito-screenshot as Enabled

Restart Chrome

Previous workaround:
For now, the workaround to take screenshots in Incognito mode is the following:

Navigate to chrome://flags

Search for "share-screenshot" and mark the chrome-share-screenshot as Enabled

Restart Chrome

Open Incognito mode, click the share button below the address bar

Select Screenshot and then Save

Nice to know! Might want to also mention the Chrome version if possible for historical purpose.

This appears to be a side-effect hiding incognito tabs from the recent apps list, which is intended as a privacy feature.
They also added an --enable-incognito-snapshots-in-android-recents switch to change this behavior, but unfortunately that's not easy to pass on Android, and there isn't an entry in chrome://flags. I didn't find anyone requesting a way to make it (easily) optional; I suggest filing a bug report about the screenshot-blocking side effect; that switch should at least be exposed as a flag.

This isn't a side-effect, the implementation was in Canary months ago and landed in stable 65. As far as I know there's no effort to fix this behavior.

@MatijaGrcic I don't think there is a way to block it from appearing in the recent apps list w/o blocking screenshots; that's an Android limitation (one flag controls both), so Chrome can't fix that. They wanted the former; the later comes with it, hence a side-effect.  You're correct, though, that 65 is released; I'll fix that. I couldn't find any bug about the inability to disable it; do you have a pointer to one? Or has no one asked?

I've filed a feature request to add the flag to chrome://flags. Please star it to get it fixed more quickly.

@ThomasOrlita The status of the request is now WontFix (Closed). How nice of them!


text:
How prevent my phone from hiding the country code?
My Samsung s8+ called id only shows the local phone number without country code. (023455678 instead of +123455678)
How can I fix it?

Are you getting the same format even for a international call or just for local ones?

@parthu_panther only for local calls

its because of your sim is registered with same locality. If both the sender and receiver are from same country than there's no need of showing country code.

source Go through this link for more understanding.
Conclusion:

A leading 0 or "(0)" is a way of showing that you have provided the full phone number in the national format.  The 0 represents the national dialing prefix; the caller will know to omit the leading 0 if they are placing a local call.
A leading + is a way of showing that you have provided the full phone number in international E.164 format.  The "+" will tell the caller that they need to dial the international dialing prefix such as "00" or "011" if they are calling from outside the country; and that conversely they may need to dial a "0" or "1" if calling from within the country.

It was not the case for my all past sim cards and handset and it introduce problems form me.  This is related to the sim not the handset, doesn't it?

Yes its all about carrier operators rules and terms. There's nothing to worry about.

you can accept the answer if you found it useful.


text:
Moto G4 Play Churning Through Batteries
I have a G4 Play which I used the @#(* out of for nearly a year, until I dropped it into the toilet for 2 or 3 seconds before getting it out. The battery and SIM fell out and I put it in rice for the night before turning it on, as my whole life was and still is on there.
When I started using it again, it would die as soon as it reach around 45% battery, which was really frustrating. I don't remember the other details like if it was very slow or difficult to charge, or if it would ever reach 100%, but it would also drain much faster than it would usually take to go through that span of percentages.
I ordered a replacement battery from ReplaceBASE which they claimed was OEM Motorola, but it was even worse than the apparently water damaged one. They gladly sent me another replacement which appeared to work okay along with the original one, but it would be excruciatingly long to charge any of the batteries and extremely quick to plow through the charge as soon as I turned the phone on. That is like an entire weekend of 60-72 hours to charge the battery up, and maybe 2 hours to drain, and we're talking about a 2800 mAH battery. And now it varies, from dying when it reaches 25% to actually going down to 0%. Sometimes I can turn it back on and it will keep going to 0% if it dies at a higher percentage.
So my question now would be which of the parts are tainted - the phone, the removable battery, the charger, or any combination of the above? What's going on, and is there any risk in testing the parts with others? If I have a Moto E4 to test the batteries with, would I risk damaging the E4, or if I used the E4's factory supplied battery with the G4 Play, would that risk being messed up totally if it's the G4 Play itself's circuitry that is screwed up by the water damage?
What other suggestions can you think of in this situation?

There are very good chances that the internals of the phone are damaged as i have seen in some cases and you cant know the extent of damage without showing it to a repair expert
Coming to DIY
If batteries of both device are physically same than you might try replacing with each other
Tempting with a working E4 would mean chances of damaging a properly working phone which should overall cost you more compared to getting your g4 properly repaired at a repair shop
But, if you are experienced in such tasks you might go ahead and try it yourself but still consider you may end up having 2 damaged phones
And needless to say have backups of both just in case of damage


text:
Why can't I save an emergency phone number in my addressbook?
I live in Thailand, and the emergency medical response number to dial here is 1669.
When I try to save this number in my address book on Android, it says "Emergency Number Cannot Be Saved".
What gives? It's probably the most important number for me to save, and I can't. Is there any way to fix this?

My device isn't rooted.
I'm saving to an address book that is synced via CardDAV.
I'm running Android 8.0.0 on a Xiaomi Mi A1.

Must be carrier related, check with them. On the same device I can add any number

And probably it gets dialled automatically from power menu > emergency . Check that. If that is the case because it is programmed to dial automatically you may not be able to save it as a contact. Guess work

It could be carrier-related: It wouldn't surprise me. What is the "Power Menu"? Do you mean the lock screen?

When you press the power key you have three options, one of them is emergency (others being power off and restart). Select emergency and see which number is being dialled. In my case there is no number assigned

Pressing the "emergency" button just brings up a dialpad, I have to type a phone number manually.

I don't know why this is happening but can offer a workaround, if you're able to create a new contact in a web browser and have that sync to your Android phone. After sync, the number is functional on the phone.
For Google Contacts, create a new contact on https://contacts.google.com/ and it should be synced automatically.
Also tested using Fastmail (relying on a third-party app to sync CardDAV contacts).

Google contacts on the web browser works the same way. Confirmed.

Using google contacts from browser helped as well, it is a weird thing that they restrict adding most important numbers to contacts, has someone investigated why this happen?

Thanks for the workaround. But do you know why Google Contacts doesn't let you save an emergency number?

@Flimm Truly I don't. They must be working on the assumption that everyone knows the emergency numbers, no-matter where they live in the world. Maybe those people have never lived abroad.

My guess is that Google takes on legal liability somehow if it has emergency phone numbers in the contacts app. It doesn't want to be sued if someone tries to phone an emergency phone number and blames Google for a bug.


text:
Termux - Cannot run python file in tasker
I am trying to run a python file in termux for use in tasker. The termux tasker plugin requires an executable (you can't just run a command like "python something.py"). However, running chmod +x results in operation not permitted.
Here is a screenshot of the top of my python file, pointing to the python I installed via "pkg install python".

Any help?

Tasker has root access?

My phone isn't rooted. I thought that termux was it's own separate environment though. If the termux-tasker plugin requires an executable I would assume there would be a way of making an executable.

AFAIK, you need root for Tasker to access the python3 binary file, because it belongs to Termux.

Is there any way to just run a termux command through tasker then? Surely tasker doesn't need access the the python binaries as it just tells termux to do it.

I'm afraid no, but why do you think Tasker is telling Termux to do it instead of doing it directly?

Because if tasker does it directly then what is the point of having termux in the first place.

You still need Termux to provide the full environment for python3 to run correctly. You really think python3 is a good binary to be run alone?

Let us continue this discussion in chat.

You need to grant Tasker root access in order to let it run the script.
The script requires an interpreter, as specified in its shebang line. To run the script "directly", Tasker still needs to execute the interpreter, the python3 binary. Since it's located in Termux's data directories, other apps can't access it without root access.

I realize this is an old post, but in case someone stumbles upon this and thinks its correct please note it is wrong.  You don't need root access!  You need Termux Tasker https://github.com/termux/termux-tasker


text:
Incoming Call UI is not showing up
When i get an incoming call, the ringer rings but the incoming call UI do not show up, instead the following notification is shown in the notification area:
.
So in order to answer the call i have to open the Phone app select the 'Return to call in progress' option, see the Screenshot:

Fixed: Cleared the storage and cache of the Phone app. Now it is working fine.

This might help you

@parthu_panther if the dialer app would have been disabled, it wouldn't run in background, would it? Couldn't that rather be some error with power management? Maybe the dialer app must be set up as "exception" to never be dealt with by power management. I vaguely remember there was something introduced with Marshmallow, called "Doze" ;) Sure one would expect the ROM cook had added the dialer to that exception list automatically – but that might have been forgotten here, maybe.

since the prob is fixed but assuming diff possible solutions with you has always been marvelous. @Izzy yes it wouldn't run in background when disabled but sure he can check to clear defaults and cache inorder to load factory settings of the app. And power management could be the real culprit. There are many battery optimization apps who sets exception for minimal battery usage. And ye cant guarantee about 'Doze' as it started with marshmallow and op's prob for oreo. Btw though doze is enabled, apps with high priority will notify always and system apps like dialer/phone has high priority.

If you've solved the problem, please post that as an answer, so the question is marked as answered. Don't edit the question to include the answer.

You should mark your question as answered as @DanHulme says. Otherwise, thanks for actually answering, because I came here with this problem, and clearing the app's "data" fixed the issue.

I cleared the storage and cache of the Phone app. Now it is working fine.

This happens when your hardware is finding it difficult to deliver an appropriate screen. Try rebooting and phone would be fine.

The hardware isn't delivering "an appropriate screen". What should that be? Any backing for that?


text:
Cannot connect to Nikon D5300 via WiFi from Android 7.1.2+
I have a Nikon 5300 DSLR and an Android 7.1.2 device (LineageOS).
I want to use Nikon's official WirelessMobileUtility app to browse/transfer pictures and take pictures without touching the camera.
Problem: The connection never works, even after trying dozens of times. In the manual (and YouTube tutorials) the steps are so easy (enable WiFi on the camera, connect to that WiFi from the phone, start app) yet the app never manages to connect. Many recent Play Store reviews mention this problem.
How to make the connection succeed?
Important: This question is only for Android 7.1.2 and above

This procedure requires root access.

Install a terminal such as ConnectBot (F-Droid, Play Store)
Type su
Type this command: settings put global captive_portal_mode 0
Press Enter
That's all, the connection should work immediately.

 Screenshot (click image for a larger variant)
Explanation: Since 7.1.2 Android has changed the way captive portals are handled, and the camera's WiFi, which does not give access to the Internet, is considered a captive portal and since it does not reply as expected the connection is gets dropped. Setting the captive_portal_mode variable to 0 prevents Android from doing that.
Details: https://github.com/LineageOS/android_frameworks_base/blob/cm-14.1/core/java/android/provider/Settings.java#L8268
(By the way, for devices with an Android version earlier than 7.1.2 the command is settings put global captive_portal_detection_enabled 0)

Just out of curiosity: Does that really require root – or might the "elevated privileges" of the shell user via ADB be sufficient? I have no device with 7.x+ to test, but maybe you have?

@Izzy: I haven't tried, I just thought it was necessary after reading https://android.stackexchange.com/a/148442/501

@Nicholas I think this is somewhat related to : WIFI connection with question mark, also check the answer for other methods of resolving this issue. I would also like to believe this requires elevated priviledges..

OK, answering myself: as I suspected, it does not require root (except when run in a terminal directly on the device) – the adb shell variant suffices. One more reference: this answer at SO. Maybe you want to integrate that with your answer, @NicolasRaoul? Also note the exact command seems to depend on the Android version, see this XDA post (you already indicated that).

Thanks a lot for your test! I edited my answer.

@Izzy: I just tried with typing su, I get Error while accessing settings provider java.lang.SecurityException: Permission Denial: Do not have permission in call getContentProviderExternal() from pid=12592, uid=10124 requires android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY. With the su step it works.


text:
Using ADB backup for app databases
I'm having an issue with the backup, I did it fine yesterday and managed to back up the folder that contained the databases. I then successfully converted the backup.ab file to a backup.tar file and got to see the files. Today however, every time I do the adb backup command and allow the 'back up my data' option on the device all I seem to get is a 1kb file.
In the time in between the two back ups the device has had no wi-fi connection and been on aeroplane mode, therefore it can not have updated the app to change the 'android:allowbackup' to become false.
I am trying to pull off all kik messenger databases using ADB, the device is rooted but Kik.android is not debuggable so i cant seem to use the "run-as" method.
I am using the following commands:
adb backup -noapk /data/data/kik.android/databases/

What am I doing wrong???
I have included a screenshot, on the left is the first backup I did and that I got the databases fine, the command prompt shows that the files are there on the device and the command I used and the bottom window shows the output of the backup.ab file being a 1kb file.
Please help as its driving me crazy.

Can you try adb backup -f kik.ab -noapk kik.android? Should result in a file called kik.ab which should be larger than 1kb. I wonder how your quoted command could have succeeded before – as adb backup expects the package name as parameter, not some directory name.

Exactly, @kelvingoodram may have confused adb backup with adb pull. (But with adb pull, you might have permission issues.)


text:
Possible to share Tmobile Internet using my Android (Moto Z2 Play NO ROOT) via a USBC > Ethernet > Laptop?
Looking for a way to bypass my hotspot limit as I keep hitting the 10GB cap on Tmobile. Is there a way to share internet directly from my android phone (moto z2 play NO ROOT) plugged into a usbc > ethernet adapter then to my laptop's ethernet port? Does android 7.1 even have the ability to route the internet into this ethernet port?

I use an app called pdanet+ to share hotspot through WiFi, or usbc cable.
All you have to do, is download the app onto your phone, and also download it onto your laptop from here. You will then be able to open the app, in your phone, and enable usb tethering, it will then give you specific instructions on how to proceed depending on your device.
No root required, and it works for me even though my carrier doesn't allow hotspot at all!
(You should also select "hide tether usage", so that your carrier doesn't know your used hotspot at all)

2018-March -- verified working on my moto z2 play on tmobile! Installed pdanet on my android 7.1 and then installed the windows pdanet software then let it detect your phone and set usb debugging on in the android. From there just check off USB sharing on the android and activate it on the desktop aswell. thanks!


text:
macroing on android (without touchscreen)
I have used repetitouch in the past to record touches for use in macros.  I have been trying to do the same on my android tv box however repetitouch doesnt sense any input and so it records, but then when played back nothing happens.
Are there any input recorders that would record keyboard and mouse strokes?
Mainly trying to accomplish 2 task (in case there is another approach I'm not thinking of)

automate web page from entries and submission
automate resource collecting in COC

If you can elaborate what you want to achieve in detail i might be able to suggest Tasker or MacroDroid for automation

not sure whats missing from above.  i indicate that i need something that will record keyboard and mouse strokes, to auto mate web page form entries, and resource collection in COC.  Tasker usually would use repetitouch files to launch apps and simulate touches, however it doesnt record keyboard and mouse input, so i need an alternative

If touch doesn't work you may try using directional keys and tabs to move to a place and perform actions by tasker or MacroDroid


text:
Failed to change my mac address by Android terminal Emulator
I followed all steps in this article trying to change my mac address. https://geekeasier.com/change-mac-address-in-android-devices-without-root/4792/#comments.
Then when I entered ip link set wlan0 address XX:XX:XX:YY:YY:YY ,it shows request send failed:permission denied.
I was using mac address generator and didn't change the address prefix,I tried turn wifi on and off all still didn't work, don't know where do I go wrong.
Is the wlan0 above should be something else?
Or there is something I have to do with phone first?

Which Android version and phone model? Also keep in mind the last paragraph of the article before the comments (it can work but does not have to and it may not work on newer Android versions).

Not working on Google Pixel with Pie update.

ifconfig wlan0 hw ether xx:xx.. doesn't work either.


text:
How is the screen resolution calculated for phones with curved edges and rounded corners?
Consider phones like the pixel 2, Samsung or iPhone X with notches and non rectangular screens. How is the screen resolution calculated? Do they take a rectangular screen with a standard resolution and 'chop off the edges' and use the regular value as the resolution?

Okay I asked ##techsupport on freenode and they answered it. If anyone else is looking for the answer:
The resolution specifies a rectangular screen with the same width and height of the screen. Rounded edges and notches are the rectangular screen with the appropriate bits cut out


text:
I can't hard reset or install any apps on my android device
I decided to flash my flash my device (Xolo Era 4k) using TWRP. I got little confused after booting in TWRP mode. Then I somehow managed to let my device Boot in normal mode. Then I found that I can't install any apps or apks.
Even hard reset didn't work. My Device was restarting normally even when I tried to hard reset (hard reset menu wont appear).
Device Info:

Xolo era 4k
Android Version 5.0.1
Non-rooted device

Xolo era 4k
Android Version 5.0.1
Non-rooted device

There are some possible reason, You Can’t Install Apps on Your Android Phone
Your Android phone doesn’t have enough storage left
Your phone’s cache could be causing the problem
Your Android OS is too old and needs updating
A factory reset of your phone may fix the problem
You’re using a screen dimming app

I do have a lot of space.
Yes I checked the allocated size of each apps, it shows 0.0 MB.
Factory reset is not working.
I don't have any screen dimming app.


text:
Split your emails using Gmail priority inbox
I tried to follow: Split your emails using Gmail priority inbox - Android - Gmail Help...
However whenever I open Gmail app; by default, Inbox being displayed instead of Important, even though my Inbox type set Priority Inbox (tried Important first with same results).
Any advise? Otherwise, I'm getting bombarded with every single email that goes into my inbox (which is a lot)

Any luck using the answer below?

@aBochur nope, as it doesn't work like that, after short while it's still going back to regular Inbox instead of Priority(

After playing with the Gmail app, I realized that they missed one detail in the link that you posted. Here's what you're supposed to do:
After switching to priority inbox following the instructions in the link, you have to then manually switch from the regular inbox, to the primary one. To do that, open the menu, and press on priority as shown below. After you do that, it will open it by default unless you switch back.


text:
limit app search to apps only in android 8
I have a google pixel 1 that I recently updated from android 7 to android 8.
In both android 7 and 8 I can drag upwards from the bottom of the home screen to go into a view that shows all apps. At the top of this view there is a search bar.
In android 7 if I entered some text in this search bar it would search my list of installed apps for ones whose names contain the search term. In android 8 it shows me all sorts of noisy web and other search results above the list of matching apps.
For example, if I search for 'ca' it shows me a web result for a film called 'call me by your name' and a contact from my contacts list named 'Carl', and a couple of other web search results. Underneath all this noise is where it shows the apps that start with 'ca': calculator, calendar, camera.
Does anyone know how to configure this search to only search the list of installed apps? I use this search all the time and I find the noise distracting and annoying.

Doesn't happen by me. Can you post a screenshot?

It will only shows installed apps. Also may have an option "search for more apps", on clicking it will open playstore

Any chance, that is replaced by Google search widget?


text:
adb over wifi connection problem
I'm using wifi adb app on my mobile which is galaxy s3 mini
when I type this command
adb connect 192.168.11.22:5523

it's connected fine, when I run the app over the android studio
this message pop-up "session app Error installing APK"
and mobile disconnected and trying to connect it but it gives me this on CMD
unable to connec 192.168.11.22:5523

Have you tried the answers of https://stackoverflow.com/questions/33726622/how-to-debug-in-android-studio-using-adb-over-wifi ?

it's working well when I changed the network

Some Wifi routers/networks disallow intra-network communication (from one client to another client).


text:
How to block certain devices for my hotspot
I want to be able to let certain devices use my hotspot, block others. Is this possible? Or is it possible to block certain Mac ID's?
Device: General Mobile GM 5 Plus d Android One (Something sold probably only in Turkey)
Android v8.0.0
I hope this feature will be added to the newer releases of Android.

When device connects, in menu where set up hotspot option is there, long press the device and click on: block.
Use the traditional method: set up password

I don't see connected devices in settings. I had to install 3rd party software to see it. But these 3rd party  applications don't have an option to block clients.

Enable the hotspot. Connect two devices. Click on notification. Look there for connected devices.

I see only this: https://photos.app.goo.gl/DXNDY8GWnjavFEsaA. No devices.

Re: blocking connected devices from notification, this feature might be added by the manufacturer since there's none on AOSP (vanilla Android). It might help to [edit] and mention the device model and Android version.

@Andrew T. Added the info you requested. Thanks for your interest.


text:
Set up external storage to SD Card
Just put 64gb Samsung SD Card into my galaxy j7 looking for advice on setup and moving pics and filed from internal.. possible to create widget or how to make a default to the external..help plz

What, specifically, are you trying to achieve?

Thanks for a few minutes of your time Dan... I have a j7 its at compacity for its 16gb I put a Samsung SD Card in 64gb and I just need to put whatever I can that's ok for the phone to still function properly onto the SD.. My wife has about 4000 pics of my three daughters as they were growing up.. she wants to send them to me and i just need to be able to out them in the SD.... we are separated so it has to be by phone.. there is not a way to put the SD as default.. I have installed a few apps but dont want to start moving files not knowing.. I'm an idiot and just need my girls baby pictures..

Settings- storage (name may be different) - default write disk. Select SD card.
Use app like files go to transfer photos to SD


text:
Virus keeps downloading "Female for Portuguese" TTS file while hijacking Chrome
Device: Samsung Galaxy S4 mini [SCH-I435]
OS: Android 4.4.2
Problem:
When I try to open my browser (Chrome) it auto redirects to us.councilors425qd.top/.... and starts auto downloading "Female for Portuguese (..." [Voice data for text-to-speech]

while throwing up multiple un-closeable popups:

I can't seem to get rid of this issue. I've tried shutting off my device, clearing my data and even reinstalling Chrome. It keeps happening.
(By the way, this all started when I did a google search for "weather forecast Raleigh tomorrow" in my google search widget, which redirected me to Chrome and opened this mess... -_- )
Also, it finally successfully downloaded the "Female for Portuguese(..." voice data for text-to-speech (TTS) file, and now my phone just rattles off Portuguese non-stop. I've now muted my phone.
2 questions:

How do I get rid of this terrible thing?
How do I find and delete the Portuguese TTS file???

What else I've tried:

I've already downloaded and ran Malwarebytes and Norton Antivirus,
neither of which found/did anything.
I've done a search of my files using OIFileManager, but I could not
find the TTS file.
I've checked the download history in Chrome, but it similarly shows
no evidence of the TTS file.

Note: Looks like others had this problem in 2014.

So I followed tyhe directions here (namely, Settings > Language & input > Text-to-speech output > gear next to “Google Text-to-speech Engine”), but I found no evidence of the Portuguese file there, either.

Were you able to change in back to English using the same directory?

@aBochur I didn't have to. English is already selected. There is no evidence that a Portuguese file even exists under the TTS menu -- specifically, "Portuguese (Brazil)" doesn't show up in the "Language " submenu and it also is marked as needing to be installed under the "Install voice data" submenu.

Did you try clearing data for the Google app? The one that caused this thing to being with

I had a newsweek article riddled with ads on mobile redirect me to the same site. Something on the page seems to have triggered a download of the TTS language file. Try this: Settings > Languages and Input > Text-to-speech output > Install Voice Data > Portuguese (Brazil). Then, there should be a trashcan. Click that and the file should be gone. Question for any other visitors: What triggers the download? A screen reader that determines I need this voice to read the language on-screen? A malicious script on the page?


text:
Play Store won't update to newest version after resetting it back to factory version
Like the title says, resetting the Play Store to its factory version caused it to be stuck on version 7.8.16.P. Tapping the update button downloads an update but then it doesnt change anything.
The phone is a Samsung Galaxy J7 Prime updated to Android 7.0 from 6.0 through official updates. The device is not rooted.
Has anyone experienced this problem or know of a way to fix it?

Try clearing its app data also the google app.  But it may ask for you to sign in again

Tried that, it remains stuck on the same version.

Tried instaling via an apk?  Its not recommend but then its worth a try.  Play store may be acting as if its already updated

Turns out the refusal to update is because my ISP is issuing awful modems that start having issues after prolonged use, like dropping connections to Google services.


text:
Root not available?
 Root not avaliable?
 So far all of Rooting APK's Either don't download (Just disappears)
Or say Root failed or not available.

So far These are what ive used.
KingRoot
KingoRoot
OneClickRoot
 -

If possible can someone tell me Rooting programs that I haven't used that might work.

add info about your device and os version to let our users provide specific solutions. Meanwhile you can check this

Mtk droid tools is for mediatk devices. There is framaroot is an apk also but very specific in devices it can root.

I'd advise heavily against one click solutions, as they are frequently malware ridden - I wouldn't want to give malware root access.
Unlock the bootloader, flash TWRP and then flash magisk for safe root.


text:
Can I get Voice to Text to spell my daughter's name correctly?
Let's say my daughter's name is Danny.  But she/we spell it Dani.  Every time I use her name in VTT it is misspelled Danny and I have to correct it. PITA.  I've tried adding the name correctly spelled to the dictionary but that doesn't help.  She is in my contacts and if I say "text Dani" it works correctly. But on VTT no dice.
I have LG G4 running Android 6.0 version LS991ZVI using Gboard.  Yes I know it's an old phone but I love it and hate that the newer versions don't have the omnifunction button on the back.
Can someone please help?

Does this answer your question? How can I configure Google speech to text so that whenever I say "Frank" it writes "Franck"?

No, @FranckDernoncourt, that did not work for me with VTT on a Pixel 4a 5g.

Interesting, you can't go to settings, dictionary & add Dani and make Danny the shortcut?

I did that.  But when I say "Danny"  I still get "Danny".

Yes this won't fix it.

With Gboard, there's currently no option to correct the voice typing directly so that saying "Danny" writes "Dani".
The closest option is to add some entry in the Gboard personal dictionary to fix the already transcribed text (screenshots from Android 12 + Pixel 6 to fix "Frank" into "Franck", thanks user1874594 for showing me this trick):

Then you'll see the fixed word as a suggestion (only after the voice typing stopped being active):


text:
Marking email as unread issue in Outlook app
If I want to mark an email as unread in my Outlook app, I have to do it twice, because after the first time it changes back to the 'read' status (after a few seconds).
The problems occurs on a OnePlus 5T phone running Android 8.0.0 and I haven't found anyone else online reporting this small but annoying issue. It looks like a bug to me, but maybe someone else has encountered this as well or has some ideas to solve this?

Have you tried on any PC or online: to mark an e-mail as unread? If this malfunction shows there too it's possibly your e-mail provider has the problem.

@BálintBabics Yes, I have. On my computer this problem does not occur, so I still don't have a clue where the issue comes from.

Outlook's support team helped me.
They suggested to delete my account, subsequently clear the application's cache and then to add my account again.
Update: This seemed to work in the very beginning, but the issue actually persists.
Update2: The Outlook development team is investigating the matter. We'll have to wait for an update.
Update3: The issue is resolved since some time, presumably because Outlook fixed this bug and updated the app.


text:
Sell a device containing Google apps without very first boot experience?
I bought a Chinese smartphone yesterday in its sealed package, but after powering up the device, It started from Home screen and the SetupWizard was pre-configured by default.
Is it possible for the end user to buy an Android device coming pre-configured without the very first boot screen AKA SetupWizard?
Edit: Does Google prohibit this habit, any sources please!

Of course no if its brand new. It could be a refurbished one.

questions around legal issues are off topic. Please amend the title and question accordingly

Thing is, manufacturer ROMs could come without any setup wizard entirely. Many custom ROMs do exhibit this behavior.

I modified the title, the main issue is not about legal/illegal issues but it's about buying an Android device preloaded with with Google apps without Setupwizard.

Do not confuse Android with Google services, specifically Google Play services. Android is a purely open source OS that anyone can use and implement as they see fit within the terms of the Apache 2.0 Software license. Many implementations of Android use Google services, such as Google Play, but it is not mandatory. Google has guidelines for using their services and part of Google service is a setup wizard but I could find no reference to state that it has to be used or even installed, you could very well have to do it all manually.

Thanks, so manufacturers are not blamed for this habit of bypassing setupwizard while there is no obligation from Google. And end user should not worry about that point.


text:
Why Android phone cannot have second display?
There are many questions about mirroring the screen, but I am interested in why no Android phone cannot have a second display (not interested in casting the screen, nor folded displays), etc through USB-C or maybe later through HDMI to big 777" displays. There should be no technical limitations.

"There should be no technical limitations."  Ok, should and is are 2 different things.  Are you sure there aren't any limitations?

@SiXandSeven8ths Can you estimate when it is technically possible to have second display?


text:
What resets the battery stats
I'm looking at the "Battery" section under "Settings", and there's two major sections:

a graph that shows how full the battery has been over some period
Which apps have used the most battery power over (what appears to be) that same period.

There's a label between the two sections that says "Use since last full charge"
And I can't figure out what constitutes "full charge".
Things I've tried:
1. Not letting the battery get full. (thought it would be this simple a couple of months ago when I started this investigation, but it's not this simple)
2. Not letting the battery get empty (it seems to reset the stats more when the battery is low,
3. Time charging (it also seems to happen if it's a short or a long charge)
So, I guess what I'm asking is, "What is it precisely that resets the battery stats?"
Android is open source? Does this mean the code is readily available to look through? Where would I get started to try to figure it out myself? Is this kept in a battery library? Where's the source code for that?
Here's an example of when it reset at about 75%.

I'm running 7.1.1

On my Samsung devices (2 tablets and a phone), 90% charge,, something I experimented with early on, constitutes 'Full' and resets the counters. YMMV, based on your device.

"What is it precisely that resets the battery stats?"

Quoting from an old post by a Google engineer

....it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point)....

Relatively full is not defined AFAIK but from experience 90% charge does the trick of resetting it. IIRC on KitKat reboot also did that
Location of batterystats.bin file is /data/system/batterystats.bin

I can't point you to the code
Battery usage statistics in Android is poor though it has improved considerably in Oreo. Without specifying the Android version and an accompanying screenshot your question about interpretation cannot be answered fully, but here's an example. Suppose you charged fully (100%) and used only YouTube and Chrome till it dropped to 70%. In app usage of it shows YouTube used 60%, it means 60 % of the drop (=30%) is used by it. In outlet words, 60*30 =18% of battery capacity is used by YouTube. Similarly for Chrome and other  apps. The total will never exactly match up. If you install GSam battery monitor, you get more meaningful interpretation

I think I have to disagree, because mine resets at numbers much lower than 90%. I've seen it reset at 8% and 20%, for example.

I've added an image of my battery screen. I'm running 7.1.1

Well, I can't say why.  I have explained the standard behaviour. Explanation of statistics interpretation is the same

It will also reset itself at some point after the time since last charge displays at least 5 days. I have managed to get it as high as 8 days once, but it becomes very sensitive after 5, one wrong move like taking it off the charger with the screen off (still well below 90%), or even with the screen on i have seen it hang for 16s still saying it's charging, then suddenly reset itself as I watched

This answer is based on Android 9 (Pie).
I have been trying to find the answer to this question for quite a while. Preventing the battery graph from resetting has become somewhat of a game for me - a game that I lose if the graph resets.
If the battery charge reaches 90%, the graph will reset.  Typically the graph will reset as soon as the battery is removed, but it may reset before this if the charge reaches full.  I very rarely let the battery charge go above 80%, but this does not prevent a reset.   Under the chart there is text indicating how long it has been since the graph was reset.  Once it is reading more than a day, it does not seem to actually switch days based on when the graph reset, but from a fixed time in the day.  For instance, I once had the graph reset at 9:47a.m. but a few days later I notice it went from 4 days to 5 around 10p.m.
One the "days ago" value reaches 5, the graph may reset any time you take it off the charger, no matter what the charge state is.  The graph may also reset itself spontaneously while not being charged if the battery graph app gets killed.  Ironically, putting the phone in battery saver may make this more likely! I am still trying to determine the exact sequence of steps to prevent this, but it is slow because it takes at least 5 days until I can try the next experiment.  When I get more data points I will update this answer.
It is possible to prevent a reset for at least 8 days if all the conditions are right, as shown below:

Update: This is really frustrating me.  The battery guage will apparently reset even before 5 days has been reached, as early as 4 days, 9 hours.  Just taking it off power, with the screen on, seeing that it has not reset, and then turning off the screen for 5 seconds and turning it back on has led to it resetting multiple times.


text:
Cheetah Keyboard wanting permission to manage my email
I keep getting popups from Google asking me to give permission to Cheetah Keyboard access to manage my email. I got so many popups that I sent Cheetah emails. I've not heard back, so I uninstalled their app but continue to get popups. How can I stop this?

You uninstalled it but you're still getting popups?! What process did you use to uninstall?

I reccomend you run a virus scan with something like malwarebytes.
https://play.google.com/store/apps/details?id=org.malwarebytes.antimalware&hl=en


text:
Reopen app to last activity
If I open an app from a link (e.g. a notification or a link from an SMS), every subsequent time I open the app from the history, it goes back to the same link, performing actions I don't want it to and making me have to shut down the extra page / press back to clear the subitem(s). It becomes necessary to force-close the app and reopen it from the apps list to get the default behaviour back.
It there a way that when an app goes to sleep and is woken up again, it resumes from where it left off, and not from the last link used to open it?
EDIT
Some people are having trouble understanding the issue, so step by step:

Open an app from a notification or a link
Read the message, take any appropriate action, etc. then use the app normally, navigating away from the notification area
Wait half an hour or long enough for the OS to put the app to sleep
Open the recent tasks list
Select the app again to wake it up

Instead of the app remembering its last state (which it does when opened from the installed apps list), it reopens as if the notification had been clicked again.
I haven't noticed any apps that don't do this. Opera, Facebook, Duolingo, etc. It's on Android 7.0.

Apps will resume from sleep in the manner programmed to them. If the app is designed to forget its progress and stopping point upon resume, then that is what it will do. It CANNOT deviate; to do so would impart it with some form of AI, to which we will then have to battle for domination of the planet.

@wbogacz I don't believe that it's app dependant. I believe it's the OS that provides the way for the app to wake. Otherwise, starting it from the app list would exhibit the same behaviour, when it actually behaves differently.

@CJDennis wbogacz is right. Android has several different entry points for apps according to whether it was started from the task list, from a notification, from the launcher, etc. The behaviour also depends on how long it is since you last ran the app. It's up to the app developer to test all these different ways through the app lifecycle to make sure they do the expected thing each time, and it sounds like this app has a bug. What app is it? What Android version? And can you clarify "open the app from the history" - do you mean the recent tasks list?