text:
On Android, how to disable Google Chrome's incognito mode
If you thought that disabling incognito mode was enough to protect your children, you're probably mistaken. Let me explain.
Dear readers: Disabling incognito mode may be completely insufficient.
Please remember that, even if you disable Google Chrome's incognito mode, there are other ways for device users to browse the Web without leaving any tracks. Even technologically-illiterate kids can ask Google or their friends what to do. So it's wise to also install a good filter.
I haven't researched the set of available filters very recently.
As of a few years ago:
Free options include Qustodio and Google Family Link. The free version of Norton Family is perhaps not as good. If you're willing to pay, I've read that Netspark or GenTech are better than the free products.
In general, Android filtering software is not as good as desktop filtering software.
You may also want to collect up your spouse's and kids' new and old Android devices, and to lock them all in your bedroom every night.
Dear readers: Some thoughts about night time.
"When kids have their own devices, they are tempted to be in touch constantly — and maybe even feel obligated to be in touch when they don't want to." If your kid gets a Facebook message at 1 a.m., it might be rude for her to ignore it until the morning, and so she might reluctantly end up in a long conversation. (Based on this source.)
The solution to the late-night messaging problem is this: Late at night, there are ways to prevent your kid from using her phone, tablet, and laptop. You can keep them locked in your own bedroom to charge. Or, for Android devices, you can use Google Family Link to set a bedtime: please see here or here. This will also make it harder for your kid to secretly spend hours on addictive pursuits: YouTube, Facebook, pornography, and games.
Dear readers: Please test your filter immediately after installation, and again at least yearly.
Once you install a filter, I suggest: Immediately test to make sure that it works well. Go to a few adult websites and make sure they're blocked. If you have monitoring enabled, check to see that it does what it's supposed to. If you've set a bedtime, then check yearly to make sure that the phone actually locks itself at bedtime.
Even if a filter's control panel claims that it's working, the filter might not actually be working at all. It's wise to test it yourself.
If you'd like to test the filter even further, try to visit one or two wikiHow articles with mature content. If the filter is really good, it might block them. I don't have high hopes.
Test your filter again periodically. At least once a year; preferably more often.
Retest after major operating-system or browser upgrades, and again whenever a supplemental browser (e.g. Firefox) is installed.
Filters are not foolproof. Many kids can bypass the filters without the parents knowing. But a filter may still be better than no filter.
Background to my question
Google Chrome for Android includes a feature called incognito mode. This feature, when I activate it, is designed to help prevent Chrome from automatically remembering and storing information about which websites I've visited in the past.
To help protect myself, I've installed the free version of Qustodio (a Web filtering/monitoring app) on my Android device. Unfortunately, as soon as the user enters incognito mode, Qustodio for Android stops working.
What are my options? Well:

I could try upgrading to Android 6 or higher, or to CyanogenMod 13 or higher, or could buy a device that ships with one of these OSes preinstalled. A support knowledge base article on the Qustodio website claims that, on these operating systems, Qustodio works fine even when incognito mode is active. But I suspect that this claim may be inaccurate.  I don't know for sure. Please leave a comment below.
I could do the following procedure:

Install the free version of NetAddictSoft plus the Brehm browser. Mr. Brehm's claims aren't all correct; in truth, there's an easy way to clear the Brehm browser's history. But the free version of NetAddictSoft claims to be able to monitor all use of the Brehm browser and email out weekly usage reports. (Note that, on most devices, NetAddictSoft can only monitor usage of the Brehm browser, and cannot monitor usage of Chrome or Firefox or any other browser.)
Configure Smart App Lock or similar to prevent the use of other browsers. (Note: Smart App Lock isn't perfect, and it's possible to defeat it.)

I might do the above procedure, but: My device has an old Android version installed. For me to upgrade to a newer Android version, I'd have to switch to a third-party ROM, and this would be a hassle.

I could spend money on a more-powerful filter, such as NetSpark or GenTech. But I'd rather not spend any money.
I could contact Qustodio's support team and send in a bug report. But I hear they can't really help. The feature is experimental. (Source.) And it's been experimental for years now. It's not really fully supported.
I could uninstall Qustodio, could install Norton Family, and could try Norton Family's incognito-detection feature. But I don't want to bother doing that either.
I could look into why Qustodio doesn't work when incognito mode is active, then file a feature request with Google to ask them to fix the problem.
I could sell my phone and buy an iPhone or iPad. They include built-in Web filtering. I don't know whether or not it's any good.
I could sell my phone and switch to a phone without built-in Wi-Fi. Perhaps a Palm Treo or Centro or an old BlackBerry.

But I don't want to choose any of the above options.
My question
On desktop OSes, I already know that it's possible to disable Google Chrome's incognito mode. But I also use Android. How can I disable Google Chrome's incognito mode on my Android device?
Please assume the following:

I always run the latest version of Android.
My device is owned and controlled by me. It is not administered by a Google Apps domain administrator at my workplace or my school. And so I cannot use the Google Apps admin console to disable incognito mode. (I also don't want to pay a fee in order to sign up for Google Apps for Work.)
I am willing to root my device.

I thank Android.SE user Lucky for inspiring this question.

I thought maybe I could use a profile-owner app, could create a managed profile, could set IncognitoModeAvailability, and could solve my problem.  But this won't help.  When a profile-owner app is installed, managed apps appear side-by-side in the launcher next to unmanaged apps, like in the screenshots in this article. I could just use the unmanaged version of Chrome. So a profile-owner app is not the solution.

Instead of using a profile-owner app, you can try using a device-owner app such as Test DPC to set Chrome's IncognitoModeAvailability restriction to 1. You can set Test DPC as device owner after rooting: see link A for some hints. Or you can set Test DPC as device owner after installing adb on a PC: see link B and link C for some hints.

But, after you set IncognitoModeAvailability, perhaps your child (or a more-technical friend) could use one of various techniques to unset it. I don't plan to list these techniques here; but at least one of them might be pretty obvious even to a somewhat-technical friend of your child.

I've never tried Test DPC. Dear all: Have you managed to set it as device owner? If so, was it useful for you or not, and why?

Google Family Link
If you set Google Family Link to protect an Android device, it will automatically disable Google Chrome's incognito mode on that device.  (Google says so in this article.  I myself have tried Family Link and verified that the article is correct.)
Family Link can also do Web filtering, screen-time monitoring, and device-location tracking.  But these features are optional; you may disable them if you wish.
The usual Family Link setup is as follows:  One device (a computer or mobile device) is the "parent" device, and a second device is the "child" device.  Incognito mode will only be disabled on the "child" device.
If you'd like to get started, you may set up a "parent" account now.
It has quirks
Google Family Link has some quirks.  I've described the biggest quirk I've noticed, and its workaround, in another thread.
I hope that Google will work on eliminating the quirks in the future.
Despite its quirks, Family Link works reasonably well already, and I think it's a good way to disable incognito mode.
It may be easy to defeat
I'm not sure whether or not Family Link is easy for crafty children to defeat.  But, in general, there are ways to defeat most parental-control software tools.
It's wise to buy your kids a flip phone with no data plan, and a non-portable computer which is permanently stored in a public room such as the living room.  It's also wise to store all of your personal cellphones, laptops, and tablets in your bedroom at night, so that your kids can't secretly use them.

If you have rooted your phone, you can build and push a system ChromeCustomizations app.  This installs a content provider which, among other things, allows disabling Incognito mode in Chrome.
This uses the officially-supported way that device manufacturers use in order to control the starting page and default bookmarks of Chrome on their devices.

Please note: The official instructions advise you to use adb push to install the APK file. But, if you're on a rooted stock ROM, adb push may fail, you may need to use another file transfer method, and the file might end up with the wrong permissions. If this happens, you must manually run adb shell, chmod the file to 644, and reboot. After rebooting, run pm list packages. If the APK file's Java package name is included in the list, then its file permissions are correct.

Perhaps a few years ago, I built a ChromeCustomizations.apk file which could disable incognito mode on any rooted Android device. I installed the file as a "system app" on my own device, and it worked. I do still have the file. Please email me at tealhill at gmail dot com if you'd like a copy for yourself. In your email, please explain why the Lemino Labs answer above is insufficient to meet your needs.

You could try Incoquito - it's a paid app and allows you to either automatically close all incognito tabs when the screen turns off or to disable incognito browsing altogether by preventing incognito tabs from being opened at all. It includes a monitoring mode as well as logging of events/activities related to incognito browsing in Chrome as well as the ability to hide the app from the launcher. It also includes the following experimental features (as requested by several parents):

Log videos played within the YouTube app
Uninstall detection & prevention
Android settings guard
Block access to YouTube app

Disclosure: I am the developer of Incoquito.

I haven't tried it, but I've looked at its full Play Store description. It sounds simple and clever.

Dear parents: Incoquito alone isn't sufficient. It may be easy for your kids to get around it, even if they're not tech-savvy. You must also install a filter. ❧ The free version of Qustodio is probably the best free option; the free version of Norton Family might be the second-best free filter. If you're willing to pay, I've read that NetSpark or GenTech are better than the free products. ❧ You may also want to collect up your spouse's and kids' new and old Android devices, and to lock them all in your bedroom every night.

As explained by tealhill you can install NetAddictsoft and the NetAddict browser without incognito mode.
In NetAddictSoft, you can block any App and there is an option to forbid all the browsers excepted NetAddict Browser.
Disclosure: I am the developer of NetAddictSoft. http://netaddictsoft.com

I have just released a new app which blocks incognito tabs from Chrome, Incognito Away.
The Chrome tabs are blocked instantly, as soon as some tries to open it. You can also have a pop-up message appear when some does try and open an incognito tab, to serve as a helpful reminder or warning.
It also has Scheduled Blocking, meaning that you can choose to if you want, to have incognito tabs only blocked from 6PM to 9AM every day for example.
Additionally, there is an inbuilt feature to hide the app’s icon from the launcher, so that it’s harder for someone to remember or find that the app is installed.
Pairing Incognito Away, with those steps above, and a Web Filter like Qustodio would make it pretty rock solid in preventing one from browsing privately.
Note: I am the developer of Incognito Away. If you have any questions, feel free to get in touch :)
PS: I know there is already another accepted answer, but this app has some additional features which may be of benefit (as discussed above) :)

You could install Automate from Play Store and create a flow that looks for Incognito mode notification and automatically clicks it to close all Incognito tabs.

Hello. Can you provide instructions for it?

I think you should start with https://llamalab.com/automate/doc/block/notification_posted.html and I guess you need to use interact block to click the notification. It might be possible to use https://llamalab.com/automate/doc/block/app_kill_background.html to stop the incognito process...


