text:
Xiaomi Mi 4c goes black immediately after unlocking screen
I have an issue with a Xiaomi Mi 4c: The device boots normally, lock screen appears, I can swipe to enter pin but then it turns black instantly again. I have to hit the power button twice to get back into lock screen. Swiping left to access camera also turns the screen black immediatly. Sometimes when I try to unlock I see the unlocked homescreen (or parts of it) for a split second before it goes dark. When in lock screen, I can access the quick settings from notification bar normally. It seems like it does unlock when I type in my passphrase but turns off the display as well as the home and back buttons on the bottom (they usually respond with vibration when touched, but dont once it goes black). When I try calling while in sleep mode, it rings but doesn't wake up the screen so i can't receive the call. When calling while in lock screeen, it rings and goes black instantly.
I got my Mi4c last November. It still runs on the rom it came with which is some sort of global rom with locked bootloader, google services and english language pre installed as well as some basic apps which cannot be uninstalled. I'm not sure what version it is and since I can't access my phone I don't know how to find out. Also, USB-debugging is not enabled appearently.
The issue first appeared a couple of hours after I had dropped the phone from about half a meter hight which, however, didn't show any immediate consequences.
I did some googeling on the issue with no real results. It would be much appreciated if somebody here had an idea.

The issue resolved itself after leaving the device turned off for a day. I'm still curious what caused it, though, and obviously i'd like to prevent it from happening again.

Probably the power button of your phone in broken. Try to open the cover and check the power button.


text:
Adding new members to whatsapp group while admin lost his whatsapp phone number
I am part of a whatsapp group in which there is only one admin. Unfortunately the admin is not using the number he used for whatsapp. Now how can we add a new user? Or how can someone else become the admin.? And we don't know the invite link for the group also.

source: Stack Exchange

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

sort: votes


text:
Why if I delete a file or folder from root (/) it comes back when I reboot?
I have a rooted Samsung S4 mini(Android 4.4.4), I noted that there are certain files/folders(for example /dev) that when I delete them they come back when I reboot the phone. Why? Is it possible to delete them permanently?
I know that this is very risky and may brick my phone, but:

I'm very curious about this.
It is my guinea pig device.
I can re-flash it(I did it several times ;-)).

Does this answer your question? Any changes to files in root directory (/) are gone after reboot

While GiantTree explained parts of the folder structure, he missed one "mount point": / aka "the root file system". This is created on boot, from contents of the "boot image" – which is a so-called "initial RAM disk" or, in short, Initrd. As it's created from the very same source at each boot, you can delete the stuff as often as you want – it will always return (until you "accidentally" delete that boot image itself – and are lost if you don't have a backup). Only after that, the other file systems are mounted – which GiantTree listed a few examples from (more details e.g. in my answer here).

Let me add an urgent warning: Never touch what you don't know what it's for (delete the wrong thing, and your device no longer starts up). Always create a good backup (see e.g. nandroid) before you start "playing" with system files. Far too many people end up here with having things deleted and not being able to get them back: without a proper backup, you can have a very hard time (especially with an exotic device that has no ROMs for download anywhere).

You are right, I missed rootfs. I had this feeling that I missed something but I wasn't sure how the root actually behaves. Thanks for clearing that up.

@GiantTree Anytime! We had that initrd stuff before – so additional details can be found in those other posts (skip the "user" part to double the number :)

Android is based on Linux, so it inherits much of the folder structure.
Using the command mount, you can find out what partitions are mounted in Android and what their respective types are.
I will go over a few important ones.

/cache: This directory hold the cache partition. Deleting it won't do much bad, the cache just needs to be rebuild.
/data: This holds your data partition. Deleting it (or anything within in) might result in errors, apps crashing or general loss of data.
/system: This holds your system partition. Deleting it or anything within it (if possible) might result in your device being incapable to boot successfully.
/dev: This holds device information. It is created upon boot and can be thought of as a volatile or virtual partition. Files there are usually not removable and not saved.
/efs: This partition holds your IMEI and other info. While it shouldn't be writable, some circumstances might lead to it being cleared. Your IMEI will then be reset to 0 and you can't connect to any mobile network. BEWARE WHEN DOING ANYTHING WITH THIS PARTITION.
/proc: This partition holds process information and is, like /dev, recreated on boot. Here, however, some files are removable and might lead to processes crashing or locking up. There is no need to do anything in here.

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

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


text:
My Android (Samsung Note 4) keeps disconnected after a while from a sign-in required wi-fi
I've a Galaxy Note 4 (udpated to latest OTA) device and I'm trying to setup a reliable wifi/vpn connection to my dormitory network. The procedure to connect to internet is to connect the wi-fi network and then enable a PPTP vpn.
It connect to wi-fi network, then I see a notification which says "Sign into Wifi Network". I enable the vpn and I get connected but after a few minutes it get disconnected (bcz the wi-fi get disconnected).
I've tried to turn on/off smart switch, power saving mode and different developer options but nothing has changed. I also tried 3 other router in the dormitory and nothing has changed. I've an old android 4.0 phone (Sony WT910) which is able to connect to the network and provide reliable connection, there are other android phone (such as Galaxy Note 5) which have no such problems. Also, the problem is with this particular vpn enabled network and I can connect to other wi-fi network such as my home wi-fi which doesn't require the user to sign-in through vpn and directly connects to the internet.
I suspect that the problem is with that "Sign into Wi-Fi network" which tries to open up my browser as well for a url. I can connect and enable the VPN but since the wi-fi get disconnected after a while I don't have reliable connection (I have to re sign-in each couple of minutes). It seems that there is a stupid mechanism (I'm not sure) in the software which thinks that the wi-fi can't access the internet (bcz of no sign-in) and hence disconnects the wi-fi. This is independent of vpn, with/without enabling the vpn, the wifi get disconnected.

Galaxy Note 4 (SM-N910C)
Android Version: 6.0.1
Android security patch level: April 1, 2017
Kernel Version: 3.10.9-9197253

p.s. I've tried lolipop DHCP (legacy) as well but nothing has changed
Update:
here are exactly the same problem:

Android device disconnects automatically from a sign in required WiFi
WiFi Disconnecting (Special Issue)

This seems a Bug/Capability which check the connectivity of a WiFi connection using client3.google.com (Spying?) and when see it is not connected (in most cases sign-in required and you should enable a vpn) the android decide to drop the WiFi!

I've searched and it seems this problem is not related to VPN. It's a capabilyty/Bug [at least] in some android devices (esp Samsung) which turn off the wifi when it found it not connected (without considering the simple fact that it might have connected through a vpn!). So this is a Bug. It seems this helps somehow.
In a nutshell current solutions are these:

Block client3.google.com in your router
Fool your device by setting up face proxy (then the sign-in required message goes away) and then modify it to none proxy again
disable wifi assisted location


text:
My HTC ONE M8 bluetooth cant connect with other phones
My htc m8 doesn't connect with other phones with android higher than 5.1 but with bluetooth speaker or a device with android 4.4 work.

Try to flash the official firmware or another rom


text:
Gmail app syncing contacts automatically
I have multiple gmail accounts on my phone. I only want 1 account to sync contacts. I know how to stop it from syncing contacts in the future but I do not know how to stop it from syncing the contacts when adding the G-mail account originally.

You can simply deactivate automatic synchronization on your device; when you add a new Gmail account, contacts won't be synchronized. If then you want to synchronize your contacts for one account, you can go into your device settings ("Account" section) and activate synchronization for that account.
For example, I have a Huawei Y560, and I have to go to Settings --> Account --> Google, then choose the account; there will appear a list of options that I can synchronize just clicking on.
Otherwise, you can also activate synchronization for one account via Gmail app ticking the related voice in settings.


