text:
How to Prevent Battery Full Notifications in Mi 2 Band?
Situation: to prevent Mi 2 Band's battery full vibration, which wakes me up; the notification bypasses Android's own Silent Mode
Secondary solution: use Do Not Disturb applicaiton of Playstore
Band is in the connection with the phone by Mi Fit of Playstore.
My Pebble is connected to my phone by Gadgetbridge.
Situation

In Mi Fit, DND active from 2100-0700
Android's Silent mode active but not effective
In Mi Fit, I find no setting about disabling the vibration of the band about the battery full status

My Settings > Notifications > App specific for Mi Fit

Phone: Samsung Galaxy S4, Oneplus 3
Phone OS: Cyanogenmod 13
Activity band: Xiaomi MI Band 2
Smart watch: Pebble Classic 1
Pebble firmware: 3.12.2 (newest 9.8.2016)
Pebble hardware: V3R3
Ticket at Gadgetbridge github about the issue: Can you Stop Vibrations of Mi 2 Band about Battery Full Status with Gadgetbridge?

So you're trying to stop Mi 2 app notifications from showing up on your Pebble, or what?

So you want your CyanogenMod phone to not vibrate when Mi Fit has a notification about full battery?

What about blocking all notifications from the Mi Fit app—to do that (though I'm sure you know how), just hold down on a notification from the Mi Fit app, hit the settings icon, and tap Block All.

Go to the Settings app on your phone, go to Apps, then find Mi Fit in the list. There, you'll see a Notifications row, click on that. Then tap the toggle for Block or Block All to on. That will block all Mi Fit notifications.

Ok, I understand now. I believe that as long as "Treat As Priority" is unchecked for Mi Fit in App Notification Settings, that Mi Fit cannot make notification noises. Go to the Settings app on your phone, go to Sound and Notification, go to App Notifications, and find Mi Fit in the list. In the Mi Fit notifications settings, uncheck Treat as priority. That will block sounds from Mi Fit notifications when your phone is on Priority DND (or Alarms Only, or Total Silence).

Huh, that's very mysterious. Is there a way you can customize notification sounds in the Mi fit app itself? And can you try going into Priority DND mode? And customizing Priority DND mode in settings to turn off all sounds other than alarms and calls (settings -> Sound and notification -> Do not disturb) might help.

I resolved the problem by getting the second phone for my Mi Band 2 because I use Pebble at work, thus causing me much complications because no two internet gadget -support is not supported at the same time. This way, you can control the notifications of battery full -status stably.


text:
How Do I root Motorola x Force?
I've just bought a shiny new Motorola X Force and I would like to be able to root it.
Is there an app that I can use?
https://www.motorola.co.uk/products/moto-x-force
Any help  would be much appreceated

Good that you got the X Force instead of Droid Turbo 2 (Verizon's variant), that means your device is eligible for unlocking the bootloader and thus rooting relatively easily.

Unlock bootloader following here - all data including internal storage will be wiped, so be sure to back up.
Flash TWRP recovery here.
Flash a suitable SuperSU package in TWRP. Use "systemless" if you want to keep the system intact so you theoretically would be able to take OTA updates, or use "system mode" if you want root to persist across factory resets.
Optionally, flash CyanogenMod 12.1 here in case you're bored with Moto's UI and want it replaced altogether. You lose stuffs like Moto Assist though.

source: Stack Exchange

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

sort: votes


text:
Google Play Store suddenly started crashing with a java.lang.StackOverflowError error
Today I discovered that I can no longer open Google Play Store on my Galaxy S4, running Sumsung's version of Android v4.2.2.
When I try to open Google Play Store, it opens, but shorty fails with the following stack trace:
I/Finsky  ( 6299): [1] com.google.android.finsky.utils.dp.a(1041): Starting LocationRefresher
I/Finsky  ( 6299): [1] com.google.android.finsky.selfupdate.f.a(166): Skipping DFE self-update. Local Version [80691500] >= Server Version [-1]
I/Finsky  ( 6299): [1] com.google.android.finsky.utils.ji.a(102): TOS is accepted (pref)
I/Finsky  ( 6299): [1] com.google.android.finsky.utils.dk.a(64): com.samsung.groupcast available because owned, overriding [restriction=7].
I/Finsky  ( 6299): [1] com.google.android.finsky.utils.dk.a(64): ma.wanam.xposed available because owned, overriding [restriction=7].
I/Finsky  ( 6299): [1] com.google.android.finsky.utils.dk.a(64): com.questvisual.wordlens available because owned, overriding [restriction=7].
D/AndroidRuntime( 6299): Shutting down VM
E/AndroidRuntime( 6299): FATAL EXCEPTION: main
E/AndroidRuntime( 6299): java.lang.StackOverflowError
E/AndroidRuntime( 6299):    at java.util.HashMap.get(HashMap.java:298)
E/AndroidRuntime( 6299):    at com.google.android.finsky.FinskyApp.e(SourceFile:1355)
E/AndroidRuntime( 6299):    at com.google.android.finsky.FinskyApp.e(SourceFile:1379)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:83)
E/AndroidRuntime( 6299):    at com.google.android.finsky.api.model.Document.Z(SourceFile:1105)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:317)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:62)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.v.a(SourceFile:335)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:261)
E/AndroidRuntime( 6299):    at com.google.android.finsky.installer.b.a(SourceFile:3159)
E/AndroidRuntime( 6299):    at com.google.android.finsky.autoupdate.r.a(SourceFile:326)
E/AndroidRuntime( 6299):    at com.google.android
D/AndroidRuntime( 4557): Shutting down VM

I attempted to fix this by side-loading the latest Google Play Store APK (6.9.15.G-all [0] 3104571), but this did not fix the problem.
Considering that the infinite recursion is between autoupdate and installer packages, I assume this is some sort of bug that happens when Google Play Store tries to autoupdate something?
I am not sure how to recover from this situation, so any ideas would be appreciated.
EDIT 1: I was able to get rid of this particular error by downgrading Google Play Store all the way to 6.3.20.B-all [0] 2734767. However, although Google Play Store no longer crashes, a new error prevents me from actually downloading any content:
I/Finsky  (11347): [1] com.google.android.finsky.receivers.h.a(443): Request install of com.staircase3.opensignal v=120530 pri=2 for single_install
I/Finsky  (11347): [1] com.google.android.finsky.receivers.h.a(1184): Installer kick - starting com.staircase3.opensignal
I/Finsky  (11347): [1] com.google.android.finsky.receivers.ac.a(1177): Received VolleyError 922 (Error while retrieving information from server. [DF-DLA-15])
I/Finsky  (11347): [1] com.google.android.finsky.receivers.v.a(766): Cancel running installation of com.staircase3.opensignal (null)

Now, this DF-DLA-15 error appears to be quite famous:
https://productforums.google.com/forum/#!topic/play/pqV-NFm-qy8
I have tried all troubleshooting steps suggested in that thread, even the crazy-sounding ones. To be specific:

I cleared Data and Cache for Google Play Store and Service
Recreated and re-synced my Google Account
Deleted Dalvik cache
Unmounted the SD Card
Deleted and recreated my payment info in Google Play Store

After all that, still getting DF-DLA-15

It seems like it thinks two packages are dependent on each other, or something along those lines.  Have you tried clearing the data for the Play Store and Google Play Services?

I have tried clearing the Cache and Data for both Play Store and Google Play Services, as well as clearing the Dalvik cache, although that was probably needless. I have also tried recreating and re-syncing my Google account.

I was able to get rid of the error by DOWNGRADING Google Play Services all the way to 6.3.20.B-all [0] 2734767. But this still doesn't work... I'll update the post with more detail.

Maybe try removing your Google account(s) and adding a different one, just as a test.

Matthew, tried as you suggest to use a different Google account, and got a different problem. This time installing an app results in "Authentication is required. You need to sign into your google account", when I am already signed in and even defined a payment source. Clearing Data from Play Store and Services didn't help.

That is incredibly weird.  I'm pretty much out of ideas other than trying to upgrade to a new Android version with a custom ROM, which you may not want to do especially over one issue.

I was able to fix the problem with a suggestion from Brandon Heston, although I am not sure that my situation was exactly like his (see comments).
I fixed the problem by doing the following:

Uninstalled the last 2 apps I installed (Sleep as Android and Hue Disco).
Deleted Data for Google Play Store, Google Play Services, Google Account Manager and Google Services Framework
Rebooted

After this the Google Play Store stopped crashing. However, unlike Brandon's situation, neither of the 2 apps I uninstalled have become unavailable for my version of Android, so I am not sure why this solution worked, but it did.

I just had what seems to be the same problem happen to me a couple hours ago. I think an app I was using suddenly became outdated in the store without a possible version for my phone (s5 running 4.4.2). This app had a subscription tied to it so I'm not sure if that played any role. But I deleted said app and cleared cache and data on Google play store, Google services framework, and Google play services. Seems to work now.

How did you figure out which app to remove?

Well I was also getting an Unfortunately Google Play S has stopped working or something along those lines message continuously. I tried clearing cache and data on everything to no avail. I remember I started getting the notification when using a Map my run app by mapmyfitness (under armour). Then I couldn't load the store for more than 2 seconds. And the message. I uninstalled that app. Then Google play store opened and gave me the option to install and said I still have subscription. I restarted. No more issues. Went to the store after the reboot and no more option to install because

There was no compatible versions for my device and firmware anymore. So I more or less got lucky I suppose.

I didn't Install when it gave me the option after uninstalling. Restarted and that option was gone. So probably an auto update issue with compatibility.