text:
How do you encrypt your device running CyanogenMod 12.1?
CyanogenMod 12 and 12.1 'Encrypt phone' setting is broken, and has been for quite a while. Is there any way to encrypt the phone in some other fashion? Can CM be sideloaded onto a phone with an encrypted /data directory? Are there any other ways to keep your data safe and sound? The device I'm working on is a Verizon LG G3.

There are low(er)-level commands that can be used in a shell to encrypt your user data partition. Disclaimer/Warning: the following instructions will wipe your data, ensure that you make a backup if needed.
Following these steps, you should be able to wipe your data partition and have it encrypted afterwards (similar to a factory reset):

Boot your phone normally (either recovery does not work anymore, or I ran into a different issue).
Ensure that USB debugging mode (adb) and  Root access for ADB is enabled.
Enter a root shell with adb root followed by adb shell.
Optional: watch logs by invoking adb logcat in another shell.
Enter this command, type your password and press Enter. This will actually set your password. This command reads one line of input (head -1), strips the trailing newline from Enter (tr -d '\n') and converts it to a hexadecimal representation (hexdump ...). If it looks scary or if you are not sure what this command does, see below.
vdc cryptfs enablecrypto wipe password $(head -1 | tr -d '\n' | hexdump -ve '1/1 "%.2x"')

If everything goes okay, your device will set keys and reboot to complete the encryption.

