text:
Screen turns off during call due to problem with proximity sensor - Xperia Z3 compact
I'm using Sony Xperia Z3 compact running Lollipop 5.1.1.
My proximity sensor is really faulty (Works only when I press hard on the top left corner of the phone).
I'm sure it's the proximity sensor because I used test apps and I can see it's detecting proximity all the time (unless I press hard on the corner).
Obviously, my biggest problem with that is that my screen goes dark when I make a call (Because the proximity sensor think the phone is near my ear). Trying to use the power button to turn on the screen didn't work so I set the power button to hangup calls (Otherwise I had to wait for the other side to hang up!).
I've seen many (many!) posts about this issue and tried all the apps who claimed to turn off the proximity sensor and non worked (including using the service setting at *#*#7378423#*#*) :

KeepScreen
Screen On Call
Screenbl - Screen On/Off Sensor
Smart Screen On Off
Disable Proximity Sensor
Proximity Fix
Proximity Screen Off Lite
On Call Proximity

I gave them all admin permissions and whatever they asked, but they all failed... The proximity sensor is just too strong for them I guess...
My only hope is to find an actual dialer app that has an option to ignore the proximity sensor (Used to be a popular option in the past). The Xperia Z3 compact default dialer does not have this option, nor the following dialers I've tried (At least I couldn't find that option):

Turedialer
DW Contacts & Phone & Dialer
Dialapp: KitKat Dialer
Reactiv Phone Dialer
Contacts+
KK Phone (KK Dialer, Lollipop)
Ready Contacts + Dialer
pixelPhone Pro

The only app I've found to have this option and it actually worked really well was: Viber, but unfortunately Viber cannot be used as a regular dialer but only as viber-to-viber dialer or viber-out dialer (like Skype credit).
So please, if you know of a dialer which you're sure has the option to ignore proximity sensor (or: 'keep screen on during call' as it sometimes called), please share it with. Any other original ideas will be welcomed as well.

Are you familiar with Tasker?

@ProductManager I'm sorry, I thought you could maybe disable the sensor during call but turns out it's not possible that way. I'm looking for other ways though. Are you having any problems after setting Power button to disconnect?

@ProductManager I was trying to setup screen on when proximity sensor covered, and when Phone app in use. But it seems that the default setting overrides this. Quick question: is your phone rooted?

If you're willing to root Android and install Xposed Framework, then I can say that the module, Disable Proximity,  worked  perfectly on my Android 5.1.1 (non-Sony device)

@AmanThakkar and Firelod Thanks for trying to help. My phone is not rooted but as 'Firelord' mentioned it might be worth to root it.

See https://stackoverflow.com/questions/24982571/disable-proximity-sensor-during-call

I'm sure some of the solutions that were mentioned here will work for other people but unfortunately, the only solution that worked for me was a hardware solution. I took my phone to a lab and they pressed the screen to the back of the phone with some extra glue. After 24 hours the phone was good as new. As a programmer I was disappointed that no software solution could solve my problem, but I still feel obligated to share my solution.

Thanks for the visual explanation about the glue - despite the fact that pressing the corner worked, I still hadn't understood to what extend the screen was completely loose!

@Tao I think it was a few millimeters. It was impossible to see when looking at the phone from the front but a little visible when looking from the side.

Yep, exactly the same here.

The software solution which worked for me was installing Xposed framework, and then using this Sensor Disabler app. As I say, this has worked for me in the past, but right now I'm struggling to free up the /system space to install xposed framework. Very frustrating.

the problem just happened to me exactly the same few days ago, I don't know the main reason but it is so ! and actually I don't want to trick my device using some (disabler, tasker app or something like that) then is the problem unsolvable unless I take the device to some repair stores ?
is it sensor calibration error and needs to be re-adjusted or what ?

The only way I managed to work around this issue with Macrodroid was to:

put the trigger to volume button (up)
put the action to reject call.

So when I make/receive a call, I  can end it with volume up button.
Works on Z3 Compact.

Ran into a fun related option today "global settings -> accessibility" "use power button to end calls".  Still doesn't let you use the touch pad during the call tho :|

Using Tasker:
Profile name: Screen on
Conditions:

Call Any, *
 +
Proximity Sensor

Tasks

Menu (any title, any settings. This is to turn the screen on to show a menu. You can also use Pop-up if you want, though it may not work)
Display Timeout (To keep screen on immediately after menu has popped up. Set it to any suitable time you wish to)

This worked for me, and lights up the screen during call. It is tough to replicate your problem because I don't have it myself, but you can try it out.
Edit: If you're considering rooting, I guess many apps will work. Also, please check if you have the option of : Turn on and Stay on. They aren't available on my phone but may be available on yours. Or maybe you will need root access for that.
This is what I mean:

The simplification it requires can be represented this way: Profile: Event -> Call Any, Profile: State -> Proximity Sensor. The location may differ, but the point is to make it easier to follow. How does a person is supposed to know where is Call Any or Proximity sensor located?

@AmanThakkar - Tried but did not work. 'Stay On' and 'Turn On' are red for me as well and trying to open a menu and timeout did not work (Screen turned off and no menu was opened). Thank you 'Firelord' for the simplification. Indeed not an easy app for beginners...

Actually it's very easy, you can get used to it very quickly. Your problem is a tough one to solve :P Should I delete my answer now?

@AmanThakkar I wouldn't delete it as it might work for other people but I would add Firelord's simplification, to make it easier for beginners like me.

You could try this solution to keep screen on during call using MacroDroid automation app (Root not required)
To get an idea of how it works, settings required, testing/ troubleshooting,  see my answer.
Additional setting for this solution is from main panel of app Settings→Trigger Options→ Proximity Sensor Trigger→Enable Work with Screen off
Your macro would look like this (gets activated once the call is active )
Trigger:
Proximity Sensor → select Far (can be tried with near also)
Action:
Screen On/off →Screen on
Constraints:
Call State →In call (Macro runs when you are in call)
Disclaimer:

Tested on Huawei Honor 6, running Kitkat
@Firelord had confirmed, it is not working on his Lollipop version. Don't know if it is Lollipop / ROM / Device related. In the MacroDroid forums, reference is made in one post only to not working satisfactorily on Moto G  but confirms working fine on Samsung S5, both running Lollipop. Request OP to confirm, whether it works or not on his device