Brandon, you were right! I uninstalled the last app I installed (Sleep as Android), and the original problem went away. Play Store no longer crashing, but still stuck on DF-DLA-15 :(. I'll post that as a separate topic though.

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


text:
Google Play Store accounts for over 50% of battery use! Solutions?
Google Play Store alone accounts for 52% of my phone's battery use!
I would think Google Play Store would only run when downloading or updating apps, or when checking if apps need updated. Since last unplugging, I haven't manually run Google Play Store, nor have any apps been automatically updated.
Clicking through reveals that Google Play Store has been continuously requesting GPS. But I always have my GPS off in system settings.
I have all the sync settings off too. I don't want autosync.
So why is Google Play Store running uncommanded in the first place, and moreover, why is it using so much battery? How do I correct this?
Phone is LG G3 D855, Android version 4.4.2 KitKat. Rooted w/ xposed framework installed.

Things I tried:
I pressed the "stop" button in the above screenshot, which force-stopped the Google Play Store. But then many system services started shutting down and prompting me with "not responding" dialogs, until I eventually pulled the battery and restarted the phone.
I used SystemCleanup to disable several autoruns (such as receivers) for Google Play Store, so that it won't be constantly called on to run. I also killed the task using SystemCleanup (which did not kill the system).

Turn off auto-updates, clear play store cache, check active threads (if you can't do any of those, look them up or comment below with @JohnRamos)

What is the version of Google Play?

@beeshyams Google Play version 6.8.24.F

@ElliottMurt Any change in consumption? Let me know.

@JohnRamos Not sure tbh because the previous solution I tried of using SystemCleanup to disable several autoruns, plus the below solution of hibernating the app, seems to have solved it completely. Today, the Google Play Store is nowhere in my battery use list! So the issue has been resolved.

@ElliottMurt Nice.

Apart from turning off auto-updates plus clearing cache (as recommended by John), you could use Greenify to "hibernate" the app whenever it is not running in foreground. With Playstore being a system app, that would require the "donation package" of Greenify (in-app purchase). Side effect: even more battery saving when used on other apps as well (Greenify gives suggestions) and, if you're already on Marshmallow, by an advanced doze mode.

Greenify in action / App Analyzer / Settings (source: Greenify; click images for larger variants)
A slightly different approach would be dealing with the auto-start events. AFAIR Playstore e.g. registered for changes in network connectivity, so it would always awake when you switch networks. Some references on how to deal with those can be found in the linked tag-wiki.
Not to forget: there are apps that cover several of the related topics (usually those "root toolboxes" or similar allrounders like SystemCleanup or ROM Toolbox):

Disable receivers with SystemCleanup (left) or ROM Toolbox Pro (right); sources: GooglePlay 1 / 2, click images to enlarge
Another alternative would be ditching GApps completely, using a custom ROM without installing GApps and taking microG instead. To access app stores, you then can use F-Droid – and if you insist on accessing Playstore, there's BlankStore, a bare-bones Playstore client, for non-paid apps, and Raccoon on your PC for all apps (free and those you've bought). That's the way my devices are set up :)

What do you think about Francisco Franco's Naptime, which forces Doze to be always active (works only on Marshmallow, though)?

Thanks, @Izzy. Turning off the autoruns seems to have taken care of it, but I hibernated it with SystemCleanup for good measure. I used Greenify before but found it redundant with apps I already have. In this case it's the same end result anyway. I thought about the custom ROM too haha.

@DeathMaskSalesman Don't know, never tried (I have no MM device currently). // Elliot: Glad you've solved it. And yes, if you've got other apps covering that, you don't need Greenify for just that. And I see I forgot to mention autoruns (stupid me; that's what I've often used to keep apps from starting just because of network switching). Maybe I edit the answer and add that?

@Izzy Nice edits. Google Play Store had a lot of autoruns! Network connectivity like you say, and also screen unlock, boot, and a few other things. No wonder it was running so much. It was being called on all the time!

Yupp. Most of the GApps have tons of receivers. One of the reasons Maps always runs in background if left "unattended" – though one might never ever have started it manually. A wag who suspects things behind that :)

Indeed, I noticed this about Maps too. I will be freezing Maps tonight though, I found a great turn-by-turn and mapping navigation app that works both online and offline, called Here We Go.

I'm using Locus Map for that. Bought it years ago :) // Btw: currently I'm extending my little tool Adebar to extract those "disabled components", so one can replay them on demand via ADB (e.g. transfer them to another device without needing a GUI). An example command, keeping Playstore from waking up on location change (why should it?): adb shell "pm disable com.android.vending/com.google.android.finsky.receivers.LocationProviderChangedReceiver" (did the same to com.google.android.finsky.receivers.BootCompletedReceiver ;)

Please delete the Google Play data and login again. Update the GP if neccessary. Let this time autosync GP till all is synced and now you can disable the sync of GP only. I guess it won't use much anymore then.

I deleted cache and data and logged in again. Google Play does not appear in my sync settings.

I started having this issue recently with my Moto G 4G running stock Kit Kat 4.4. Play Store would keep GPS running.
I used App Settings an xposed module to revoke the fine positioning (GPS) permission from the Play Store (it can still use the coarse setting without draining the battery).
This has solved the issue for me.

Thanks for the input. Kindly link the module to improve quality of your answer, besides adding significant features that help in this case

I had the same problem on my LG G2 D802.
It was solved by flashing the kdz from the same version i had (20H).
I flashed twice, first a CSE flash, then a normal flash then a factory reset.
Now the problem is gone even with the same version of the play store.


text:
which of these files is the stock recovery image for the nexus 4 android 4.3?
which of these files is the stock recovery image for the nexus 4 android 4.3?
https://developers.google.com/android/nexus/images
https://dl.google.com/dl/android/aosp/occam-jwr66y-factory-74b1deab.tgz
Is it

Or is it

So, is it bootloader-mako-makoz20i.img  or boot.img or recovery.img?
And what are the differences between these?
I will be doing fastboot flash recovery blah.img  I can guess that recovery.ing is the correct one. But I want to verify here and also it makes me wonder though what the other two are for and what command would replace them?

Go for recovery.img. Extra info below:
bootloader-mako-xxx.img -> bootloader. Flash with fastboot flash bootloader bootloader-mako-xxx.img then fastboot reboot-bootloader. Updates (upgrade or downgrade) bootloader for compatibility with corresponding generation of ROMs.
boot.img -> kernel. Flash with fastboot flash boot boot.img or boot once with fastboot boot boot.img. Only use original ones or ones that are known compatible.


text:
Is it safe to charge Galaxy j7 using Galaxy A5 charger?
A5 has 2900mA battery and a charger with fast charging capability and j7 has 3000mA battery with normal charging.
Can I use that to fast charge the Galaxy j7?

j7 mobile charging is done by 1.5mA or 2mA charger .

Galaxy J7 isn't rated for Fast Charge support either on Samsung's sites or other sites that host specs, and comes with a measly 5V 1.5A charger (for both the 2015 and 2016 versions). Adding the fact that it targets the lower end of the market, it's safe to guess it does not support Fast Charge. In comparison, A5 is at a higher end and supports Qualcomm Quick Charge 2.0.
You should still be able to use the charger, just not getting fast charge from it.


text:
Samsung Tab A 9.7"
I just got a Samsung Tab A. I don't always get a full screen when watching TV. Is this normal with this model?

I'll shift the comment to a formal answer; kindly accept if it's indeed on point, or comment on the answer if you need more info.

The content provided may simply not have the same aspect ratio as your screen (4:3), so you get black edges. One reason why 4:3 tablets are bad for media consumption.

Remark: listening to audio media the aspect ratio is irrelevant. Most photos are done using the "golden ratio" as well, plus there are many movies in 4:3 – so saying the ratio is "bad for media consumption" is a bit too generalizing; one could say the same for 16:9 tablets when referring to those 4:3 movies or watching photos/slide-shows (black bars left and right) ;)

@Izzy Uh, really, tablets for music? Also movies are even shifting towards 21:9 by now, so the good'ol Iconia Smart might not be a bad idea to rework on. The photo part is right - I should indeed have made the claim more clearly restricted to motion picture, but I'll leave it as it is and let the comments fill in.

Why not? Also, there're always DLNA / uPnP Server and Clients :) And yes, that's basically what I've meant: "media" was the wrong term (don't forget the "print media" in electronic form, e.g. eBooks and also websites). But maybe I'm splitting hairs here ;)

@Izzy That's a pricey and not-so-portable slab you got for music enjoyment... About the Ebook part, now that you mentioned it, nobody actually refers to Ebooks when they talk about "media consumption" around our part, they usually reserve a separate mention for it.


text:
unable to mount storage while installing new ROM - Nexus 5
i have nexus 5 rooted, its version was 4.4 i tried to upgrade it to 6.0 so i download the ROM (image-hammerhead-mob30y) from developers.google.com and i copy the image to the phone by adb push command and when i try to install the image i get the error unable to mount storage. however i cant wipe internal storage or dalvik cache from the wipe section in TWRP. also every-time i try to get root access to the shell using 'su' command i get the error /sbin/sh: su: not found
so what can i do to install the image? if the issue with the image what did you recommenced?
thanks

You don't install factory images in custom recoveries, let alone "flashing" them like regular custom ROMs.
XDA has you covered for simple stuff like this. Excerpt taken and simplified below:

Install adb and fastboot drivers.
Download the latest factory images
Extract the archive you downloaded.
Unlock your bootloader (In case you haven't already)
Power off your phone.
Boot it in fastboot by pressing and holding Power Button + Volume Down at the same time.
Connect your phone to your PC through your USB cable.
Execute the flash-all.bat script (for Windows) or flash-all.sh(for MAC and LINUX) in the folder where you extracted the factory images.
Wait for everything to flash.
After everything finished, select "Recovery" using the volume buttons.
When a small dead Android appears, press Power Button + Volume UP.
Select "Wipe data/factory data reset"
Reboot.


text:
How do I plug in an emoticon into my keyboard
I have the original Swype keyboard on Android 4.4.2 (KitKat). When I type some words, sometimes some emoticons appear, and I can click on them to insert them into the text flow.
This is handy at times, but I would like to address two issues:

If I am missing an emoticon which I frequently use, can I download one and "plug it into a word", in a special settings area, so that then, when I type or swipe that word, it shows up.
How do I associate a set of emoticons with ASCII smiley, so that when I type that one smiley, different choices for that ASCII smiley appear, from which I can select one (while also being able to opt for the classical funny looking ASCII smiley at the same time)?

Perhapsthis would be a better post for the User Experience or Software Recommendations site.
Please let me know.
Thanks.
P.S., the stock SMS app on my device does some ASCII smiley to emoticon conversion automatically. I think this is a feature that must be dealt with. I am aware of some of the limitations with this though, as I know SMS are sent over the network as ASCII without embedded emoticons, and MMS is expensive.

The feature that emoticons can appear when you type in a word was introduced in some previous Swype versions earlier, maybe with version 2.0. It is hardcoded and not subject to change in any way, like so many things concerning Swype. The only thing is that you can switch off the icon prediction, if you run a newer Swype version. If your keyboard came preinstalled, you need to deacitvate it and buy the actual Swype keyboard on Google Play.
Hardcoded also is the languages dictionary and in some languages the dictionary is very poor (e.g. german) but since long they got never updated/repaired. The only thing the user can fill is the user dictionary, which is very limited to some few hundreds entries, then it is full and older entries are deleted. Also this is not changeable.
The Swype keyboard (run by Nuance) is as it is and the support (e.g. in the forum) is nearly not existing, so don't hope about any change.
Sorry, nothing you can do. Use it as it is.


text:
Why, and how to increase 16-character lockscreen password limit?
This is a problem that has annoyed me, as the password that I have memorized is around the 20-character mark, yet Android limits it to 16 characters
Why, and how to increase, 16-character lockscreen password limit?
If it's relevant, the Android is running on 5.1 Lollipop.

Check the build.prop if you can find any edits ....there are tons of stuff you can play around with in the build.prop file..just have a look and let me know :-)

@user87552 Their aint no mention in build.prop, i already have looked their.

From Android Security Internals: An In-Depth Guide to Android's Security :

Android doesn’t have a dedicated setting to manage the encryption pass-
  word after the device is encrypted, and changing the screen lock password or
  PIN will also silently change the device encryption password. This is most
  probably a usability-driven decision: most users would be confused by having
  to remember and enter two different passwords at different times and would
  probably quickly forget the less frequently used, and possibly more complex,
  disk encryption password. While this design is good for usability, it effectively
  forces users to use a simple disk encryption password, because they have to
  enter it each time they unlock the device, usually dozens of times a day. No
  one wants to enter a complex password that many times, and thus most users
  opt for a simple numeric PIN (unless a device policy requires otherwise)
Additionally, passwords are limited to
  16 characters (a limit that is hardwired
  in the framework and not configurable), so using a passphrase is not an
  option

(Emphasis supplied)
I don't know more about this limitation and would be glad if somebody can amplify (Edit: Andrew T has clarified here to an extent)
So, that rules out increasing password length to beyond 16 ( how to increase, Androids 16 character lockscreen password limit )
Since you are on Lollipop , you may like to related pitfall (claimed to be fixed) of long passwords here Android lockscreen can be bypassed by overloading with massive password
Note:

For earlier versions (Lollipop and below), Cryptfs Password by Nikolay Elenkov, allows you to set a separate password for disk encryption or if your device is rooted
su -c vdc cryptfs changepw new where new is your new  password.
Source: http://nelenkov.blogspot.be/2012/08/changing-androids-disk-encryption.html
Nikolay Elenkov is the author of the book Android Security Internals: An In-Depth Guide to Android's Security and runs a blog here

The length limit is mentioned on this line of Android source code, where it will be checked on this line when validating the password. Aside of that, there's no reason mentioned why it's 16 characters.

Note as well that it is technically configurable -- that is only the default.  The intent to create that activity can specify a different max length; it's probably up to the manufacturer to do so.

@AndrewT. In response to your comment, is this a changeable aspect of a compiled Android system that is already running, or is this a type of chnange you have to do before compiling the Android system, meaning I would have to create myself an custom ROM?

@Matt07211 as mentioned on the answer, it's hard coded, and there's no way to change it after it has been compiled. However, as Matthew has commented, there should be an Intent generator to configure (and thus, bypass) the limit. Whether it's possible to be used by end-user - conveniently - or not, I haven't researched it.

@AndrewT. Thanks for the reply, I really just wanted to know that if it's changable by an end-user, which it seems it isn't but seems like its changeable, if let's say I built my own cuutim ROM for my phone :) thanks for the info

Answers to https://stackoverflow.com/questions/10316130/cant-call-com-android-settings-chooselockpassword-activity indicate that calling that intent is not possible from outside of the Settings application.

From the commit comment max password length symbols is limited only for UI reasons.
Maybe there is no other reason which requires the lockscreen password to be up to 17 symbols (16+1)
EDIT: I created android build and tested with max password length 100 symbols and it is working for lock screen and also for encryption password
Fix 2504863: Use password min/max constants in ChooseLockPassword
This fixes a bug where the system was defaulting to 8 digits max password length.
The UI is best for N <=12, but works for more. I set the default limit to 16 which is more than most humans can remember.
That also seems to be the practical limit for the small sample of DevicePolicyManagers I checked.
DevicePolicyManagers can always specify more digits if they really want.
Change-Id: I8637e0c9366800886759424b5a28f48dca15c535

https://osdn.net/users/zhicai_peng/pf/packages-apps-Settings/scm/commits/70d5c3a0139899e5f4d425c8ab2d68f0dfc5c6da

Thanks for the extra info, tad annoying though, I geuss I'll just stick with the current max password limit :-/


text:
See all Reviews/AppRatings on PlayStore in a better Way?
Is there a better way to see all Reviews / Ratings with Comments on an Android App in the Play Store?
Right now i on a Android Device, i can scroll to infinity and in the Browser i only get some random 40 reviews. Sometimes (on the Android Play Store) it also resets my settings for the filter.

Update
For better understanding, i want to read all comments programmatic and store them in a database for further analytics.
So the best thing would be something like a WebAPI or a Website which provide an tabular overview of all comments/reviews.

Play Store reviews , IMO , are not a good indicator of an app for reasons mentioned Why You Shouldn't Trust App Store Reviews (and What to Trust Instead).

Appbrain a front end for Google Play , gives a better filtering capability as mentioned here. In addition, you do get a better insight of app in terms of rating over time, updating details, change in price, versions etc

Aptoide , at least an alternative of numerically showing the number of reviewers per rating , along with overall rating and use that in addition to alternate ways suggested . Screen shot below

Post your update in the question, Sensor Tower could be an option. It is a paid service but offers a flavour of services by free login for Facebook for example
Amongst the host of features it offers, Review History is one of them as shown below

Export Reviews (Enterprise-only)- Export of reviews in .csv format will not be displayed unless you are logged in with an Enterprise-level account.