The above vdc command ("Volume Daemon Client") communicated with vold (Volume Daemon) has some subcommands like cryptfs for encryption. The enablecrypto subcommand has two modes: wipe (clear /data completely) and inplace (supposedly applying encryption while copying your original /data inside the container).
Then, four options are available starting with Android 5.0, one of them is password which accepts a single hexadecimal sequence as key. Thus if your password is foo, then the hexadecimal representation is 666f6f (f is 66 in hex, o is 6f, see http://www.asciitable.com/). The command for this is:
vdc cryptfs enablecrypto wipe password 666f6f

This was tested on a Nexus 5 (code name hammerhead, running cm-12.1-20150814) which has a separate partition for storing metadata. It is important that the userdata partition has the encryptable flag set followed by either the path to a partition or the special string footer. An (abbreviated) line from my /fstab.hammerhead file:

/dev/block/platform/msm_sdcc.1/by-name/userdata     /data           ext4    ...,check,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata

When the special string footer (encryptable=footer) is present, then 16 KiB at the end of the data partition is used to store encryption metadata.
For further reading, see:

https://source.android.com/devices/tech/security/encryption/

Appendix: logcat excerpt from the moment I executed the encryption command until it finishes and reboots (omitting unrelated graphics messages at the end). Note that this Nexus 5 has hardware-accelerated crypto (QSEECom).
--------- beginning of main
08-16 12:57:15.459 W/DrmManagerClientImpl(Native)( 2108): DrmManager server died!
08-16 12:57:15.459 I/ServiceManager(  184): service 'drm.drmManager' died
08-16 12:57:15.467 D/Cryptfs (  186): Just asked init to shut down class main
08-16 12:57:15.470 D/Cryptfs (  186): unmounting /mnt/shell/emulated succeeded
08-16 12:57:15.599 I/ServiceManager(  184): service 'media.audio_flinger' died
08-16 12:57:15.599 I/ServiceManager(  184): service 'media.player' died
08-16 12:57:15.599 I/ServiceManager(  184): service 'media.camera' died
...
08-16 12:57:16.695 D/Cryptfs (  186): unmounting /data succeeded
08-16 12:57:16.695 D/QSEECOMAPI: (  186): QSEECom_get_handle sb_length = 0x2000
08-16 12:57:16.696 D/QSEECOMAPI: (  186): App is already loaded QSEE and app id = 2
08-16 12:57:16.697 I/Cryptfs (  186): keymaster version is 3
08-16 12:57:16.697 D/QSEECOMAPI: (  186): QSEECom_dealloc_memory
08-16 12:57:16.697 D/QSEECOMAPI: (  186): QSEECom_shutdown_app, app_id = 2
08-16 12:57:16.697 D/QSEECOMAPI: (  186): QSEECom_get_handle sb_length = 0x2000
08-16 12:57:16.697 D/QSEECOMAPI: (  186): App is already loaded QSEE and app id = 2
08-16 12:57:18.058 D/QSEECOMAPI: (  186): QSEECom_dealloc_memory
08-16 12:57:18.058 D/QSEECOMAPI: (  186): QSEECom_shutdown_app, app_id = 2
08-16 12:57:18.058 I/Cryptfs (  186): Using scrypt with keymaster for cryptfs KDF
08-16 12:57:18.208 D/BootAnimation( 2683): Use save memory method, maybe small fps in actual.
08-16 12:57:18.208 E/QCOM PowerHAL( 2683): Failed to acquire lock.
08-16 12:57:18.691 D/QSEECOMAPI: (  186): QSEECom_get_handle sb_length = 0x2000
08-16 12:57:18.691 D/QSEECOMAPI: (  186): App is already loaded QSEE and app id = 2
08-16 12:57:18.692 I/Cryptfs (  186): Signing safely-padded object
08-16 12:57:18.797 D/QSEECOMAPI: (  186): QSEECom_dealloc_memory
08-16 12:57:18.797 D/QSEECOMAPI: (  186): QSEECom_shutdown_app, app_id = 2
08-16 12:57:20.056 I/Cryptfs (  186): Using scrypt with keymaster for cryptfs KDF
08-16 12:57:20.690 D/QSEECOMAPI: (  186): QSEECom_get_handle sb_length = 0x2000
08-16 12:57:20.691 D/QSEECOMAPI: (  186): App is already loaded QSEE and app id = 2
08-16 12:57:20.691 I/Cryptfs (  186): Signing safely-padded object
08-16 12:57:20.796 D/QSEECOMAPI: (  186): QSEECom_dealloc_memory
08-16 12:57:20.796 D/QSEECOMAPI: (  186): QSEECom_shutdown_app, app_id = 2
08-16 12:57:21.429 I/Cryptfs (  186): Enabling support for allow_discards in dmcrypt.
08-16 12:57:21.429 I/Cryptfs (  186): load_crypto_mapping_table: target_type = crypt
08-16 12:57:21.429 I/Cryptfs (  186): load_crypto_mapping_table: real_blk_name = /dev/block/platform/msm_sdcc.1/by-name/userdata, extra_params = 1 allow_discards
08-16 12:57:21.431 I/Cryptfs (  186): Making empty filesystem with command /system/bin/make_ext4fs -a /data -l 13725837312 /dev/block/dm-0
08-16 12:57:21.447 I/make_ext4fs(  186): SELinux: Loaded file_contexts from /file_contexts
08-16 12:57:21.447 I/make_ext4fs(  186): Creating filesystem with parameters:
08-16 12:57:21.447 I/make_ext4fs(  186):     Size: 13725835264
08-16 12:57:21.448 I/make_ext4fs(  186):     Block size: 4096
08-16 12:57:21.448 I/make_ext4fs(  186):     Blocks per group: 32768
08-16 12:57:21.448 I/make_ext4fs(  186):     Inodes per group: 8144
08-16 12:57:21.448 I/make_ext4fs(  186):     Inode size: 256
08-16 12:57:21.448 I/make_ext4fs(  186):     Journal blocks: 32768
08-16 12:57:21.449 I/make_ext4fs(  186):     Label:
08-16 12:57:21.449 I/make_ext4fs(  186):     Transparent compression: none
08-16 12:57:21.449 I/make_ext4fs(  186):     Blocks: 3351034
08-16 12:57:21.449 I/make_ext4fs(  186):     Block groups: 103
08-16 12:57:21.459 I/make_ext4fs(  186):     Reserved block group size: 823
08-16 12:57:21.465 I/make_ext4fs(  186): Created filesystem with 11/838832 inodes and 93654/3351034 blocks
08-16 12:57:21.465 I/make_ext4fs(  186):     Total files: 0
08-16 12:57:21.465 I/make_ext4fs(  186):     Total bytes: 0
08-16 12:57:42.926 D/Cryptfs (  186): Successfully created filesystem on /dev/block/dm-0

Wow @Lekensteyn thank you for taking the time to write this. I'll have to spend some time this weekend trying to set this up. In case I eff up, I can just wipe everything from TWRP and try again, right?

Yes, it is just the data partition. I deliberately wiped mine several times when I was experimenting.

LPT: As of 6.0 (Marshmallow) vdc does use password not ascii encoded as parameter (=cleartext). It was pretty nice to practice with the ASCII table once I found out this thing - just minutes after I was asked to enter my password om boot. I had to put my password in ASCII because of my fault lol

For me, the original answer did not work as expected. It looked like it encrypted successfully, but the UI came back very quickly and the "Encryption" setting did not show that the devices was encrypted.  I then applied  the commands given in the update, but it still didn't work.  I then reduced the size of the data partition and it encrypted successfully.  I.e.
mount | grep data to find the actual block device of the data partition. Let's assume it is /dev/block/mmcblk0p26.
umount /data for the ext-tools to work.
e2fsck -f -p /dev/block/mmcblk0p26 to not run into trouble for the upcoming resizing.
tune2fs -l /dev/block/mmcblk0p26  to obtain the Block count. Let's assume it is 3057395.
resize2fs /dev/block/mmcblk0p26 3057375, i.e. substract a sufficient amount like 20 from the original block count.
e2fsck -f -p /dev/block/mmcblk0p26 found a wrongly placed inode for me.
I also needed to mount the /system partition in order to get hold of resize2fs. On my system, that binary was linked against a 64bit version of libc, but the TWRP I was used did not seem to provide that.  So I needed to prefix the commands with env LD_LIBRARY_PATH=/system/lib64.

For F2FS file system: https://android.stackexchange.com/questions/146081/how-to-resize-the-data-f2fs-partition

As of CM12.1 2015-10-15 the answer by Lekensteyn no longer works.
Apparently the mkfs.f2fs which is needed to create the file system, has been moved from /system/bin/ to /sbin/
Also we have to contend with SELINUX. This means that we need to do several additional steps:

adb root
adb shell
setenforce 0
mount -oremount,rw /system
ln -s /sbin/mkfs.f2fs /system/bin/mkfs.f2fs
vdc cryptfs enablecrypto wipe password 666f6f

Another update-
CM13 Jan 9, 2016  build, using Nubia Z7 Max, NX505J phone
This command (ln -s /sbin/mkfs.f2fs /system/bin/mkfs.f2fs) is no longer needed as the file lives here again. There is no need to create a symbolic link.
This command no longer needs to be in HEX and if you enter hex your PW will be hex.
cryptfs enablecrypto wipe password 666f6f -
This literally created a password for me of 666f6f not foo
I am still researching this issue because I got past the extra blocks needed for the meta data.  I now need to get past the fact the GUI and the manual commands  to encrypt both result in encryption that is viable only through one boot cycle.   I will report back when I have a successful encryption.
Right now I encrypt and it works fine and I boot the first time and it says the phone is encrypted. Using TWRP I can confirm /data is encrypted but the HEX and ASCI passwords I try in TWRP both do not work. On the next reboot the Android OS cannot fully boot CM13. It confirms I have the correct encryption password and then I only get 1 encrypted boot. After the first successful encrypted startup it locks on the animation stage of boot cycle thereafter.
Security best practices now recommends AES256 phone encryption.

How reliable has the system been with the AES256 phone encryption in CM13? I opened a thread about the thing here http://android.stackexchange.com/q/134981/9897

Having a Moto X 2013 running Cyanogenmod 12.1 I also was not able to get it encrypted. Finally, I succeeded with these steps:

Enable root in Developer Settings on the phone and open a shell (Terminal app, can also be enabled in Developer Settings)
Enter su, and confirm root access
Enter setenforce 0
Now open Settings, go to Security and select Encrypt Phone. Android will then reboot and start encrypting the phone.

I came to this solution by combining Art's answer and this forum thread.

Didn't work for me. Btw, can you set the SELinux status back to 1 after this?

After 6 hours of mental pain and sweat I might have stumbled on a solution what worked for me. And it was an accident too.
I did this for the Samsung S4 Mini with CyanogenMod 13.0 and Android 6.0.1. Important key factor here is, that I started it off from a clean phone (fresh firmware and unrooted), because when the phone was previously rooted, then the phone didn't want to work at all.
I used the Firelord's and Lekensteyn's solution to the problem, but I managed to to forget one line from the commands.
Here is how I did it:

I turned on the Android debugging and Root access to ADB only in the Developer Options.

In the ADB Command Prompt I used the adb root and adb shell command. After that I opened another ADB Command Prompt and used the adb logcat command.

In the first ADB shell, I went forward with setenforce 0 and after that vdc cryptfs enablecrypto wipe password YOUR-PASSWORD.

IMPORTANT NOTICE: The password command might vary from the Android version what you are using. If you are using Android 5.X, you must use the hexadecimal system (In the Chr line is the symbol in your password the hexadecimal value is on the Hx line). If you are using Android 6.X, then the YOUR-PASSWORD will be the password what you entered there.
As you notice then I forgot to use the mount -oremount,rw /system command. After that I the screen will go black. When I saw, that the ADB shell with the log stopped and finished, then I rebooted the phone. But as for everyone, the problem is, that CyanogenMod wont load. And I managed to fix it quite easily:

Hold Vol Up & Home & Power down till the TWRP boots up. It will ask you for your encryption password.
Do the CyanogenMod install part with the additional Google Apps (The second part of the guide).
After it is done, then reboot the device. When it boots up, then it will take a while. First it will start up the phone, then it will ask the encryption password and then it will take a while till it boots up.

There you go, it should work. At first, when the phone set up comes up, then let it be for a minute. There might be a little crash for the Setup Wizard if you rush it too quickly, but it will automatically restart when it crashes.
In my very small knowledge of how the CyanogenMod and the Android Encryption works, I think during the format it deletes some important Cyanogen or Android files, what stop it from booting.

Encrypting didn't work on my phone (SGS5; CM13, TWRP 3.0.2-2) - I always got a black screen.
I didn't want to use shell commands, so I found another way :
I had SuperSU installed, I uninstalled it in the App and then flashed the SU-Remover.
After that, I was able to use the encryption from the menu.
Warning:

Encryption deleted all of my Data & Apps (including Files on internal SD), so make a backup first!
After Encryption, i only had 2 GB internal Space left (normally 11 GB) - I had to do a full wipe (also removing Cyanogenmod itself), reinstall Cyanogenmod and another encryption attempt to get my Space back.
You also have to reactivate root, i used BETA-SuperSU-v2.68-20160228150503 for that (flash with twrp).

source: Stack Exchange

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

sort: votes


text:
How do I change from "Unknown" to show who is calling me?
I'm using Samsung Galaxy Mini S3. When one of my contacts calls me I see "unknown" on the screen.
How do I change it to show who is calling me? It used to be something that has changed.

That's got nothing to do with your device (or Android for that), and nothing you can do about. If that caller chose to not have the number transferred, you won't be able to see it.

Normally, it is the person calling you that chooses to call as unknown. Even if it is someone you know and that person is in your contacts, if they have their caller ID turned off, they will appear as unknown on your device.
However, if this happens for every single one of your contacts calling you, I doubt that it is them having their caller ID turned off. If their number appears, but not their name, then caller ID is turned on and it is your phone that is causing problems. Check if your accounts are synced and your contacts have their names set to the correct phone numbers.
If no number appears, no caller ID is coming through. I've heard about this problem before, and probably the problem is not your phone, but your service provider. Try contacting customer support and explain your problem to them. They should be able to help you further by enabling caller ID from their side.

+1 when this happened to me, I actually saw the number briefly before (probably) their caller ID setting asserted itself and the person became 'unknown' according to my phone.

you may have the contact linked to an "unknown" contact.  You'll need to unlink the two contacts and it should populate with the name on your contacts.

all_licenses: 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/


text:
How to use ADB to list remote directories?
I used adb push lol.png /storage/sdcard0/ to push a test file to my Galaxy S6, and the file was transferred successfully while failed to show up in my Android File Transfer. This is probably due to the fact that S6 doesn't have sdcard0 directory.
I like to remove the file I transferred (and the sdcard0 directory I accidentally created. But I don't know how to list remote directory via ADB. Is that possible? And How?

Easy to do – as in any Linux system:

Connect your device as usual
log into it using adb shell
use the ls command to list files in the current directory, and the cd command to change directories (i.e. walk the tree / navigate through directories)

For details on the commands, check for the corresponding Linux man pages – e.g. man ls and man cd.
Edit: If you're "afraid" of the command line, you can also use an ADB file manager (see here for examples).

No I want no graphic interface. I have a quick follow up question. The adb shell take you to the root? I ask because the ls command gives me a different directory from my root (viewing on the phone). Thanks.

@AeroWang adb shell ls /.  Like Izzy said, look at the manual for these commands.

Where in the directory hierarchy you end up with adb shell often depends on device and/or ROM. To make sure where you are: cd / places you in the root. Always.

For rooted device (having the su binary):
adb shell su -c ls -R *

This will list all folders with their contents and their subfolders.

trying this i get /system/bin/sh: su: not found?

@Matifou su is only available on rooted devices. Not on normal Android devices.

If not rooted, just eliminate su - as long as you have access to the directory you're attempting to list.

If you get ls: .: Permission denied on the ls command, you can adb root to restart adb as root, and then do adb shell and then use ls with root permission. Source.


text:
Micromax A88 screen flashes white after booting in recovery mode
I tried rooting my Android phone (Micromax A88) using Kingo Root for Windows. After rooting, I got root permissions, but recovery mode got corrupted.
After booting in recovery, screen just flashes white and device turns off. I have tried ROM manager and also Mobileuncle MTK Tools using Recovery Image but no luck.
How should I fix this issue?

Flash the Stock ROM using SP Flash Tool. If you go to Service Center, they'll charge unnecessary !
You need to download SP Flash Tool, Drivers for MMX A88 and the Stock ROM of the same.
Install Drivers in your PC and extract the Stock ROM, which will be incompressed file format.
Follow the detailed procedure here


text:
Can't uninstall app says already uninstalled
I am working on a game an I decided to change name of it. Now I can't uninstall or install my game. When I try to install it says it is already installed and when I try to uninstall it shows something like this (My game is at the bottom of the list):

Click image for larger version

I have solved my problem with turning to guest mod which is new on Xperia with lollipop update, then I uninstalled it from guest user. It solved my problem.

This may be a simple glitch! Try some troubleshooting...

Turn off developer settings.
Install ES file explorer. Go to App manager in the Es file explorer.
Try to uninstall the app from that app manager.
IF u still cant do that?
Delete the app directory(your own app) & restart the phone.

I have solved the problem in another way I will share the answer soon. Thanks for help


text:
GPS for WiFi only MiPad
I have a MiPad which works only with WiFi. How do I use it as a GPS device? Google map isn't able to access my location and my MiPad doesn't support tethering.

I found the solution on MIUI website here:
(Click image to enlarge)

Prerequisites:

Have a device that has GPS built-in and tethering/hotspot.  In my case, I'm using the Xiaomi Mi 3.
Download and install TetherGPS Lite on both the Xiaomi Mi 3 and Xiaomi Mi Pad.

How it works:

In the Xiaomi Mi Pad, enable Settings-Developer Options-Allow mock locations.

GPS location must be enabled on both devices.

On the Xiaomi Mi 3, enable Settings-Wireless & networks-Tethering & portable hotspot-Portable hotspot.

On the Xiaomi Mi Pad, enable Settings-WLAN and I connect to my Xiaomi Mi 3 hotspot.

Start TetherGPS on both devices.

On the Xiaomi Mi 3, click on Start Server.
On the Notifications bar, you will see the IP of the TetherGPS Server.  Note it down.

You will also see that your device will be searching for the location until it is found.
On your Xiaomi Mi Pad, click on Start Client.

Under the Notifications bar, if you find that TetherGPS Client is not working, go into the TetherGPS app.  Uncheck "Automatic Broadcast IP" and key in the IP you noted down earlier.  Click on "Stop Client" and on "Start Client" again.

If the setup is working, you will notice that both Notifications bar will show the connection time of TetherGPS.
Start your Google Maps or any other navigation apps and enjoy driving from point A to point B using your big 7.9" screen.

Hi! I added the images from that thread. They are important, so I believe they mustn't be left behind. Please make sure of this fact from the next time. :)

The solution for one of your problem is here .
You can enable hotspot on your MI Pad
https://m.youtube.com/watch?v=w0DLbEnHspw
Yes you can do it.
Ie is what you want if you use xender, interconnected games or shareit.
Have a happy time from here after


text:
Show notifications for all users
If I am using a different user on my Android phone, notifications to the main user (owner) don't get shown until I switch back to that user.
This might be for privacy reasons and such, but I see there's already a feature for hiding sensitive notifications (i.e. from the lock screen).
Is it possible to receive some sort of alert/notification/vibration when a new text/email comes in for another user?

Is the device rooted? Which Android version are you running and on which device?

Yes, rooted. Running latest Lollipop on Nexus 6.  Also have xposed if relevant.

I'm sorry there is  no way you can receive the notification of the other user, because according to the concept of 'Users' in android each user represent a different physical user of the device. So the privacy won't let you receive notification from the other users.
Instead of going for another user, you can try 'Managed Profile' which create a separate profile but which belongs to the same user. In the underline architecture you will get almost all the security protection of a separate 'user' to this profile. The main difference will be they are in the same launcher.
Thanks.


text:
What device is listed only as Android on list of devices that accessed my account?
I have an LG Optimus Zone 2. On the list of devices that have accessed my account one shows up as Android, but no other information is given. What type of device is this? Why aren't there any details shown for the device?

It is better if you mention that the list is available at Google. I didn't suspect it at first until I saw the answer by Lucky.

Visit the Devices and Activity page to review the recent activity on a device. This page will show you the list of activities with all the devices you accessed your account with.

You can see a list of devices that have accessed your account in the
  last 28 days or are currently signed in to your account
  Click on a device to see your last activity on it, including the last
  date and time it connected to Google. For example, if you have apps
  that automatically sync with Google, you’ll see the last time they
  synced.

You can view the Device, Location, Browser and Date & Time information by clicking on that device. If you’re unsure about the activity, and think someone else may have access to your account, follow the steps to remove that device from your account.

----  Screenshot - Android Device Detailed Info  ---- Source

Remove device access:   If you lose a device or notice any suspicious activity on it, you should remove the device’s access to
  your account.

Go to your Devices & activity page.
Click on the device.
Click Remove access.
If you don’t see a button to remove access, follow the steps to secure your account

Source: See devices with access to your Google Account

Lucky, thanks, I didn't know about that page.


text:
zenfone 5 lollipop update fails
I'm using Zenfone 5 with firmware ww_user_2.22.40.53. When I try to upgarde with 3.23.40.52, it fails,saying only android 4.2.2 and 5.0 can update with this package. What should I do?

Firelord: Kitkat 4.4.2 is my OS. I've tried to upgrade by adb sideload and by copying the upgrade file to internal memory and by clicking on the notification. Both lead me to the above error

Can you link the tutorial that you followed, or from where you downloaded the firmware?

http://www.asus.com/zentalk/forum.php?mod=viewthread&tid=11408 this is the tutorial, but their lollipop link is broken. So i downloaded it from official website

I have downgraded my phone from 2.22.40.54 to 53 when i read that its the bridge firmware

I found the answer myself. Downgrade the firmware to 2.22.40.53 then upgrade back to 54. Now your root is long gone. Then 54 will detect the lollipop firmware. Upgrade it and wipe cache from recovery mode. =)


text:
Would Android 4.3 mount exFAT formatted external SD card automatically without requiring additional software?
Would Android 4.3 mount exFAT formatted external SD card automatically without additional software?

Do you not have the device or the SD card in reach? If you have, then why not experiment on your own? You would surely get the answer.

I think in the past this was manufacturer-specific, because exFAT is patent encumbered. I'm not sure if Google has (or has the ability to get) a generic license agreement that would apply to the OS at large, or if it's been somehow reverse engineered.

Your question is about Android 4.3 supporting exFAT formatted SD cards, and not about listing supported filesystems by 4.3 which would be broad thing to answer. That's why I edited the title to reflect the body only.

exFAT support is kernel based.
open terminal and run
cat /proc/filesystems

if in the subsequent listing you see
.       exfat

your kernel supports exfat file system unless the build is skunky.
if the in the listing you see
nodev     exfat

then you don't have exfat support.
In one instance i've seen, even though the kernel may have exfat support, the rom may not, or it's "broken" in some way. As to the formatting of the card, i believe it needs to be formatted exfat and unaligned.
Else, it should mount like any other external card with one exception, the entry in your fstab for the external card. If the entry for <type>
is vfat, then you may have a problem. The entry should be auto or, if you know how to unpack and edit, then repack and flash your boot.img, you can specify exfat.


text:
Abysmal Skype audio on Asus Fonepad 8
I bought a new Asus Fonepad 8 for a friend. It works great, and the sound is crystal clear.
The only exception is Skype - all calls sound perfect on the receiving end, but on the Fonepad everything sounds like through a phone! The audio quality is consistently awful.
We've tried different Wi-Fi networks and people to call (including the Skype test call, which sounds as bad).
Skype was the main reason for buying the tablet, so this really hurts. What can I do to try and fix this?
The Fonepad is running Android 4.4.2.


text:
Multiple running application instances
I'm an owner of Android 4.2.2 device.
For a while, I can see identical apps in Settings->Apps->Running:

"Baidu IME" x 2
"Google Services" x 2
"GO Weather EX" x 3
"GO Launcher Z" x 2
"GO SMS Pro" x 2

Would they all have just two instances I would think that this is caused by two google accounts registered in the system, but why then I have three running "GO Weather EX"?

If you tap them, you would see entries showing what  category they belong to, a process or a service. You may try OS Monitor as well.

Usually in Android,The processes may look the same. But it may do different functions.Inn Your case, GO Weather EX kill the two instance & check if that app works properly and comeback to Settings->Apps->Running page. If again 3 instances are running then Each of them may do different functions


text:
Android folder does not show up in Windows 7
I had a personal folder created in the root directory in Android (when you connect Android to windows, the directory that opens up). I copied a bunch of files and folders. It all went well. Then I disconnected the phone and I could access this folder from it.
However, later whenever I re-connected my phone to Windows, that particular folder did not show up in Windows explorer. I can still see it in File Manager. So it's definitely present. It contains some images and i can view those too. It's not hidden or system file. Yet it doesn't show up in Windows. Pretty weird right?
Any ideas what to do about this?

This also happened to me. This is because of a code issue in Android itself, no matter what version you are running it up to until Marshmallow 6.0.1, not with Windows. The workaround is to move or copy the file/folder you want to see in Windows using a File Manager on Android.

On Android, go to the File Manager.
Move the File/Folder on a different location.
On Windows, go to the location where you moved/copied the file/folder.
Voila! The file/folder is now there.

EDIT: Go to your Apps and clear Media Storage cache then reboot. Worked on mine.

This answer works. The reason it works is related to the MTP protocol needing to be refreshed. File managers refresh MTP usually after each change they make to the filesystem.
See this question for reference: http://stackoverflow.com/questions/13507789/folder-added-in-android-not-visible-via-usb

Connect your phone to the computer.
In the status bar, You will get USB symbol.
Tap on that and change the settings from 'camera'  to 'MTP'

This will help you to solve the problem. If the problem still exist, Copy your personal folder to DCIM folder. Now u can access that in Windows.


text:
"Calendar Storage" uninstalled. Calendar doesn't work
I had uninstalled the "Calendar Storage" system app from my device. Now I cannot use my Calendar Application. I assume this because I had uninstalled Calendar Storage.
I haven't got any backup for restoring that app. I have even tried factory reset, but I cannot get the app back. Now I need to get an apk file of the app, move it to /system/app/ and reinstall. But I cannot find the correct apk file of the app for my device.
I am using iBall Slide i9018 (rooted) running on android 4.2.
Please help me find the correct apk file of the app for my device.

Hi! Questions asking us app suggestion/recommendation are off-topic here. See [help/on-topic] to know more. But your question has  on-topic issue, so I recommend an edit to purge the part asking us to find the app. Instead, simply ask what to do now.

Simple answer is: 1) factory reset wouldn't help because you removed a system app, that is, an app which is part of factory state of OS, so reset won't help. 2) You may end up at a malicious apk if you go on a hunt like this. Simply download the correct firmware, extract the APK, and load it into the system. You may see: Where can I find stock or custom ROMs for my Android device?