text:
Disable all notifications from Exchange calendar
I'm using a Nexus 5X, running Android 7.1.2 and using Google Calendar 5.7.20.
I want to view my work calendar on my phone, so I can see it when planning personal things, but don't want notifications, as I have a separate phone (and laptop) for work which go "ding" at the appropriate moment.
In Google Calendar settings, under that account I have set the "Default notifications" to be "No notification", but I still get notifications.
I think it might be due to notifications set within each event (These are useful on my laptop, I don't want to turn them off).
Is there a way to disable the notifications for that calendar, but keep it visible along with the others?

There are two standard notifications for each calendar in Calendar Settings. One for normal dates and a second for full-day.
You must deactivate both, otherwise you can still get some notification.


text:
WhatsApp disappears in Ultra Power Saving Mode
I just bought a Samsung Galaxy C9 Pro. Not sure what I did on the phone, when I change it to Ultra Power Saving Mode, WhatsApp disappears and I'm unable to use it. It worked well before but not sure why it disappeared suddenly.
I already removed and re-install WhatsApp on my phone but it didn't help.

May be the new Whatsapp version doesn't meet UPSM anymore. Try installing an old version just for testing

Hi, I just called Samsung technical support and they told me Whatsapp not support it..

But it still works on my phone (Galaxy J5, android 6.0.1)

You can still use WhatsApp.
Just go to the Gallery, select any photo to share, and then you will get 3 options: one of them is WhatsApp. Just go ahead and select any contact. When WhatsApp is about to send the photo, click on the upper left-hand corner WhatsApp back button.
Then you will be able to use WhatsApp without any problem. Just remember not to clear your recent apps. If you clear that part, then you have to do the same processes again.

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


text:
Share apk via bluetooth
I have to receive an apk by bluetooth to my phone, but i can't do it, because in my phone(nexus 5 running android 6.0.1) blocks the file, the devices are paired, I tried with others files like images, and i can receive them, but not apk files, why?

You can try to either compress the .apk (using a app like RAR) and then try to send the compressed file, or you can try to sent the file using another software like "Bluetooth File Transfer".


text:
Synchronize contacts of a Google Account with an Apple Account
I have a lot of contacts on my Google Account and I want to have them on a Mac.
Is it possible to synchronize them with an apple already existing account? The apple account haven't the same mail of the Google Account.

You can add your Google account to your Mac, and enable the option to sync your contacts.  To learn more about adding your Google account, take a look here.
or
From an iPhone, follow these steps to set up contact syncing with Google Contacts:

Go to Settings > Mail, Contacts, Calendars > Add Account > Other > Add CardDav Account.
Enter the following information in the fields:
Server: google.com
User Name: Enter your full Google email address
Password: Your Google account password
Select Next at the top of the screen to complete the setup.
After you have completed the setup, open the Contacts app on your device. Syncing should begin automatically.

Note: Make sure that SSL is enabled (under Advanced settings), and that the port is 443.


text:
Bluetooth Button Press Default Change
I have a bluetooth headset I am using with a Galaxy S4, where a long press (longer than a quick press but less than 3 seconds) will trigger voice control.
When I first tried to do this action it asked me to choose a default between google, and car mode. I accidentally selected car mode and now I can't find any settings which will let me adjust that. I've gone through every single menu in both applications, and the system settings.
Is there some way for me to reset it, or change it by editing a config file?
Thanks!

Clear defaults for Bluetooth share?

I don't have any sharing default options under my bluetooth settings.


text:
Is there a way to toggle a secure lock screen without having the feature built into a custom ROM?
Benzo Rom for the Nexus 6 running 5.1.1 Lollipop allows the ability to toggle a secure lock screen from the quick settings in the notification drawer. For example, from the launcher, I can pull down the notification drawer to access the quick settings panel and tap the lock screen option and it will automatically engage the lock screen even if there was a password/pattern/gesture/pin, etc. previously setup. If I tap it again, it will remove the secure lock screen.
My concern is that this feature was built into the custom ROM itself and I don't know an alternate solution to this. Is there any solution to achieve this?
Edit #1
I was hoping for a solution that was not related to Tasker or Secure Settings. Something that's more clean and integrated.

I'm not too familar with doing stuff like this, but I guess this will help!
Well, I'm pretty sure the app called Tasker is able to do it if the Android version is between 4.x.x and 6.x.x, not sure if Automate can do it?
I do personally recommend Tasker if you want an app that is able to do a lot on your phone, even without ROOT it can do amazing stuff. Else I would recommend to give Automate a try, I'm not that familar with it and can't tell that much about it.
Tasker

Cost's 3 USD!
Create and sell your own apps!
I don't know what it can't do! I'm not kidding!

Automate

It's free to download and ad-free!
Easy-to-use drag-n-drop design!
Built-in community to download other user's uploaded automation tasks!

Both

Automating what ever you want, just like you want!
Use ROOT functions like executing shell commands or rebooting you phone!

Sorry for my bad english if it's not good enough! At least, I tried my best!
EDIT: I'm not able to tell you that any app can help you with a Nexus 6 because I do only have a Galaxy S7 Edge that is working and a Galaxy S5 without a working display.

Both of thoose apps can trigger an action automatically e.g. if you are connected to a specified Wi-Fi network, in a specified location with a specified radius, when the time hit a specified time or is between 2 times you've choosen, and so on. Well, I'm actually using Tasker as a daily-use app because fingerprint on my modded phone doesn't allways work while the screen is off, but because of Tasker, I have created a super easy fix for it :P

Hi! Can you  provide the answer to the question? Tasker and Automation is good, but what do I do with them with respect to the question? Thanks!

@Firelord How to use thoose apps depends on what you are going to do with them, how you would like to do it and witch app. If you want to use Automate, it's easy to find examples to learn how the app works, if you want to use Tasker you will need to search and test untill you find a solution on how to use it. The question where just how to disable/enable the lock screen, and I know Tasker is able to do it, but the question got edited because he/she didn't want to use Tasker. (sorry for my bad english and bad explain)


text:
Unlock Bootloader on Samsung Galaxy S6 AT&T
I'm trying to root my phone, and I was told that because I own a Galaxy S6, I need to unlock my bootloader. My carrier is AT&T, which makes it apparently even more difficult. I've tried things such as fastboot, which will get stuck telling me waiting for device input. I'll look that up, and it turns out I need to install PdaNet if that happens. Of course, PdaNet is blocked by AT&T and there's no way to install it.
I've found at least a dozen articles and the like on the matter, and none of them have worked. If anyone's got some advice, or even just a flat-out "it can't be done", I'd greatly appreciate that. I'd also like to know if unlocking the bootloader is necessary, and if it isn't, I'd love to know what I've been doing wrong, and what my next steps should be or what guides are good and up-to-date. Thank you all in advance!

At this moment, "flat-out 'it can't be done'". Once again, a lesson not to buy phones from AT&T and Verizon again. P.S. normally Samsung devices have no fastboot.

@AndyYan is there some other way to proceed with the rooting process that doesn't involve unlocking the bootloader?

From what's in XDA, nope. Modern phones pretty much deny rooting methods other than installing a recovery and a SU package.

How would I go about doing that?

@AndyYan Also, this link from XDA seems to suggest otherwise: https://forum.xda-developers.com/att-galaxy-s6/development/root-att-samsung-g920a-s6-g925a-s7edge-t3564637

Probably feasible, as long as your current firmware version is lower.

@AndyYan What do you mean? Also, I'm running Nougat, is that a problem?

@AndyYan Also, if I were to flash an international firmware for the G920F, would I still be able to use the AT&T network?

Running Nougat means your bootloader is already updated to the same, thus it won't take an older "Eng boot", and you can't use the method above. Also, you can't flash something for another model - Samsung doesn't make it that easy for you. See why I said AT&T and Verizon suck? They lock down and you don't even have a way to escape.

@AndyYan Well, I downgraded my firmware to Marshmallow through Odin, but I'm really not sure how to continue with that tutorial. Flashing that Engboot file through Odin works, but doesn't change anything, and I don't know what they mean by that whole SuperSU thing at the bottom. This is my first time rooting, and I greatly appreciate your help so far.

@AndyYan I was also planning on using Magisk, so I don't know if that changes anything...


text:
Downloaded but not installed app
I got gionee elife 7 mini
Just a day ago..
I put two games for downloading  (bad piggies and oil hunter)  and when the download was completed the  play store showed an error which stopped the installing process.  When the two game was not in my phone, I had 300mb of space . but now the phone showing only 50mb . how to free that space , please help  ... and my android is not rooted.

Some times happen that phones with short memory not permit to install many apps, in this case your phone has only 1 gb of RAM, but like 500 mb of this is occupied by the apps already present in the phone. To work good the phone need like 200 mb always available and for this motivation you can't install other apps despite you have 300mb of space. I got the same problem with my last phone, and apps like facebook occupied all the memory. It is only a problem of memory, but to be sure try to clear cache and data of Google Play following these steps:
1.Go to [Settings > Applications > Manage applications > Google app store]
2.Click [clear cache] and [clear data].
3.Open Google Play store and try to install the app again.
I hope I helped you, good luck!


text:
Cannot download Burger King app because it's not available in my country
I can't download the Burger King app. It says that this app is not available in my country. I'm based in the UK looking to download Burger King UK.
Any suggestions are welcome.

Just in case there has been changed since then, the BK UK's official site now points to this Burger King app (com.emn8.mobilem8.nativeapp.bkuk)

You have to know that your Google Play store needs to be registered in the UK. If it isn't registered, do it because it isn't a global app.
Alternatively, try to clear cache and data following these steps:

Go to [Settings > Applications > Manage applications > Google app store]
Click [clear cache] and [clear data].
Open Google Play Store and try to install the app again.

Last, if nothing worked, download the APK of Burger King UK from Google and install it on your phone by activating the developer options on your settings.


text:
How to change alarm volume without making sound?
It's night, everybody is sleeping but I realized that my phone's alarm volume is at 1. This isn't enough to wake me up, but I know that if I change it, it will make a sound and wake up everybody. Is there a app that lets me change this volume without actually playing a sound, or a completely different alarm app that doesn't do this?

There are certainly simpler solutions, but I use Tasker and it is also possible with it.
In Tasker simply create a new task there you can set the different volume (alarm, ring tone, ...). Then execute the task manually and the set volume is accepted.

Brilliant solution! I did that but used Automate because it's free. Worked perfectly.


text:
Transfer WhatsApp conversations to iOS
Is there any way to transfer WhatsApp conversations from an Android 6 device to an iOS 9 device? I have already tried to use the software by iPhone-to-PC unsuccessfully (could not read conversations from an Android device)

Related on SoftwareRecs.SE: Transfering Whatsapp data to an iOS mobile

You can make a backup and upload it to Google Drive to restore it later with the other device.
I have no Apple device but I guess that synonymous there a backup from Google Drive can be restored.

This definitely does NOT work.  Ios will not be able to read and restore the WhatsApp backup on Google Drive as they use different encryption protocols.

One solution is to use WhatsApp Transfer, free software but only usable for three devices.

Make sure you have the latest version of Whatsapp on both devices and the last of iTunes on the pc.
On Android activate debug usb: Settings-> Device Info and clicks 7 times on Version Build.In the Settings menu there will be Developer Options where there will be the usb Debug Option.
Connect both devices to pc and open Whatsapp Transfer
On the Android you will appear to backup, you allow but without entering the password.
You will now have all your messages/conversations and in the left column the device you want to display.
Right-click on your Android device.
Click on the "transfer messages from android to iphone" and close Whatsapp on your iPhone.
Finally select the iPhone and click on confirm.


text:
Use laptop's speakers from phone
i was wondering if there is a way to use my laptop's speakers from my Nexus 5 running android 6.0. Basically i want to create play audio files or music from my phone, that could be linked to the laptop through an USB cable, wi fi or bluetooth.
My Pc has windows 10.
Do i need to download any program on my pc or any app on my phone?

Related: Can I stream audio from Android to Windows through Bluetooth ? ; Play phone's music wirelessly through computer's speakers ; Stream music on Android to Desktop speakers ;

also; Can I use my PC as an audio device for my Android phone?

yes, you can download SoundWire from the official site


text:
Google Apps - can be uninstalled and replaced by your own preferred system applications
Can we all change the basic system apps installed on our phones? (e.g. contacts, phone, messaging etc.) And replacing it with new applications that can't harm and destroy the phone's stock rom?

Yes, you can... For example QKSMS
for SMS/ MMS, Zero Dialer
for dialer and contact and so on.
These apps can be used without uninstalling the existing default apps.
If you want to completely remove default app then you have to root your phone and use Custom ROM or, customize stock rom.

In many tryouts customizing apps, i found out that there are numbers of errors occur when the system apps are uninstalled. If ever somehow, we can develop a phone that the only system apps present are 'Settings' and 'Sim Tool Kit'. We do know that we can install any kind of apps which we can use in replacing the basic applications installed firstly by the manufacturer.


text:
Authentification wi-fi with my Android?
I have an Hisense L675, Android version 6.0.
I haven't Wi-fi connection at home YET and I use my USB pendrive to my PC HP 15-AY094NL. Sometimes I would like to connect it and use it like Wi-fi with Hisense L675. But it doesn't work. I tryed everything for example turn off the mobile phone or my computer but I don't know what to do.

What type of pendrive is it e.g Sandisk etc?

I know that that there is a way to connect your mobile phone to your PC via USB to use internet, but I don't know a way like Wi-fi, there are some apps that probably can do it but I think you have to pay. Look at this link and say me if I helped you


text:
Prevent Samsung's stock Messaging app from converting textual emoticon to emoji
I'm using Samsung Galaxy S8+ on Android 7.0 Nougat. When I send a classic emoticon in the text on the stock Messaging app, like one of these:
:-)
;-)
:-P