In the Play Store at your choosen app press the "Read all reviews" button, now you have to access all reviews (Only on your language. I am not sure you can read reviews around worldwide, but I guess you are'nt interested chinese ones anyways.) You should scroll all the way down to reveal all of the reviews.

On which device? can you please provide a screenshot? i can't find this button.

Xiaomi Redmi Note 3 Pro with CM13 (6.0.1).
You can see screenshots here: link

You can filter the list of reviews by "Only newest" and "only for your device".
This is done in Google Play Store with the DropDown on the right top, when you hit a review (and thus open all reviews list).
Also you can sort the list by useful reviews, rating and newest review.

Yeah! but this is a bad method because it shows you sometimes multiply data and has always to load reviews at the bottom of the list.


text:
Samsung s6 edge battery drains super fast at 15%
My battery lasts normally during the day however I am observing a weird issue where when my phone reaches 15% battery warning. It discharges in few minutes which to me is counter intuitive.
I had phone for about a year. I normally last working day without needing to recharge with 50% left. But sometimes if I am using phone a lot it drops to less. I think problem is not with battery but rather with it discharging really fast after warning. It's as if some mechanism starts using more battery after the warning.
I haven't reset phone since I bought it. I don't frequently get to 15% level though, only noticed this behavior recently, and had phone for a while.
I use normal charging mode and not 'fast charging'.
UPDATE: I had a theory that it's 'power saving' mode that was causing this so I changed setting to switch to it at 5% from previous 15% then drained battery and observed and it didn't matter - once battery got to 15% it discharged to 7% in ~3 minutes.
I am sure it's happening to others, why does it discharge so fast? How do I fix it?

@beeshyams suspected the "battery display" might not yet have adapted (it takes a little until the values shown are half-way accurate). With "about a year" of usage, I'd say we can rule that out – unless you frequently factory-reset the device, that is, or often swap apps (i.e. uninstall a bunch and install another bunch).

Is this behaviour seen if you charge the battery using fast charge- as a thumb rule, what charges fast will discharge fast too. So this may be the culprit and you may need to verify by charging in standard mode using a standard charger @izzy: That's all I can come up with :)

@beeshyams that's one point more than I had: no more ideas either.

@beeshyams no I use normal charging mode.

Ahh..that is also ruled out :( , upvoted your question and hope a solution emerges

This was occurring for me as well, and a resolution was reached, although it may not be valid for everyone.
It is the sign of a failing battery, and is unfortunately common in the S6 series. Once the phone goes into Power Saving Mode, it seemed like the battery would drain abnormally fast, sometimes skipping from 15% to 12% immediately.
My carrier (Verizon) claimed that it is indeed a bad battery, and they are aware of the issue. Samsung typically wants you to send your device to them for repair, as removing the case and battery yourself will void any remaining warranty. Thankfully (hah), my device also had a faulty camera, which was close to failing entirely, and Verizon was able to replace my device with a brand new one (not a refurb, which I was surprised at). It was still under a manufacturer's warranty, so I did not have to pay for the replacement.
Regardless, get in contact with your carrier or Samsung, and see what they can do for you. This is unfortunately the only solution that worked for me. All the tweaks and tips from various Android sites were unsuccessful in helping the battery drain.

okay guys i found out the solution it was home run baseball app in mine it must b some app which uses your more battery after 15% left not a battery problem try factory reset if u fail to find out app good luck :)


text:
Forcing Rooted Samsung Galaxy S5 onto 2.4Ghz WiFi
I'm looking to force my Samsung to use the 2.4Ghz range of our Wifi as I need it to setup another device. The problem is the SSID for the 5Ghz and the 2.4Ghz is the same.
Does anyone know of a way to block the 5Ghz range so only the 2.4 Works?
Thanks
CRFC11

Have you checked the WiFi (advanced) settings for the AP? I don't know if its valid for all devices, but at least some have an entry here for "preferred band" or the like, where you can chose between 2.4 and 5GHz.

Thanks @Izzy I had a look and couldn't see that option only the auto switch function :/

I needed to be connected to 2.4ghz to connect to my robotic lawn mower to wifi and set it up. Tried everything to no avail. Finally I walked outside to a range that the 5ghz would no longer be good and the tablet automatically connected to the 2.4ghz signal. Then I was able to do the setup. Voila! I don't have an answer to change it forever but that worked for the little setup I needed.

If the SSID for the 5GHz and the 2.4GHz network is the same, it probably means that the connection is handled by the router/access-point. Hence, you should look into the configuration of the router/access-point, to see how it selects the channel to connect to.

The solution needs to be on the device side not router. As the Meraki's are set for 5Ghz priority which is the company standard. Thanks anyway @Orpedo

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


text:
"One time setup" screen pop ups constantly on BlueStacks
I can't use any app in BlueStacks since it constantly sends the "One time setup" message.
The "Disable" and "Force stop" buttons don't work for "App sync" and "BS services". No matter how many times I do it, they can't be disabled.
Any solution?

I have "One time setup" issue too, but a bit differently from yours:
After restart "One time setup" appears and I should re-login into my BlueStack account (with Google authentication). But after that it works well.
Are you logged in a BlueStack account? I think you have to use on infree mode.

I don't have any bluestacks account and I don't want to have any. Do you think I should get a rooted version of it???

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


text:
Re-downloading app always failing
So, I uninstalled an app, but whenever I try to install that app again on Google Playstore it always ends with an "App not installed" error. The error happens only when the app finishes downloading to 100%. The app that I was trying to install was "World Conqueror 3". So far, I've deleted the cache of Google playstore and even tried uninstalling its updates then tried to download the app again, but it went to no avail. As far as I know, I've completely uninstalled the app before trying to install it again. Is there any fix for this?

If you really want to uninstall to a clean state before re-installing, I suggest the SDMaid app to look for any "corpse" files it may have left. Usually you don't want to do this, especially if you want to keep some consistent state or level data. If this is unimportant, then it should not be a worry to try.

Okay, I'll give that a try later.

Just tried it and it worked, thanks so much dude!

Some apps leave remainders during uninstalls that aid in the restoration of state or level information upon re-installing a later version. Usually these remains are unimportant to a user who does not intend to re-install or to any other user where consistent state or level data is unimportant. These remains have a particular name in an app that can clean them up: "corpse files".
SDMaid is a disk cleaner that can locate, and delete, files related to corpses.
Install the app, and select CorpseFinder from the menu to locate, and, optionally delete them.
DISCLAIMER: I am not the developer, just a satisfied user.


text:
Check and fix "formatted as internal" / encrypted SD Card i/o errors
Unfortunately I seem to have a problem with my filesystem on my as internal storage formatted SD card.
My problem is kind of related to this thread so I think it is worth mentioning here.
When I was restarting my device today I got the error that my SD card is corrupted. With a little bit of putting it in and out of the slot I eventually managed it to work again. Still the SD card is very slow and seems to have a corrupted file system. I managed to backup most of my data via adb pull but for some of the files I got an i/o error. I tried to run fsck as described in the other thread, but I cannot find any mount point of the SD card. I tried to umount every device in /dev/block/vold/ but it always gives me Invalid argument error.
Of course I cannot try to fix it outside of my running device, as it is encrypted.
Is an as internal storage SD card behaving differently? Where is the mount point for this.


text:
Debug crashing/reboot when in safe mode Samsung Galaxy S6
I have a samsung galaxy s6 (SM-G920F) running marshmallow 6.0.1 that has been rebooting frequently even when in safe mode. If the device is plugged into a USB cable it seems to freeze when trying to boot after the crash
Have tried a cache partition wipe and clearing all app cache (although downloaded apps won't be launched in safemode anyway)
Is there any way to debug what's causing the phone to crash/reboot?

If you have it plugged-in via USB anyway, you could capture the logs.


text:
Removing app from data calculation
I have a subscription that makes Spotify not count towards my data cap.
Thing is, when I go in my data usage calculations on my phone, it still is counted.

Any way to remove an app from the data cap count on the phone?
PS: If I look into my account on the provider website, I have something like 200mb used.
PPS: Running a One Plus One, Android 6.0.1 with Cyanogen 13.0, I think I'm rooted, but not sure.

Also sorry, I don't know how to limit the size of my image.

I dont want to restrict the data use (I have to use the data to play spotify) I just want my phone not to count spotify when it calculates the total amount of data used... so when I look at the graph, I have a much more accurate representation of what's left in my data, and not have to guess based on how much Spotify uses.

I don't think you can remove the projection of an app using data in the Settings->Data Usage page. It isn't a function provided by the Settings app.


text:
Preventing Google Play Services autoinstallation into an ancient Android phone
How do I prevent Google Play Services from automatically installing now and then into a rooted Orange San Francisco aka ZTE Blade under a heavily trimmed down custom Android 2.3 ROM? Is the best way of achieving that described here?:
http://forums.androidcentral.com/general-help-how/240696-how-permanently-block-google-play-services-installing-automatically.html#post2649165
Please note: I clearly understand why I want it as such and why I want it exactly that way. Please refrain from responding with anything but exact answers. This particular phone under this particular ROM works exceptionally well w/o the app in question, including any Google service used.
Many thanks in anticipation!

If this is a custom ROM, why does it comes with Google apps?

gapps.apk was enclosed with the ROM for those who want Google services, so I installed it afterwards to use Google Mail, Calendar etc.

I think that there is an option for this on the update screen of Google Play (at least in higher versions of Google Play) at the top. Is it still there in yours?

@seadoggie01: thank you - if there's a such option in yours would it be possible to upload a screenshot with it somewhere? I'll then check mine for the same option when I have it at hand again (it's my parent who uses it actually).

Sure! I actually went swimming with mine, but I'm waiting for a new one in the mail (should've been here 1 hour ago). I can do that as soon as I get it :D

This is from Android 5.1.1 in Google play. The first picture is for only one app under the app and the stacked dots. The second picture is under Settings/Auto-Update apps. This obviously isn't the author's Android version, but you may want to see if there is a similar setting in your version.

Thank you - do I get it right that the former one is a per-app setting? If so I'll have to have Google Play Services installed and just its updates blocked this way, right? If there's a really slim version of Google Play Services that'll probably work for me (the one that installs automatically grabs pretty much all remaining memory in that phone, so leaving it there is not an option). Meanwhile the latter option applies equally to all the apps, right?

Correct, the former is a per-app setting and the latter overrides all the apps


text:
Android 5.0.2 hide navigation bar on Lenovo Tab 2 A8-50
I have issues when run shell commands that require root privilege on Lenovo Tab 2 A8-50 (rooted)
1- I'm trying to hide the navigation bar on using adb shell command

I have to restart the device to get the effect but I get a black screen after restarting so I have to enable systemui to make the device run normally again "pm enable com.android.systemui".
2- Also shell command for screen capture get the "device launching image only" not the device screen "su -c /system/bin/screencap -p /sdcard/img.png"
The same commands run properly on different devices. Is there any kind of protection on this device that prevent shell commands run normally? What do I have to do?

The first thing you do literally disables SystemUI, including lock screen, status bar and navigation bar, hence you get black screen on reboot. Whoever told you to do that... deal with him.
Simply use the old build.prop trick (qemu.hw.mainkeys=1) or apps like GMD Hide Soft Keys.

i found the solution by make my app a device owner , full details in this  article.


text:
No permissions for Termux to access internal storage - even for reading
Using the termux (https://termux.com) terminal-emulation program, I type the following command:
ls /sdcard

I get the following error:
ls: can't open '/sdcard': Permission denied

Realizing that the /sdcard directory on Android is a symlink, I tried to find the location of the actual directory -- learning that it is not just a symlink, but a symlink to another symlink, and the actual directory is /storage/emulated/0
So finally, I typed:
ls -ld /storage/emulated/0

The result I got was:
drwxrwx--x   63 root     sdcard_r      4096 Aug 10 12:04 /storage/emulated/0

So in short --- I don't know whether termux used to run with the permissions of the sdcard_r group or whether the o permissions used to allow read-write -- but I need to know which of the two it used to be and how to fix things - because being able to access the contents of the internal SD card is kinda critical.
No, my device is not rooted, nor do I plan to root it - so I can not give any information that I'd have to root the device to obtain. However, not being rooted never in the past prevented me from having read access to the /sdcard directory - so this is new (and disturbing).
Granted - it's been a few months since previously I tried to do this - but this new limitation from Android seriously hampers the usability of termux and who-knows-what-else -- as I need to be able to have access to files that are on my SD Card. (I can still do a lot, even if not everything, even without write permissions -- but am pretty much stuck in the water if I can't get read permissions, as is presently the case.)

Hmm, it looks it it has the READ_EXTERNAL_STORAGE permission, so it should have access.

Yes --- but apparently it had gotten switched off. I realized it when I went in System Preferences > General > Applications > Termux ----- and found that there was a toggle switch for access to files that had somehow gotten switched off. Needless to say - I switched it back on, and the problem was solved. ------ Of course - the immediate crisis is over --- but this still all raises the question of what caused it to get switched off in the first place. (I know I never did that.)

I had the same problem, and your answer here fixed it for me. Here's what I think happened: Android 7 now allows denying permissions (yay!), but, in Termux's case, for whatever reason, it doesn't request permission like other programs do.  So, the problem isn't that it was somehow switched off, but was never switched on.  This is speculation, though.

One can run termux-setup-storage to make the app request storage permissions. See https://termux.com/storage.html.

Following the Termux wiki to run termux-setup-storage fixed it for me, as suggested by fornwall.
then restart Termux.

Newer versions of Android require apps to ask for permission during runtime. You may have noticed this already. One example is Chrome asking for the Storage permission when you try to download something for the first time. For Termux,  this is a problem. Permissions default to "not allowed," so when Termux needs a permission for a task, because Termux hasn't been updated to ask for these permissions, it instead tries to perform the task anyway and throws an error as a result. Unfortunately, the developer(s) have to fix this themselves. Thankfully, Android gives you ways to manage app permissions manually. Until the developer(s) update Termux accordingly, this is probably the only way.
Step 1: Go to Termux's App Info page
There are multiple methods to reach this page. Because different phones can have different behaviors, I included all the ones I know.
Method 1: Using the multitask menu

Open Termux.
Press the multitask button to open the multitask menu. This should be next to the home button on the left.
In the list of applications, Termux should be the first. Tap and hold on its icon.
On some phones, you'll already be at the info page. On other phones, you'll instead see Termux's app-box-thing change at the top, with an info icon (ℹ) appearing somewhere. Other phones may give you a context menu with an "App Info" option. In both cases, tap these.

Method 2: Using the notification panel

Open Termux. You want Termux's notification to appear.
Pull down the notification panel and find Termux's notification.
Try one of the below:

Swipe the notification left or right and look for a cog wheel (⛭) or info icon (ℹ) and tap it. You can't dismiss Termux's notification, so don't worry about that.
Tap and hold the notification and look for either a gear (⛭), an info icon (ℹ), or a context menu with an "App Info" option and tap it.
Look for the app icon and/or name. You may have to swipe down on the notification. Tap and hold on it. A cog wheel (⛭),  info icon (ℹ), or context menu may pop up. Tap accordingly.

Method 3: Using the App Manager

Go to settings>apps.
Look for an option labeled "Application Manager" or similar. It seems to depend on your device.
Look for Termux's entry and tap it. You may have to change your filter to "installed apps" or "downloaded apps."

Step 2: Changing permissions
You should now be on a page with Termux's name, icon, and version number with two buttons labeled "Uninstall" and "Force Stop." below it should be various other options.

Look for an option labeled "Permissions" (you may need to scroll). Tap on it.
There should be an entry for the Storage permission. Turn it on by clicking the switch beside it. If the Storage permission isn't listed, use a storage-related command in Termux to get a permission denied error and come back.

Testing the change
You've now given Termux access to your storage. You can test this with the command below:
ls /sdcard/
 If you don't get a permission denied error, it worked! You shouldn't need to do this again unless you reinstall Termux.

Note you probably need to force stop and restart Termux app for the permission to take effect

it's July of 2017 & I had this same problem,  googled for it, & arrived here. Matthew Read 's comment pointed the way to the solution, but there's no answer that spells it out clearly, so here' s the tl;dr of it:
Termux doesn't request file system permission on install, so you have to turn it on thru Settings => Applications => Termux => Permissions


text:
Can't use android pay after removing root
I had kingroot and I uninstalled it through kingroot uninstall option in the options menu. However, I still can't add a credit card to android pay. It says Google is unable to verify that your device or the software running on it is android compatible. I also tried deleting random folders I found with the name kingroot, I tried using ccleaner, and I tried deleting data from android pay and uninstall/reinstall android pay.

Did you actually unroot or just uninstall?

It said clear root and uninstall so I believe both.

This post recommends uninstalling Xposed framework as well. That helps?

I never installed it :/

Kingroot is notorious for being an a**hole. Its possible it left some residue matter unroot.

So do I really have to re-flash? Is there no way to get rid of it completely without doing so?

Related (but SuperSU instead of Kingroot): https://android.stackexchange.com/q/123529/251461

Turned out I had to re-flash firmware for it to work. Instructions for re-flashing firmware for my specific device (lg g3) were incorrect which bricked my device. Luckily I found that clicking the other action mode than the one stated did the trick and my device was un-bricked. Was a scary few hours. At the end though my lg g3 worked and all residue of kingroot was gone!


text:
Can an Android phone with no SIM card make an emergency call?
Can an Android phone (specifically, the Huawei Honor 5X) that has never had a SIM card in it make an emergency phone call to 911?
The Honor 5X (which is GSM Unlocked) will be on WiFi and within range of T-Mobile and AT&T towers, but will not have a SIM card. Can it still make an SOS call in the event of an emergency?

This is actually independent of whether a mobile phone is Android.
In the United States, the FCC requires wireless service providers to provide 911 service to all phones, regardless of whether they currently have paid service or not.

The FCC's basic 911 rules require wireless service providers to transmit all 911 calls to a PSAP, regardless of whether the caller subscribes to the provider's service or not.

...

If your wireless phone is not "initialized" (meaning you do not have a contract for service with a wireless service provider), and your emergency call gets disconnected, you must call the emergency operator back because the operator does not have your telephone number and cannot contact you.

Same in Europe (wireless service providers transmit all emergency calls to a PSAP, regardless of whether the caller has a subscription). The only difference is that the number is 112.
You even get emergency SMS notifications sans SIM.
You just have to (1) activate Android's emergency call/notifications settings and (2) have a dialer app and an SMS app (or a combined dialer/SMS app).

In the EU and UK, 112,  911 and 999 all work this way.  Although it isn't widely advertised.


text:
Prevent spelling suggestions from being inserted in text messages
In text messaging, I noticed that whenever I try to enter a word different from the spelling suggestions, the latter prevail and my intention is ignored. Is there a way to get around this?

Which keyboard are you using? If it is google keyboard then go to the app settings -->  text correction. Now uncheck Auto-correction and you should be good to go.

Thanks to Devin who gave me the idea, I went to Settings -> Language & input-> Xperia keyboard -> Word suggestions -> "I never want to have any words or letters replaced".

In Android 4.1 jelly bean and above:

Settings > Language & input > 'choose your keyboard'

Now you will see Options like Text correction or Input depending on the keyboard you are using. And inside it, you will have options to toggle auto correction.
P.S: Another thing i found annoying is the Spell checker, leaving a red underline while you are typing. You can disable it by:

Settings > Language & input > Spell checker > 'toggle it off'


text:
Enable standby mode when the phone case lid is closed
I have a tablet (Samsung Galaxy Note 10.1) and a phone (Google Nexus 5X) both with CyanogenMod as ROM. When I close the lid of the case on the tablet, it automatically turns off the screen (and locks after some time). However, the phone stays active until the display timeout.

Is there a special setting or some hardware sensor which is not present in the phone or maybe difference in Android versions for phones and tablets?
I searched a bit and found app recommendations with the warning, that they will drain the battery. But when it's enabled in CyanogenMod, it should work on both devices without any apps, shouldn't it?
So is there some setting, does it depend on sensors, maybe the case (the tablet one closes with a small magnet, but I guess the proximity or brightness sensor should toggle the screen) or what else can be the cause for different behaviour?

Nexus 5X does have a Hall sensor responsible for magnetic "smart covers" to work. Either your cover itself doesn't contain such a magnet piece (downcost), or CM for your device hasn't included support for it.
Remember that although CM seems to be the same on every devices, they depend on vastly different, device-specific underlying codes, and are maintained by independent people, so it's very possible for one hardware feature to be present in a device but not in another. For example, my own Note 10.1 2014 (SM-P607T), although already in the queue of official CM13 nightlies, actually has borked Hall sensor support too.

my tablet is a note 10.1 2014 as well, but with cm for android 4.4 (had no cm13 support when installing). So CM does this with the hall sensor alone, no light sensor? The smartphone cover does not have a magnet, so this would be the explanation. I hoped it would use light and/or proximity as well.

Yes the native implementation always use Hall sensors, mainly to conserve battery and I guess also to avoid coding unnecessary workarounds.

Does it matter, to which side the lid closes (because of the hall sensor position)? I see that there are quite a few cases which open from top to bottom, but i would prefer one, which opens from right to left.

@allo Side doesn't matter, the magnet is always placed at the location of the Hall sensor when the lid is closed.


text:
Samsung galaxy S2 stuck on bootscreen
So. My wife was out picking mushrooms and accidentally  forgot her phone on a rock. When she came back a little later apparently the pixies had fiddled with it. The phone freezes on startup logo. It's a standard android ROM on it.
I've looked on other similar threads here on stackexchange but didn't get any wiser.
I've tried everything in this guide: http://thedroidguy.com/2015/08/how-to-fix-samsung-galaxy-s2-thats-stuck-in-boot-screen-other-related-problems-110725
I've tried soft reset. Didn't work.
I've made sure it's not the battery, it works in my own phone.
Couldn't enter safe mode or recovery.  I can enter download mode though. Hopefully something is wrong with the firmware so with the help of the brilliant tutorial on cyanogenmod's wiki I managed to flash a custom recovery via Heimdall. However, I still can't enter recovery mode (home+vol.up+power)  so I'm stuck here.
Any suggestions?
Hardware issue? Other problem?
Thanks in advance

Try plugging it in? Can you attempt a hard reset?

Hi. Are there other ways than vol.up+home+power to perform hard reset? That manoeuvre doesn't work. Only thing that work is download mode but I can't get past that.

What do you mean by plug it in by the way? Wall socket or computer?

This article says that vol.up+home+power is the way to do a hard reset. What do you mean by doesn't work?

And I just meant plug in to power, which might help if low charge is causing immediate shut-off.

Sorry for being unclear. What I mean is that it doesn't seem to matter how long I hold volup+ home+power, it still won't go into recovery. I've tried holding them all for a minute, I've tried releasing power when screen lights up, I've tried releasing all buttons... Still the same scenario. Bootscreen flashes twice and then either freeze or blackout. no recovery mode. I have the same kind of phone myself and have no problem booting it into recovery mode so I know how it is done. Can I try different custom recoveries? Can it matter?


text:
Commute to work on Google Maps tracking is innacurate
My wife tracks me through Google Maps. I have no problem with that. However it keeps showing I stopped at certain locations when I never did. it shows several different routes I took to my job, I don't understand how to read this. I've done everything on all the forums to improve my accuracy. Also, both of our emails are on each others phones. Could the app be tracking two different phones at once? I was wondering if that could be an issue.

What kind of phone do you have?

Kyocera Hydro Xtrm

Try using the Life360 app, which is a free service designed to let you track family members' locations.

Firstly a possibility to the app is tracking two different phones at once is quite impossible. Even though you tried on all the forums already, I suggest you to do a simple way.

If you are using Android, go to "settings" -> find  "apps" -> click on "maps" and then stop it.
Restart your phone and open "maps" app again.

This has already happened with friends and instruction above was the solution for it.


text:
How to invert and tweak the Android sensors like gyroscope, accelerometer, etc.?
I am experimenting some VR stuff and I need to know how to invert the gyro sensor and other sensors like accelerometer. Is there any kind of app that can do this? I would like to find an app that can invert the gyroscope so when you turn the phone left with a VR thing, it will turn the opposite direction. Also need to invert the sensor so it displays the information inverted or some sort of program to tweak it without rooting.

By "accelerometer", do you meaning spoofing GPS & its speed?


text:
Can your carrier tell which sms app sent a text?
When I send a text through my messenger app, it arrives. When I send it through the smsgateway.me app, it does not. However it shows in my messenger app as sent. Can the carrier tell and filter out those messages?


text:
Samsung Galaxy S7 Edge camera glitch
My friend has the Samsung Galaxy S7 Edge for about 2 months and her front facing camera is turning all her pictures a red negative effect on it. I will show an example  the other camera settings work perfectly fine, it's just the front facing camera with the selfie function. The video front facing camera works fine also. She is going to take it back to the shop but she said her old phone, a Note 4, had a similar problem. Occasionally when she is using her front facing camera, it'd go to the red negative effect. I hope I can get a reasonable answer on why this is happening other than her supernatural belief of ghosts. I'll include another picture that is using her back camera.

If video is working fine camera should work fine. It must be the modified settings. PS - There are no  ghosts.

She is glad to hear that it should not be a ghost problem! Though, I couldn't really see any settings in the camera she may have accidentally changed. I'll look at her settings again to see if I missed anything. Thank you for your suggestion :)

Just a few days ago her phones 'Selfie' portion of the front facing camera started working though. Though once in awhile it will randomly go back to the weird red inverted look. She claims to not have touched anything at all. I went through her camera setting and messed with them all and I have not found anything what's so ever that supposedly made her pictures turn into this.

I too getting the same problem.I restarted the phone then it's works again properly.


text:
How can I clone/cast image my cracked screen LG Optimus Zone 3 to Windows 10 HP
My screen is completely smashed 100% no visibility, I touch all over the screen and it just does random things. I just want to be able to receive sms on an app or something....

If you know for certain that USB Debugging is enabled on the phone, try Vysor for Chrome. Otherwise I don't see much luck - you'd have to interact effectively with your phone to enable USB Debugging or make other workarounds work.


text:
Google Photos, when syncing photos from both default camera and WhatsApp, how to segregate on cloud?
I use Google Photos and turn on syncing of photos, taken from my default camera on my mobile phone and also syncing of WhatsApp images.
My question is: How can I have those synced to my google photo cloud storage in separate folders or albums? I don't want the photos that are synced to end up mixed between the images, taken on my mobile camera and WhatsApp images.
Or alternatively is there a way the synced photos are somehow tagged so that I can easily differentiate between the images taken with my camera or whatsapp?

If you search for "wa" in the Photos app or the Google Photos website, it will show only the photos stored by WhatsApp.
If you click "Library" in the app, then click "Camera", it will show you only photos that were taken using your phone's camera. But as far as I can tell, that only works on your phone, or whatever device has the camera in question. This doesn't work when searching on the website, using my laptop, for photos I took with my phone.
If you search for the model of your phone ("Google Pixel 2" in my case) in the app or on the website, it will show you only photos you took using your phone. Or at least that is what it does for me.
I don't know of any way to make WhatsApp put its photos in its own folder, or to tag them so they can be searched for or excluded in any easier or simpler way. And no one else knows either, as far as I can tell from my research.


text:
google voice number and google hangouts and being overseas
when I lived in the US, I had a AT&T cell plus a google voice number.
Now I moved to Istanbul & stopped the AT&T line.
My android & my iPhone ( which I had activated while in the US ) still continue to work in Istanbul with that old google voice. Which means, I can place calls to US and receive calls from US ( just like I was in the States ) using that old google voice number.
Now my question is the following:
I'm going to be getting the new note 7 by purchasing it here in Istanbul. Will I be able to use the hangouts apps & my existing google voice number on the new phone?
OR WILL IT TELL ME SOMETHING LIKE, I need an active US number, and that they will send me a verification code to that US number? If so, I'm out of luck.
The bottom line is I'd like to get a new phone in Istanbul and continue to use the google voice & hangout apps as I'm doing now. Is it possible?

Merhaba! I live in Istanbul as well, and use my pre-existing Hangouts/Voice number just fine, on a phone I bought here in Turkey. I just logged into my Google account on my new phone, and everything worked. You should be just fine!
Your Voice account is tied only to your Google account, not any US number. I've completely deleted any US number from my account, and there was no issue whatsoever.
You won't be able to automatically forward Google Voice calls to your Turkish number, but you will receive & make calls & texts via the app (over your 3g/wifi connection).
saygılar
~peter

Peter, "Saygilar bizden". :) -- Thank you for your comforting answer, Nothing beats receiving a feedback from someone who has been in the same shoes as I was worried about. So, on the new phone, you downloaded the google voice app and at the time of set up, you chose "route all international calls ( incoming or outcoming ) thru your google voice number right?