text:
Moto G 2nd Gen receive calls but shows no display
My Motorola Moto G 2nd Gen fell in water. I quickly removed it from the water, and tried to dry it. I went to Service centre, got it fixed, and  since then saw no problem.
Two weeks later, the phone subtly goes blank. I get calls and notifications but can't see anything.
How do I fix this issue?

My Motorola Moto G 2nd Gen fell in water.

Unfortunately, as with most unprotected electronic devices, water does unspeakable things to cell phones. It's for this reason that diagnosing challenges with water-logged phones is time consuming and unreliable.
Water can short circuit the device in the short run, water also leaves behind moisture. This moisture causes rust and calcification of any contacts and other exposed metals inside the device. It is entirely possible that this process has caused your screen to lose connection/power to the device it's attached to.
Best case scenario: Take it back to the service centre and see if they will fix it again (whether or not they'll ask for money this time is up to them). It could require a new ribbon cable or other quick part to get it up and running again.
Worst case scenario: It's not repairable, and if it is, you may continue to encounter challenges like this until the device ultimately fails completely.


text:
Error 1240: Boot certification verify on LG Optimus Exceed 2
I've a LG Optimus Exceed 2. It won't turn on. When I plug it into my computer and try to factory reset it is always good to the LG start-up screen. But then in the top right corner it says "error 1240" and shows a boot certification and some thing about verification.
Is there any possible way to get this fixed?

Yes there is. Its fairly simple.
YOU WILL NEED A COMPUTER OR LAPTOP TO DO THIS.
You need to go to the LG Exceed 2 Resources at AndroidForums, and download the "LG Flash tool 2014" plus a matching KDZ file.
Once you download ask the files you need, open the lg flash tool 2014 out it's pretty much self explanatory... where it says kdz file you select the kdz file you downloaded at the link I posted earlier. Out will be a fairly large file just so you know.

If people have further questions, they will contact you through the comments on this post. Posting your email will only get you spammed. Also, please don't solicit payment; the whole point of Stack Exchange is to give people help. Lastly, please copy the relevant parts of the linked content into your answer.

don't like the link at all. This whole thing reeks of spam.

Becky, as stated above you really need to [edit] your post – for cleanup (which I just did for you now) and for additional details: What should be downloaded (apart from the flash tool, which seems quite clear)? Which KDZ especially?

you have to get the one that starts with your phone model number


text:
Wake up android device by microphone or camera
I would like to install a Android tablet on a wall.
So I would wake it up by looking in to the camera(distance ~0.5 - 2 meters), by clapping my hands or something similar.
Now I'm searching for an app or a service who can handle this.
Something like ISeeYou, but working...
I will only awake my device, not unlock it.

Asking how to achieve this is on-topic, but asking for app recommendations is off-topic.

Voice control apps are plentiful, and a few will work with screen off.  Keeping the camera on all the time would chew up resources too fast so I doubt you'll find a solution there.
This kid has an app that will let Google Now listen with the screen off and then another app that will let you add additional commands.  http://rsenapps.com/


text:
How to remove Google box from home screen
I believe this app is called S Voice. How can I remove it completely?

Sometimes it pops up when I unlock the tablet without me trying to open it. And even if it didn't I would want to remove it anyway because I don't need the functionality it provides (I don't even know what it is.)

That's Google app (formerly known as Google Search).

Google app for Android: The fastest, easiest way to find what you need on the web and on your device.

Quickly search the web and your phone or tablet
Use your voice to search and more
Get personalised results based on your location

(Click image to enlarge; image modified but originally taken from Play Store)
As for how to disable it, see How to disable Google Search? -- usually, it is Settings → Apps → All apps→ Google (or Google Search) → Disable.
While I was able to disable this app in my CyanogenOS 12, there is an answer here which contradicts with my statement. Perhaps, it is still valid for some specific scenarios. I recommend a look at it.
To remove it, see Rooted Phone but still can't uninstall Apps.
Also consider https://android.stackexchange.com/questions/86475/nexus-5-stuck-in-boot-loop-after-disabling-google-search.

Remove bloatware on Galaxy S2 - what are my options?

Should I edit my question to say Google App instead of S Voice?

Good point. If you edit the question and write clearly that it is Google app and you want it removed, then both the answers will have to be edited as well. In order to avoid, write the title something like: "how to remove the search box from my home screen in" the device you have? As for body, leave it untouched since you were not really sure what the box was, and this way the other answer would remain valid without an edit.

So, did you disable it or remove it?

It got disabled, meaning nothing happens when I tap on it now and it no longer appears sometimes when I unlock the device. When I tried to disable it I got a popup asking if I want to replace it with the "factory version" of the app, and I had to choose to do that in order to proceed. So basically the box is still there but it doesn't do anything.

@user11177 If the box is still a nuisance, then you may try a different launcher app (like Nova Launcher). It would replace the home screen, and the box would be gone for good.  // Otherwise, rooting and then removing that app is always the best thing.

Well that should be the Google app.
You can try to deactivate it if you go into settings - applications - Google - deactivate / deinstall updates.
S-Voice is the samsung voice search. It gets triggered by a double home-button click on some samsung devices. If you open up S-Voice and go into the settings, you can deactivate the trigger.
You may even be able to deactivate it like the google application.
I hope this helps you.


text:
Where does the "privacy protection password" come from?
I wanted to insert a second sim card in my Umi phone.
From then onwards, it always asks me for this 'privacy protection password'.
I can only insert numbers, not letters... so I'm very puzzled about what this does.
I have all pin, puk, passwords of everything in a book here. But whatever pin I try it keeps failing.
Can anyone help me please?
Is this from the Prey app? Or from Android itself? Can I reset it somewhere witha  password online on the web?

did you set up an anti-theft password or someone else for your device?


text:
Connection timeout to single IP
I have a strange problem and I am not sure how to debug this.
My Android phone (OnePlus One, Android 5.1) is connected to my WiFi (FritzBox 7490) at home. Everything works fine except connections to my own server which is used for ownCloud, e-mails, and other services. Every connection attempt results in a timeout, regardless of the service used (HTTP, HTTPS, IMAPS).
The first attempt to find the cause for this was to try other devices in the same WiFi network. And yes, every one of them is able to establish the connections. However, if I try to connect with my OnePlus One using another WiFi or mobile data, connections are also possible.
So now I am in a bad position. The manufacturer of my WiFi router says "Other devices are working, it must be the fault of your phone.". And I already hear CM developers say "Other WiFi APs or mobile data works, it has to be your WiFi router".
My last attempt was to reset both the phone and the router to factory settings, without any luck.
Does anyone has a clue about how to debug this kind of problem?

Okay, I found it. According to this serverfault question, TCP timestamps cause the error. I disabled the option on the server with
sysctl -w net.ipv4.tcp_timestamps=0


text:
How can I automatically clear my browsing data when I exit Chrome?
I don't like having my searches and web history hanging around forever. Therefore, I wonder: Is it possible to automatically clear browsing data on exit in Google Chrome? If it cannot be done with Chrome, do you know of any other good web browsers with this capability?
P.S. I am not willing to root my device just for this purpose. Therefore, I'm looking for a solution which does not require root access.

Thanks! You're right about incognito mode probably being overkill. I took your advice and made the necessary edits to my question. I decided to try Firefox out as well, and I discovered that it has on option to clear browsing data on exit, but you do have to tap the menu button and select quit. Still much easier than on chrome though!

How do you exit the Chrome? Do you simply swipe it out from Recent tasks list, or some other way? 2) Which Lollipop version and Android device is it? The latter isn't important but it's good to tell us.

Yes, I just close it by swiping it off of the recent tasks list. I have a Samsung Galaxy S4 from sprint (SPH-L720) running Android 5.0.1.

It's not possible with Chrome on a non-rooted device unless an app has access to Chrome's data directory, which could be the case if that app is owned by Google, or it's a Chrome plugin. Both type of apps doesn't exist as of now. So the short answer i.e. without root access, would be NO, you can't automatically clear browsing data on exit in Chrome for Android.

That said, somebody owning  a rooted device  may come looking for an answer in future. Here we go with a solution!
Note that this solution is reached by Trial and error. I experimented something and it seemed to work perfectly on my devices running Android 4.2.1, 4.4.2 and 5.0.2, and using Chrome v43.0.2357.93, which means I don't claim any knowledge of what the files (mentioned below) actually do or are used for.
About Chrome's data directory

Location of Chrome's data directory is /data/data/com.android.chrome.
Most of the browsing data (e.g. History, Top sites, Web Data, Cookies, Log in Data) is under /data/data/com.android.chrome/app_chrome/Default, which is the profile path.
Opened tabs are under /data/data/com.android.chrome/app_tabs/0/. 0 is the UID of primary user.

All we're going to do is delete the files responsible for resuming the previous browsing data when Chrome is loaded again. We'll simply use a script to delete those files and the deletion will be automated by tasker.
Script
#!/bin/sh

data_dir='/data/data/com.android.chrome';
data_ac_dir=$data_dir/app_chrome/Default;
rm -f $data_ac_dir/History* $data_ac_dir/Web\ Data* $data_ac_dir/Cookies* $data_ac_dir/Visited\ Links $data_ac_dir/Favicons* $data_ac_dir/Top\ Sites* $data_ac_dir/Login\ Data* $data_dir/app_tabs/0/* $data_dir/app_chrome/Local\ State;

The script is very simple.

First line is a shebang.
Lines starting with data are creating variable and feeding directory location as the value.
rm -f  is to remove forcefully the files viz. History, Web Data, Cookies, Web Links, Favicons, Top Sites, Login Data, app tabs, Local State. * is a wildcard.

Note that this solution would not affect the Bookmarks or Preferences.
However, if you want even Bookmarks and Preferences to be cleared, simply add the following command in a new line at the bottom of the script:
rm -f $data_ac_dir/Preferences $data_ac_dir/Bookmarks*;

Save the file as Del_chrome_data.sh (.sh is important), push it into the root directory (/sdcard) of internal SD card  and make it executable using adbas:
adb shell su -c 'chmod 667 /sdcard/Del_chrome_data.sh'

If you use a terminal app, do:
su
chmod 667 /sdcard/Del_chrome_data.sh

Check chmod to know about its usage.
Also, I do not change my script permissions in the manner noted above. I simply make them executable in my Linux machine and then push them into my Android device.
Instructions for Tasker

Install and launch Tasker. Its accessibility service needs to be turned on for application based profile.
Go to Settings → Accessibility → Tasker →On→OK.
Under Tasks create a task named Del_chrome_data.
Create an action in it through + → Code → Run Shell, and fill these details:

Command: sh /sdcard/Del_chrome_data.sh
Check use Root
Store Errors in: %Catch

Under Profiles create an application based profile through + → Application → choose All, and Invert  at the bottom → select Chrome.
Link the task Del_chrome_data in it.

(Here is the exported profile, in case you run into trouble.)
Now, you may simply launch Chrome, do your browsing, open other apps, come back to Chrome, and nothing would seem to be affected.
Remove the Chrome from recent tasks list, launch Chrome, and voila! you would notice that the previous browsing data has been purged automatically.
You can also configure Tasker to run the task based on time, if you desire time based removal of browsing data.
Note: It took around 2-5 seconds on my devices to purge the files. Perhaps, those devices are slow.
We're good to go!

Tasker costs money. It would be more useful if you would [edit] your question and provide instructions which also work with a freeware alternative to Tasker. Your answer is still useful, though; +1.

I would use firefox. It has an option to clear on exit. You do have to go to the menu (which you can access by tapping the menu icon) and hit quit every time, but seeming as there is no way I know of in chrome, It's better than nothing. Firefox does take some getting used to though, so switch with caution.

It seems that OP is already aware of this method. But it is still an answer though! Anyhow,  could you link the app in the answer? Also, this "quit" feature has to be activated first to show up in Menu. Please mention it as well.

I don't think it is possible because Chrome doesn't have lots of personalization.
Instead, try Maxthon Web Browser that allows you to surf the Internet without saving the chronology.

But does Maxthon Web Browser let you automatically clear browsing data on exit, or must you manually enter some "incognito mode" every time you use it?


text:
Tapping Back button for closing Chrome always redirects to the same website
Every time I want to close chrome with the back button I am redirected to same website. I want to get rid of this website but i cannot.
I cleared the browser history but the website keeps reappearing everytime I go back with backbutton before chrome is closed.
I have googled but could not find any solution to the problem. I ran multiple anti malware tools but none of them fixed it.
It is a particular website namely http://jamesclear.com/confirmed?__s=1bueuwtvop3g6ssfsutv which then redirects to jamesclear.com.
Can anyone help me out?

Hover the android tab for important information

What do you mean by same website? Is the term 'same' in context of any website that you open, and when you tap back button you get redirected to that same website, or is it a particular website which is the cause of trouble?

It is a particular website namely http://jamesclear.com/confirmed?__s=1bueuwtvop3g6ssfsutv which then redirects to jamesclear.com.


text:
".walkfree" folder automatically created in SD card, and APKs downloaded into it without any notification
In my SD card a folder is created on its own named .walkfree by an unknown source, and in that it automatically downloads .apk files showing no notification of being downloaded, and if deleted, a new same folder appears and again apps are downloaded, and it does not stop.
What is going on?

Do you have an app/game called "This Crazy walk"? Research suggests that this app made it to store ad data.

Big chance it's caused by a trojan. Read MalwareBytes forum for more info. Meanwhile, check your installed apps (usually on Settings - Apps - Downloaded/All tabs) and see if there's a suspicious app that you didn't install. Edit: for technical-savvy person, check apps that has com.walkfree.internal.PushReceiver component.


text:
How to fix "No device connected" for USB debugging in Android Studio?
Running Windows 7, and I have just downloaded the latest Android Studio version, and started a project. Now I'd like to test the application on my device but Android Studio says on the bottom left "No devices connected". I've tried a couple of things such as:

Updating my Samsung S6 edge drivers through device manager, which were updated now.
Have debugging mode turned on and USB debugging mode on.
Ran adb devices command to list devices but none show up.
Downloaded new universal ADB drivers.
Toggled between MTP and PTP modes.
Restarted computer/phone/Android Studio/ADB tens of times.
Deleted phones drivers from device manager and installed again.
Re-installed Android Studio.

I'm at a loss as of now. How do I fix this issue?

Please mention your android version and is your phone rooted? and Why don't you try using an emulator for development and testing purposes?

Windows 7 doesn't always detect the android device connected as an interface for adb. If your Samsung drivers is not detecting the phone you have a few choices:

Try reinstalling the Samsung android drivers. Might be a good idea to
remove the universal android drivers but I don't have that problem
with my Windows 7 machine.
You can mod the inf of the universal driver with your device's VID and PID by adding it if it's missing (which it possibly is missing
since it's not a nexus/google device). Then use Device Manager and
point your device to that driver to use and install.
Remove the Samsung android driver and the universal driver. Then install Samsung's Smart Switch app, which will install the latest
Samsung android driver.

If you are committed to using the universal android driver, then you need to make sure you have the latest updates with the Android SDK Manager. If your tools are out of date or not the latest your tools may be out of sync with the platform it's trying to connect to.

Some things to consider:

Try installing "Kies", for some old phones I remember that was the solution, and maybe still is.

Also try another computer, maybe a Mac, and see what it does there. The USB ports have more power.

Or try a high-power external USB hub, Anker, or similar.

What cable are you using? Crappy ones are often not working. Try a new  short (!) USB 3.0 cable.

Does your PC have USB 3.0? Sometimes there are only a few ports upgraded (blue sockets).

Did the phone ask you to trust the PC? Can you delete all data about trusted PCs? Not sure what it is called.

Do you have another S6 that works?

Get a real Nexus device from Google for development, they usually work.

All the trouble we have in development is the knock-off stuff from Samsung with their own classes that miss functionality, and ignore parameters, ... Keep a Samsung device around to test if the app breaks, but don't spend too much time making it perfect. You're paying with your time because they saved a lot of money on development. I don't know how much time we spent on bugs just to end up on a post saying oh yeah, that's a bug in Samsung with 4.2.2, here's a workaround that will waste the rest of your day. When getting user reports, make sure to ask first if it is about a Samsung device, then decline to help ... or start googling for known bugs. :-) Seriously, they have a big market share, so make the stuff work, but for Android, it would be better if it moved towards a standard and manufacturers cared for it.
Reads maybe like a rant, but as a rule of thumb: When there is a problem and a Samsung is involved, the problem is never in your code.

Kies does works for older devices. Its more of a pain for the newer devices. Devs and users over on XDA often recommend uninstalling Kies and installing the USB drivers that can be found in my answer.

@marty Thanks for all the suggestions! I will post the answer i found out but all your suggestions are very useful. I do not have another s6 and i have a very good usb wire i'm using with usb3.0 on my laptop! basically I was missing the adb_usb.ini file from my .android folder.

Yes, Kies is for older phones. Use Smart Switch for newer phones.

Samsung always make things difficult. When I had my Note 4(Now Nexus 6) and was trying to do things via ADB. I did pretty much everything you did. It wasn't until I uninstalled the universal drivers and installed the Samsung ones that can be found here. I assume you downloaded the universal ones from Google as well. Those have never worked for any Samsung device I have owned. Hope this helps. =)

So I got the ADB to recognize the device but i'm having some other issues, I will download the drivers you just suggested now! @jer3my

I just installed this tool
https://forum.xda-developers.com/showthread.php?t=2588979
and it fixed my problem.  I suspect it was because the tool installs the right driver.  I downloaded it from the "Google" URL on that page
To add more info - it only fixed things for my Google tablet.  Which identifies as Asus Nexus 7.  So far this method didnt help me connect to my LG Android phone.  Perhaps I should select a different drive from that web page.

On my Nexus, the USB mode has to be in Camera in order for ADB to work.  I am not sure why.  In that mode, I cannot copy files, but the ADB connection works just fine.

The OP has mentioned that he has tried both the MTP and PTP modes.

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


text:
CM 10.1.3 randomly freezes, and stock ROM phone does the same
Using a Samsung Galaxy Tab 2 (P3110) on CM 10.1.3 RC3, and a Sony Xperia E (C1505). My tablet randomly freezes with no reason. Sometimes it's 9 or 10 hours after it's last turned-on, sometimes it's 10 minutes. I would just put it as "normal side effects" if it weren't for that fact that my phone freezes at the same time.
They freeze within 3 seconds of each other, until reboot (remove and reinsert battery on phone, hold power for 10 seconds on tablet) and this seems to always happen on the same WiFi. However, this sometimes happens when "separated" (not linked via WiFi or Bluetooth), though a lot rarer.
Please help, I don't understand what is going on, or why.

As a side question, suggestions for tags? I can't really think of enough.

Could you be more specific as to when the devices freeze? Do they freeze at the same time, and for how long? Do they eventually become operational again or do they both require resets? Also, are the devices connected somehow? (same Wifi network, bluetooth, etc.) having them both freeze at the same time consistently means something is going on - but we need more detais.

@ZeroPaladn I'll add this to the question. They freeze until reboot (remove and reinsert battery on phone, hold power for 10 seconds on tablet)  and this seems to always happen on the same WiFi. However, this sometimes happens when "separated" (not linked via WiFi or Bluetooth), though a lot rarer.


text:
Wifi Hotspot dnsmasq no DHCP ACK
I am creating a Wifi hotspot with hostapd and providing DHCP/DNS through dnsmasq on an Android 5.0.1 device.  When a client connects to the Wifi hotspot it is subsequently unable to obtain an IP address through DHCP.  The dnsmasq server claims to send a DHCP ACK response but no packet is seen in wireshark.
dnsmasq is started with the following options (formatted for viewing).
/system/bin/dnsmasq
--keep-in-foreground
--no-resolv
--no-poll
--dhcp-authoritative
--dhcp-option-force=43,ANDROID_METERED
--pid-file
--dhcp-range=2001::2, 2001::10, ra-stateless,infinite
--enable-ra
--dhcp-range=192.168.42.2,192.168.42.254,1h
--dhcp-range=192.168.43.2,192.168.43.254,1h
--dhcp-range=192.168.44.2,192.168.44.254,1h
--dhcp-range=192.168.45.2,192.168.45.254,1h
--dhcp-range=192.168.46.2,192.168.46.254,1h
--dhcp-range=192.168.47.2,192.168.47.254,1h
--dhcp-range=192.168.48.2,192.168.48.254,1h
--dhcp-range=192.168.49.2,192.168.49.254,1h

The dnsmasq logs show that dnsmasq receives the DHCP REQUEST from the client and attempts to respond with DHCP ACK.
I/dnsmasq (10989): started, version 2.62 cachesize 150
I/dnsmasq (10989): compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-scripts no-TFTP no-conntrack
W/dnsmasq (10989): warning: no upstream servers configured
I/dnsmasq (10989): IPv6 router advertisement enabled
I/dnsmasq (10989): DHCP, IP range 192.168.49.2 -- 192.168.49.254, lease time 1h
I/dnsmasq (10989): DHCP, IP range 192.168.48.2 -- 192.168.48.254, lease time 1h
I/dnsmasq (10989): DHCP, IP range 192.168.47.2 -- 192.168.47.254, lease time 1h
I/dnsmasq (10989): DHCP, IP range 192.168.46.2 -- 192.168.46.254, lease time 1h
I/dnsmasq (10989): DHCP, IP range 192.168.45.2 -- 192.168.45.254, lease time 1h
I/dnsmasq (10989): DHCP, IP range 192.168.44.2 -- 192.168.44.254, lease time 1h
I/dnsmasq (10989): DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h
I/dnsmasq (10989): DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h
I/dnsmasq (10989): stateless DHCPv6 on 2001::2
I/dnsmasq (10989): SLAAC on 2001:: prefix valid infinite
I/dnsmasq (10989): read /etc/hosts - 1 addresses
I/dnsmasq (10989): using nameserver 8.8.8.8#53
I/dnsmasq (10989): update ra:true|wlan0|rmnet0|97
I/dnsmasq (10989): internal inf is wlan0
I/dnsmasq (10989): external inf is rmnet0
I/dnsmasq (10989): set table number:97
I/dnsmasq (10989): update_ra count:0
I/dnsmasq (10989): link local address:wlan0
I/dnsmasq (10989): failed to send_ra: face_enumerate, parm.found_context
I/dnsmasq (10989): failed to update ra:send_ra
I/dnsmasq (10989): DHCPDISCOVER(wlan0) c0:bd:d1:4a:3a:0f
I/dnsmasq (10989): DHCPOFFER(wlan0) 192.168.43.127 c0:bd:d1:4a:3a:0f
I/dnsmasq (10989): DHCPREQUEST(wlan0) 192.168.43.127 c0:bd:d1:4a:3a:0f
I/dnsmasq (10989): DHCPACK(wlan0) 192.168.43.127 c0:bd:d1:4a:3a:0f android-e55b7f59c0dfe96

Wireshark shows the reception of the DHCP REQUEST packet from the client but no DHCP ACK is ever sent.  Instead, the host is issuing ARP requests for the offered IP address.

I cannot understand why the host is sending ARP requests for the offered IP address instead of sending the DHCP ACK.  Can anyone help me understand what I am seeing and how it can be fixed?  Thanks.
EDIT
The wifi hotspot was created by monitoring all commands sent to the netd socket during standard wifi hotspot creation through Android and replaying those commands with /system/bin/ndc.
ndc netd softap fwreload wlan0 AP
ndc netd softap set wlan0 Redskins wpa2-psk DanSnyderSucks
ndc netd softap startap
ndc netd interface getcfg wlan0
ndc netd interface setcfg wlan0 192.168.43.1 24 up multicast running broadcast
ndc netd tether interface add wlan0
ndc netd interface getcfg wlan0
ndc netd network interface add local wlan0
ndc netd network route add local wlan0 192.168.43.0/24
ndc netd ipfwd enable
ndc netd tether start 192.168.42.2 192.168.42.254 192.168.43.2 192.168.43.254 192.168.44.2 192.168.44.254 192.168.45.2 192.168.45.254 192.168.46.2 192.168.46.254 192.168.47.2 192.168.47.254 192.168.48.2 192.168.48.254 192.168.49.2 192.168.49.254
ndc netd tether dns set 501 8.8.8.8 8.8.4.4
ndc netd nat enable wlan0 rmnet0 1 192.168.43.0/24
ndc netd tether ra true wlan0 rmnet0

EDIT
Any suggestions or ideas on where to even begin debugging would be greatly appreciated.  I have tried comparing logcat logs and kmsg logs but I have been unable to exact any useful information.


text:
Sound profile automatically set to "do not disturb" on LG G3
For some reason, my phone resets the sound profile sometimes.
It chooses the DND sound profile.
Why?


text:
CM12 for Htc desire 610 at&t?
I have been looking for a download for a long time, and couldn't find one. I know this is a pretty little known phone, but I still want it. Are there any devs willing to port CM12 on to this phone? I am willing to flash a custom kernel, and do pretty much whatever it takes, aside from hardware mods.

Is there any reason why this question was bad? If so, please comment. I'm a noob and still learning the ropes.

I can only speculate the reason for downvote: it's not really clear what you want. Saying "Is there any way I can get CM12 on this phone" but then  saying "looking for a download" makes it look like you either want us to find the ROM, or give you instructions for it. In any case, note that any question asking us to find off-site resources are off-topic. However, we have a consolidated guide which may help you out. See Where can I find stock or custom ROMs for my Android device?. Other than that, I recommend purging everything except the issue.

Detail us your research and tell us what exactly do you want now, though remaining on-topic of course. See [help/on-topic] to know more about on/off-topic content.

Thanks, I looked on most of those resources and couldn't find anything. Will update my question.

At this very moment there is no cyanogenmod 12 available for your device. One developer tried to port it but it didn't boot up. The project seems to be dead.
What you can do and what has already been done a few times:
Visit the xda forum for your specific device and create a thread where you can ask devs for building cyanogenmod. Find other users and create a bounty. Make the device interesting for a developer and someone might pick it up and create cyanogenmod. But keep in mind that you would have to donate a small amount of money to the developer. If you can find enough people then that will be no problem.
Sorry that there is nothing much you can do.

Could I have a link to the first project?

Sure, here you go: http://forum.xda-developers.com/desire-610/development/ported-cm-12-htc-desire-610-t3128170

Google's site: & similar: searches will help you in finding this; took me less than an hour to find CM12 un-official port and Android 4.4.4 slim ROM just by searching your titled question (minus the at&t part) like so CM12 for Htc desire 610 site:forum.xda-developers.com
In fact it took me longer to writw this than to find the above links and others that I read though and didn't think worth sharing.
If you check CM's wiki you'll find instructions on how to compile CM7 for your device as well as auto-generated instructions on how to port other versions of CM to a device. By using the search tips above on the parts of compiling process that you've question on you'll be able to try it yourself. For example if you don't know how to compile a kernal then try how to compile kernel for <device name> similar:wiki.cyanogenmod.org/ and you'll find others that have tried and the steps they took.
I'd advise that you first try compiling the most stable version of CM for your device. Then once you know you can repeat the steps required for a working version start investigation of how it differs from the version you want ported and the unstable version already available. Looking at your devices' specs I see no emediat reason why you couln't have a better version it just hasn't been done yet because no one hasn't taken the steps required.
By taking your device and education into your own hands and under your own control you may find that it is very rewarding to solve things yourself. Lastly don't get to fixated on CM's ROMs there are ways to combine working bits and pieces from other ROMs into something that is your own.

I have no idea what you mean by compiling and kernel, and stuff like that. Side note, when android p comes out, I hope they call it popcorn so that we can make a kernel joke.


text:
Data connection keeps turning on in Alcatel One Touch?
I have an Alcatel One Touch. The data connection is turning on by itself in the past couple of months.
I went to see Bell today, and the guy said it could be an app that's turning it on?
How do I check this? I really do not want to delete my apps or loose all my important texts messages. Is there an app that I can check which  is turning on my data connection?

There are many phones named with Alcatel One Touch. Which exact model are you using?

Introductory: Have you tried going into Settings >> Mobile Data and de-selecting Mobile Data? Normally, when you install apps from Google Play, the App Permissions will tell you what apps have network access. Having said that, it could be any number of applications turning on your Data.
Second Possible Solution: You may also want to try disabling automatic connection by pursuing the following action. go to Settings >> More Connections > Mobile Networks > Network Mode. Make sure that none of the modes have automatic connection enabled.
Answering Your Questions: As far as I'm concerned, you can download Permissions Explorer to see what apps are capable of accessing your Data.
Good luck and let me know if you have any other questions.

Thank you for the advice, I've downloaded the app you mention. What exactly am I looking for ? Access-data-statues?

Not a problem. Well, yes, anything that has the word 'network' in it should be of some relevance, but you'll really have to play around and see what you think could be causing it.  There is also an app called MobiWol. It's a no-root Firewall app. So, once you find the potential apps, download MobiWol and disallow it from connecting to the internet.


text:
Blu Dash JR K locked-out; "Yes" confirmation option to reset is not present in recovery mode
I have my sister's Blu Dash JR K at the moment. She forgot her lock screen pattern, and there is not an option to recover via Gmail.
Phone comes with stock recovery. when I go there and try to apply factory wipe/data, all I get are a bunch of:
   -- no --
   -- no --
   -- no --
   -- no --

There is no yes option.
Second attempt, I tried to reset the phone using ADB, as I don't have the phone with debugging mode active. when I type adb devices, no device is detected.
Phone is not rooted so I'm not sure if I can install any custom recovery. What should I do now?
EDIT
I'm not able to use "official" recovery modes (Gmail Based) since she never synced with a Google account.

Hi! I reflected two issues in the title. I think that's OK with you.

@Firelord sure thing it's better that way :)

I'll share the solution that worked for me in case anyone else runs on the same issue since the documentation for this phone is marginal.
First you need to download the Original ROM, not so hard to find it I don't have the current links else I'll share them.
Then download SP flash-tool
Simply Flash the phone using the tool, I followed this instructions
Instructions
Fixed.

If your sister has access to Google account, she can try the Android Device Manager and do a "Lock and Erase". You may need to enable Lock and Erase first.
https://support.google.com/accounts/answer/6160500

Is not active, she never setup the google acc. already tried that, i can get into fastboot but can do nothing, i don't actually want to recover info i just want to wipe the phone and start from 0


text:
Upgrade android 4.2.2 to 4.4?
I have spice Mi 506 which runs on Android 4.2.2. Can I upgrade my phone to Android KitKat 4.4. If so how do I upgrade?

There is no official update from Android 4.2.2 to Android 4.4 for the Spice Mi 506. However, you can use a custom ROM. Instructions for this can be found on Update Spice MI 506 to Android 4.4 using custom ROM
Use at your own risk, your Phone can be bricked afterwards and maybe you loose your warranty.

Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Otherwise, your answer becomes useless in case the link dies. For further hints, please see: How do I write a good answer.


text:
Does smart lock check all active verification methods or only one of them?
I've recently started using smart lock. I've enabled two features: a trusted place and a trusted face. I cannot understand if in this case both of these mechanisms should pass to unlock the device or passing any one of them is enough. For example, is my face (theoretically) enough to unlock my device when I am not in a trusted place? I haven't been able to do so, but maybe I'm just doing something wrong.

Smart Lock will unlock your device if any of the trusted places/faces/devices/etc. are found. Configuring multiple verification methods does not mean that you have to match all of them. You should be able to unlock your device with just your face without being in your trusted place. You can also unlock it by being in your trusted place and not showing it your face.

This seems logical. What confuses me is that my device won't even attempt to recognize my face when I'm not at home (the lock icon doesn't turn into person icon)


text:
Very high battery drain by Android OS, Android System, and Screen in Samsung Galaxy Note 3 running Lollipop
I've got a Samsung Galaxy Note 3 (SM-N900) running Android 5.0.
The battery life is terrible. Most of the battery is taken by Android OS, Android System, and Screen. The moment I switch the screen on, the phone doesn't even last an hour.
What should I do to fix this drain?
(Click image to enlarge)

The other questions with the battery-life tag might be useful.

This can be caused by numerous things.
Do you have any background sync going on? e.g. Google sync, few email account and so on?

Don't sync every 5 min, try to increase the sync interval to 30 min e.g.

Do you have a bad signal reception most of the times?

It can help to change to 2G network if thats the case.

Some other tips:
Try apps like "Greenify". It works even when you are not rooted and can terminate background processes when you don't need them.
The last thing you can do is to perform a factory reset and see if that changes anything. But you'll loose all of your data.
An other option would be to try a second battery and see if that one performs better.
I hope one of these advices can help you a little bit.


text:
How to transfer phone contacts to a new phone?
Please how do I recover phone numbers previously saved on my Gmail account from my broken android phone into the new one I got. I tried syncing already, but nothing came up.

If you have your previous phone working. Simply export your contact to external storage this will create a .vcf file. Send the file to new android phone and just open it all contacts will be restored.
If your previous phone is damaged and you have synced your contacts it will we saved on the Google account and can be restored to new device by syncing. To check whether your google account contains your contact goto this link.

You could move all your contacts to your SIM card. From there, just put the SIM in the New phone, and,move them back
Method

Go to your contacts.
Select "backup contacts", and select "to SIM card" and wait.
Once done, turn off both devices, and put the SIM card from the old phone in the New one
In the contacts of the New phone, press "restore" and then "from SIM card"

Done!


text:
Install/Run Android Skype on ARM LInux?
I have a Chromebook with an ARM processor.
I have installed Ubuntu on that Chromebook.
However, since there is no Skype-binary for ARM Linux, is it possible to use the version of Skype of the android APK, and run that on my ARM Linux ?
Is there some kind of Dalvik enviroment or converter for ARM Ubuntu ?
What would be the minimal emulation environment, if I wanted to emulate android ?

It's more than just needing Dalvik.  Much of the Android API (such as the whole UI layer) is specific to Android and not available on other platforms.

To answer my own question:
Yes, it's possible.
Microsoft has release a web-app for skype at
https://web.skype.com

One way to install Linux apps on Ubuntu is through Anbox. It's very resource efficient, using your Ubuntu kernel to run Android apps without emulating the Android kernel or running Android in a VM. However, it's still in alpha, so getting it set up takes a while and apps might crash or not work at all.
Also, you'll need to find the APK somewhere (e.g. APKMirror), as the Play store isn't included.


text:
Upgrading galaxy s2 GT-I9100T 4.0.3 to 4.4
I'm pretty desperate trying for a day now rescuing my phone.
I am new in this whole updating android firmware stuff and I did the following:

root my  phone, enabled USB debugging
downloaden ODIN, installed the kernel thingy ('CF-Root-SGS2_DX_SIN_LP9-v5.4-CWM5.tar' to be exact)
downloaded spiritROM-4.4.4-20140710-i9100.zip, moved it to internal sd card
did the dalvic cache wipe and cache partition wipe &! data/factory reset.
tried installing the ROM, incountered the status 7 problem (error in... installation aborted)
tried couple of methods fixing it, including opening the rom, changing the google/android script by erasing the first line in the code and do a bunch of stuff with notepad++ from a guide I saw. the problem is - after copying the new ROM to EXTERNAL sd card (because i have no access to internal, due to recovery) it came up with the status 6 problem. in general it seems that using external SD causing problem
tried the ADB push method - problem is (D:) my phone is not recognized in windows no matter how much samsung Drivers/kies/usb drivers i install. it is still shown on my comp as unrecognized usb connection, so the adb push not even working because it cannot 'see' my phone.

I have reached a point of desperation. Is there any way fixing this issue, upgrading to 4.4 or even restoring it back to 4.0.3?? (i've seen somewhere that there is an issue with the 9100T models, and I assume that's what causing all problems)
thank you in advance, kind human beings of the android community. (and sorry if my english is kind of shallow as in not good)

Status 6 often refers to a problem within the updater script. Be sure to save it in unix format. I mostly use notepad++ to edit those files.
notepad++ > edit > EOL conversion > UNIX format
Also make sure there is an empty line on the end of the script. So if the script has 112 lines, the 113 should be empty.
Status 7 means that the rom is incompatible with your device as it checks the device model. Thats why you have to delete the first line in your updater script. Be sure to delete the whole line (with the semicolon).


text:
Can there be problems if I leave my old android phone alwys plugged to electricity?
I have an old Android phone. I want to use it as small router and media center.
I don't want to be pluging it all the time to charge, plus the battery is close to dead.
Is it ok  to leave it always plugged to electricity?
I am not worried with the battery life or even the device. I am mostly afraid of overheat, short circuit, or anything else that may create a risk other than the phone (fire, electrical circuit break, etc).

possible duplicate of Does constant charging harm my Android cellphone?

@dr01 - I'd argue against that, since they're not concerned with the battery life of the device when it's off the charger in their usecase (which is what 99% of the linked question is answering).

Almost all concerns with phones remaining plugged in indefinitely stem from the health of the battery. Mentioning that the device is old and has a worn battery (and odn't want to deal with charging it constantly) means we can ignore those potential challenges. Refer to the question that user "dr01" linked if you want more info on that.
As for damaging/overheating your phone - that depends on your device and what your usecase for it is. Using it as a mini media centre and router will make sure it's at least warm all the time - but shouldn't cause any damage to it if the device doesn't have a history of being hot under normal use.


text:
Process List of Charging Powered Off Device
Is there any way to access or log the process list when the phone is off, but plugged into my computer charging? I'd like to see what system processes are running when the phone is connected to a power source but is not yet turned on.
My device is rooted, but more importantly my bootloader is unlocked.

If someone ever makes a device that can run appse when you haven't yet powered it on I'd be impressed.

@Chenmunka, see answer below

@Huey it's not in recovery mode. Reproduce steps are literally, 1. turn phone off, 2. plug phone into computer. If you look at the display, it's just showing the charging animation because the phone is off and plugged into a power source.

@Huey, you might've misinterpreted the question, I was looking for the process list, not a list of all running apps. So I could see what system processes were running when the phone is plugged and only charging - http://linuxcommand.org/man_pages/ps1.html

@Huey included a picture of the output to help alleviate any confusion

Just figured it out, pretty easy actually.
If the bootloader is unlocked and the device is powered off and plugged into your computer, you can just use ADB.
Typing >adb devices will result in
You can then run adb shell "ps" and it'll output the process list while in charge mode, like seen below:

Where did you get that info from? That recovery under "List of devices attached" shows up when you're booted into Recovery mode, which means the device is powered-on. This answer is bizarre, though may be true that a very small kernel is running to show that power animation or something! I demand further clarification. And which device are you using? The method doesn't work here on unlocked OnePlus One.

@Firelord understandable, I also don't know.. Info is completely empirical. I didn't expect it to work so I asked the question, then tried a few things out. Perhaps, since the device is off, ADB is assuming it must be in recovery mode because it wouldn't expect an unlocked bootloader. Would have to open the adb code to see what's going on exactly. However I am positive I was not in recovery mode. I literally turned the device off, plugged it in, and used ABD. I would be completely willing to record it as video for the sake of us all.

@Firelord didn't see your edits before I commented. The bootloader is a kernel that takes care of booting the system, and is what runs when the device is charging but off. I was using a Huawei Y536A1. According to XDA was also possible on LG Ultimate 2 (all that I know, I don't have any more devices to test with).

Thanks for the info. Perhaps those who are well versed with understanding of lower levels of Android like bootloader can provide us some insight.

@Firelord that's what I'm hoping for, I'll edit my answer to include some of the info from these comments for anyone else who comes here, thanks for asking so I could realize what I wasn't including!:)

If you really didn't miss something here, that's pretty weird. In order for your local ADB client to see the device, the ADB daemon on the device must be active – which requires "something" to be booted. The absolute minimal system active while charging the switched-off device is very unlikely to do that (at least I've never seen such). So could you please answer @Firelord's question and let us know what device this is, and also include what ROM/Android version you use there?

Could you please provide the link for XDA's thread on LG Ultimate 2 where you saw that thing being possible? Check out browser's history if you don't have it bookmarked or opened in a tab.

@Izzy absolutely. I did mention this was on the Huawei Y536A1, however android version is 4.4.3. As for rooted ROM, I took it from an XDA post, I will comment the link at a later point tonight when I'm not on the mobile app. In this post http://forum.xda-developers.com/optimus-g-pro/d680-development/boot-charge-lg-pro-lite-d680-developer-t3019859 a user found a bug in the bootloader that allowed him to access it via ADB with a locked bootloader. LG device bootloaders since have had a security upgrade, but it led me to try it on the unlocked Huawei where it also worked.

@Firelord see above.

Thanks @chriszumberge! Quoting from the relevant post: Turns out, LG did a pretty sloppy job, giving me adb access to the device when in offline charging mode […] This stated by laufersteppenwolf gives the issue enough weight to make me shut-up with doubts (if he says it is so, I believe him). But also note the context: Wolf considers this misbehaviour/buggy. So it's nothing to count on for other devices, as it's not the way it's expected to work.

@Izzy, that does make sense. I was under the impression that the "LG ... sloppy job" was what gave laufersteppenwolf access when it wasn't bootloader unlocked so he was able to do a lot of not normal things to a locked bootloader device. I'm still trying to prove that this is a functionality available to any bootloader unlocked devices (of which I don't have many laying around so it might be awhile)

@chriszumberge That's what I meant: I fully believe Wolf (he's deep enough into the stuff to know what he's talking about). But I doubt that LG did a sloppy job on Samsung/Motorola/you_name_it ("any bootloader unlocked") devices, or that all the resp. manufacturers did the same "sloppy job" as LG with exactly the same consequences ;)


text:
Where is data of Google Play Services located in device? Can I safely delete it?
Just noticed that data in internal storage for Google Play Services app grew above 100Mib, so this app is officially a space hog now.
So my questions are:

What is the exact location for Google Play Services data? (for backing up)
Can I safely delete Google Play Services data and let the app recreate it?
What might I lose if I delete Google Play Services data unsafely?

Hi! I reflected in the title some points you raised, and removed some tags since they weren't specific to the question. I hope that's OK!

@Firelord, I'm rather new here, so that's OK for me. I've got quality solution for my question after all (thanks again!). I've made that tag soup merely because Play Services attracted my attention as space-hog, my 4.2.2 device has only 1Gb of internal storage, so I'm always worrying about free space.

What is exact location for Google Play Services data?

Package name of Google Play Services is com.google.android.gms.
Default data directory of apps is under /data/data, and for Play Services, it is /data/data/com.google.android.gms.
Note that you can't simply copy-paste it into anywhere. To peek into data directory of an app you would need root access. Fortunately, for non-root devices, Play Services allows its backup using adb.
After installing ADB, enter this command in a shell:
adb backup -apk com.google.android.gms

This will save the backup in the file backup.ab located in the current directory.
To restore that backup, enter this command from the same current directory:
adb restore backup.ab

Can I safely delete Google Play Services data and let app recreate it?

By safely, if you mean clearing data from Settings → Apps→ Downloaded → Google Play Services, then you're good to go.
In Android 4.4.2 and 5.0.2, you don't get the straight option named Clear Data. Instead you get Manage space. Follow the screenshots:
(Click image to enlarge; hover to know details)

However, in Android 4.2.1, there was no Manage Space but Clear Data. Perhaps, the former option is Android version specific and not app specific.
Doing adb shell pm clear com.google.android.gms is also safe, at least, my Play Store, and Gmail (both ridiculously dependent on Play Services) worked fine after executing both steps independently.
The data recreated too.

What I might lose if I delete Google Play Services data unsafely?

I don't know what unsafely would mean here other than purging the app directory of Play Services without uninstalling it, so I can't comment on it.
Anyhow, the front-end of Play Services is named Google Settings, the core of Google Apps, whose icon you would see in your app drawer. Simply open it, and the entries you would see  are possibly responsible for the data collection of Play Services. And as I said above, the dependent apps worked fine without a hitch, so this app's data isn't something I would worry about. Your case may vary, so dig deeper into this app's GUI.

Neat answer, thanks! And whoa, in your case Google Play Services isn't space-greedy at all.

Perhaps that's because I don't use much of it other than sometimes downloading an app from Play Store, or using Gmail. In my other devices, the data specifically rose up to 50MB. Yours is a special case since both data and APK would be taking ~200MB of internal storage.

While it's not the same thing, I think I need to put this as precaution due to its similarity: PSA: Do not clear data for Google Service Framework (Reddit)