Nice try but unfortunately didn't work. Cool app though... I did managed to control other phone settings like the torch or the Bluetooth but couldn't keep my screen on or cancel the affect of the proximity sensor (even after the special settings you've mentioned).

the macro has being called. I've emailed you and the developers, the log.

No love for me on a Nexus 5, sadly.

Have you tested the Proximity sensor on the device, as this sounds like it may be related.
Try the following.
Menu > Settings > About phone > Diagnostics > Test Device > Tap Ear Proximity
If this fails, make sure to remove any covers or Screen protectors and then test again, if it does work, then the Proximity sensor was being covered or obstructed.

Yeesss! I had the same problem and plan to waste my phone!
Macrodroid help me to resolve issue with proximitity!
Proximity sensor - always tell - NEAR. And i can`t finish a call or input digit - screen was locked.
Remedy is - install Macrodroid and create macros
Trigger:  Proximity Sensor → select Near
Action: Screen on
Thats all!
My phone working fine now!!!!!!
Beeshyams, thank you very match for your cool mind and big heart!
p.s I can swith off screen by botton!

What type of phone is this? Doesn't work for me whether I set the proxomity sensor to be a "trigger" or a "constraint" (Sony Z3 Compact)

Not working here Nexus 5

I have actually been having this issue since i bought this phone in February and i have been to lazy to take it back. I decided to call sony after my phone irritated me beyond explainable today and he asked me to go into
 - Settings
 - About phone (if it is your first time in there click agree)
 - Diagnostics
 - You then need to select the test tab
 - Scroll down all the way to the end and select 'ear proximity'
 - Now it will tell you to place your hand over the sensor and if it vibrates it means your sensor is fully functional. If it vibrates from the moment you select ear proximity then your SENSOR IS FAULTY :(
He told me that if i bought it out wright i have to send it to sony for about 14 days so they can see what is wrong with it and if it is repairable... Never again will i make the mistake of buying anything other than apple.


text:
How to see mobile operator proxy settings
My mobile internet suddenly has stopped working. Chrome complains Error 130 (net::ERR_PROXY_CONNECTION_FAILED). Google app store and other apps those load content from servers now work only when I connect through wifi.
I set in firefox about:config network.proxy.type from default value 5 (use system settings) to 0 (no proxy) and firefox has started working.
Proxy Settings app shows empty fields.
As I don't use any proxy I would like to see that system wide proxy setup which broke my mobile inet

In Chrome, navigate to chrome://net-internals/. Does the Proxy section give you any useful information?

For GSM devices, as far as I know, the proxy settings for your mobile data connection are defined in the Access Point Name (APN). Go to Settings > Wireless and Networks > More > Mobile Networks > Access Point Names > [Your data APN] (your device's menu may differ slightly). Check the Proxy field - it's possible this got modified somehow. Might also be worth snooping around your carrier's website for the recommended APN settings and double-checking that everything is correct. Once finished, press [Menu] > Save and give it a test.

I somehow missed these settings before. Thank you! I don't know how proxy server got 'qq' value. Guess my little kid had set it when was playing angry birds.

Yes, some telecom providers change their configuration. So, since you bought the phone/SIMcard  the original default configuration can be changed. An the proxy be on a different IP address or just to remove the the IP from your APN configuration. Also some providers can send you and reconfigure this setting automatically from a SMS

Did you switch from "Mobile data" to "WLAN" (also "Wifi" or "Wi-Fi" on SAMSUNG) last time for surfing in internet? If yes, then try this!
Sometimes when you enable "WLAN"  before disabling "Mobile data" (top line, near the battery-charge-state or the current-date/time) the proxy settings for GSM will stay and be used for you WLAN!
All you need to do is:

Disable "WLAN" (also "WiFi" or "Wi-Fi")!
Enable "Mobile data"!
Start Chrome and navigate to somewhere or search for something!
Can you surf? If no, switching from "Mobile data" to "WLAN" was not the issue, else:
Disable "Mobile data" and wait 2 seconds!
Enable "WLAN"

It should work now.

I've had the same problem and the suggested solutions haven't worked for one reason or another. However, I thought "Perhaps there's an app for it?" There is! It's called Proxy Settings and the icon looks like stacked books. Search for it and install it via the Play Store app on your phone/open it/click on your wifi network/turn off the proxy setting. Internet access via a browser should now work like a dream.

Welcome to Android Enthusiasts! This answer might be more helpful if you add a link to the app you're recommending.

That could be my first question! How? copy and paste via the edit button doesn't work for me. Have I really got to write it down and then type it in?

Need to reset the proxy to default.
Then its working.
Step 1: Use user SIM network
Step2: Go to Access Point names
Step3: Go to the INTERNET options and make proxy as not set.

Check the properties of your Celular Network configuration. Sometimes it has a proxy and port configured. Delete them.

Fixed mine. I get this ERR_PROXY_CONNECTION_FAILED every time I use mobile data.
You need to reset the APN to default

source: Stack Exchange

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

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

sort: votes


text:
Samsung Galaxy Nexus doesn't detect charger
This happened yesterday night first. My phone's battery was very slow, so I decided to charge it. It didn't start charging after plugging in the charger. Frustrated, I kept trying with different USB cables and laptop USB ports and wall adapters. I tried with my wife's phone too, and it started charging.
Eventually, the phone died, and I plugged it in anyway. After that, it started showing the battery symbol and the charging animation (as it always does when charging when switched off), but the animation would stop and the display would go off, and the entire symbol and charging animation would repeat. This would keep repeating.
I gave up, stopped charging it and when to sleep.
When I woke up in the morning, I decided to give it another shot, and it just started working! I had to go to work, so it could only charge to around 50% before I left. I tried charging in the office with the USB port, but it very slow, almost not charging at all, just keeping up with the discharge!
I just got back home a little while ago, and it's the same story as last night. It is refusing to charge, and there is 10% battery left!
A few days ago, I left my phone in my pocket when I was on the treadmill in the gym, and it was getting tossed around in the pocket a lot.. I don't know if this has anything to do with it.
Will replacing my battery help? Is there anything else I can do? Software reset?
Edit: It just started charging now. It was just kept switched on and plugged into my laptop, with airplane mode enabled (as battery is low, and I live in a bad area with poor reception). I didn't even try to reinsert the charger. Looks like I am going to sleep a little more peacefully tonight, but I am still concerned as to why this happens, and would like to fix it.

The nexus has replaceable charge ports.  All you need is a tiny phillips screwdriver and watch one of the youtube videos.  I purchased a charge port off amazon for less than 10 dollars and fixed my phone in 20 minutes.

This sounds like a loose usb port on the phone. The microUSB port on smartphones are delicate things and can easily become loose and no longer reliably charge. If you use your phone or leave it connected but with the power connection taut (like if it's plugged into the wall and fully extended so the power cord is putting pressure on the microUSB port), over time this can and WILL loosen (or even break) the solder joints that connect the MicroUSB port to the circuit board. Eventually leading to a scenario like you're seeing now.
Hopefully your phone is still under warranty, as a mainboard replacement is likely in order here...Unless you're VERY skilled at micro-soldering work, then you could take the phone apart and see if you can re-solder the loose/broken connects.

Nope, I got my phone from an importer around 11 months ago, as this phone is not officially sold in my country. No chance of getting it repaired under warranty. Infact, most phone repair guys will hesitate in repairing this phone as they will say that they aren't familiar with it. The charging does seem to work sometime, so I am not stuck with a completely useless phone. For now, I think I will be more careful with the microusb port, and maybe will check if a repair is possible.

Sorry to hear about the lack of support in your area. A workaround for your issue be to buy spare batteries and an external charger for your phone. It's a chore to keep putting the cover on and off to switch batteries, but at least you'll be able to reliable charge your batteries and have spares.

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


text:
I want to delete my Whatsapp account
I don't want to appear on my friend's phone. I want to delete my Whatsapp account. Will my number disappear from my all friend's Whatsapp friend list when I delete my Whatsapp account? Basically, how can I remove my number from everyone's Whatsapp account?

I am using samsug galaxy y GT-S5360

You can delete your whatsapp account through the following steps.

Open WhatsApp.
Press the [Menu Button] => Settings => Account => [Delete My Account].
Enter your phone number in the full international format and tap [Delete My Account].

Please keep in mind that deleting your account is an irreversible process, we cannot undo a deletion if you complete the process by accident.
Goto whatsapp FAQ for more infomation

but my friend did it for me.. but still his account and his chat history is appearing on my phone. :( means my friend has deleted his whatsapp account but still he is appearing in my whatsapp contacts and his chat history is also appearing.

Then Download the app again, log-in and go through the above steps again. Your account should go away if the steps are followed correctly.

its not working ... :( :(

Did you use Correct international format ?

he added +91 before his mobl nmbr.india's code

Yes +918234123456

ohk. finally just tell me that how longer the whatsapp chat remains in phone when we never delete them by ourself. I mean by what the time the chat get deleted autometicaly

It won't be deleted automatically. You can do it manually with a long press on the full chat conversation or the individual message. :)

Your account will be deleted permanently 30 days after you deactivate it. So after deleting your account, don't use your WhatsApp account again for 30 days.


text:
Keyboard on Android phone disappears after starting VNC server, and reappears only after restart
As the title says, I want to remote control my Android phone (LG-F160K) using a VNC server. I tried droid VNC server and VNC server. I can connect to my Android phone, but after connection is made, the original keyboard (I am using Google Chinese IME keyboard) is gone and replaced with a single row with a few buttons. The keyboard cannot be restored after I close the server, and it restores only after I restart the machine.
Considering that as a nuisance, I wonder if there is anyway to restore the keyboard automatically after closing the VNC server?


text:
Why doesn't Clockworkmod let me restore my backups on my Sprint Galaxy Note 2?
I made a backup with Clockworkmod and now when I go to restore it it just says no files found.  I have tried moving the backup into different folders on the SDcard like sdcard/0 and sdcard/0/0 and it still can't find the files.

Are you storing the backup on the internal SDcard and then factory resetting and then trying to restore from that backup?

see my answer then.

CWM stores its backups in special folders below <sdcard>/clockworkmod/backup. Folder names reflect the times the corresponding backups where created, e.g. 2013-02-01.00.28.49. In those directories you should find the nandroid images. If you place yours there, CWM should find them.
Alternatively, you can also use apps like Nandroid Manager * ROOT or AppExtractor to restore individual apps/data from your Nandroid backups.
Note that when you've used TWRP to create those backups, this uses different locations, as you can see in the screenshots of Nandroid Manager.

So will Nandroid Manager let me restore app data from a clockworkmod backup?

That's what its description says. By the way, Titanium Backup does that as well. CWM/TWRP themselves only let you restore "all or nothing", but these apps are explicitly designed for selective restores.

That is helpful, but I would still like to know why clockworkmod can't find the backup or to know if there is a different way to restore it.

Have you tried placing your *.img files in the directory structure described in my answer? For example, into /sdcard/clockworkmod/backup/2013-02-01.00.28.49? Maybe you could edit your question and add some more details: which files do you have (just in case), what is the root of your sdcard (e.g. /sdcard -- but it looks like in your case rather /sdcard/0 has to be implied; make sure you're logged in with the primary user then when copying the image files)?

When you are performing a full factory reset, it wipes most of your internal storage, and most likely it is also wiping the backups that you are creating. If you want to restore from a backup, make sure that you create that backup somewhere on the externalSD or move the file over to your computer before you perform a factory reset.
This is why you can never find the backup after factory resetting. You are essentially deleting it right after you create it.

I can find the backup on my phone after factory resetting and I have also tried to put it on an external sd card so it is not being deleted but when I click restore in clockworkmod it just says "no files found"

Okay, I use TWRP as my recovery, but I am sure it is similar. Make sure you are placing the backup in a specific backup folder for CWM located on the externalSD. Create the backup and then go and check that it is there before you factory reset. Do you have some sort of a file manager installed?

Yes I have done that, I have put the backup in what should be the correct location(s). Is there any other reason why clockworkmod wouldn't be able to find it?

Like I said, I don't typically use CWM, but instead use TWRP, so little details like this I am not able to totally solve. You could try to make the backup using Online Nandroid to perform the backup and maybe you will get a different result.

I have switched to TWRP to but since I made this backup when I was using clockworkmod I believe that you can only restore it through clockworkmod.  Is there another process that I could use to restore a clockworkmod backup.

OHHHH, so you made this backup awhile ago and are still looking for it? Then I might have to inform you that your data is lost. Next time make sure that you can find the back up before you fully wipe the device.

I have the backup. I CAN SEE THE FILES, but clockworkmod does seem to be finding it even when I move the files into what should be the correct location.

i had similar problem and on reaching here i followed up on the discussion and i was able to make the CWM see the backup by making sure the file structure was in place
sdcard/
-------- clockworkmod
------------------ backup
-------------------------- 2013-02-01.00.28.49
----------------------------------------- * list of backup files *
ending up having something like this  ..
sdcard/clockworkmod/backup/2013-02-01.00.28.49/
the mistake i was making was that i refused to include the last part of the file structure i copied the files inside to the backup directly so doing the cwm refused to see the files since the folder structure is not complete
and on adding the last folder to it which is the 2013-02-01.00.28.49 (note : yours
can be different based on the time the backup was made
... And it worked

Maybe this is too late but I will post it for future refence for those who end up here and encounter the same problem like I just did. After wiping everything and putting the backup back on the SD, I had to reboot the phone in order fo CWM to recocnize the backup. When I had put the back up into the SD from the PC while in CWM, It wouldn't recocnize the backup and the same error msg popped up.


text:
No access to the Gallery nor to the camera
I've got a Galaxy Nexus and recently I cannot access my gallery or camera. When I tap both on the Gallery icon or on the camera icon I got this message "No archives available", then the app shuts down. The only way to overcome as far as now is to completely reboot the phone. Phone is not rooted.

Are you running the latest Android version, 4.2.2?

Yes, it's a GSM model (I'm in Europe), running 4.2.2, no root or anything

Try clearing the Gallery cache.

Go into Settings->Apps and scroll over to show 'ALL' apps.
Scroll down and open 'Gallery'
If the 'Clear Cache' button is greyed-out, then you'll have to 'Force stop' the app first, then go ahead and clear the cache.

Exit out and try to open your Gallery again.


text:
GPS is always indicated as on
I just recently bought a Samsung Galaxy Star S5280 which runs on Android OS, v4.1.2 (Jelly Bean) and it keeps indicating that my GPS is on. I already deactivated my mobile network on both SIM cards. I have also deactivated my location services. Can anybody tell me what to do about this because it drains my battery without me even using it a lot.

Mobile Data doesn't have anything to do with the GPS. Go to your settings, then go to Location Access under Personal, and then turn both "WiFi & mobile network location" and "GPS Satellites" off. That should turn your GPS on the phone completely off.
You can also look in your settings to see if you can set up a toggle to quickly turn the GPS, as well as many other services on or off just by swiping down from the top notification bar.


text:
Using Google Play music as an alarm
I downloaded a song from the Play Store to use as my alarm on my S3 but for some reason can't find it. When I go into Play Music it's there along with all my other downloaded music, but when I go into my alarm and try setting it it doesn't appear. Some of my other music appears, but not my music I've downloaded from the Play Store. Has anyone got a solution to this for me?

You could try to download your music in MP3 format from Google Music through your PC and then put it on your phones SD-card. Then you should be able to set the MP3 as an alarm sound.

When you download music from the Play Store, it stores it all on your account online. The best part of Google Music is that you can store up to 20,000 of your own songs online for free and then however many additional songs you purchase from the Play Store. These songs can be streamed at any time, or you can cache certain songs to listen to later when you don't have an internet connection or don't want to use all of your data. The downside to this is you never really have the music on your device.
Because of this, I am not sure you can use a song that you got from the Play Store as your alarm. You might be able to check in the file system to find where they are stored after they have been cached. Or you can download the song onto your computer, and then copy it manually onto the phone and then use it as an alarm.
EDIT: I have been looking all over my phone's file system trying to find where the offline music is being stored, but I have had no luck. Even after going to the location where every answer on this site says the offline music is stored, I still can't find the music. If you would like to check, this question appears to work for most people finding the offline music. From there you should be able to set the offline music as your alarm.


text:
Getting pictures off of old deactivated phone
Can I hook up my old Galaxy S2 phone via USB to my laptop to find "lost" pictures in an unnamed file?  I just activated my new Galaxy S4 and for some reason, all pics that were on my old phone are now gone from the new phone. Not sure why these would be deleted from the phone during a simple phone swap. Not all of my pics are on the sd card. Most of them were saved to the phone because it had much more space available.
Customer service says it may take up to 24 hours for the transfer to be complete but the new phone already has all contacts & accounts transferred, plus I'm able to text & receive calls. I understand that during a transfer, pics are not usually included. But they should still be saved inside the old phone, right? The techs doing the swap shouldn't be able to do a factory reset or anything on the old phone, correct?

Have you already tried to plug the phone into your computer and move the pictures manually?

And basically, everybody with physical access to the device can do a factory reset. So if those techs had the devices in their hands, they could.

The phone swap doesn't cause the pictures to be deleted from the new phone, they've never been transferred into the new phone in the first place. Just like moving house, you don't expect your furnitures to magically reappear in your new house without you moving them from the old house, do you?

Can you turn on your old phone (it may require the sim card, if there is one)?  If so, you could get to the pics and transfer them to something like dropbox or Google drive, or even the PC.

From your message I understand that you gave your old phone to a technician who did the transfer to your new Galaxy S4 for you. A phone swap is not necessarily a simple procedure and it all depends on what exactly the technician did. Apparently he moved all your accounts to the new device but like you I doubt that he moved all the files to the new device.
That being said, the pictures on your old phone will most likely still be there so there is nothing preventing you to connect your old phone to a computer and just copy those files to your computer or your new device. To confirm that the pictures are still there you can turn on the old phone and see if you can still see them. A deactivated phone only loses the actual mobile network connection but it should still be fully functional, even data with wifi.
And for your last question nothing is preventing anyone with your phone in their hands from factory resetting it. But I don't see any reason that would justify why a technician would do that after a phone swap.

And to add to my answer I didn't understand what you meant by an "unnamed file". Pictures taken with an Android phone should be named similarly to any digital camera and you should be able to copy them over USB.

If you have ROOT on your phone, you can get an app like Android Commander which runs on your PC and when you connect your phone via USB, it'll let you browse and access all the files on the phone


text:
Can I install more apps if I get more internal memory/storage?
Most modern top-level Android devices, e.g., Samsung S4, has:

2GB internal RAM
16/32/64GB internal memory/storage
up to 64GB exernal/removable memory/storage

Does the amount of internal memory/storage make any difference - for instance how many apps you can install or does the size of the storage only affect the number of images/music pieces/... you may download to the device?
I agree with the answers on the performance part but what the number of apps?

The answer is...It depends.
As a rough equivalent between Android and Windows PCs:

RAM = RAM
Internal Storage = C: drive
External Storage = D: drive etc...

Allocation of RAM works differently in Android, vs. say Windows or Unix. The usual notion of more is better doesn't necessarily correlate here.
As I understand it, it's diminishing returns once you go beyond what's required. Android basically tries to keep the apps/files you use most cached in RAM. Swapping in and out as it finds necessary. Once you're beyond what's needed, then it seems like Android just starts caching random and useless things. That's why if you use a Task Manager on your phone there always seems to be "stuff" running that you might feel inclined to just kill and free ram...But there's a lot of debate that says you should leave it alone and let the Android OS handle it.
As for Internal Storage, I personally go for the biggest I can get in my budget. The Android OS files go there, all your settings, music, photos, and apps by default are installed here. Nowadays though internal storage offerings from manufacturers are larger and larger and options to put files on external storage are getting better and better.
Considering today's offerings and requirements, I'd personally suggest when buying a new phone to get:

At least 1GB, 2GB preferred (As new apps with more bells and whistles come out, their RAM footprint also increases. 2GB is still probably way more than most average people need, but it's quickly becoming the standard on newer phones anyway.)
Internal Storage at least 16gb (Again, as new apps come out with more bells and whistles and cameras with higher megapixels and recording High Definition movies, they all keep demanding more space. The more you have now, the less you'll have to deal with later if you have to start cleaning up or moving things off to external)
Get whatever the cheapest option offered with the phone (if it's offered) (Buying the external storage from a 3rd party is much less expensive and likely faster and more reliable).

The internal memory is where most things are stored by default such as: apps, music, pictures, and any other things that require to work offline at times. External storage handles the same things, except it can be removed from the device and usually serves as extra space if you want to install several apps, keep lots of music, or take tons of pictures, etc. You also might have to specify if you specifically want things stored on the external memory.
The internal RAM is the same as that on a computer and just allows process to run faster as there is more memory for them to access when they need it quickly. You ideally want the most of everything, but all phones are going to have much less RAM compared to internal and external storage. This is all very similar to the way computers handle things too. The computer has a small bit of RAM, and then a much larger hard drive.

Secondary storage does not really effect standard performance, since most memory written and fetched is in RAM. Secondary storage should be seen as a priority in terms of managing space and resources and to help increase access time, but the real performance is dependant on architecture design of the system, RAM, and CPU speed, cache, and other factors weighing in.
Also, secondary storage is for storing data so it remains there when you turn the phone or, battery dies, etc. RAM is electronically erased when there's no power in its capacitors, and all data fetched, retrieved, executed, or otherwise executing is gone. Secondary storage is non-volatile, so the data remains on it. Think of it as a drawer where you put stuff in, but takes time to open and move stuff out of. Think of the top of the dresser as RAM, where you're always moving stuff ...


text:
What determines the order of my contacts on the frequent contact toolbar?
I am seeing a contact in recently contacted friends in whatsapp to whom I have not sent a message for a week now. All the other contacts are chronologically arranged except for him. Why is this happening? Is it that he is spying on me and my phone is sending him my history automatically? Or is it normal to be so?

Why would you think your phone is sending him your history?

Not knowing the real algorithm: I'd say "frequent" is defined as "number of accesses per time". Maybe you contacted him more frequent in the past, and your more recent contacts have not yet caught up?

Is he one of your "starred" contacts?

I think from reading the source code here and this line and also from reading the code in the Contacts application that the "Frequently Contacted" list in the Contacts application orders the contacts by the number of times that you've called them. That's the DataUsageStatColumns.USAGE_TYPE_INT_CALL bit. This is also assuming you're using the default Contacts application but since you didn't specify I assumed you were.
So it must be that you've called this particular friend more than any others. To test this try and make a large number of calls to the next person in the list and see if it overtakes the top person.
It could also be the case that you've 'starred' him. If you go on his contact profile at the top there's a star. If this is white then it means that you've favourited him which means he will always appear at the top of the "Frequently Contacted" screen. Just uncheck the star and he'll go away.
There is also the option to clear the list if you like, just click on the Action Menu or your menu button and select "Clear frequents".

i am refereing to whatsapp application here.no. of calls made effect whatsapp frequent contact too...?

@avi It could well do, but since it isn't open source I can't really say.


text:
Faster way to unmount the SD card?
I unmount my SD card a lot, and I find it annoying to have to navigate through the settings app each time to safely unmount the SD card. I would like some way or some shortcut that can do this as quickly and as simply as possible.
I'm running Android 4.4.4 and I am rooted and using Xposed Framework.

You can use the app QuickShortcutMaker to create a shortcut to the Storage settings activity of Settings app.
(Click image to enlarge)

Tap on a particular entry and choose Create to create a shortcut on home screen.

You can try a more direct path using vdc command but I don't recommend it since after a remount from GUI it gives some error when an unmount is attempted, at least in my KitKat. unmount  seems not to be working appropriately either.

Can you please tell how to unmount external SD card using the vdc binary? I'm nowhere able to get a proper documentation for that command. And, umount command doesn't work as you said.

You can ask that as a separate question. If you don't want to do that, I suggest you look into the source code of vdc command-line tool. There you would not get to know the arguments vdc requires for a successful unmount and mount.

Excuse the typo "not" in the last line.

The app Shortcut Creator works well. In the app, go to Shortcuts -> Settings -> Storage -> +
Maybe Tile Shortcuts also works.


text:
Removing permissions from apk
I'm trying to remove permissions* from certain bank app to prevent abuse.
I've managed to download apk file using emulator (AVD) and appextractor. I've used toolapk to extract the apk file and modified AndroidManifest.xml, repacked it and signed the file using jarsigner.
The installation on my phone fails with "App not installed.". The situation is the same on fresh emulator instance (no gapps). I tried to install unmodified version of the app on emulator with the same error.
How to get a more descriptive error message?
What am I missing?
My device is Galaxy Nexus running Cyanogen mod without gapps.
*contacts & call log reading, sdcard r/w, etc...

Install it using [tag:adb] and also use [tag:logcat] to get more descriptive information. What permissions are you trying to remove? Absence of permissions may cause instability for the app. See if the answers here provides a good alternative to whatever you're trying to achieve: Is it possible to install an app and exclude some of its requested permissions?

An Android emulator ran from the computer (aside from Bluestacks) is an environment that's not the ideal to test an app. I recommend you to push the modified packages directly to your Nexus. Regarding the "App not installed." error, I can confirm that it's not depending upon any permission. It's typically generated from an error/mistake in the phase of recompiling/signing the APK, provided that your AndroidManifest.xml is syntactically correct. For this, and instead of the standard ApkTool, I recommend you to search for Apk-Multi-Tool, a semiautomated script plus tools.

logcat sugestion was very helpfull. @Firelord: if You post it an an answer I'll be able to accept it.
It turns out that the app needs com.google.android.maps shared liblary. I'll have to make a placeholder.

@lynx: good to hear that. It is fine by me if you self-answer (not in the question but as a separate post on the same page using "Post Your Answer" button) your post. Please add in that answer whatever interesting or relevant info you found in the logcat, so that visitors in future would get to know what precisely to look for in the output.

It turns out that the installation fails because missing shared library.
Using aLogcat ROOT app from f-droid repo I was able to see following error:
E/PackageManager:( 1221): Package com.evil-bank requires unavilable shared library com.google.android.maps: failing!
One solution would be installing google maps app(or whole gapps package). I'm not going to test this one through.
Thanks to Firelord for pointing out using logcat.

If you use CyanogenMod, you don't need to remove Permissions from the APK. You can just go to Settings->Privacy->Manage App permissions after you installed the app and remove or add anything you want. Alternatively, which has even more control over the permissions (it can even be specific for which methods can be used) you can install the Xposed module XPrivacy (I have it installed and I use it a lot).

Are You absolutely sure that app will not be able to do anything malicious while being installed and before revoking the permissions?
I think that modifying apk is more proper solution.

Not any permission can be revoked via the Privacy Manager. And yes, in the time frame between installation and revocation, it has enough time to play with.

Maybe I gave the wrong path, I'm German so I'm not sure how it's named in the English version. But it should absolutely be there, except you use an old version of CyanogenMod. In this case, XPrivacy does a better job even on older OS versions, the installation process is just a little mire advanced.

And yes, it can't do anything as far as you don't start it, as explained here http://stackoverflow.com/questions/2227604/is-there-on-install-event-in-android - and the inbuild permission manager in CyanogenMod or XPrivacy are much more easy to use and don't require much time to configure perms.


text:
Opening YouTube from WhatsApp stacks YouTube on top of WhatsApp
Since a few weeks now whenever I open a YouTube link from WhatsApp, the YouTube app is stacked on top of WhatsApp, instead of it switching to the YouTube app as a separate app.
This is unhelpful because now I can't use the recents screen to go back to WhatsApp, but I have to click Back once to exit the video and once more to exit the home screen on YouTube to come back to the WhatsApp conversation.
Can I have the old behavior back? How?
I'm using Android 14 on a Galaxy S23+
This doesn't happen when, for example, I open Chrome by clicking a link from WhatsApp.

I can't reproduce the issue for now, though I think I've observed this before. I think this is related to YouTube's Picture-in-Picture. Maybe try going to YouTube's app info, selecting Picture-in-Picture, and then switching it off. (reference for different app)

@AndrewT. That didn't work unfortunately

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


text:
Blue ticks in whatsapp
Would the blue ticks appear if a person does not have you in their whatsapp contact list?
Although you can see whether the message is delivered, you cannot see their name or status. So I wasn't sure what was the case with whatsapp's new 'read' feature.

You cannot control this thing in whatsapp as of now. Read status is enabled for everyone by default. The only thing you can control is 'last seen status'.

Looks like whatsapp is working on this problem.


text:
Root access via adb only, not any Android applications
I'm running a stock Android 4.2.2 on a Nexus 4 device. After following some instructions on how to root it, I managed to get a partially rooted phone. Now on adb shell I can do:
shell@android:/ $ su
shell@android:/ # whoami
whoami: unknown uid 0

With adb shell I can get access to /data/data, etc. No problem. And my SuperSU.apk automatically grants it super user permission. However, nothing else gets super-user permission, not even SuperSU itself. No notification/prompt ever comes. Even after setting SuperSU to default to allowing access after timeout.
Any ideas on possible causes? Any suggestions?
Flashed this zip from (http://download.chainfire.eu/282/SuperSU/).
 4c3054dfecb6d21dc6a01d67c25588af CWM-SuperSU-v0.98.zip

You must go in Settings -> Developer Options and there must be an option called "Root Access". Set it to ADB + Apps.

Unfortunately as I mentioned I am using stock Android not Cyanogenmod...


text:
Phone restarting nonstop
My phone started rebooting all by itself all the time after I did 2 things with it. Installed Snapdragon BatteryGuru and put it on learning mode (for an estimated 3 days I guess) so that I could start saving battery by the app learning my behavior, and cleaned RAM with CleanMaster. These were the only changes I've done, I don't remember which was first but soon my phone started rebooting whether I was handling it or not at random intervals.
I've also noticed the phone was hot all the time, the Note 3 runs into some hot period with some frequency but not with that frequency. I've uninstalled both apps and it didn't work, wiped cache and it didn't work. The phone was still rebooting even on safe mode. After I wiped Dalvik with the help of TWRP, I thought the problem went away but when I hit the power button to turn the screen off, the phone rebooted and it will now always reboot when the screen turns off, even if it's just from the phone being inactive. It doesn't boot-loops, it just reboots, then after a random time, can be seconds, can be half an hour, it will reboot again. Note 3 SM-N9003 VJUBMI6.

Comments are not for extended discussion; this conversation has been moved to chat.

Solution 1
This may be a dumb question but have you tried a factory restore?
I had the same issue happen on my HTC Inspire a long time ago.  Even after I uninstalled an app, the random reboots would still happen.  It wasn't until I did a factory restore did the issue finally go away.
Not sure what exactly in the factory restore would have fixed the issue for me, but you may want to give that a shot.
Solution 2
Have you uninstalled the Snapdragon BatteryGuru? I know you uninstalled CleanMaster. The battery running hot could be due to BatteryGuru running the phone at MAX (fastest possible processor speed, etc) and causes the overheating.  Internal safeguards then causes the phone to shut down or reboot.

I'm avoid this like I avoid Satan. I'm by far the heaviest user I personally know, I use like 5000mAh of this phone every single day and I don't even use social networks. Resetting this phone is probably gonna cost me like a full day to leave all the settings customized the way I like them to be. This phone practically reads my thoughts as it is

Are you rooted? If so, it would not be difficult to back things up and restore everything.

Boot loops can be a hardware issue (like this one). If you did not change your firmware or alternate boot partition and it's looping from the alt partition then it's likely hardware. Changes to Android don't affect the alt partition (recovery) that's why it's there.

It sounds like your issue could be caused by your power key, If you fixed the issue and the power key causes a crash then you can see by process of elimination that it's caused by either the sleep settings, Deep sleep, CPU power down, etc.. or the actual button itself is getting stuck every so often.   ..
It sounds to me like most likely the BatteryGuru app has changed the method of sleep on your device, this means it uses less power while the screen is off, this causes issues like notifications, messages, calls not being received while the screen is off, because the sleep method is set to totally power off the CPU.. I feel like BatteryGuru has added an unsupported method on your device that's causing a crash on sleep mode.


text:
How to change alarm sound to an MP3
I've tried creating an "alarms" folder on the root of my SD card on my Galaxy Note 3 (Jelly Bean 4.3) then unmounting and mounting it again. Didn't work. Tried an application (Tone Picker) to let me put the song as an alarm but still the song doesn't show up. When I select the song from Clock JB+, I can easily select the song with the File Manager app but the song won't be found when the alarm sounds then it will just sound the regular "beep" alarm

Could you please [edit] your question and add a few more details, such as device used and Android version running on it? Also, where exactly the sound file has been placed might be useful to know.

Thanks! You might wish to take a look at my answer here, which hopefully gets you a step further.

In addition to Izzy's answer you can also change the file extension from '.mp3' to '.ogg'  with no problems. (not sure if that's what you're asking.)

Get Alarm Clock Xtreme Free. There is also a paid version which removes the ads.


text:
Can I trigger a media scan via the command line?
Is it possible to trigger the media scanner to update its DB via the command line?
I have an SSH server installed on my Android device and I copy files to/from over the same link. It would be great if I could also trigger a re-scan for the media scanner.
I am aware that there are applications on the market to do this via the UI but this is not what I want.
Any help fully appreciated.

The SSH server doesn't set all the necessary environment variables so it is easier to use a shell script.
#!/system/bin/sh

export ANDROID_ASSETS=/system/app
export ANDROID_CACHE=/cache
export ANDROID_DATA=/data
export ASEC_MOUNTPOINT=/mnt/asec
export ANDROID_ROOT=/system
export BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar
export EXTERNAL_STORAGE=/mnt/sdcard
export LD_LIBRARY_PATH=/vendor/lib:/system/lib

am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///mnt/sdcard

When successful:
# rescan-media
Broadcasting: Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///mnt/sdcard }
Broadcast completed: result=0

This works on Cyanogenmod 9.1. Depending on your system the environment may be slightly different.
Note: In later versions of Cyanogenmod / Android the SD card may be mounted at /storage/sdcard0. Make sure you know where your card is mounted or this will never work. Diskinfo may help here.
Thanks to Dan Hulme for pushing me in the right direction.
References:
http://developer.android.com/reference/android/content/Intent.html
http://forum.xda-developers.com/showthread.php?t=1752749
http://intwoplacesatonce.com/
http://kennystechtalk.blogspot.co.uk/2013/08/start-android-media-scanner-from.html

On Paranoid Android (CM10 / JB 4.1) this causes an immediate reboot. Not sure if there is a problem with the ROM or something has changed. Will investigate.

On CM11 this does not work.

@JaredBurrows Have you used the correct path? In CM10 this has changed from /mnt/sdcard to /storage/sdcard0.

Sorry I meant to explain more. Im running CM11 Android 4.4.2 Kit Kat. I have tried /sdcard/, /sdcard/Music. My sdcard is very empty. I am trying to refresh Google Play Music.

However, this does work on Google Glass (Android 4.0.4).

This refers to the Android Media Scanner. I don't know enough about Play Music to help: I've barely looked at it, but it's a cloud service so I can't imagine it works anything like the Media Scanner.

This apparently no longer works on Android 8.1. Even the developer tools GUI, which uses the same broadcast, no longer works.

I have not kept up with how Android works, as it do so really quite badly. No doubt many things have been broken since this was answered. A shame but there we go.


text:
"System" using 342GB storage?
I have a Samsung Galaxy S7 Edge in which I put a 400GB SanDisk micro-SD card to expand its storage space. Seems that didn't work though. The space is not available to me. And I can't really figure out why or how I can make this space available.
When I inserted the SD card, I selected that this SD card needs to be adopted as internal storage (I don't intend to take it out any time soon). And I had Android reformat it as it likes. However the storage app seems to be confused or the partitions messed up.
Bottom line, I'm not able to take more photos or transfer more music onto the phone because it's running out of storage.
Here's what the "Storage Settings" settings menu says about my disk usage:

367GB total used of 728GB

Internal shared storage: 366GB used of 367GB

Apps: 845MB

Images: 483MB

Videos: 0

Audio: 19.50GB

System: 342GB

Other: 3.17GB

Cached data: 112MB

SanDisk SD Card: 0.96GB used of 361GB

Apps: 2.71GB

Cached data: 40.42MB

Bold is my highlight. I don't understand why System is using 342GB or why it's counting the SD card double (the phone itself comes with 32GB built-in storage). Why is it not letting me store these files on the SD card?
I have Termux installed and here's the output of the df command:
Filesystem       1K-blocks     Used Available Use% Mounted on
rootfs             1680128     4560   1675568   1% /
tmpfs              1816220      448   1815772   1% /dev
tmpfs              1816220        0   1816220   0% /mnt
/dev/block/dm-0  378585556  1006608 377562564   1% /mnt/expand/612126b2-7bab-4bf8-8a24-ebacec5b0c23
/dev/block/sda14   4233152  1095448   3121320  26% /system
/dev/block/sda15    197472      188    193188   1% /cache
/dev/block/sda18  25772320 25243840    512096  99% /data
/data/media       25772320 25243840    512096  99% /storage/emulated

So I understand that this /storage/emulated is the one that's full, but somehow in this /dev/block/dm-0 there is this 377.6GB of space being unused. How can I make that space available to me? I've got ADB installed on my computer if necessary. It seems that the only thing saved on the SD card is several apps.

Are you absolutely sure your SD card is not a fake card? What is the source...? I suggest testing it elsewhere if possible.

I did test it in my computer using an SD card adapter before formatting it for Android. Windows showed it had 378GB of space and it had some SanDisk back-up utility on it then. I wiped it. It seemed normal to me then, so I'm pretty sure the SD card itself is (or was) fine. The source was bol.com, a common webshop here in NL, basically our Amazon.

Did you try unmounting and mounting it again? There might be software issues with this capacity as an adopted storage. I suggest using it simply as secondary storage.

You have adopted the SD card as internal storage but data is not migrated. /storage/emulated is still on your actual internal storage (/data/media). // Android's storage reporting is not reliable. There come very frequent questions regarding the confusions caused by this. See my answer to How disk space is used on Android device? for some explanation.

How can I make that space available to me? How to free Internal Storage by moving data or using symlink / bind-mount with Adoptable Storage?

@Natsu We are talking about a Samsung device here. AFAIR Samsung does not support adoptable storage on any device, to force the users buy the more expensive version with more storage.

@Robert not sure about Samsung but dev/block/dm-0 ... /mnt/expand/... shows SD card is adopted.

The answer was found through a comment by Irfan Latif here: "System" using 342GB storage? While I'd found this question prior to posting my own, I had dismissed it as being inapplicable since my df output is very different, and I hadn't found the menus shown in the screenshots there.
What I had to do is to go to Settings -> Storage -> The (almost empty) SD card. Then click on the grippy 3-dot menu in the top right, and select Migrate. You then get into the menu mentioned in the above answer (which was apparently supposed to show up when first installing the SD card, but didn't show for me). I moved the content, which took 15 minutes or so. And since then my phone indicates:

Internal shared storage: 344GB used of 367GB
SanDisk SD card: 26.32GB used of 361GB

When plugging in the phone, it now also indicates 334GB available space, and I can load more music and take more pictures.
Thank you for the suggestions, everyone.

if adoptable-storage is supported from this ROM, all new installed apps will go to microSD Card by default, as long as android:installLocation="auto" is defined in AndroidManifest.xml

check available disk space (of /data or /mnt/expand/*)
uninstall some apps
check available disk space
install some apps
check available disk space

you will see available disk space for /data increases

The apps themselves are not really the problem. I moved apps back and forth in order to install this SD card. The problem is where my photos and music are stored. I put the music on there via USB cable from my computer, but they get stored apparently on the very limited 32GB internal memory now.


text:
App updates automatically even after uninstall?
I recently uninstalled an app called All in one toolbox from Nexus 7 tablet, but this morning after I finished updating the Chrome browser, in the notifications panel I can see that somehow All in one toolbox got updates, but I can't find it anywhere on the installed apps list

How did
this happen?
Or is this app still present on the tablet somewhere, and if it is, how and where do I find it?
--- EDIT ---
This app was uninstalled by long pressing on it's icon  in the main menu, and then dragging it to uninstall, if that makes any difference.

If you click on that notification, can you still see the All-in-One app in the list of recently updated apps?

unfortunately I've already cleared all the notifications, but if I remember I couldn't see it in any list, neither the one that comes up when I click on that notification, nor any of the other downloaded and running apps list that we can find in settings. What I am worried about it that is it possible for the app to leave some of it's components behind even after I have told the device uninstall it, so that it doesn't show up on lists but it's files and some of it's activities remain behind

Since I downloaded this particular app from google playstore I'm hoping it's nothing dangerous, but if it is indeed possible for an app to linger around unseen even after I have uninstalled it, I should know about it

In app information, clicking an app in the app manager, there are two types of uninstall: Uninstall and Uninstall Updates. by using the launcher shortcut probabily it clicked Uninstall Updates, try to uninstall it again and tell us

This seems to be a bug. Try this:

Open Play Store.
Navigate to My Apps, then go to the All section.
Delete the app from your account (usually by a small X in the top right corner of the list entry).

See diagram below:

If it does not give you the X to delete the app from your account, click on the app in that list and uninstall it from the app's Play Store screen.


text:
Which file has the saved contact data in android? How to get this file in an unrooted phone?
My android phone's screen is damaged and only shows a white pixelated background and does not recognise any touch input (although it does recognise when I swipe on the initial lock screen after I restart the phone, I know this because I can hear the audio feedback). However everything seems intact internally, as I can charge it normally, pull out the battery and put it back in and restart it, the audio feedback when I put in the charger and pull it out work, and I can browse the internal memory by connecting it to the computer.
However, a big problem is that the phone is unrooted. I cannot connect the phone using adb either, since I cannot see the adb authorization dialog box, and just guessing where the OK button should be and pressing there is not working either. Since I can still the internal memory from computer, I have taken most of the basic data backup (pictures, audio recordings, etc) but I am not sure what to do about the contacts.
Is there any way to recover the contacts file from this phone, given that it is not rooted? The contacts are not backed up in google. The phone is Samsung Galaxy S4 with Android 4.4
Edit:
Create backup using
adb exec-out dd if=/dev/block/(bootdevice/)mmcblk0 > emmc-backup.img
How to take full image backup of partitions or eMMC?
From the image file extract userdata.image. This contains data/data. This will take a while. During this time command prompt will not give any indication something is happening.

Did you sync the contacts with a Google account? You may be able to recover them from there.

no the contacts were completely on the phone only, except for may be viber contacts which also used to show up on the phone contact list somehow (not sure how exactly that works)

Related: any way to read DATA/ directory's CONTACTS.DB?. The phone's contact data is usually saved in "Contacts Provider", a system app. Normally, you need to be rooted to access it though.

Comments are not for extended discussion; this conversation has been moved to chat.

@AndrewT. Does this chatroom get deleted after sometime or can it be accessed at anytime?

@user17915 the chatroom has enough participants and messages not to be deleted (refer to Chat FAQ).

There is a possibility that the contacts would have been saved on your sim.
Try putting the sim on another phone and importing.


text:
How do I create a calendar event that repeats every other week?
How do I create a calendar event that repeats every other week?
I'm using the default calendar app on the Droid X and the Xoom and I can't make an every other week appointment.   I can do this on the website without trouble.
The only options are every week and I don't see where I can say every (2) weeks.

The current calendar app from google now supports custom repeat appointments where you can specify repeat every 2 weeks.

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


text:
How to connect to Internet from Windows 7 laptop tethered over blue tooth to Samsung S4
Android Samsung S4: Tethering and Mobile Hotspots > Bluetooth (enabled)
Windows 7 laptop: Bluetooth enabled, paired with Samsung S4.
Windows Bluetooth Device Control window opens.
By default, the Samsung S4 has (Disconnected) below it, even though they were just paired & my laptop has no Internet connection.
My S4 has a working Internet connection.

If I try to click Connect, under Windows Bluetooth Device Control > Personal Network and Communication, a green tick appears over the Bluetooh icon located between the diagram of the laptop and the S4 at the top of the Bluetooth Device Control window. However, it reverts back to the default bluetooth icon, and the the S4 continues to display (Disconnected) below it.
I have download the Samsung Android USB Drivers for Windows, and the S4 displays as a device with no driver problems in Windows Device Manager.
How do I have my Windows 7 laptop use my Samsung S4's mobile Internet connection while tethered over bluetooth?

The steps which I follow:
1.Goto Settings then tap on more settings under wireless & network.
(Click the images to enlarge)

2.Tap on Tethering & portable hotspot under Network

3.Next tap on Bluetooth tethering to enable Bluetooth tethering

Now Pair your Device to your Computer, to do this...
1.Hit the Bluetooth Icon in the system tray

2.Click “Add a Device”

3.Wait for it to search for your Bluetooth Internet Access Point, then click to select it and press “Next”

4.Click “Yes” then click “Next”

5.Wait till your Computer to install the drivers.
(Click image to enlarge)

6.Now the Bluetooth access point has been setup.
7.Click the system tray, then right click on the Bluetooth icon and then hit Join a Personal Area Network

Else,

Goto Control Panel\All Control Panel Items\Devices and Printers
Right Click your device and connect using Access Point

Note : Again your device have not connected means try these

Setting up the modem
On the PC, Click Control Panel
Right-click on the Bluetooth icon in System tray, click Add
An Add Bluetooth Device Wizard will appear
Select My device is set up and ready to be found
Click Next
Select the handset from the list and click Next
Select Let me choose my own passkey
Type 4 to 16 digit passkey (example: 1234) in the available field
Click Pair Now
On the handset, enter the same Passcode (Passkey) entered on the PC Press OK
An Accept connection request prompt will appear, press Yes
Ensure that Dial-up networking (DUN) is checked
Click Next
On the PC, click Finish
Then Click Control Panel
Double-click Phone and Modem Options
Click Modems tab
Select Bluetooth Modem
Click Properties button
On the General tab, click Change settings button
If a User Account Control prompt appears, click Continue
Click Advanced tab
In the Extra initialization commands field, type at+cgdcont=1,"IP","internet"
Click OK and OK again.
Setting up the connection
On the PC, return to the Control Panel
Double-click Network and Sharing Center icon
Click Set up a connection or network
Select Setup a dial up Connection
Click Next
If prompted, Select No, Create a new connection
Click Next
Click Dial-up
If prompted, click Bluetooth Modem
In the Dial-up phone number, field, type *99***1# or *99#
Leave the User name and Password fields blank
In the Connection Name field, type the corresponding APN (Ex: XXXX.com or YYYY.internet)
To Know APN :
On the Mobile, Goto Settings\More settings\Mobile Networks\Access Point Names and then Tap the required network to view it
(Click the image to enlarge)

Select from the available options
Setting up the connection
On the PC, click Connect
On the handset, an Accept connection request prompt will appear, press Yes
If a Set Network Location prompt appears, click Cancel

Sridhar, that's great, very comprehensive answer. The trick for me, was turning Bluetooth tethering on, before pairing the devices (I believe). Thank you! :-)

@Steve: Try BlueSoleil  (Third Party) also, which worked for me when windows 7 Bluetooth fails

Cheers Sridhar.


text:
What is the difference between Samsung 4 files(Repairing firmware) and Single firmware file for flashing?
I was flashing a Samsung device with a single file (tar.md5 format) and i saw some people are working with 4 files(Repairing firmware) to fixing the most and actually, Any problems with those 4 files and i've heard that they says, it should fix any(Software) problems after flashing it on the device but i couldn't actually figured out ;
What is the exactly difference between these two which the 4 files containts four files such as ;

Bootloader file
CODE file,
Modem file
and  CSC file

And the single one has the Modem file and the others which we'd introduce it in PDA section?
Or, which one should be the best option for updating a device?
Also, i've seen an application which it could convert the Single firmware to four files and that was more interesting about the question too!

You flashed and MD5 sum? Better fix that. Also, decompress your tar file, and I think you'll find those 4 files.

I did that also, and there were about 8 files but i can't figured out what is the difference between that single one and the four?

The single file which you can flash (I presume you are using Odin) contains all the files required for your  firmware upgrade- which you place in PDA option of Odin
If you  want to upgrade the firmware selectively, you would use one of the four files mentioned:

Bootloader file- not normally done for stock, mostly used for compatibility issues in version upgrade in flashing custom ROM. Example : MJ5 bootloader for flashing Note 4 ROM on Note 2
Code File is typically the ROM
Modem File is the radio component of ROM- you may want to replace a ROM meant for use in a different region and change the modem to get better performance by flashing modem file of your region. List of modems for your device can be searched on XDA forums. Example- Note 2 modems
CSC (variously referred to as Country/Carrier/Consumer Specific Code) File is the file you would want to use to change if you bought the phone in a different region and want to use it in your region (Samsung ROMs incorporate region specific features ) . Example

What is the exactly difference between these two?

I had overlooked this main question and realised I never probed this aspect. Googling leads me to the conclusion that the key difference is is it Odin ready (to be flashed as a single file or not?. While Odin and Kies are both Samsung proprietary, formats required for using them differ. using a Kies format and adapting to Odin requires extraction of files required.

Samsung firmware upgrade comes as a single file having the necessary files required for upgrade (Odin ready)
Samsung firmware is available on many sites, Sammobile is considered to be the most reliable out there. This site  and other sites sometimes host upgrades/beta/test mode in Field Upgrade Serviceable (FUS) files which are not standard Odin flash ready files. But they can be flashed using Kies. Reason cited here for not being able to use directly on Odin is header file corruption. These need to be downloaded using apps like FUS downloader and then split into required files to be upgraded using Odin.You put these CSC, modem,bootloader files in the corresponding sections of Odin

Linked site(s) explain (Warning: Don't use PIT file which is available on splitting till you understand what it is for)

To summarise, key difference lies in packaging of firmware (Odin Vs Kies), others being type of firmware (beta/ test/ tested/ leaked) and possible end use (complete or selective upgrade)

which one should be the best option for updating a device?

It depends on what you want to do-there is no specific answer, as for instance of flashing a modem only explained above. Or if your source upgrade file is Odin ready or not a explained above
If you are using Linux the method varies (not tried by me) and you can pretty much use either methods as outlined here
Samsung has a pretty confusing (till you get hang of it) of breaking down these components and labelling them. You can read here and here for starters.
And if you want to get deep into sources, see my answer Samsung firmware modifying

The main difference is that the single file doesn't Factory Reset the phone after flashing, but the 4 file firmware does factory reset and remove absolutely everything and make it like an out of the box phone.
The 4 files are called Binary Firmware which contains all the files in certain order:

Bootloader contains all the boot files
AP contains all the system and recovery files.
Modem/CP contains phone network and wifi software.
CSC contains PIT file and cache removing IMG which puts all the files in order and repairs any damage firmware has before.

Thats why they are called repair files.

Why would flashing the files separately trigger a wipe of /data?

because the repair filen (4 files) has pit file and param.bin which wipes everything, and i mean everything! obviously knox count doesnt get changed because thats hardware.

Ah, yes repartitioning would make sense.

+1 Good point. Maybe you can elaborate your answer by adding "how to flash"

Use odin, Many tutorials are available online for that

Some things were not explained. A 4 File is not exactly binary firmware in a sense (even though it's all binary) given that they are used to repair the device. Currently the PDA section when using Odin3 is AP. In the 4 file you will notice a CSC file and a HOME CSC file. If you are flashing there is a difference between the two. The CSC file returns your application data to factory whereas the HOME CSC file saves your appication data. Either one goes only in the CSC section, do not use both at the same time.
The Combination files are binary repair files that fix the binary codes of the device. It is only placed in the AP section of Odin3 when flashing.

so with Odin it's possible to flash combination firmware on locked bootloader without losing data? can you elaborate?


text:
How to know if USB drive was detected using OTG from dmesg output?
I am trying to get OTG to work with my phone (Samsung Galaxy Win SHV-E500L, previous question here)
I have used an externally powered USB hub and connected it to an OTG cable connecting it to my phone, and the USB drive is inserted into the hub
Here is the dmesg message before connecting the USB drive:
https://pastebin.com/29fHksyz
This is the content of the dmesg.log file.
Here it is after:
https://pastebin.com/rGdgzfBm
The two look different so it must have detected something, but I am not sure what to look for. How can I determine if my phone can use OTG or not from these messages?
EDIT 1---
Here is the output after doing as instructed in the comment :

Please post the output in understandable form. There is a time frame
  missing in between both of your outputs. Do dmesg -C; dmesg -w 2>&1 |
  tee /sdcard/dmesg.log. Immediately connect USB. Within a second or
  two, as soon as some output comes from kernel, break the command (Ctrl
  ^C). Share dmesg.log file.

https://pastebin.com/BKaPCT3L

Maybe "external MMC(SD)" On/Off

Please post the output in understandable form. There is a time frame missing in between both of your outputs. Do dmesg -C; dmesg -w 2>&1 | tee /sdcard/dmesg.log. Immediately connect USB. Within a second or two, as soon as some output comes from kernel, break the command (Ctrl ^C). Share dmesg.log file.

@IrfanLatif You mean connect USB first, then give the command dmesg -C; dmesg -w 2>&1 | tee /sdcard/dmesg.log then immediately disconnect USB as soon as I see some text? Did I get it correctly? Or do I give the command first then connect USB?


text:
Disabling Noise reduction/echo cancellation/any other effects on the microphone input in smartphone
I have made a program that reads a fixed number of bytes from the microphone and sends it out to the speaker, effectively a program to route audio from the mic to speaker without any changes
Normally I can hear what I say into the microphone loud and clear on the attached headphone
However, if I blow into the microphone, I can momentarily notice the sound in the earphone going smaller, which slowly rises back to its normal volume
I think some kind of built in noise reduction or some other effect is kicking in when I blow into the microphone
Is there any way to completely stop or bypass any kind of preprocessing the phone does to the microphone input samples, or to the output samples?I have looked at all the sound related settings on the phone and they are all disabled, at least as far as I can tell. I use AudioRecord class to get microphone audio samples and AudioTrack to play them back. AudioRecord source is MediaRecorder.AudioSource.DEFAULT (MediaRecorder.AudioSource.MIC gives the same result). MediaRecorder.AudioSource.VOICE_RECOGNITION doesn't seem to have any effects on the input sound, but I would have guessed that MediaRecorder.AudioSource.DEFAULT or .MIC would be the option without any preprocessing attached to it.
I would like to know if there is a way to completely prevent the phone from doing any kind of audio processing, at the mic or the speaker side, through some option in the phone settings or through adb or in my program's code.
The phone is Samsung Galaxy S7 with android 8.0, but I am looking for a a general solution if it exists.

i truly hate this "feature" i bet it is part of audio codecs and can't disabled. welcome to the new world

I see reference to android.media.audiofx.NoiseSuppressor in https://source.android.com/compatibility/8.0/android-8.0-cdd#5_4_2_capture_for_voice_recognition Not sure if you tried it and found it lacking.

If you blow into the microphone I would assume that the recorded sound is getting overloaded when digitized (bit- and sample rate too low) and therefore the microphone automatically adapts the volume.


text:
Samsung galaxy s7 submerged in water. How serious can I expect it to be?
I dropped my Samsung galaxy s7 in water. It was submerged for less than 10 seconds, I turned it off within 30-60 seconds after that. It was working properly when I pulled it out of the water and while I was wiping it's surface dry, and I also managed to shut it down cleanly. I've wiped the audio jack opening and the USB port with a thin piece of tissue paper and also dried out any openings with a hair dryer. On hindsight probably shouldn't have done that, but it's already done. I've pulled out the sim card, and at least the sim card slot looked completely dry inside. It's since been turned off and is completely covered by dry rice.
How much damage am I looking at? This is the first time I have had water problems with a phone with an unremovable battery, and it doesn't look like I can do much else with it at home. Should I take it to a repair shop anyway and have it opened and dried? I don't know how much it would cost, and since it is an old phone anyway I don't know if it'll be worth it if they ask too much. Since the phone seems to be pretty water resistant I am wondering if I can just brush this off.
How much damage can I expect? If the phone turns on, charges and works normally is it safe to continue using it as usual? I am okay with keeping it under rice for 24 hours or more if that's necessary. When is the earliest I can turn it on again?

The Galaxy S7 is IP68 certified - dust/water resistant up to 1.5m for 30 mins. The one question is how much pressure was created by the splash when it fell into the water as this could result is a pressure equivalent to a much higher water depth. And the other question is what water was it (tap water, salt water, chlorined, other chemicals)? Salt and chlorine can cause corrosion after a while.

for non IP68 devices i recommend to immediately disassemble and disconnect battery. you can heat device with open case in oven (not a microwave!) at very low temperature (50° degree celsius) but make sure there is no display foil and place it on a saucer with glass side (as less contact points as possible)

@alecxs what's non IP68? Given what Robert said above, I'm guessing it doesn't apply to my phone?

@Robert it was just a bowl of tap water in the kitchen, may be a bit soapy with dishwater liquid. The phone slipped and fell in, but submerged completely

i mean any other non waterprotected device. IP68 is just classification of kind of protection, don't take me literally

@alexcs how long do you think I should leave it in the rice? Do you have any ideas? Would it be any helpful given I've dried it a bit with the hair dryer?

i don't believe in rice, hair dryer is definitely worth a try. 24 hours in the sun is enough

is your phone back to life? :)

@alecxs nope. thinking of getting it dried first at a repair centre after the weekend. still not sure how much it would cost though

why do you think it is wet inside? (IP68 dust/water resistant up to 1.5m for 30 mins) i think repair center will harm more than repair according to this video i won't be the one who say just switch on but your device is most likely fine

@alexcs I took your advice and saved me a trip to the repair shop. Seems to be working fine.


text:
How to disable pin/pattern lock in android device
I am not sure this is the right place to ask this question.? I have enabled pattern lock in my android device. Just for curiosity I am trying to disable and keep only swipe to unlock option but I can't do that. Is there a way I can disable these patter/pin lock in device?
Thanks

is the options disabled in your phone? what is your phone model and version of the android you use?

Do you have an Exchange email account on your phone? Some companies enforce certain security measures, including that you must have a pin.

@Chro no but I have installed android administrator app. I guess it stopped to me to do that.

This is the right place, but it seams easier for people to help if they know your device as pretty much every settings screen is different for every device manufacturer.
For instance in my G4 I can:

Go to Settings
Go to Display
Go to Lock screen
Select from (None, Swipe, Pattern, Pin, Password)

As it seams None is disabled for you, I'm guessing you had an app installed that required an Administrative rights.
Go to settings -> General -> Security -> Phone administrators -> Remove the app that made you set the screen lock from the administrators list
(Or if it was a certificate from an app, go to Certificate Management and clear credentials)

but none is disabled in my Moto G2

Go back to swipe first.

Okay let me check.

If this doesn't help check my answer, added more to it.

I have rooted device. Device is connected to computer with USB cable. And those commands helped me out:
adb devices
adb shell
cd /data/system
su
rm *.key
reboot

Credit to: https://appuals.com/delete-android-security-pin/

This helped me wipe my screen lock on my damaged Honda Clarity headunit after an accident, the digitizer was damaged but thankfully i had turned USB debugging on once before.  Thank you!


text:
Unable to locate USB debugging option
I have reset my samsung galaxy note 3 to the factory!
Currently, the android is 5.0 and I am not able to locate developer options to enable the USB debugging information. Any idea?
Model Number: SM-N900
Android Version: 5.0
Build Number: LRX21V.N900XXUEBOL2

You have to click on "About Device", then press on the Build Number field 7 times to display Developer Options where you would enable USB Debugging.


text:
Disable app autoupdate in Samsung Galaxy S7
I have a Samsung Galaxy S7 with Android 8.0.0 and I don't have much experience with it's user interface yet
I disabled app autoupdate feature by going to Google Play Store -> Settings and I can see that it is set to "Do not autoupdate" in the menu
When I did this about 16 preinstalled apps had already been auto updated and 6 were on the queue. After disabling the auto update, I updated 1 app manually and a few minutes later the next one on the queue got updated by itself.I ignored this because I thought perhaps the update command had already been issued and before I changed the Playstore Settings and may be it cannot be changed or something similar happened. However after 24 hours another app on the queue got updated again.
How do I permanently stop the phone from auto-updating any apps installed on it (but still retain the ability to manually update individual ones)? I especially don't want the pre-installed samsung apps (+ other bloatware) from getting updated because I never use them.
Also, it looks like a some of the preinstalled basic apps are connected to the internet (for example, in the clock app there was a World clock tab, which showed weather information on the side and turns out it was continuously getting information from the internet). Is there a list of such built in apps for this phone that are always connected to the internet, and is there a method of turning this option off, either as a group or individually?

I don't own Samsung Galaxy devices, but isn't it that Samsung has another app store called Galaxy Store?

@Andrew Samsung mainly uses google play store by default, the samsung one is optional. These updates are happening from google's play store


text:
first time trying to install custom ROM on Samsung Galaxy Win (SHV-E500L)
I have an old Samsung Galaxy Win (SHV-E500L) Korean version (Android 4.4)
 which I want to experiment on
I searched for custom ROMs for this model online but I haven't been able to find any
I am thinking of risking it and trying custom ROMs for The E300 phones (they are Galaxy S4 phones if I understand correctly)
One of the things I have read is that installing ClockworkMod is the first step to installing custom ROMs, and the wikipedia for ClockworkMod says it

...replaces your Android device's stock recovery image. Using this
  recovery image, various system-level operations can...

What are the risks associated with doing this? At the moment I can go into recovery mode on this phone by pressing home+volume up+ power button simultaneously. Does ClockworkMod replace this built in recovery mode? If it is, is there a way to get it back in case something goes wrong? I have used Odin to download stock firmware on this phone before. Ideally, I want to be able to do it again multiple times and get it back to it's factory condition if something goes wrong.
If I manage to get ClockWorkMod on this phone, will I still be able to get the phone back to it's default settings using Odin and stock ROM in case something goes wrong? I do not have any special hardware for doing this so ideally any problems with the phone should be fixable through the standard USB port. The deice will not be used as a phone and only be used for it's camera and wifi.
Some details about the phone:
These aren't probably important details, but would still like to point them out. This phone previously had a problem where it would boot up to the telecom company logo but not go any further than that. The Download mode was still working so I managed to use Odin to download the stock ROM and the phone worked worked normally after that, but there were many background processes that would suddenly stop, giving an
Unfortunately, xxxx has stopped working

error box. This happened especially more frequently with Samsung Touch Wiz (which was fixed by installing Google's launcher) but started happening later on with other system apps as well. The problem happens more frequently if resource heavy programs such as games are run on the phone, but doesn't happen as much if it is just used for basic internet surfing and youtube from the browser. I am assuming there is some kind of problem with the phone's RAM related hardware, so I'm hoping that downloading some lite weight custom ROM without any bloatware will make the device run more smoothly.

If You have stock rom,pc and odin then you can retain device to normal state as restored if you flash cwm or twrp you can still get your default recovery from Stock rom but don't flash wrong rom it might brick your device so be careful.


text:
How can I run continuous Logcat in the background?
I want to run a continuous logcat in the background to capture everything happening on my phone.
This needs to be written to disk line by line without delay. I want to capture the cause of random reboots.

Open a command line and issue logcat -f /path/where/to/save/the/log. The logcat tool will continue recording everything until you kill the terminal.

You need root for this (where I was making mistakes).
So, in a terminal:
su
logcat V > /sdcard/logcat.txt
then, without killing the command, just press home to keep the terminal running in the background.

V means verbose (the highest level of detail)
D means debug

and there are other less detailed levels.
Exercise caution when sharing D and V level logs; they contain highly sensitive information.

Run this command:
adb -e logcat > log_file_name.txt


text:
Fastboot saying "Unsupported command"
Hey guys i just rooted my Motorola Droid RAZR (HD) with kingroot and i want to install CM 12.1 nightly. Before i proceed, i need to unlock my bootloader. After sitting infront of PC for 3-5 hours now, i finally give up.
I downloaded Android SDK + fastboot. Enabled USB debugging and booted phone in fastboot mode. The problem is, when i try the oem commands, get_unlock_data for instance, it says "unsupported command". I am really sick of it, i need serious help.
Any alternatives to get unlock data or unlock bootloader would be appreciated.

Are you sure you've typed the correct commands for your device?

Does the Droid Razr HD unlock that way?!?! I thought you had to use an exploit to unlock the bootloader such as Motopocalypse, like described here http://forum.xda-developers.com/showthread.php?t=2783912

AndroidDev yes i typed that command like 100 times.
@acejavelin i am looking into that thread, any other alternatives would help a lot.

The Droid Razr HD cannot be unlocked using the standard Moto unlock procedure from there website, the only known way of unlocking the bootloader after root is achieved is via Motopocalypse written by Dan Rosenberg and available from his blog site here.
The basic jist of it is from the link above is:
Instructions
The tool may be downloaded here. It may be used as follows:

Extract the entire contents of the zip file.
If you are using Windows, ensure you have installed the latest Motorola USB drivers available for your phone.
Ensure your device has been rooted and you have a working installation ofsu.
Ensure USB Debugging mode is enabled on your device.
If you are using Windows, navigate to the extracted directory and execute run.bat. If you are using Linux or OS X, navigate to the extracted directory in a terminal and execute ./run.sh.

You may also be interested in the RazrHD Toolkit 5.0 which can automate some of the processes involved, but I generally recommend doing it manually, so if something goes wrong you can see what happens and potentially correct the issue. All in one tool kits tend to mask the processes, which if they work is fine, but if there is a failure it can be very difficult to diagnose and correct.

i tried that, it stucks at "getvar:all FAILED (remote: unsupported command)" same as what happens at manual fastboot command line. I think i am doing something wrong. I granted ADB the root permissions, followed every step.

@user3762712 At this point I would go to XDA and post in the Moto Razr HD Q&A area then, or at least research there. http://forum.xda-developers.com/droid-razr-hd

Alright thanks for your time, i'll start a thread there. Meanwhile, i will look forward for a solution here as well.

I did this, was able to get to recovery mode using safestrap, it did not install CM 12 at first, said FAILED, then i downloaded CM 10 (stable) and it gave same error, i restarted phone and its now at login loophole, i am scared i cant even get to safe mode, i can only get to fastboot by giving 10-15 tries, please help.

@user3762712 Did you backup in recovery before flashing CM? If so, restore the backup... If you didn't I'm afraid I've never had that problem and no longer have access to any older Razr phone to guide you. I suggest going to XDA for assistance unless someone else here can help.

i did it using safestrap, i did process till 100 in flashing. But i dont know how to recover it. I repeat, i can only get to fastboot mode.

authors: Егор Пономарев


text:
How to kill dhcpcd?
The following command works perfectly to start DHCP:
# dhcpcd -p eth0

DHCP cannot be stopped once it is started. The following command does not work:
# dhcpcd -k eth0

It returns the following:
dhcpcd[4700]: sending signal 1 to pid 4086
dhcpcd[4700]: dhcpcd not running
dhcpcd[4700]: kill: Bad file number

Could anyone offer a tip on how to kill DHCP?

Is the pid 4086 a constant, or does it change?

@DeathMaskSalesman No.  I have just rebooted the device and run the command again.  The PID is 4043 this time.

If you have to include this in a script, this snippet may help you (it has to be ran as root): var=$(ps | grep dhcp). Then, in a new line, do kill $(echo -n $var | cut -d " " -f 0), and it should kill the process altogether.

@DeathMaskSalesman Thanks a lot. It will do though it would be ideal to have one command to to this.  I can use PS to get the PID, then kill it. I have tested it, and it works.  Could you turn your comment into an answer that I can accept?

Doesn't su -c 'killall dhcpcd' work?

@Firelord I got "killall: not found"

A way to dynamically get the PID of the dhcp process, and kill it altogether, would be to run:
su
var=$(ps | grep dhcp)
kill $(echo -n $var | cut -d " " -f 0)

Specifically:

line 1 asks for root permissions;
line 2 assigns the output of ps (which lists the active processes), filtered by grep with the keyword dhcp, to the variable var;
line 3 calls kill to terminate the value contained in the first field (-f 0) of the variable var, by telling cut to separate the fields with a whitespace (-d " "). Not coincidentally, the mentioned value corresponds to the PID of the process dhcpcd.

That would kill any process with "dhcp" in its name. Even killall dhcpcd would be a better choice.

@SimonRichter You are in error: since I make use of cut, only the first PID is a candidate for killing. You are encouraged to experiment with it yourself, if you don't believe the correctness of the answer.

"any" means "any of them", not "all of them". Specifically, it kills the one with the smallest PID, so e.g. if I have two Ethernet ports, and run dhcpd on one, and dhcpcd on the other, then the dhcpd is likely to be started first because it has higher priority during boot, and your command would kill that instead. Also, if dhcpcd has a high PID, the chance is high that you match the grep dhcp command itself, which has terminated by the time kill is called, so it would do nothing in this case.

This could be done with awk as well. The commands would be;
su
kill -9 $(ps -e | grep dhcp | awk '{ print $1 }')
Details
su to jump to root shell, kill -9 to force kill ps -e lists all the processes in details, we pipe it through grep dhcp which only outputs anything from ps -e output to dhcp, then we pipe it through awk, the print $1 only prints the contents of the first field, which is the process id of dhcp. And kill will kill the process matching that process id.


text:
How to disable the charge indicator on the GS7 lock screen
I'm getting a charge indicator on my Galaxy S7 lock lock screen.  When the screen blanks I have to go through and extra step to get to the home screen.  It has a new step with white fonts on a blue screen.
The writings are:

Full Charged Left
  Speed Continue Trickle

At the bottom of the screen it says:

Slide to unlock

Does anyone know what app is causing this screen to come up and how to disable it?

@beeshyams The purpose of the factory reset is for diagnosis of the issue.  It's  away to ensure third party program are not the culprit, and as you mentioned, identify that the OS is the culprit.  I'm in analysis mode to identify the culprit while I continue to figure out how to deal with it.  Flashing the ROM on questions isn't the first thing a novice should consider.  Flashing the ROM could cause a personal to loose support form the Manufacturer as well as their carrier for other the immediate problems as well as others that might arise.

Let us continue this discussion in chat.

The culprit is a feature of the GO Launcher.  It has the appearance if being a default function of the phone's OS.  The screen has one option in the menu:  turn off fast charging.  That will disable that screen, but it won't disable the Samsung GS(x)'s fast charging.  You can enable or disable the GS7's fast charging in the Settings menu of the device (not the Go program)
Turning that switch on the screen disabled the extra step (having to slide) before you get to your actual unlock screen where you put in your code.
This screen will manifest itself on any Android phone or tablet running the Go Launcher menu app.

great! Finally I got rid of all advertisements and the extra action to unlock my phone. Thanks


text:
System apps location on Android Jelly Bean
I chose to pose this question here, since I don't have any Jelly Bean device nearby.
On Android KitKat, system apps are located at /system/priv-app/. On Lollipop and Marshmallow, instead, they're placed under /system/priv-app/name-of-the-app/.
Following a similar fashion, I would like to know the path of those apps which are installed as system apps, on Android devices in a version range going from 4.1.x to 4.3.x (namely, all of the Jelly Bean builds).
Are their APKs located under the /system/app/ folder directly, are they placed in a folder of the same name of the corresponding app, or are they present in a completely different folder?
Thanks in advance.

Have you tried Android-x86? It can solve the query. BTW, in Android 5+, system apps are scattered in /system/app and /system/priv-app.

@Firelord Sadly, the quality of my Internet connection is not even good enough to allow me to download an ISO.

Have you read this: https://android.googlesource.com/platform/frameworks/base/+/ccbf84f?

On my JDQ39 SDK 17 Jellybean 4.2.2 version all system files are in directly /system/app.

To my knowledge, before Kitkat .apk files of system apps all went to /system/app. Kitkat added the /system/priv-app directory. The structure having an additional directory level came later (LP or MM).
References:

AOSP Privileged vs System app
What's the difference of /system/app/ and /system/priv-app
Android 5.0/Lollipop: Force rescan of /system/priv-app


text:
Is it possible to get the password from a wps wifi connection?
At school we have two wifi networks, one for teaches and one students, but the teacher network is much faster and is available everywhere in the building. I could connect to it by pressing the wps button on a repeater, but some of my classmates could not because they have iphones (iphones don't have wps). I would like to help them by telling the password, but i don't know if there is a way to retrieve it from this kind of connection. And this is what i'm asking your help for: Can i get the password somehow?
Thanks for your time.

Yes, WPS is insecure and the WPS PIN can be used to recover the password.
This app and this app claim to be able to do so if you have root.
However, as pointed out by Izzy the password should also be available as plain text in the file /system/etc/wifi/wpa_supplicant.conf after you have successfully connected to the network once.

How can i get the wps pin? I just pressed the button at the back of the router and on my phone and they connected. I didn't type in any pin.  Could you suggest a programe for rooting my phone?

@LeventeKovács See http://android.stackexchange.com/q/1184/1465 and feel free to post a new question about rooting your device if it does not appear in that list.


text:
"Package installer has stopped working" after updating to COS13/Marshmallow
I have a OnePlus One, never rooted or modified the OS. Today I updated the OS from YOG7DAS2K1 (COS12.1) --> ZNH0EAS26M (COS13) via OTA incremental update zip from Recovery (stock).
I wiped cache and user data from Recovery after update.
Phone seems to be fine so far, except this:
Whenever I sideload an APK, although the installed app works fine, an error message pops up at the end.

"Unfortunately, Package Installer has stopped"

I tried wiping cache, rebooting, reinstalling those apps, but the error appears anyway.
What seems to be the problem here?

Here is another Q&A for a "Package installer has stopped working" error (in OOS3): https://android.stackexchange.com/questions/162129/package-installer-has-stopped-working-after-upgrade-to-oxygenos-3-1-4-marshma. I hope it helps some people.

I do not know how to reproduce this problem. It simply solved itself after changing the Cyanogen themes a few times.