So just to make sure I've got this. I have Google voice, G Hangouts, and a T-Mobile number. I have my text messages synchronized with my G Hangouts as well. I leave the country in 2 weeks for 8-12 months. All I have to do is unsynch my sms, delete G Voice from my cell, and insert my new SIM. Then I can manage my voice and text from my PC. Do I have this?


text:
Recovering data from corrupted SD card formatted as internal storage (Marshmallow)
I have an SD card in a Moto G (2015) running marshmallow, not rooted.
It was formatted as internal storage, and contains photos and videos from the birth of our daughter, but has become corrupted.
Since it was formatted as internal storage, it's ESDFS filesystem and presumably encrypted. I can't decrypt it without accessing the encryption key, which I can't do because I'm not rooted. Presumably rooting will delete that encryption key.
I presume it's corrupted because any attempt to look at the SD card from within android unmounts the card, and the phone can't see any of the pictures/video on there. When the card is inserted, the 'storage' menu will initially acknowledge the card and tell me how full it is, but any attempt to look inside the card will result in it unmounting.
I've tried running fsck - within system/bin there are fsck_msdos and fsck.f2fs, but both come up as 'permission denied' when looking for them, and 'no such file' when I try to run them.
I can access /data from an adb shell, but attempting to get into /data/data/media results in 'permission denied'
Can anyone help? E.g:
1) will rooting delete the encryption key so that the card can't be accessed?
2) is there a way to get fsck working?
3) any other ideas for getting the media off this card?
Many thanks in advance. I'm a bit of a noob, so clear instructions much appreciated!