they will be displayed as an Android head, similar to one of these:

A couple of questions about this:

Is this just something that happens locally on my phone, or is the recipient seeing the same thing?
How do I disable the function in my default SMS app?

I personally find it a bit annoying that the conversion only appears after the message is sent. So, I have no way of knowing that my textual emoticons are going to be supplanted during composition.
Please note: I'm not interested in using a third-party (non-Google/Samsung) SMS app, and I don't want to root my phone.

Just want to clarify that Samsung's Messaging app is not the same as Google's (default) Messaging app. That said, it might be helpful if you can mention the exact app name, since there's also another stock app from Verizon which is called "Message+".

Related: How do I disable all emoticons on incoming/outgoing text messages?

Open the message app, then back out of any open text message until you get to the message history list. Open the menu from the top-left icon, scroll down and select "Settings." There should be an option titled "Enable Smart Emojis." Turn that off and hopefully this fixes your problem.

I've been all through the settings menu here and I don't see it.

Looks like "Enable Smart Emojis" is a feature available on Verizon's Messaging app (called Message+), not globally.


text:
Encrypting custom ROM
I'd like to encrypt my phone, but I'm afraid it might interfere with the Over-The-Air updates of the custom ROM I installed via flashed TWRP. Does the custom ROM need to support encryption somehow? Is this generally considered seamless or problematic?
Also I am not sure how does the encryption go along with rooted phone. Why do I need to unroot the phone for the encryption process?

Go ahead and encrypt your phone. TWRP can decrypt and flash ROMs when given the password. I personally use a custom ROM (LineageOS 14.1) and have encryption enabled.

I did that and the ecryption process was seamless.


text:
Galaxy s7 edge. I want to receive and send emails. NOT SYNCHRONISE. How please?
I need to keep emails on my S7 Edge that relate to current, active projects only. Some have short timelines, some are months long. I want to be able to receive emails and send them but NOT keep getting emails that are archived. Those go to my corporate computer which holds all the emails. So synchronising isn't the answer. I get all the emails all the time plus it's chewing up tons of data when I'm out of office. The emails only get deleted from the mail server (not exchange, pop) when they're downloaded to the corporate computer. Worse, the sent emails don't synchronise at all, not from the sent folder, so I wind up bcc myself (which is what I prefer), but then I get the emails twice - once for sent folder and once in the inbox. It's a royal pain. So ideally, I'd like only the NEW emails to be pushed (or pulled) into the S7 and when I answer, I'll bcc - which puts them back on the server to go to the corporate system when I get into the office. Then I can delete them. BUT that also means I retain copies on my S7 for as long as I need them. BlackBerry 10 used to do that just fine, as it never really synched with Outlook. On the S7, syncing is overkill and difficult to manage. Frankly, I don't believe all the emails are co-ordinating. But my way, they do.
Ideas, anyone?
(Sorry, no gmail, hotmail, outlook.com, live.com etc. - just my phone and pc-based Outlook 2013.)
Thanks for any help.

Try to change the protocol from POP to IMAP


text:
How Do I Silence Bixby Vision?
Whenever I use Bixby Vision to scan a QR code or do other things, it makes a loud chime. This occurs even when my phone is in vibrate-only mode, and my media volume is muted.
How do I prevent this from happening?

Bixby has independent volume settings.


text:
iPhone new lg ipone
I have a new lg , I dropped the phone and broke the screen I had it replaced and since then when I get a call the screen goes black I have to push the button on the back to get the screen to light up a to use the speaker phone, help phone tech can,t figure it out

Does the screen go black when you get a call or after you pick the call?

Seems like your proximity sensor [ the one beside the front camera ] is blocked or damaged. Try cleaning it or remove any screen protector that is not transparent.

That's what came in my mind. It definitely that proximity sensor that may have been covered or even damaged

The behavior your experiencing is completely normal. Phones usually go black whilst in a call to avoid accidental pressing of buttons.

Didn't you understand his description, did you?

@esQmo_ Just a small correction for your grammar, you should say You didn't understand..., did you? instead of Didn't you understand..., did you?, or alternatively you can say Didn't you understand...?(remove did you from the last).

@iBug thanks for this, there was a bug in my brain. I usually speak French and other local languages :D (I learned something new today)


text:
WhatsApp Read Receipt
How can I only partially disable read receipts on WhatsApp?
(ie. I should be able to see when others read my messages, but not have others know when I read theirs)
I have tried the script on https://forum.xda-developers.com/android/development/script-disable-whatsapp-read-receipts-t2933467, but there is no effect.
(Both parties can see when a message has been read)
The device in question has root access.

The link you added is pretty old! 3 years, thay may have patched that

You are asking something impossible here (at least at my knowledge).
If you disable Read receipt or  Last seen, you won't be able to see other Receipt or Last seen.
Staying incognito while being able to see other activities is not possible using WhatsApp. You'll need a clone WhatsApp to be able to do that, may be.

OP could still pull the unencrypted WhatsApp database and manually read through it. It's uncomfortable, but not impossible.

What do you mean? I don't get it

I mean that, due to the asker having root privileges, they can dump WhatsApp's messages database (which is an unencrypted SQL database) from the app's appropriate directory under /data/data/com.whatsapp, and then proceed to read this database with tools such as sqlite3, without WhatsApp knowing anything.

That's not what OP is trying to do! Did you understand his question? Or do you mean they have to read the message straight to the database instead of in app during a chat session?

In fact, it's half of what OP is trying to do: to read a message without others knowing. If there would be a solution outside of Lucky Patcher, I would've written an answer, don't you think?

Yeah, it worth to be mentioned... really uncomfortable thought


text:
Can't set picture in Android Quick Setting

I want my Google Plus profile picture to appear in notifications Quick settings area, Prior to this update it used to work by going to google plus app> settings> contacts > then ticking two options that I can't remember. But those options are gone now.

I'm using a custom ROM (which doesn't seem to be an issue)

Rom I'm using is DarkRom caf
Android 7.1.2 (may security update)
Based On Lineage 14.1

https://android.stackexchange.com/questions/134921/how-do-i-make-my-profile-icon-use-the-same-image-on-my-google-profile

@RahulGopi yes, I used to do exactly that but now, Contacts options isn't available in Google Plus app (at least not at that location)

As of some version from may, the contact option was removed mysterously by google. Maybe they are going to reintroduce it by some other mechanism. But for now, you'll need to download  the g+ app prior to may (you can get legit apks from apkmirror). Then enable the contact sync from that. Post which, you can upgrade to the latest g+ version

Let me try that out

I don't think that the User icon has anything to do with your G+ profile picture. Go to Settings > Users > tap on 'You (Sumeet Deshmukh) > tap on the default blue profile picture to select a new one.

It's a wrong assumption, it's has much to do with google + profile picture, your way isn't wrong, user icon can be set by your way, but I want my google plus profile picture to be set as user icon. That makes this answer irrelevant here IMHO


text:
Contacts menu is not accessible in Android 6
I want to restore contacts from Sim - I have gone to the dialer and then contacts, then I look for the menu button that should appear in the search bar (as described here: http://teckfront.com/import-contacts-sim-card-android-6-0-1-marshmallow-2/ )
However, the menu is not accessible.  All that appears there is the google microphone; when I tap it, it opens the microphone and invites me to say the name of a contact.
How do I access the contacts menu with the microphone in the way?  Alternatively, is there another way to transfer contacts from the SIM that I have not seen?

The menu has probably been edited by the manufacturer. Try the same thing in the contacts app under settings.

I found the "menu" while connecting the phone to the PC. The dedicated application that self-installed from the phone allowed me to browse / move all media files and, of course, contacts from SIM card. Found it by chance...

This sounds like it would only work for a specific device or manufacturer, as not all phones come with such self-installing PC apps or allow SIM contacts to be restored from them.


text:
Choosing firmware version in CyanogenMod or LineageOS
I recently acquired a secondhand Samsung Galaxy GT-I9295, currently installed with Android 4.4.2. I would like to install either CyanogenMod, or Lineage, depending on what is available. I am told that the phone is also referred to as an "S4 Active",
Before even trying to install an altenative OS, I'm facing the problem of trying to discover the correct firmware version. Unfortunately I have no background knowledge of smartphones (this being the first I've used) and I have no idea what I should be looking for in the published lists of CyanogenMod and LineageOS supported models.
The lists on both the LineageOS site and the CyanogenMod have a vast array of Samsung phones but, amongst them, should I be looking only for "GT-I9295" irrespective of what other terms might be used on the same line, or should I be looking for something that says "S4 Active", even if it does not mention "GT-I9295". And are either of the two identifiers that I've mentioned sufficient to identify the correct firmware for the phone or are there some other identifiers (e.g., something I found called "Baseband version" that is listed in the device settings) that I ought be concerned about?

Galaxy S4 Active is not officially supported by either CyanogenMod (back when it was still in action) or LineageOS. Unofficial versions of CyanogenMod and LineageOS are available on XDA-Developers, all the way up to LOS 14.1 (Android 7.1).
As for the other part of your question, contrary to the other answer, you are urged to find ROMs base on the model number (in your case, GT-i9295), and also your baseband version for optional assistance. The reason is there are a number of variants for a phone of the same name; AT&T has their own variant (SGH-i537), and Korean carriers have another very different variant (SHV-E470S). Each could affect what you can and can't flash. For example, E470S has its own array of ROMs to flash, but since the internal is vastly different (despite they look alike), you can't flash it on your own.
If your baseband version starts with "I9295" then you can be sure that your device is indeed a GT-i9295 and can proceed to attempt to flash anything made for it; otherwise, it's likely that the phone is converted from one of the other variants (by flashing a ROM, or spoofing build.prop, whatever), and you should stop and ask for assistance.