If you had Google Photos, your photos might've been backed up to the cloud... Visit http://photos.google.com/ to check... Good luck!

Same here, same phone model. My SD card got fried this afternoon. :(

http://android.stackexchange.com/questions/135803/corrupt-sd-card-formatted-as-internal-storage This may possibly be of help. I have the same problem but I don't think I got the skills. Br

This solution worked perfectly for me: https://android.stackexchange.com/questions/174799/moto-g3-android-marshmallow-not-detecting-sd-card-anymore-solution/181699#181699

1) will rooting delete the encryption key so that the card can't be
  accessed?

No, actually "rooting" will not delete anything. Rooting is just adding an application for superuser or root-level access. That being said, in order to root your device you must have an unlocked bootloader. Unlocking the bootloader will wipe the entire device, including the encryption key, and all other data on the device. On the Moto G 2015 there is no way around this. Oh, and removing the card and performing the operation will not work, once it is rooted, the system will be different and the encryption key will change.

2) is there a way to get fsck working?

Not without root access. To be honest, even if you did get it to run the chances it would correct this type of problem are very low.

3) any other ideas for getting the media off this card?

Unfortunately no... once media has been adopted by the system, it is encrypted with a unique key to that system. If you can access the key, it is possible to access the data via Linux assuming the data is not corrupted. If the data is corrupted the chances of recovering encryped, corrupt data are extremely small.
As much as I would like to be able to give you an answer to recover your precious photos and videos, I don't believe there is one. All I can say is that moving forward I suggest NOT using adopted storage if possible (if this card was simple external/portable storage, the chances of recovering media from it would raise exponentially) and use a cloud backup solution like Google Photo which has the ability to maintain a backup of your photos and video automatically.

This possibly suggests a way to extract encryption key

You don't need to unlock bootloader to root a device. It is needed only to install custom OS, recovery,etc. If one wants to install a pre-rooted OS (which falls under installing custom OS), then it's required to unlock bootloader. But it's NOT NEEDED if one is rooting the existing OS in the device using an exploit.

Rooting existing OS requires having a local root vulnerability and working shell code. If your current firmware does not include known security issues, there's no way to root the system without unlocking the bootloader (which will force wiping entire device in case of Moto G).

Having seen the same problem more than once and after giving up on trying to root my phone (runtime root), I've opted for a method that I hoped would work and actually worked.
The method I've chosen will require an identical SD card and a card reader, however I believe it should work also with any SD card as long as it is larger - haven't tested it though.
Remove the supposedly corrupted SD card from the phone and plug it into a Linux machine. After finding what device was representing it (commonly /dev/mmcblk*), use dd to extract its contents:
$ sudo dd if=/dev/mmcblk0 of=/tmp/sdcard.dump bs=4M

sdcard.dump will be absolutely useless as it is encrypted and you don't have the encryption key, but it doesn't matter. Eject that SD card and insert the new, probe the SD card device (say /dev/mmcblk1) then run:
$ sudo dd if=/tmp/sdcard.dump of=/dev/mmcblk1 bs=4M
$ sync; sync

Eject the new SD card and plug it in your phone. In my case the phone was tricked into using that new card as its existing storage, thus mounting it and allowing me to gain access to its contents.
If you get errors while reading the corrupted SD card, try using ddrescue instead of dd when creating the initial image. Chances are that despite the errors you will still get access to a large portion of the data on the card.

I suppose you'll want to replace sdcard.sump with sdcard.dump in the first command.

This answer has a similar idea behind it, only instead of replacing the card, they replaced the internal SD reader of the phone with an external USB reader.


text:
How to receive Whatsapp notification without vibration?
I am using Sony Xperia X, Android 6.0.1.
I have only managed to turn off the vibration of single and group chat messages by selecting "Off" under Vibrate and "Silent" under Notification tone.
The phone will still vibrate if I choose off under vibrate, and other than silent options under notification tone.
However, now without vibration, there isn't notification either whenever someone sends me a message. I am trying to receive message notification without vibration.
Such a simple permutation and I can't believe that I am still having trouble doing it.... OMG
Just tried on my Windows phone, same situation. Have to switch off whatsapp notification and vibration. Switching off vibration alone won't stop the phone from vibrating.

Maybe there is a vibration option from the Whatsapp application preferences or options?

You can use Android's built-in permission framework appops. From adb shell execute command:
~$ appops set com.whatsapp VIBRATE deny

Setting settings->notifications->vibrate to "off" for both "Message Notifications" and "Group Notifications" works for me. (And yes, I still have a ringtone selected, and I hear that when a message arrives.) What version of WhatsApp are you using? Latest (as of 12 Aug 2016) is 2.16.207.

yup mine is 2.16.207

If i switch my phone to be on ringtone, no issues. I am able to receive notification without vibration.

why can't they make it possible to receive notification without vibration under my phone with no ringtone mode??? I don't want to switch on ringtone.

I think that's an OS implementation, and WhatsApp uses the implementation to alert you to an incoming message, no matter what profile your phone is in. It will vibrate if the phone is on silent.


text:
connection of jio wifi in Android 5.1 version
Recently my college had opened jio WiFi it was open WiFi connection my phone Micromax q346 model Android 5.1version can not connected how I connect to WiFi on my phone small version phones are supported to WiFi but not please help me how I connect to it

Details please - for example, define "can not connect" with what errors pop up or a screenshot.

Some sites recommend to restart the router device, and sometime it works.
Instead of every time restart the router to solve the Wi-Fi problem, it worked for me:
Inside the router configuration (e.g., accessing the IP 192.168.0.1), change the "Group key update" value from 0 to 30 seconds, under the "Wireless > Security" configuration, right below the WPA-PSK/WPA2-PSK item.
Router: TP-LINK TL-WR740N / TL-WR740ND.


text:
How do I change Genymotion physical keyboard to type scandic letters?
I have enabled scandics (äöå) on-screen keyboard and they work, but when I type them from physical keyboard they do not work, nothing comes out. All english keyboard keys do work.

have you found an answer on this question? I'm using Genymotion as well, and can't find a solution that allow to type with physical keyboard in other languages than English. It types numbers, instead of a real letter, even after I installed a language.

Might be this one could help Memu: http://www.memuplay.com/blog/index.php/2016/02/19/how-to-input-multi-language/


text:
Lost Samsung galaxy core in ocean
I dropped my phone in the ocean never got it back .can I recover any photos or contacts from it if I have ISDN ESN meid info

Is this a serious question?

How am I supposed to flag this? Is this even flaggable?

@DeathMaskSalesman 'Blatantly off-topic,' I guess.

No... Unless you were backing up that information to a cloud service like Google Photo, then just log into that account, your phone information is of no use.
Otherwise the phone is at the bottom of the ocean... Unless you can physically recover it there is no chance of retrieving any information that was only stored on the device. Even if you recover it, the chances are still almost zero.


text:
How do I get OTA from I got last update np. Had no idea my s5active even had custom rom yesterday update failed "kernel" in red locked me out.
Ok  so I got a cool salesman who initially said my phone was bricked & tried 2 sell me a new phone. I explained I'm as broke as possible & was really upset about my phone not working!! Also I went from super happy (bcuz I thought I was getting marshmallow) to terrified bcuz my phone locked me out! He then got it working again but said DO NOT ACCEPT THE UPDATE. Or it will keep happening! This has me extremely upset being that I did not know or want custom rom on my phone. ESPECIALLY IF IT WAS GONNA BLOCK MARSHMALLOW! Plus what good is it if I never even knew it was there until yesterday! I've had the phone 4 a year at least!! If ANY1 can help me be able 2  get my update plz help! Ive been manually checking EVERY DAY, and constantly doing "android check ins" 2 try 2 speed up the process. I really just want my update!
Thank you
-Joe

The thing is AT&T's S5 Active doesn't have Marshmallow available yet, at least as far as my investigation goes. The best thing you can do is back things up, use Odin to reflash phone (to clean up custom ROMs and such) and try to check for updates again. You should at least be able to accept the update, but 1) it might just be a security patch and 2) since I don't own the phone, what will happen next is beyond my knowledge.

Thanks! The crazy thing is after all the locking me out & such the security patch still worked!? But if I flash it my custom message will be erased? Btw, my knox has not been triggered. Not sure if that helps? Thanks Andy

If you could accept the update (provided that it is legit) then nothing should be wiped. I'm not sure what the salesman means by telling you not to accept the update - if you bought the phone from AT&T and is still on the network then I don't see a reason why you shouldn't get the update via OTA.

☆UPDATE☆Since this post I have received 2 OTA updates. Each time it paused at the very end.. showing only a black screen for about 15-30 seconds before showing the cogs & the "Android is working" message. I'm still getting the "custom" symbol at startup and recently have had difficulties using KIES. It's still a MYSTERY why that particular OTA security update caused my phone to say kernel in blue during the update. And then lock me out! I'm happy it hasn't happened again. But I really wish I could get rid of this custom thing!! There's NOTHING ON MY PHONE CUSTOMIZED!!


text:
Accessing termux user environment from other consoles
I've recently started using the amazing Termux terminal app and linux environment.  It provides a wealth of full-function terminal utilities.  It would be great to be able to access these utilities from other consoles, especially when connected via ssh or adb shell.  I've managed to make some functionality available by setting my PATH and LD_LIBRARY_PATH environment variables to the same values used by Termux's shell, but there are permissions problems and it seems messy.
Is there a way to ssh in to a Termux session?  Termux doesn't seem to provide an ssh server package.  Even if it did, presumably that server, and thus the ssh session granted by it, would run as a separate user from the termux user, resulting in similar permissions problems.
Is there a supported way to access the Termux user environment from other consoles?

I looked at various tutorials and I could only figure out how to connect via USB (wired) tether. I couldn't figure out how to get a wireless IP for the sshd server in Termux. If anyone is having trouble finding the IP address of your phone, plug it into your PC (with USB cable) and then look for the "Default Route" on the new wired connection on your PC, that's the only way I could get it working. Also you may need "whoami" and/or "passwd" in Termux to get the username. Port defaults to 8022. PS: Tried sshuttle through the Termux sshd and my ISP still throttles it down to pathetic .5 Mbps :-/

@PJBrunet what did you try on termux to get the Ip Adress?

For getting the ip of a device, Linux-Know-How might help. As a starter I recommend Lpic1.

Termux does provide the openssh package, which contains both the ssh client and the sshd server.
Install the package with: apt install openssh, then start the server with sshd - it will run on port 8022 by default, so connect to it with ssh -p 8022 DEVICE_IP, and you can find the device wifi ip using ip addr list wlan0.
Password authentication is not supported, so you need to setup $HOME/.ssh/authorized_keys.
After you have connected you will run as the normal Termux user with environment variables setup correctly.

Wow, they should really mention that in the package description, which just says that it is a "Secure shell for logging in to a remote machine".

Password authentication is supported. You need to run passwd to set a new password for your SSH server. However, what doesn't work is usernames (i.e. everyone can log in with every username with that one password), AFAIK.

You can launch sshd on every boot using https://wiki.termux.com/wiki/Termux:Boot

"wlan0" didn't give me a useable IP address

@MAChitgarha your point is essential, otherwise there is no chance to connect. Well done!

You need to install openssh in termux by running
pkg install openssh

and then, on the device you want to ssh from, generate a Public ID Key,
ssh-keygen

and just confirm and down change anything, then do
cat ~/.ssh/id_rsa.pub

and copy the output into ~/.ssh/authorized_keys and restart the sshd server and try to ssh,
if you encounter any errors, check the authorized_keys file and makesure your public key is all on one line
You have to do these steps above because Termux sshd doesnt support password logins, (IE, ssh user@ip_address then entering a password)
you have to ssh into termux using
ssh termux-ip-here -p 8022

Password authentication IS now supported.