Many thanks for the very thorough explanation. As an additional request, would you mind adding, either as a comment or into your answer, a note  about what "baseband" refers to. The Wikipedia entry seems to refer to a DSP concept!

Guess you got the wrong wiki page. See Wikipedia. "Baseband version" here is the firmware version for the processor itself.

you must choose s4 active, the baseband there is only if you have buy the phone from a brand (I recommend you to choose the lineage OS)


text:
Script to move files automatically - without root
I would like that when lauching an app / clicking on a desktop button of the phone, this happens automatically on my Android 5 non-rooted phone:
mv /extSD/DCIM/*.* /extSD/phone/
mv /internal/DCIM/Retrica/*.* /extSD/phone/
mv /extSD/Sounds/*.* /extSD/phone/

As these are simple operations (non security-sensitive), is there a solution for a non-rooted phone?

The button option would be doable with Terminal Emulator's widget, which can run a command.

@DeathMaskSalesman does it work without root? If so, should I use this with command, Arguments : mv /extSD/DCIM/*.* /extSD/phone/ ;  mv /internal/DCIM/Retrica/*.* /extSD/phone/ ; mv /extSD/Sounds/*.* /extSD/phone/ with semicolon ;to separe the different lines ?

It should be the correct command, yes. And it doesn't require root.


text:
How to update TWRP from within TWRP?
I'm in TWRP after a factory reset and I'd like to avoid to install some OS to update TWRP with the [TWRP update app TWRP from within TWRP?
I have a Moto G2014 and previously had Cyanogenmod 13 installed.

Downloading coming from the list of devices allows to download a .img image which can be transferred via MTP-USB connection and installed after selecting Images in the Install file browser. When asked to select between boot and recovery partition select the recovery partition (selecting the boot partition has at least no effect and might be harmful).
It's possible to flash a newer version via fastboot as well.

(In newer versions of TWRP you get offered Boot, Recovery and System Image.)

TWRP can be updated within TWRP recovery itself, by flashing the latest image.
Alternatively, TWRP can also be updated via Flashify and Official TWRP apps. It is a simple way to update without using a pc.
Refer here for detailed guide -How to update TWRP to latest version without PC.


text:
My phone (Google) thinks I live in a town that doesn't exist
I live in a town called "Rock Rapids, Iowa." It happens to be partially in Rock Township and partially in Riverside Township of Lyon County, Iowa.
But when I ask for my weather, it says I'm in "Rock ee-uh," and displays my location as "Rock, IA" I'm sure the voice is trying to pronounce the state abbreviation, which is stupid, but is another issue.
The weather is always right, and if I ask it for the weather in Rock Rapids, it's always identical to this mythical "Rock, IA" place, so it's more of an annoyance than anything. But why does it come up like that, and is there any way that I (or Google) can fix this?
I have a Galaxy 6, SM-G920V, running Android 7.0 if it makes any difference.

It could be (stupidly) going off the township name.  Google does this for me all time, lists my location as one of the nearby townships even though I'm in the middle of the city I live in and don't even know the township names.

I noticed recently that both my husband's M9 and my M10 started displaying Brooking Township instead of Raytown. I'm close the Kansas City city limits and I share a zip code with that city so I'm accustomed to having the wrong city display on occasion. However, I did some research and residents of a small area of Raytown named their area Brookings Township. When the city was finally recognized as a city, the official name was set to Raytown. I live on the opposite side of the city with respect to the area that was once known as Brookings Township. I found a US website with all the information about US towns lists and the township was archived as soon as it was recorded for historical purposes. I did a quick poll via the NextDoor app and everyone that has responded verified the same issue began within the last month, for various device models and service carriers. It feels like a purposeful change to jack with us or something. Or it is just an interesting weirdly targeted defect in some part of the software.


text:
Use an SD card as internal storage
I recently bought a Coowell V5 with a S905X mobo. I overwrote its firmware with one from a Nexbox A95 (that has the same S905X mobo), and now my internal partitions disappeared(mmcblk0p0,...p1,...).
What I think is, that either my internal memory is fried, or that my partitions just disappeared.
My question is, how can I remake them? Or maybe I can use an SD card and bind its partitions to the /system, /data, and /cache?

Yes, you can use the app link2sd from here: https://play.google.com/store/apps/details?id=com.buak.Link2SD&hl=it

I can't because I can't boot into Android. I don't have any partitions.

Have you tried to hard reset o Flash the device?


text:
Android N update: strange icon
I've got a Samsung Galaxy S6 edge and yesterday I updated it to Android 7.0.
It's really easy to use and I really like it.
But I have a question: In the notification bar there is an icon that I never seen before.
Here is the screen:

I know it's a stupid question but please, I've got to understand what it is.

That symbol represents that the data saver is on.
Data saver prevents apps from using data in the background (when you are on a mobile network, not WiFi), saving you mobile data and battery. Go to quick settings and toggle the data saver switch if you want to turn it off.

samsung galaxy s6 edge android 7.0 setting...
connections...
data usage...
data saver... off


text:
Xiaomi Music Player don't shows songs information
I have a Xiaomi Mi3 running Android 6.0 and there is a problem with the stock music player: some songs don't show the album cover or the artist. Other ones dont' show the name of the album.
What can be the problem? Is there a solution or I have to download another music player?

Could this just be evidence the tags on all your files is inconsistent? Is all the data present to show; you don't really say that in your post. There are tag readers that will enable you to find out whether the data is incomplete. Missing data in the source is not really a player problem.

I have all the tags in my songs, in fact other music players like Shuttle show all the information.


text:
Screen mirroring on pc
I was wondering if there is a way to mirror my screen of the phone to my pc using the same wi fi connection, like you can do with a smart tv; Do I need to download any special app or program for pc?

You can try AllCast witch only require a working Wi-Fi connection.
It works pretty great for me (Xiaomi Redmi Note 4 Pro, Android 6.0) :

Download here
On your PC, in Chrome, install AllCast Receiver

Make sure both your phone and laptop are connected on the same wireless network and then :

Open Mirror Beta and select your computer

AllCast Receiver will show up on your computer mirroring your Android screen.
Hope this will work for what you need.


text:
Music player seekBar doesn't begin from 0
I have a Xiaomi Redmi Note 3 pro with MIUI 8 7.5.11. In the default music player when I try to drag the seekbar to the beginning it automatically releases at 00:04-05, not at 00:00. Is it a bug?
Here is the screenshot:

Please try to upload images directly (imgur)  and try not to provide an external link, this time I have edited for you.

Try Using Any other MusicPlayer.

your system has a bug, try to go on impostation(on the new dedicated section of the new miui version for system apps) and cancel all data of the application. If don't work go on PlaySotre and download another playmusic


text:
Disable system update notification?
Simply put, I get this notification at times

I want to stop that.
Please no stuff about "you should do the update". I'd have to unroot, do the update, reroot, restore all my data. It's just not worth it for minor updates.

You should at least clarify the phone model. From the screenshot it looks like a Moto - there should be plenty posts about disabling OTA altogether on Moto phones floating around the web.

Use build.prop file. See my detailed answer here.


text:
Bluetooth next track without next button
I have only three buttons on my Bluetooth helmet: VOL+ VOL- ON (which is on/pairing button and it might drop the call as well)
Would be nice if the Bluetooth controls were configurable in such a way I could skip to next track with the ON button or with a combination of volume buttons (E.G. double press VOL+) my players support Bluetooth controls, but I presume they work with the standard NEXT button.
Is there a way to achieve this with Android 6?
EDIT: In my case it will never work as the device is not sending ANY event to the phone, but the question might be useful for others in similar scenario.

You should be able to modify a corresponding keylayout file in /system/usr/keylayout to map the standard bluetooth keys in a way you want, though I didn't verify that myself. Double-pressing (or any key combo) on the other hand seems impossible unless the hardware itself is made to output a keyevent on that combo.

@AndyYan I might be able to remap the ON key as I just use it to turn it on. Thanks, I will give it a try. Do you need root access to modify that file?

Definitely. Also, if you mean the power-on key of the headset, it might not generate a keyevent and send it to the device, so Android can't manage its behaviour.

@AndyYan thought about it, but I'm hoping it does for other purposes.

Maybe I'm a bit late to the party. I have a bluetooth headset with only three buttons too.
BUT, if I long press the volume up button, it generates a next track event, and the volume down button generates a previous track event.
Sadly I could not figure out how to remap these events (I would like to take a photo instead of next track event).


text:
Bricked Moto G2 XT1068 with a Cynogenmod with low battery.Need some help :)
I have Moto G 2nd generation XT1068. I flashed my custom ROM and installed a CYNOGENMOD in my phone.It worked fine for 4 month and now its totally bricked.
I could enter fastboot mode but it shows low battery in fastboot mode, so i couldn't revert my phone back to normal. I m not much a techie, so hope for a solution in stepwise :)
Finally ,
 Bricked MOTO G2: cynogenmod installed : LOW BATTERY ==> SOLUTION please :)
Thanks.

TWRP recovery is able to handle charging; you should be able to boot into it from the bootloader, provided that you have flashed one.

Try connecting the phone to pc, then entering bootloader(press all buttons)
Let it charge for a couple minutes, then reboot to recovery... or just reboot to recovery.
had this issue about half a year ago.


text:
droid explorer device not found
I have an Xperia Z C6606 rooted
Android version 4.3
I have tried both 4.3 and 7 Android SDK.
I kept getting the error message "device '' not found" as shown in the below screenshot.

Have you enabled the ADB USB Debugging mode on the device?

Please replace the platform tools API 23 file size 9 MB and remove the previous one. And remaining the same.
Your device will be visible.

I had the same problem.
The solution is to grant root access to ADB in Developer options.
First of all you need to enable Developer options as explained on Android Studio then you enter Developer options as explained there as well.
If you run CyanogenMod/LineageOS you can easily allow root access for ADB as explained here.
Otherwise you have to do it via Terminal.

Also ensure you are connected to your PC as Mass Storage (UMS).

Mass storage is long obsoleted (starting with Android 4.0), so most devices won't even support it anymore. Apart from which, how should that be relevant? From the screenshot it rather looks like OP might have not installed the device-specific drivers.


text:
Can't change vibration strength on Lineage OS
I just installed Lineage OS 14.1 on my Samsung Galaxy S5 Plus. However, the vibration strength for - for example - pressing the "Recent Apps" or "Back" button and typing was pretty much the maximum.
When I go to settings I can't find a setting for changing the the vibration strength, when I search, however, I can find a setting for vibration strength, but when I click on it, I go to "Other sounds" and don't find that found result there...
So how can I change the vibration strength on Lineage OS 14.1 on my Samsung Galaxy S5?

If there is a newer version of Lineage OS it may be worth updating to see if this was a known fault for your model.

I bought a new smart phone since my S5+ was doing odd and I had issues with Linease OS, like bluetooth connection with my car and IMAP syncing. But an update would probably be the only solution. Thanks!

Open Settings and use Search. If there is a setting available it will take you straight there.

Open settings and use search

Thank you for your response, however I'm not a newb on Android and I know there's a searching functionality. Hence the reason why I asked it here. :)

On the keyboard, rest your hand on the world sign and select Google keyboard.. that's all.. the vibrations will stop


text:
No sound Galaxy Sky
Have a Galaxy Sky that owes not ring when called, and The other person can hear me, but I cant hear them, even if the phone is on speaker phone. Any help with this would e great. Thanks in advance!

Seems like you have disabled all sounds! Some Samsung devices have such option where you can disable ALL sound: the phone won't ring, won't play music.. but I don't know if the on-call sound is also muted.
You can check at Settings > Accessibility > (if this model supports this feature) > Disable all sounds


text:
Turning off social apps
I would like to know if there is a way in Android 6.0.1 to turn off certain apps when I am using mobile data. For example, I would like to turn off Facebook Messenger while keeping Whatsapp available. Is that possible? I have a friend that can do this but I cannot do it in my phone.
Best regards

Install a firewall and restrict internet access to your desired app.
You can grant access to mobile data or WiFi or block completely from accessing data.
There is an inbuilt app in Lenovo handsets called security, which does this job pretty well.

Lenovo security firewall (click image for larger variant)

For those devices where such a Firewall is not integrated (99% of all devices, I'm afraid), there are third-party-apps, not all of them requiring root. You can find a selection in my corresponding app list. Most recommended choice: AFWall+ (requires root). From the no-root fraction, NetGuard was long time recommended (I don't know if it still is – but that would be a case for our sister site :).


text:
How does one access apps on Android Wear 2?
My Huawei updated to Android Wear 2 and now I can't find my apps. I have swiped in every direction but none appear. I cannot find a comprehensive manual of controls (though Google searches happily return scads of useless tips-and-tricks articles in long-form prose).

A single press of the primary hardware button now opens the apps drawer. Before the update this would turn off the screen.


text:
Android Failing?
I believe it's either internal circuitry, internal memory or root system file damage but I thought it's best I ask here first.
I'm using a Sony Xperia M (nicki) C1905 android. I believe I've had this for just about a year now. This is the second one I've had, the one before lasted 2-3 years that took some heating up from gaming apps.
Few weeks ago. It started to fail with apps in the background. Mainly Google Play Store or Google Play Services kept prompting it's not responding. So I've ran the Xperia Companion Recovery which fixed it. Then it started to happen again repeatedly after a while after recovering it again.
Later I've flashed TWRP and LineageOS over the old Sony OS, hoping for it to solve the problem and to try it out since I thought it was going to stop working anyway. It runs miles better but usually every 1-2 days, it starts to lag, some random app fail and eventually force restarts into a hanged boot of the LineageOS logo.
I've had KingRoot app, which I've found out later was presumed Spyware, when I was trying to root the device to replace the original OS. But the app crashes occurred before that.
I've done full format of the partitions with TWRP and clean flashed LineageOS and GAPPS but it still occurs.
Is there anything I can do? I've tried diagnostic app but didn't seem to pick up any faults with it.
The occurrences are: device lag, repeative app crash and then OS fails to fully start up and hangs. It happens different order sometimes.

Answered my own question.
Never mind. It seems to had completely bricked dead now. If there's signs of apps failing even not long after recovery. It means that it's going to eventually fully fail. Be sure to backup your data and have a new android  ready just in case.


text:
Backup apps and data using adb
I wanted to backup all the apps and the data of my phone, before I do some hazardous things on it.
I have run:
./adb backup -f /mydir/backup.file -apk -obb -shared -all -system

But the resulting file is ridiculously small (549 bytes), so I know it has not backuped everything.
What I am doing wrong ?

Hard to say (but yes, I'd expect a file of several GB, with all your eggs in one basket). You could try to adb logcat -v time | tee logcat.txt (Ctrl-C when current timestamp is reached) and see if you find some pointers. Were there any errors shown? Have you been asked to confirm the backup on your device?

Yes I have been asked for confirmation on my device, as well as a password for encyption. I'm gonna try logcat.

@Izzy no obvious clue in logcat... it is not even mentionning the backup operation...

That's strange. As you've entered a password for encryption, those 549 bytes are obviously nothing but the (encrypted and compressed) backup header (without password and for a single app, that's usually 41 bytes). No idea what goes wrong there, but maybe you try to keep the ball low and just backup a single user app first, to see whether that works? E.g. adb backup -f backup.ab -apk com.foobar.app (replacing com.foobar.app with the package name of one user app you've installed)?

@Izzy that worked much better. I will try to find which combination of flags makes the backup fail. ( I have not tried the restore yet, but the file is several MByte big, that's much better)

Start with skipping -system (what do you want with the system .apks?) and -shared (SD card content you can copy separately). I'd recommend a "complete" backup (APK+data) from all your apps (one backup file per app – my little tool Adebar can help you with that as it e.g. creates the script for it), data-only backups from system apps (Adebar's script include that), and the "shared" you can do separately by simply copying the SD card. Leaves the -obb I forgot to integrate with Adebar – but you can "RegEx-Replace" that into the scripts).

maybe try adb of an older version? https://android.stackexchange.com/questions/83080/adb-backup-creates-0-byte-file-prompts-for-current-backup-password-even-though


text:
Power saver or shutdown - which conserves charge better?
If I want to leave my phone undisturbed for a few hours but want to conserve as much charge as possible, should I leave it shut down or in Android's power saver mode.
Also say I want to check the time every half an hour, would it be better to leave it in power saver, or shut down, and start the device every time I want to see the time (or make a short call at the most)?
P.S. I'm using Jellybean, but answers for other OSs can also be posted for reference.

Power save conserves better battery since rebooting or switching the device on typically drops battery charge by a minimum of 1 to 1.5 % , as you can test yourself. This is  hardware related and pretty much independent of OS version
Restarting the device twice an hour (to check time), puts the loss in the range of 2 to 3 % , if not more
Device running in power save doesn't consume that much power as you can verify yourself using battery monitoring apps on play store. In addition, you can reduce power drain by adopting measures mentioned here What is the best state to leave an Android device in?


text:
Why does adb shell have higher permissions than common terminal applications?
For example you can write to /data/local/tmp with adb shell but not a common terminal application. Why is that?

In short, a normal terminal application runs with "normal user" privileges. ADB shell is designed for debugging purposes, so it has more privileges.

adb shell is basically used for  debugging an application on android.
It has increased no.of permissions because, it checks the android device compatibility, rooted or not, manifest files and other sensor based checks.
you can list the permissions by punching in...
$adb shell pm list permissions

It has the ability to minimise the permissions, and the ability to increase the no.of permissions for rooted devices.
$shell pm [grant|revoke] com.my.app

You don't need to be rooted to grant permissions with pm through adb


text:
How does WhatsApp restore chat database after a factory reset
Consider the following scenario:

The chat database (msgstore.db.crypt12) is encrypted with a key.
The key is lost after performing a factory reset.
I put the db files back in their place (internal storage -> whatsapp
-> databases) and install Whatsapp.
After verification it prompts to restore messages and on confirmation
it restores them.

How does it restore the messages without key?

the key is probably stored on their servers, and when restoring, the app gets the key from their servers.

you can try copying the file, removing whatsapp, replacing the file and toggle airplane mode. it wont work.


text:
How to change marshmallow notifications and viberation setting
I gave samsung j7 prime with android marshmallow,  i turned off notifications in setting for perticular apps like messages, whatsapp. My phone is always in viberating mode. Whenever i recieves a messege my phone doesn't viberate. Is there any setting for that ? But i want notification to be turned off and whenever a new messege arrives it should viberate like my old samsung phone.

The vibration is part of the notification, so if you turn the notification off, you don't get the vibration. You need to turn notifications back on. If your phone is in vibration mode then the notification will make your phone vibrate instead of making a noise, without you needing to change anything else. Even if your phone is in noisy mode, you can change the options in each app individually so its notification only vibrates without playing a sound.


text:
Galaxy S8 Proximity Sensor
So I just got my galaxy S8, and whenever i'm listening to a voice note it outputs through bottom (loud) the speaker. However, if I bring my phone close to my ear so only I can listen to the voice note through the stop speaker, it still plays on the bottom speaker.
My previous phone had this feature, so every time there was sound playing through the bottom speaker and I brought the phone next to my ear, the output of the sound changed. Does the galaxy s8 has this feature? I've tried to look for it everywhere but I haven't found anything yet.


text:
Is deleting our gallery after having saved our photos in Google photos safe?
I wanted to know if it was possible to delete our gallery after having saved all our photos in Google photos ? Will our photos be saved in like our Google account or something like that ? Or it will delete all our photos in our gallery and in Google photos ?

The purpose of google photos is never running out of storage on your phone. So if you backup your photos on google photos you put them in a cloud storage, you can access this cloud everywhere and everytime you want.
If you delete your gallery but you saved it before on google photos there is no problem, as i said before the purpose of this app is to gain internal storage on your phone


text:
Unlocking Bootloader Moto G Unable to bootup
I have been trying to unlock the bootloader on my Moto G 3rd Gen, so I can install TWRP Custom recovery and flash a new system image, as my phone will not boot up at all (including recovery mode).
I have tried to follow the steps on the Motorola website, but when I get to the command:
fastboot oem unlock (i have the code, not showing it here)
it says:
(bootloader) Check 'Allow OEM Unlock' in Developer Options.

However, as the phone cannot boot up, I can't check allow OEM unlock in the developer options.
anybody know how to get round this so i can install TWRP?

First download the corresponding firmware for your devices here.
Then follow (at your own risk) this updated guide.

I had the same problem with a Xperia M4 Aqua, and I couldn't override the 'OEM Allow Unlock' since phone wouldn't boot up.
I tried to perform the follwing in order to override that:
fastboot erase cache
fastboot erase userdata

It didn't work for me, but you can try on your phone, maybe you get lucky.
Since I was on Sony Xperia, I managed to flash a stock firmware using Sony Flashtool.

Your link is for the incorrect device... the OP stated he had a Moto G 3rd Gen (also called Moto G 2015), which uses different files and firmware, I would encourage needsomehelphere1 to NOT follow this guide. The Moto G 2015 can be restored to operating condition with a locked bootloader if we have access to the same or a newer version (downgrades are not permitted with a locked bootloader) and there are tutorials on XDA in the correct areas to perform this. Unfortunately, the versions of stock firmware that have been leaked are somewhat dated so it would depend on the release on the device.

@acejavelin my bad, I agree with you. I couldn't find a nice guide on Moto G 3rd Gen forum. This one that I recommended is very detailed and would help as long as the correct firmware is used. I'm editing my answer right now to clarify that.


text:
Saving contacts when I change ROM on Xiaomi MI3
I have a Xiaomi MI3 running an Android 6.0 CyanogenMod version. I want to return to use a MIUI Rom, but I don't know how save all the contacts (a lot of them aren't saved on the google account, they are saved on the phone).
What I have to do to save all the contacts (in order to have them when I'll install the MIUI Rom)?
Usually, I use TeamWin TWRP Recovery to install Roms.

If it's just about contacts, that should be easy:

open the contacts app
tap the "overflow menu" (the 3 "stapled dots", usually in the upper-right corner)
select Export/Import
select Export to SD card (might be named slightly different)

A few seconds later, there should be a file called 0001.vcf in the root of your SD card. That's all your contacts stored in VCard format. Copy that file to your PC (or any other safe place off the device). If later you wish to restore them again, the same procedure can be used – except that in step 4 you'd need to chose "Import from SD card", of course.


text:
Is there an option to remove the "administrative" messages from a whatsapp chat?
I'm in a whatsapp group chat that has a fairly large amount of messages, as well as a lot of traffic (people joining and leaving the chat). To help me keep only the messages I actually need I delete all the unneeded messages, but then I get a situation where I have pages on pages filled with administrative messages about people leaving and joining. Is there a way to delete those messages to clear up the chat?

The screen shot is from the web app, but I use it primarily on Android devices.

This question was asked on superuser at first, where it is off-topic, so I deleted it there, and posted here.

Unless there's an option to adjust the types of notifications under in app settings or general settings for that app then nothing I can think of. If there is another way I doubt it will be worth the hassle.


text:
How to disable this app without google play services that i have disabled?
Can somebody help me modify this app so it can work without Google play services? I tried lucky patcher, but it crashed with a message 'Unfortunately, NASA app has stopped'. It is an app called NASA, developed by NASA agency, National Aeronautics Space Agency. It can be found in Google play. I can't use Google play Services because it is deleted, and my phone can't support it. I must have really damaged the system.

If you have root access, try installing Google Play Services from apkmirror[dot]com . There are instructions available for choosing the right version. Then make it a system app.


text:
How to use Tasker broadcasts in Macrodroid?
I have this app , forcedoze which enforces better doze
for extra battery saving. I want to enable / disable it on schedule for which I see broadcast for Tasker
com.suyashsrijan.forcedoze.ENABLE_FORCEDOZE

(Broadcast values required : None)
And a similar one with DISABLE
How do I use this in Macrodroid? Guess I need to use intents but am clueless on this, not having used it and it looks complicated - am not sure what to fill in multiple options ( if my guess is correct )

My solution requires sending the intents with superuser (root) privilege and unfortunately, the Send Intent action in MacroDroid does not permit that. So I've used the Script action of MacroDroid as a workaround.
Sending a broadcast (it is universal, not Tasker specific) alone would not do anything here. Using the logcat, I noticed that the app starts the service named ForceDozeService and then issues the relevant broadcast.
Script (en.sh) to enable the ForceDoze:
#!/system/bin/sh

su -c 'am startservice com.suyashsrijan.forcedoze/.ForceDozeService'
su -c 'am broadcast -a com.suyashsrijan.forcedoze.ENABLE_FORCEDOZE -n com.suyashsrijan.forcedoze/.EnableForceDozeService'

Script (ds.sh) to disable the ForceDoze:
#!/system/bin/sh

su -c 'am stopservice com.suyashsrijan.forcedoze/.ForceDozeService'
su -c 'am broadcast -a com.suyashsrijan.forcedoze.DISABLE_FORCEDOZE -n com.suyashsrijan.forcedoze/.DisableForceDozeService'

Use the action Script in Macrodroid as:
sh FILE_PATH      // such as /sdcard/en.sh

That should work.

With mere logic. you can actually reduce this to one single script and reduce the redundancy I added in superuser privilege. I would have done that myself, but I'm short on time now.

Thanks for the solution and prompt revert. Will try this later. and revert if  any issues - though I am sure it would work. Thanks again


text:
Magisk: can it be used by mere mortals?
I just found out about Magisk and it sounds great,  but I don't't know much about it.  How would I use it?  The phone's a ZTE Z815.

Sure it can.  It's actually pretty easy as of version 14.  You'll need to unlock your bootloader and instal TWRP.  That's the hard part.  It looks like there are ways to root it, but XDA-Developers doesn't appear to have a forum for it, and that's where to go for trusted advice and mods.
If you can get those two, then you can download the Magisk zip file, boot to TWRP, and install it.  Next, update the stub Magisk Manager application, and you're good to go.  I strongly encourage you to then instal Xposed (all systemless)


text:
Aw, Snap! Google Chrome
I was in low coverage area for a week and was getting "Aw snap" error in google chrome. I'm using on android 4.0.4. But now when I back to full coverage area still getting Aw Snap error. I tried suggested solutions as if facing frequently but still occurring. Even I had reset my phone once and reinstall chrome though. Mostly error showing for specific sites. How do I can get rid of it? Or do I need to contact my carrier?

The Aww Snap crush is a bug in chromium caused by different things:

Low memory

It is also possible that site contains lots of images or JavaScript which might force Chrome to run out of space on the device while loading the site.
I'd suggest you clear up some space on the device and reboot the device.
If it helps, try closing any unused application in background to save resources  (CPU, RAM and disk space) and see if Chrome continues to crash.

This vulnerability crashes browser tabs when encountering a  link with a malformed URL in the HTML of a page.

The bug crashes the browser without the user taking any direct action other than loading the affected page.
This vulnerability occurs because of Chrome's habit of prefetching page data, such as performing DNS lookups on domain names in links on a page, in a preemptive attempt to speed up future loads.
Chrome will try and work out which link on a site you're likely to click on next and then pre-load in the background.
Possible fix is disabling pre-fetching
Go to Settings >> Privacy >> Use a prediction service to load pages more quickly >> Uncheck box.

3. Another possible cause is a corrupt profile.

You can create a new profile, but if you do, custom data won't be available by default. This includes  bookmarks, extensions and settings that you may have changed in Chrome.

References:

Aw, snap! How huge HTML links can crash Chrome tabs in one click
How to fix Google Chrome’s Aw, Snap! error message when loading websites
Constantly getting Aw Snap error in Chrome (Android)

Just go to Recent apps menu where u clean up background processes and lock the Chrome app.
It solved the problem in my case.
Hope it does in your case too.


text:
400MB free ram but cant delete WhatsApp chats
I have a samsung galaxy J3 2016 (SM-J320FN)
I bought it brandnew like 6/7 months ago,
Ive got a tiny 8gb internal storage plus a 32gb sd-card,
Got all my applications and files and stuff moved to my sdcard.
But i still run out of internal storage almost twice a week.
I don't have mutch applications on it either,
I cant even delete some whatsapp groupchats,
It just keeps loading.
And then it wil freeze and not mutch later crash..
Sometimes he won't even send pictures over WhatsApp.
Or cant update my profile picture cuz then it will just freeze and crash again
I've tried to reinstall WhatsApp multiple times and it doesn't help,
And the weird thing is i have 400+mb free ram  atm
So i don't really know what to do anymore anyone suggestions?

I am not responsible for lost data
Try to do this:

Uninstall whatsapp
Search in internal storage the whatsapp folder
Delete it
Reboot your phone
Reinstall whatsapp and DON'T restore backups

If this procedure doesn't work, I think it is a good idea resetting your phone.
Unfortunately devices like your have this type of problems frow the dawn of the times and the only solution often is the total wipe

I understand                                              Thanks man haha gonna try it out


text:
Different gapps for every device?
Hi everyone? I am thinking about changing my phone's rom and  I was wondering if every device need a special pack of Gapps (google apps) or if a pack works on different devices, what do you think?
Thanks for you answers.

GApps (Google Apps) are usually usable across devices and across Android versions but some Google apps feature different versions for different Android versions.
Those can include more functionality, better support for the latest version of Android and more.
If you need GApps, go to http://opengapps.org/ and select the version that applies to your phone and ROM (typically ARM64 and 6.0, 7.0 or 7.1) as well as the app bundle you want (with the AROMA package being completely modular and featuring nearly all apps).


text:
Is there a way to bookmark all tabs in Chrome for Android?
I have lots of open tabs in Chrome for Android. How can I bookmark/export all of them?

I don't think there are any other ways of bookmarking all tabs on Chrome for Android apart from Firelord's method :( You could help prioritise adding it as a feature by starring the Chromium issue which can be found here: https://bugs.chromium.org/p/chromium/issues/detail?id=1026222. You do have to login with your Google account but I believe that only Googlers can see it.

Follow these steps:

Sync the opened tabs in Chrome for Android with Chrome for PC.
Once the sync is completed you would see the opened tabs of your Android under History section (click Tabs from Other Devices in left panel) in your Chrome for PC.
Thereafter, click the three dots line in the upper right panel, choose Open all. Make sure to close other tabs in your Chrome for PC.
Once all of them have loaded, right click on any tab and choose Bookmark all tabs (as reported by Ed Rhee on CNET).

That's it. Since the two devices are now synced you can access those bookmarks on any device.


text:
How to turn off "Suggested: ..." video pop-ups in the YouTube android app?
I don't know if this is something new or I've only just started to notice it but very often a few seconds into most YouTube videos viewed on the app I'm finding an annoying white box with a letter "i" in a circle pops up, promoting some other video. It's possible to swipe it away, but that is also distracting and several times I've been hit by more than one of these in the same video.
Is there any way to turn this off?
I've looked through the app settings but couldn't find anything. I've already got all YouTube notifications turned off, and it seems to be unrelated to the "info" that some video creators add.
Here's an example of what it looks like:

These are Youtube cards (also known as Info Cards or Interactive Cards as described here: All about cards on YouTube and here: How To Setup and Use Youtube Info / Interactive Cards.
There are inserted into the videos by owners to (for marketing, advertising or information etc)  the viewer.
As described on the support page:

You can choose which apps and websites show cards in your feed, and
  you can turn off cards from apps and websites at any time. You can
  also get more personalized cards by letting Google learn which apps
  and websites you use most.

The fix: Turning off cards from apps & websites
On your Android phone or tablet:

Open the Google app Google Search.
At the top left, tap Menu Menu → Customize → Apps & websites → Receive Now cards from apps and websites? → No.

Sources

Add cards to videos
See or remove cards from apps & websites

Note: For other ads not related related to info cards you need to use an ad blocker or patch host file to prevent ads, this fix is only for info cards and not ads.

This sounds promising (albeit staggeringly unintuitive... thanks Google), except my "Customize" button is greyed out and I can't figure out why. Any ideas? All I can find online is this https://support.google.com/websearch/forum/AAAAgtjJeM4B6ucu70bIIY/?hl=en

I guess this now has to do with language settings (you might neeed to set default language to English - US, as suggested in forums) Alternatively unistalling and reinstalling the app may do the trick. Good luck!

I don't have an app on my phone called "Google Search", and I don't want to install it just to remove cards from Youtube.  Surely there must be a way from within the Youtube app to do it?


text:
Can only connect 'halfway' over mobile hotspot
On my Android phone,  I can connect to websites and browse them fine. Also,  if I turn my mobile Hotspot on,  I can connect a desktop/laptop to it, FTP into the phone itself etc.
However,  if I try to connect to any website from my laptop over the Portable Hotspot connection,  this fails.  traceroute to 8.8.8.8 shows about 10 hops,  with about 53 msec trip time,  ending at 209.85.241.35 or 216.239.56.19 -  but doesn't go all the way there.
What could the problem be?  And how can I circumvent it?
Notes:

Ping from my computer to my phone (192.168.43.1) works.
Connections fail even if I use numeric addresses,  so it doesn't look like a DNS issue.
I have a Redmi 3S phone,  with Android version 6.0.1 (MMB29M) - with no customizations,  just official updates.
I'm in the US and using Simple mobile.

Additional ex-post-facto information:
When I flew back to the Netherlands and switched to my local cellular provider (T-Mobile Netherlands), everything was working fine and I could connect to websites from the same laptop - without any configuration changes whatsoever, both with numeric addresses and domain names. So it must be some issue with the cellular provider (or compatibility on the phone side, or the laptop side, with what it offers).

Likely problem with DNS, what DNS are you using?

If you ping 192.168.43.1 are you receiving packets? There is some options I'm thinking of right now: Try changing DNS settings to Open DNS or Level 2/3, check if you can access web, maybe the APN settings are somewhat blocking access or there is a firewall in between. Alternatively isn''t there an installed app using a tunnel interface?

@xavier_fakerat : 1. I set my DNS to 8.8.8.8 instead of the local address of whatever DNS cacher Ubuntu zesty has on by default. But this shouldn't matter since connecting to sites using their numeric address doesn't  work either. I'm not sure what you mean by "" opening level 2/3" 2. Ping to 192.168.43.1 works.

This may be an issue with your carrier's APN (DUN and IPv4 protocols).
As a workaround, try changing the APN type to DUN:

On your phone, go to Settings >> More >> Cellular networks >> Access point names
Tap the entry for your carrier.
Scroll down to APN Type and add ,dun at the end (so the it should say default,supl,mms,dun).
Ensure the APN Protocol and APN roaming protocol are set to IPV4
Save your settings.
Restart the mobile hotspot.
Disconnect and re-connect to the hotspot from your laptop.


text:
Tab 2 Guest user problem
Hacker installed malware in Galaxy Tab (6 6.0.1) and disabled switching into Guest user. How do I remove this. I have run every kind of removal tool I can think of and every scan comes up clean.
Note: I am not a tech savy user

If you have already installed some Antivirus on your phone and they didn't work, try to do a reset of your phone and if it doesn't work try a hardreset. I hope I helped you, let me know if it worked


text:
How to prevent google to parse my calendar?
I use Android 6.0.1 on a Samsung Galaxy J5.
I have my own mail + contacts + calendar server on a dedicated server.
I noticed that when I put some entrys in my calendar (smartphone) with an address, when I open Waze, I have the choice proposed directly (Appointment) to go to this address.
I don't want google to track my calendar, so any idea to prevent this ?

Solution, install Xprivacy for rooted devices.


text:
How to transfer data to android?
I just took a phone android, before I had an iphone.
I want to tune all my data (photos, videos and contacts) on my new phone.
How can I do? I do not know any solution to the problem.

Switching from IPhone to Android is really easy. You'll need Google drive installed on your iPhone and set your Google account.
Further explanations can be found here
If your android device is a Samsung, you'll need Smart Switch app.
To get started, you'll first need to install  Samsung Smart Switch Mobile app from the Play Store on your Samsung device.
After launching the app, select iCloud from the list of options. The service works by using your iCloud device backup, and transferring your information to the Samsung device.
You may not feel comfortable with giving Samsung your Apple credentials. For this scenario,  Samsung has created a desktop tool to transfer your information. The tool can be found here.
Just follow the steps on screen.


text:
Unwanted apps auto installing without me doing anything. How to stop them?
I have a micromax phone and its autoinstalling some apps. I dont know weather these apps are installed from play store or from the micromax "app center" (which I never used). This problem started about one week ago although I dont remember doing anything which may have started this problem ... Everyday the same apps get installed and I uninstall them as quickly as possible to prevent them from spreading Viruses in my phone. The apps include: Clean Master, UC News, Superb Cleaner etc etc. I suspect that these apps are getting installed by some inbuilt malware created by Micromax itself because Clean Master was installed when I brought the phone but at that time I had unistalled it.
I saw a previous question which showed how to make a certain folder unwriteable but in my case I dont even know which folder should I block.
Please help me and tell what steps should I take the next time I see these apps on my phone.
Further info: phone model: Micromax E481 Android version: 5.1 lollipop.

The symptoms listed in the question indicate that the malware has infected the ROM (system partition most likely) or it was already shipped with the ROM and now has begun to show its color.
In your particular case, as your hunch proved it to be correct, it appears to be App Center app which was acting as the malware. Disabling it stopped those installations.
If anyone has identified such malware as a system app which cannot be uninstalled, see if you can disable it from GUI. To disable it, go to Settings app → Apps → (three dots line, if exists → Shows System) All apps → your app → Disable.
If the Disable button is greyed out and if you don't have root access, than you can block the app from being run. You would first have to identify the package name of that malware app. You can use an app, such as AppXplore to know the package name. For example, in the screenshot here the package name of the app Android Live Wallpapers is com.android.wallpaper which is listed below the title of the app. You can find so for your malware too.
After that, setup adb in PC, enable usb-debugging and execute the commands:
adb shell pm hide PACKAGE               # for Android Lollipop
adb shell pm uninstall --user 0 PACKAGE # for Android Marshmallow and Nougat. This is bit tricky. Some reports its result positive, while others, negative.
adb shell pm disable-user PACKAGE       # alternative to aforesaid second command for Android 5.0 and above
adb shell pm block PACKAGE              # for Android Kitkat
adb shell reboot

PACKAGE should be substituted by the package name of the malware app.
Know that if you have issues identifying the malware app you may have to try a few things, such as

monitoring the network using a firewall or a system monitor to single out that app, such as through OS Monitor app, or
by identifying system apps with signature not matched with your OEM's and Google's and than analyze which amongst the leftovers might be the malware.
perhaps scanning the phone with some anti-malware tool from Play Store could help as well
lastly, if the malware app was stupid enough to leave the installer package name as its own package name, than provided you still have at least one of the apps installed automatically (like Clean Master) by that malware, you could do:
adb shell pm list packages -i PACKAGE

This would show some package name next to installer=. If it is null than you got to try something else until you figure out the package name of the malware app.
If you've root access, you can choose to disable or remove the malware app. There are many apps in Play Store, such as Titanium Backup, System App Remover, and the likes which can remove or disable a system app. Use any of them to remove that malware. Be very careful, since removing a system app may make your phone non-bootable and that means, taking a trip to service center of your OEM or getting yours hands more dirty.
At last, if you can install a custom ROM or if you are sure your stock ROM was clean and you have access to it, than by all means, get the device flashed by yourself or those who can do so for you. Running a system already compromised by a malware is a risky business.
And keep the Unknown sources under Settings → Security disabled, to remain on safe side.

It might be useful to read this latest (2018/11/26) Android Central blog report about "Clean Master" and its ad-click actions.

If you have root access

Select an auto-installed app (any one works)
Find its package name (There are many ways to achieve this)
Target the file /data/system/packages.xml and open it in a text editor
Find the package name in Step 2
Scroll the line to the right and look for

<package name="xxx"... installer="xxxxxx">
You may find many occurrences in Step 4. If that line doesn't look like this, go to next match.

Take down the content of "installer" and find that app. Get rid of it.

Follow some of these steps to solve your problem (based on my experience):

Under Settings → Security, uncheck Allow installation of apps from unknown sources.
Install these two apps:

Adds on Detector
Stubborn Trojan Killer

Unwanted new apps keep installing in your Android phone because your phone is infected with the Trojan ‘Android Systool’. This trojan cannot be easily gotten rid of, as it roots itself deep on your phone system, downloading unwanted and malicious apps to your phone.


text:
Can't remove root
I have rooted in my Asus Zenfone 2 Laser 1 month ago but now I want to delete it. I tried to delete it by following some guides without success. Could someone help me, please? Thanks

A lot of Asus has this problem, try to follow this guide made to mail for Asus that permit you to remove root.
http://www.android.gs/root-asus-zenfone-2/


text:
Problem with GPS on xiaomi
I have a Xiaomi redmi note 3 pro and i have installed an application that control in real time your running (it take the Speed, the course)  thanks to the GPS.
But sometimes the GPS lose the signal and my results are not clear.
There are some settigs to change or the application has a problem?

All I can say is lower-tier phones tend to have spotty GPS hardware.

Are you running in an urban environment? Out in the country? Losing a GPS signal can be normal.

perhaps your rom/firmware has a bug with GPS, try to reflash the firmware of the your xiaomi form the official site


text:
Wrong file selection
I have a Galaxy Tab Pro SM-T900.  When I try to select a file (JPG) from the my files.  I get the wrong file.  Is there some setting change that would fix this.

Do you truly get the wrong file, or is the file trying to be opened up by the wrong application; IE: a picture file being opened by a music app?


text:
Show Settings->Apps on desktop as a distinct icon?
Sometimes I want to kill a buggy application (ANR) I've deployed to my LG G3. This seems to be done on Lollipop via Settings->General->Apps. I find it quite tedious to get there, every time I have to kill something that isn't responding. Sadly, the Settings app resets the tabs each time, so once I enter Settings, I must change tab to General, scroll down, hit Apps, scroll down to find the app, enter its screen, and then finally kill it - tedious if you value a fast workflow.
On my old Samsung Galaxy S (Gingerbread), I could get to "Apps" much more easily.
What I'd really like is to have a desktop icon that takes me straight to the "Apps" part of Settings.
Is that even possible? Better yet, are there any nice shortcuts for killing the focused application?

Try QuickShortcutMaker. Go through the Activities tab to find Settings app, and scroll until you see an entry related to Apps.

Simple enough without installing apps. Lollipop (at least my G3's build) lets you to go the activities carousel by pressing Square. In that view, you can close any app down using the X in the top right.


text:
Remove App icon background

I have a Xiaomi mi5 (MIUI 8) and I would like to remove the white background of these icon but I don't know if It is possibile

https://drive.google.com/file/d/0B9BY9VLrcBPjNjY3eXhkQ25aMHM/view
From above link download a .mtz file(theme file)
and apply that theme.
You need a designer account to apply third party themes
Signup for designer account at http://designer.xiaomi.com
It takes 24 hrs for designer account verification.

I don't own a Xiaomi device, but on my Samsung J5 I have the option to remove those background at Settings > Displays > Icon frame. Check to see if there is something similar.

You can download another launcher from the PlayStore that looks like you want it.
There are many launcher that look like the one from MIUI and even more themes.

You can try using nova launcher and apply the Android stock icon pack from the look and feel option in settings. It will remove the backgrounds in the icons. Alternatively, you can try using some icon packs if you are not a fan of the stock circle icons. I made a list of popular icon packs for Android on my website. Check them out Top 5 Android Icon Packs


text:
problem with WiFi connection
I have the Samsung Galaxy J3 for about a year. In these last day my phone fails to connect to WiFi automatically. I have to put off the modality "WiFi" on my phone, restart then the phone and put on the modality "WiFi". After this method the phone manages to connect. Someone can tell me another way to solve the problem?

I have the same problem with my samsung galaxy S4. Try to reset the phone and if the problem persists try with phone formatting. I solve this problem with the second way I told you. I hope that I can help you

How do you do that? What do you mean by "phone formatting"? Usually, after formatting, there isn't even the OS left. Sure you won't have WiFi issues if you cannot even boot, but that's not the solution :)


text:
Why sush tries to execute strings in my array as commands and how to prevent that?
When running a script that contains an array in a variable, the strings in the variable will be executed as a command, I don't need anything inside the array to be executed as a command, how to prevent that ?
I get the error sush: /su/su.d/1mount[5]: /mnt/runtime/default/MicroSD: can't execute: Is a directory
#!/system/bin/sh
count=0
LOG=/data/media/0/Logs/MicroSD.log
PARTITION="/dev/block/mmcblk1p3"
TARGET={"/storage/MicroSD" "/mnt/runtime/default/MicroSD" "/mnt/runtime/read/MicroSD" "/mnt/runtime/write/MicroSD" "/mnt/media_rw/MicroSD"}
FSTYPE=ext4
VOLDBLOCK=/dev/block/vold/179:66
[ $(wc -l $LOG) -gt 5000 ] && sed -i "1,$(($(wc -l $LOG|awk '{print $1}') - 5000)) d" $LOG
echo "$(date) Starting..." >> $LOG
for m in ${TARGET[@]}; do
    mkdir $TARGET[$m] 1>> $LOG
done
contains() {
    string="$1"
    substring="$2"
    if test "${string#*$substring}" != "$string"
    then
        return 0
    else
        return 1
    fi
}
while ! ls $PARTITION
do
    count=`expr $count + 1`
    if test $count -ge 100
    then
        break
    else
        sleep 0.1
    fi
done
mount_partition(){
    ls -d $TARGET[$i] 1>>$LOG 2>>$LOG
    if ! ls $PARTITION
    then
        echo "$PARTITION not found" 1>>$LOG 2>>$LOG
    else
        while ! ls -d $TARGET[$i]
        do
            count=`expr $count + 1`
            if test $count -ge 100
            then
                break
            else
                sleep 0.1
            fi
        done
        sleep 0.5
        if ! mountpoint -q $TARGET[$i]
        then
            mountres=`mount -t $FSTYPE -o rw $PARTITION $TARGET[$i] 2>&1 > /dev/null`
            mountret=$?
            while test $mountret -ne 0
            do
                if contains "$mountres" "nvalid argument"
                then
                    echo "\n******************************************\n2nd partition filesystem is invalid\n******************************************\n" 1>>$LOG 2>>$LOG
                    break
                else
                    count=`expr $count + 1`
                    if test $count -ge 300
                    then
                        break
                    else
                        if mount -t $FSTYPE -o rw $VOLDBLOCK $TARGET[$i]
                        then
                            break
                        else
                            sleep 0.1
                        fi
                    fi
                fi
                mountres=`mount -t $FSTYPE -o rw $PARTITION $TARGET[$i] 2>&1 > /dev/null`
                mountret=$?
            done
            mount -t $FSTYPE -o rw $PARTITION $TARGET[$i] 1>>$LOG 2>>$LOG
            mount -t $FSTYPE -o rw $VOLDBLOCK $TARGET[$i] 1>>$LOG 2>>$LOG
        else
            echo "2nd partition already mounted at $TARGET[$i] ..." 1>>$LOG 2>>$LOG
        fi
    fi
}
for i in ${TARGET[@]}; do
    mount_partition &
done
echo "\n******************************************\nMount output\n******************************************" >> $LOG
mount >> $LOG
chown 1023:1023 $LOG
chmod 770 $LOG

sh doesn't really have "proper" arrays, as I recall. The man page suggests that expressions wrapped in {} will be executed (it refers to these as one type of "compound command"), so that seems to be what it's doing when you try to define TARGET={ "some" "values" }

You are correct, I had to resort to "set" command to have an array, it means I will not be able to have more than an array at a time, I hardly see how I will be able to compare two arrays in sh as it is. Sadly I cannot mark as answer a comment, please make an answer based on your comment.


text:
Enabling mobile hotspots through restricted accounts (6.0.1)
Device: Samsung Galaxy Tab E
OS: Android 6.0.1
Question: How can I allow a restricted account I've created on my tablet to turn the mobile hotspot on and off? Is this only accessible via admin?
Thanks

The hotspot can programmatically be turned off through apps. For example, an app called CamScanner takes camera photos of receipts or invoices and can email them as PDFs or image files. If there is no 4G signal available, it will enable WiFi, which disables hotspots by default. This will effectively disable the hotspot despite not being on an admin account.

Actually I don't know a different way, you can access only via admin. I'm sorry, let me know if I helped you.

May I know how this suffices as an answer? It appears to be a comment.


text:
Android system recovery from Windows
I have the cheap Android tablet. During my experiments, I had rooted it and removed application folder. Now I can't turn on my tablet it is loading forever.
I have read about ways to load new ROM on my phone. Most of them start from uploading some apps on phone. I can't do it.
Also, I tried adb tool. But command: adb devices don't see my device.
Is it possible to recover Android system in some if Android OS isn't started and adb tool doesn't see the device?

What android device is that? what model? Please give all information

Loading new OS doesn't involve install ''some app'', you probably misunderstood what you read.  ADB can't ''see'' your device simply because it's not booted and eventually USB debugging is not enabled.

it is a cheap no-name device. I guess I need universal ROM for recovery.

As I get correct, I removed system apps and it is reason why I can't boot device.

Simply flashing a firmware/ROM may solve the problem. That's why we need some informations about the device

@esQmo_ I tried to recover the system from recovery menu (up and power buttons were pressed) without success. Could you point what I have to do?

You can't recover any data by factory reset since you deleted the system folder! Just flash your device using a computer! Tell the model of the device otherwise I can't help you further

@esQmo_ Sorry, for long delay I had the problem with getting a model of my device.  It is somytec M08T2 - http://somytec.gmc.globalmarket.com/products/details/exw-price-8-inch-quad-core-mtk8127-wifi-tablet-pc-m08t2-9286616.html .

For this phone you need a SP Flashtool and flash files.

@esQmo_ pls, write it as an answer, I will be able to mark it as the answer.

Deleting system folders can brick your device. That's what happened. Some files are part of the booting process and since they are not present the system can't go further. To be able to boot normally again, you'll need to flash the firmware/ROM for this model.
ADB can't find the phone on this state because android needs to completely boot for USB Debugging to be operational.
As this phone is a Mediatek device, you'll need SP Flashtool as the flasher software and flashing files need contain a scatter file which is a sort of phone internal chip memory "map".  Also you need MTK drivers to allow the phone be detected.
You can find thousands of video tutorials on how to flash a Mediatek device using SP Flashtool. Flash files can be found on Needrom


text:
Is it possible to install Kali Nethunter's Apps on OxygenOS?
I just bought a OnePlus 3T. I like the OxygenOS, but I wish I had the ability to preform USB HID Attacks and use apt-get on OxygenOS if I don't want to install Nethunter. Is this possible?

Try Termux, a free application which allows you to access apt-get and many other Unix commands right on your smartphone.
You can also install the termux-sudo plugin, which allows you to run commands with root access.

I tried that, put their package manager isn't complete.

No, it isn't, but that's the closest you're going to get on Android. Each package has to be built and adapted for Android - the already available list is immense already.

Nethunter is actually a ROM Overlay, I'd still have OxygenOS and all the apps would be installed anyway.