On your knees and bow,
Ip_Address_Of_Remote_Host = 192.168.1.20
(Assuming you have generated a key on the termux machine using
ssh-keygen -t rsa
There is a space inbetween ssh-keygen and -t
and copied the key to Remote_Host using that machines log-on details
ssh-copy-id user@192.168.1.20).
There is a space inbetween ssh-copy-id and user
You should now be able to log on to the remote  host without using a password.
ssh user@192.168.1.20
The rsa key generated above is not the key you place into the authorized_keys file on the termux machine.
The issue is getting the
id_rsa.pub
file from your Remote machine to the termux
~/.ssh/authorized_keys
file on the Local system (phone) the solution I used was scp, this command confuses a lot of people but if viewed from the position that it is just a cp command it's mysticism vanishes
cp file_to_copy  where_to_copy_file
This command is run from the Termux machine (phone)
scp user@192.168.1.20:/home/user/.ssh/id_rsa.pub   ~/.ssh/authorized_keys
There is a space inbetween id_rsa.pub and ~/
The path to your .ssh directory may be different just make sure it is the correct path you enter into he above command.
If you still have trouble logging on navigate to the
/data/data/com.termux/files/usr/etc/ssh/sshd_config file
Activate these two key pairs
ChallengeResponseAuthentication no
PubkeyAuthentication yes

For anybody with a slight understanding of SSH this should be straight forward for those who are new to GNU/Linux paths are what you need to be focused on. My next port of call is to see if X forwarding is possible for then it opens up the possibility of using the productivity suits on your desktop but writing to the termux machine, let me expand you will be able to use LibraOffice software on the termux machine but have it displayed on the desktop without lagging/latency this is the power of GNU/Linux.

These are Android commands to run on Termux and setup a SSH client and server,
allowing to connect from your desktop to your Android and vice-versa.
This does not cover the SSH server and client set up on your desktop computer.
Using the SSH server
https://termux.com/ssh.html
apt update
apt upgrade
apt install openssh

Here you can create a password for your keys and use it to connect to your computer, if you like
a password. Otherwise, leave them in blank and no passwords are required, other than your
DESKTOP user computer password.
How can I set up password-less SSH login?
https://askubuntu.com/questions/46930/how-can-i-set-up-password-less-ssh-login
ssh-keygen -b 4096 -t rsa

This allows you to connect from your ANDROID to your DESKTOP by SSH connection without
your ANDROID user password (as passwords are not supported by termux sshd server)
3 Steps to Perform SSH Login Without Password Using ssh-keygen & ssh-copy-id
https://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id
ssh-copy-id -i ~/.ssh/id_rsa.pub your_desktop_ssh_user@YOUR.DESKTOP.IP.ADDRESS

This allows you to connect from your DESKTOP to your ANDROID by SSH connection without
your ANDROID user password (if you want to use your's computer user password, skip this command)

First Option
Accessing termux user environment from other consoles
Accessing termux user environment from other consoles
scp your_desktop_ssh_user@YOUR.DESKTOP.IP.ADDRESS:~/.ssh/id_rsa.pub ~/.ssh/authorized_keys

Second Option
How do I add SSH Keys to authorized_keys file?
https://askubuntu.com/questions/46424/how-do-i-add-ssh-keys-to-authorized-keys-file
cat ~/.ssh/id_rsa.pub | ssh your_desktop_ssh_user@YOUR.DESKTOP.IP.ADDRESS "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"

Scripts and notes for setting up and using SSHd on your Android device using Termux
https://github.com/tomhiggins/TermuxSSHDsetup
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

ssh blank passphrase but still asking for it
https://serverfault.com/questions/845623/ssh-blank-passphrase-but-still-asking-for-it
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/known_hosts
chmod 600 ~/.ssh/authorized_keys

Start the server by executing sshd (which will start it on the default port 8022)
and run logcat -s 'syslog:*' to view the log output from the server process.
Execute pkill sshd to stop the server.
logcat -s 'syslog:*'
pkill sshd
sshd

Finally, connecting from one to another and vice-versa:
Connecting from your ANDROID to your DESKTOP (the usage of your DESKTOP user password can be optional)
ssh your_desktop_ssh_user@YOUR.DESKTOP.IP.ADDRESS

Connecting from your DESKTOP to your ANDROID (must not to use your ANDROID user password)
Since Termux is a single-user system you may connect as any user - regardless
of your specified username you will login as the only Termux user available.
The Termux sshd binary does not support password logins, so a key needs to be authorized in
~/.ssh/authorized_keys before connecting. Use ssh-keygen to generate a new one if desired.
ssh -p 8022 -i ~/.ssh/id_rsa IP.OF.YOUR.ANDROID

(ANDROID) If you still have trouble logging on navigate to file and activate these two key pairs:
/data/data/com.termux/files/usr/etc/ssh/sshd_config
ChallengeResponseAuthentication no
PubkeyAuthentication yes

Extra: Locking and unlocking the file system from read-only to read-write and vice-versa.
How to copy files to an Android emulator’s data directory with ‘adb push’
https://alvinalexander.com/android/how-copy-files-android-device-emulator-adb-push-read-only-error
mount -o rw,remount rootfs /

Revert the changes back after finishing the changes!
cat /proc/mounts
mount -o ro,remount rootfs /

As an alternative way, I build termux app and then adb shell to access termux console from PC without requiring root.
The prefix below of [PC]~ $, [ADB]~ $ and [ADB's BASH]~ $ indicates where the command type from.

In Android settings, enable Developer options, toggle on USB debugging, and uninstall existing termux app for all users. And of course, the existing termux data will loss.
Clone termux source code, [PC]~ $ git clone https://github.com/termux/termux-app
Open that project in Android Studio, plug-in phone cable, select phone device from menu then direct run or build it as debug apk which allow you use run-as without root.
[PC]~ $ adb shell
[ADB]~ $ run-as com.termux
[ADB]~ $ cd files/usr/bin
If not yet install bash and vim, either go to Android device to install, or [ADB]~ $ export PATH=/data/data/com.termux/files/usr/bin:$PATH first then pkg install bash and pkg install vim.
./bash to launch bash shell session.
[ADB's BASH]~ $ vim ~/.bashrc and put this 2 lines which set environment when launch new bash session: PATH=/data/data/com.termux/files/usr/bin:$PATH and export LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
[ADB's BASH]~ $ . ~/.bashrc to take effect immediately.
Use rsync command, e.g. [ADB's BASH]~ $ rsync -rvtP --remove-source-files source_dir foo@IP:/home/foo/Downloads/ to transfer file between Android and PC. (Note: Source directory don't trailing with /, and need find source_dir -type d -empty -delete after done to remove empty directories) . Alternatively use [PC]~ $ adb exec-out run-as com.termux cat '/data/user/0/com.termux/.bashrc' > ~/Downloads/.bashrc to pull file from Android to PC.
To quit, Ctrl+D or [ADB's BASH]~ $ exit. [ADB]~ $ ./bash
to re-enter new bash session.
For unknown reason, first time access will no internet, you need launch termux app in android device manually once, after that can exit termux app.


text:
phone shows 30.38gb total when checked from the phone in settings but shows 1.7 when checked from the pc
my phone has 30.38gb total memory and shows 29gb free memory when i check from the phone itself but cannot install apps with large sizes and when i check from the PC it shows 1.7gb total space,what can be the correct internal storage or is it possible to fix it to its original storage displayed in the phone


text:
Regionwide vs Region maps
Question regarding Osmand+ application. Will I miss something in case I download regionwide maps and don't download region maps. As far as I understood regionwide maps should cover all regions. I'm right?

Regarding Osmand application. Bassically it is based on OSM, so question in general is regarding OSM maps

There is no difference, except that region maps are based on administrative divisions
Source

Geographic Regions
Data on the download server is organised by region. The /openstreetmap directory contains files that have a whole continent's data in them, and for some continents there are subdirectories in which you find individual files for various countries. Some countries again have their own subdirectories with data for administrative subdivisions. For Germany, all "Bundesländer" are available as separate files, and for England we have many individual counties.


text:
WhatsApp Web doesn't work on the phone
When i try to start WhatsApp Web on the phone, the QR-Code scanner screen does not even open, but i get a passive notification "check your internet connection on the phone".
While i can chat with WhatsApp without any problems, so the internet connection and the connection to WhatsApp cannot be the real problem.
How can i get Whatsapp to recognize that the internet connection is fine and open the qr code scanner?

I would re-install the app and see if that works. That is not a normal thing that happens in the app. Also, reboot your phone and try it again.

Also, if you're worried about backing up your chats, you can take a back-up on Drive, and restore that back-up. Try un-installing the app as Devin Ersnoy pointed out.

I try to avoid services like google drive and so on, that's why i am a bit hesitant. On the other hand its quite possible that something is broken because i restored the data by copying the WhatsApp folder and restoring a TitaniumBackup on a new phone. Maybe i try how good the backup in the WhatsApp folder can be restored, iirc this should be possible as well.

Did you tried ON/OFF your Wi-Fi or Mobile internet connection? After reading your post I tried with my Wi-Fi OFF/ON, and QR Code screen was opened by WhatsApp. When there was no internet WhatsApp throw error saying You don't have any network access now which is different error then what you wrote in your Question. You may upgrade WhatsApp to latest version and try!

I tried several on/off settings of mobile data and wifi and whatsapp should be the latest version (a few updates since the post). I suspect some problems with xprivacy/androidfirewall, but it worked on the old device with the same rules. And general network access works as well. I think i do a backup+reinstall when i have enough time to make good backups to make sure i can roll back when i lose any chats during testing.

It works after a Backup & Reset:

Make a new local backup (via settings -> chats -> chat-backup)
uninstall WhatsApp
install WhatsApp
Login via Phone number and sms verification (even when there's a backup)
Whatsapp finds the local backup and asks if you want to import it. Nothing is lost, but a few settings. Profile image is restored, but for the screen name whatsapp asks you again (and suggests the name from your google account)

So if someone has the same problem: backup & restore works fine.
Of course it doesn't hurt to have a TitaniumBackup, adb backup or similiar as well.