text:
I move a folder in Android root directory to SDcard directory in internal phone memory. Is there a way to restore it back?
I move a folder in the Android root directory to SDcard directory in the internal phone memory. The folder was custpack in the root directory and the phone will not boot now.
I can still access a recovery mode, but it only has a stock recovery from the manufacturer. No custom recovery available for my phone.

Is there any way I can grab contents of the SDcard directory using developers tools?

One of the menus in the stock recovery is to ADB side load file name.

Is there any hope I can access the phone memory using a PC somehow and restore the folder?

In the Android stock recovery menu, I have the option to install package from an SD card. The phone does have an SD card slot.

Is it possible to create a zip file that will some how restore the custpack folder back to root directory? I do have the deleted folder in my PC.

One method you can try is download and use Aroma File Manager.
It's a recovery based file manager. Means you can access all files and do all file operations like cut, move etc.
But not sure if it will work on un rooted device.
But you can try.

thanks. I will try Aroma. But looks like I have to push the aroma file manager back to the phone? I tried to push files in stock recovery it keeps giving me a message "error: closed" . I did root the phone using VROOT before I delete the custpack folder.

First copy aroma to your SD card from computer. Then use it in your phone. Then you can move the specified folder to your root folder whichever.

Got it.. let me try aroma file manager.. I hope I can run it .


text:
Is there a way to determine the charging current available?
I have a Moto X that has recently stopped charging while in its car dock, even though it indicates that it's charging.   I will diagnose the problem by eliminating the USB cable, the dock, and the 12->5V converter one at a time, but I have to use the phone for a while to determine whether it's charging or discharging after each step.   Is there an app or other way to determine how fast the phone is charging or discharging?

Try CurrentWidget.
It's a widget that you can configure to show not only the current but also the temperature and voltage.
If that doesn't work (as what seems to be the case with modern devices), Ampere is worth a look. From the XDA post, the Moto X 2014 is supported - I'm not sure if you have that model, though.
Also, from the app thread:

If your Lollipop device (or later) shows 0 all the time: There are Lollipop devices which don't have a working power profile (the new Lollipop interface to get the measured current). But on some of them is the old interface still present and maybe also working. Please use the settings option "Old measurement method" in this case. You can force the app with it to use the old interface, if the Lollipop device has at least one. Maybe it helps...

Installing now.  The description suggests it won't work on my Moto device, but fingers crossed.

@TomG I added another suggestion.

Current Widget works -- and I have an intermittent connection between my charging cable and my dock.

Update:   Sadly, Current Widget no longer provides current information on my Moto X after upgrading to Lollipop; the last update to the app was February '14.

@TomG See updated answer. Hope it works - Ampere works great on my device running stock 6.0.

thanks for the pointer to Ampere.   It works fine on my device.

source: Stack Exchange

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

sort: votes


text:
How do I generally take a full device snapshot?
I've just recently replaced my phones and tablet with newer Android devices, notably:

AT&T Samsung Galaxy Note 3
AT&T Samsung Galaxy S5
Google Nexus 7 (2013) with LTE

With new devices of anything, I generally like to make a "clean-slate" full backup so as to always be able to return to zero.
Is there a universal way to create restorable full-device backups in Android?
If not, at least how can I do it for the given devices?

As you've correctly used the backup tag, did you check its tag-wiki? It's all there :) Check for "Nandroid". Unfortunately, it's a chicken-egg-thing: To make such a snapshot of a "virgin device", you first have to modify it (Nandroid doesn't ship with stock Android, so you'll need to install a custom recovery).

Also, stock firmware images are technically restorable, but only with the help of a PC. Use ODIN for Samsung, and Fastboot for the Nexus.

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


text:
How to see hidden files/folders on android internal storage over USB
I have a windows 7 pc and a Sony Experia Z android phone. I use a downloader app to download files to the phone, and then hook it up to USB to copy to the computer.
The only problem is sometimes the files+folders do not show. I moved the download folder into DCIM folder (the camera pictures folder, which is always visible), and now the FOLDER appears, but all the files inside it are hidden. How can I get windows to show ABSOLUTELY EVERY file and folder on the phone?
Things I have tried:

USB Debugging mode.
A different browser on the windows operating system (Total Commander - Same problem, empty folder)
Windows explorer settings are set to show all files, folders and hidden system files.
Resetting the phone

Can someone answer this? I really need a totally working solution. One time I turned on USB debugging and it worked, but today it has not. I need a 100% solution as this is the only way I can download large files from the internet.
I have no router, no 3rd party internet provider and no wifi. I dont know what the android version is, it is just the default one the "Sony xperia Z" came with, and I cannot update the android version, because I dont have wi-fi.

One option may be to go in with ADB this can usually see the file system without much of an issue. So you can look into how to hook it up to your phone (the link above will get you started), and once you are connected copy the files over command line.
Another possibly easier option would be to put a file explorer app on your phone and and transfer the files locally to another visible location on your phones file system.
EDIT:
This may be a bit of a weird one, but if you put this code: *#*#273283*255*663282*#*#*
into your dialer, it should give a file copy screen which may give you the desired result.
The code is from this post.

authors: ابو تمام محمد


text:
Atrocious battery life with Cyanogenmod 11 on Galaxy S4 mini
I love so many things about CM10, but the battery life is an absolute nightmare. I made a comparison against the stock firmware by leaving the phone unused for as long as I could. Results:
Stock: ~5.2 days standby to full discharge
CM10: ~1.7 days of standby to full discharge
Is there anything I can do about this, or is CM10 simply not supported properly on my device?

Made these screenshots on my S4 mini by leaving it unused for as long as I could. In the CM10 example it actually powered off due to low battery and I had to plug it in before it would even turn on again, so this is NOT due to any calibration; the battery was actually empty at the end of the test. But even if you take the final charge as 15%, the numbers are still atrocious.

Clearly it states in the screenshots that mobile standby uses the most power, possibly even wakelocks. Are you leaving it on 3G/4G/LTE without a mobile data connection?

@aureljared 3G and Wi-Fi were permanently enabled in both cases. The phone was in exactly the same location: my house.

CM11 did not improve things; BetterBatteryStats doesn't show any significant wakelocks either... A real mystery. Glad to know I'm not the only one.

These are the settings I use on my phone, which have helped with the power consumption.
Under Performance
-> Processor

CPU governer: ONDEMAND

-> Profile

Power save

General Settings page
-> Location Services: off
-> Bluetooth off
-> Mobile Data (3g): off
There are also some apps that may be helpful, one of which (I've only heard of it not actually used) is called SnapDragon Battery Guru.
If you can't find the performance settings turn on developer options (instructions here)

Calibration needs to be done after flashing a new ROM.
I've solved this problem by using "Battery Calibration" app from the Play store.
http://zoranpetrovic87.blogspot.com/2014/10/cyagenmod-battery-problem.html

I'm now on CM11 and battery life remains a constant struggle. There are just too many things that will happily keep the phone awake, almost always due to bugs or incompatibilities. You're lucky when it's just a bad app you've installed: kill it and the problem is gone. But far too often, the thing keeping your phone away is Google Play Services, and then you're basically stuffed.
So my best advice is to simply decide whether a constant battery life problem is worth CM's improvements (it is for me, but it might not be for you).
You should also expect that whenever you do manage to track down and fix a battery life killer, it won't be a week before something else crops up. Just recently I had finally found an amazing fix that made my phone actually enter sleep, and it was to set Wi-Fi to turn off when the phone is off. I had a few weeks of bliss, but fast forward to a few days ago and it's back to the usual battery-eating never-sleeping state.
So yeah, you will probably experience battery life issues with CM, but I think it's totally worth it.


text:
How do I update my Samsung Galaxy Europa?
What is the latest official firmware for Samsung Galaxy Europa? I am currently on 2.2 Froyo at the moment. Can I update it using Samsung Kies, or do I need to update from somewhere else?

No, you are currently running the latest version of Android for your device without flashing a custom ROM.
If you are interested in flashing a custom ROM a port of CyanogenMod 10.1 (Android version 4.2.1 Jelly Bean) has been made for your device, all information and installation guide can be found here.


text:
Tasker: Notify before executing task
I'm making a task to hot boot every 3 hours.
Currently, I have a profile set to this:
Trigger:
  Every 3 hour
  +
  Display off
Task:
  Hot Boot (I'm using 3rd-party plugin)
How do I create a profile if I want to be notified by Tasker whether to run the task or not if I'm using the phone (e.g. screen display is on)?
Thanks in advance.

A good resource on questions like this is the Tasker UserGuide (link goes to the "actions" page here). Quoting:

Menu
  Show a selection dialog and perform a different action depending on which item the user selects.

Sounds like exactly matching your purpose, though I haven't tried it. You can even specify a default action, which then would be executed on timeout as well (i.e. when you didn't notice the menu "in time").
The Menu Element belongs to Tasker Scenes. Please refer to the UserGuide Index and check the "Scene" section for closer information, if needed.
You should be able to combine (or wrap) this with an IF statement in case you only want to be asked on a given condition like "Display On".

Congrats! There's almost nothing Tasker cannot accomplish :)

Agreed! Oh praise the developers!


text:
How to end call via adb in android 2.2.1?
Im creating small call center like system based on pyadb.
I was developing for my phone which has custom SlimKat ROM - kitkat based.
To call i do :adb shell am start -a android.intent.action.CALL -d tel:xxxxxxxxx
To end the call i do input keyevent KEYCODE_ENDCALL
and it works like a charm on my phone.
But now my boss want's to use old htc wildfire (buzz) with android 2.2.1
On this phone adb input keyevent KEYCODE_ENDCALL gives me '[1] Killed ...`- error.
I tried to use keycode number instead of KEYCODE_ENDCALL, like this:
adb shell input keyevent 6-
this is not giving error but does not have any effect on the phone.
Same for KEYCODE_MUTE.
Curiously KEYCODE_CALL(7) is working as expected.
How can i make it work? Can i change adb commands in anyway? Or maybe installing CyanogenMod(7- I think is the newest for this phone) will help?
Or is this lost fight and i need a newer phone for this?

Found that and it works for making and ending calls. Still looking for a way to mute Microphone.


text:
Does Android indeed need defragment?
I have recently format(not just wiping) userdata partition on Note 2 N7100 and Tab 7.7 P6800.
I also restore /data using nandroid and restore internal sdcard by manually copying files.
I notice that my devices become much snappier. App installs and opens are much faster.
It used to lag a lot when it gets connected to internet, triggering apps to run by Autoruns. After formatting, it just doesn't lag when connected to internet. I noticed that mmcqd0, kworker, system_server now use much less CPU than before formatting. I also do TRIM a lot, and it didn't help the device to become any faster. Both devices were heavily used, stored a lot of files to almost full capacity, cleaned up some space, and stored new files(app and internal sd) again, installed custom ROMs more than 10 times and always install without wiping data/media/, only wiping /data/.
So is it possible that files on those device gets fragmented and slow down everything?
I'm just curious why a format with restore of everything fix lags on my device very much.

I don't think the fragmenting of files on your Android will cause much of a performance decrease. They obviously don't use 'mechanical' media for data storage so have real quick read speeds.

So why does a format with restore all data fixes lag problem, it used to struggle with read-write operations, high mmcqd0 cpu use, long blue bar (i/o) cou use.


text:
Flashlight on lockscreen on Galaxy S5
I am soon going on a field trip and would like to give my friends the ability to use the flash light from the phone without giving them the pattern to unlock the phone. Is that possible to add the flashlight/torch to the locked screen just like the camera?
I have a Galaxy S5 with Android 4.4.2

Make sure your camera shortcut is on in the lockscreen. Open the camera from the lockscreen, drag your flash setting to the top from the camera settings and make sure it is on. Now all you have to do is open the camera shortcut and click video and your light will stay on. It will also record video while it's on but this is the only way to turn on your flashlight from the lockscreen.

Not without a different ROM but you may be able to add one to the notification area. Try this, I don't know how well (if at all) it works on the S5 but it's worth a shot.

I recommend this. I use it on an S3, so a S5 should have no trouble.

Thanks, but after watching the video and reading the description, I don't see how this gives me what I want. -- As I said, I want to be able to turn on the flashlight without unlocking the device. But seems like a nice app anyway.

@Martin Can you not put a flash light toggle in the status bar then the person who needs the light can swipe the bar down and use the toggle?

@DanielStewart The phone is about a week old so I don't know what you mean. I'm not sure what you mean by "status bar".

The status bar is the pull-down bar at the top of the screen where you can access quick toggles and view notifications.

On the last models of Samsung was easy! Just press the volume key and the flashlight is turning on! (of course you should first to approve this in settings:) When you want to stop it just press the volume down! I have Xcover 1 and 2, I used it a lot, it is easy and good option but sometimes the flashlight was turned on in my pocket of my carhartt jeans and the battery finished very quick. So in settings you can make the flashlight to work only 1-2min. and to stop automatically. I bought S5 Active few days ago and I am very angry that the phone has no same option!!! I see one decision but. To upload a Torch APP and then to switch on this APP with functional extra key, which is over the volume key.

The S5 Lollipop update now has the flashlight available as a notification sort cut, you can add it to the list of 'quick settings' and just use it that way now. Tested as of today 25.02.2015.0

This doesnot answer the question. The OP has mentioned that he has a kitkat device and you have provided a lollipop answer.

You can try CM Locker by Cheetah Mobile. This is an iOS based Locker. Give CM Locker a try!

You may want to be careful about recommending Cheetah apps based on a new report out about Cheetah, and Google Play actions against them. See this: https://www.xda-developers.com/google-bans-600-apps-play-store/.

Turn on the flashlight by holding both volume keys with Torchie - Volume Button Torch app.
Or shake your phone to turn on the flashlight with Shake Flashlight app.

Source: 5 Quick Ways to Turn on the Flashlight on Your Android Device

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


text:
“Firmware Upgrade encountered an issue. Please select recovery mode in Kies” on reboot randomly, but device still working fine
My Galaxy Note 2 N7100 has “Firmware Upgrade encountered an issue. Please select recovery mode in Kies” shows up randomly on system reboot, recovery reboot (from reboot menu in Touchwiz based official firmware 4.3, 4.4.2 both stock kernels and custom kernels), but rarely. When it happens I just press volume up and power to do force reset, and it boots normally, never failed.
What is the cause of the problem? Is it a sign that flash memory is going to be dead soon, I use flash memory quite intensive, installed ROMs more than 10 times, stored a lot of data in userdata to almost full, cleared up some space, and stored new files.


text:
Cannot get Moto G to output over SlimPort adapter
I am having a problem getting a display to my Panasonic TV from my Moto G when I connect it using a SlimPort adapter. I connected the HDMI cable to the HDMI 2 port. I connected the phone to the SlimPort adapter and the adapter to the HDMI cable. I changed to HDMI 2 on the TV. Nothing displays. Is this because my Moto G phone has limited capabilities, or what could be the problem?

SlimPort is not supported on the Moto G (nor is MHL). You can find a list of compatible devices on the SlimPort website.


text:
Reinstall Samsung Stock Apps
A few months earlier, I got a Samsung Galaxy S4. Immediately I rooted it and used NoBloat to unistall some stock apps. One of those apps was Gear Manager, since I didn't plan to get one at the time, and if I did I'd just reinstall it from Samsung Apps.
I just got a Gear 2 and installed Gear Manager. When I launched the app it states that my device is incompatible (even though it is).
This leads me to believe that the package I uninstalled was a daemon or helper for the app to manage my Gear with. If so, then where can I get the APK for the daemon.
P.S.: Factory reset is an unviable option as I can't backup Google Authenticator, therefore I'd lose access to multiple online accounts.
P.P.S.: Software update is also impossible as I'd lose my root access.
EDIT: If anyone has a rooted Galaxy S4, please give me a NoBloat backup.
EDIT: Well, I just uninstalled Samsung Apps Package for Gear Manager, rebooted the phone and apparantly it works now. It looks like the preinstalled Samsung apps work like the Google apps, they both have a base package already installed, but updates and the like are distributed as patches.

Side-note: Even if a factory-reset would be "viable", it wouldn't bring back any of the removed files. Those where stored on /system, which isn't touched at all by a factory-reset.

@lzzy I did not know that. I thought a factory reset was: Download latest OTA update, delete everything in flash (except the update package), apply update, reboot. Thanks for preventing another headache.

You might wish to consult our factory-reset tag-wiki :) Hint: Many of our tag-wikis contain useful background information, even first-aid (if applicable). Always a good idea to check them first. Click a tag, then select the "info" link/tab. Factory reset just "empties" /data and /cache, basically – i.e. "undoes" all changes a "normal" user (without root) might have done to the device, thus restoring factory default configuration. It always assumes no changes have been done to read-only areas such as /system.

Is it out of your league to try and find a stock /system dump from sites like XDA and extract your desired APKs from there?

@aureljared Good idea, though Gear support was added in November 2013 and for some reason I can only find March 2013 builds on the internet. Would you mind pointing me to a more recent build?

@manuel.rivera Help yourself.

Be sure to download the correct one.

@aureljared None of the ROMs on the site have the same hardware version (L720) as mine. Though, after a bit of googling I found that L720 is a Sprint modified ROM. So I should be able to use a ROM from that site, right? Also, do I need to use my region code (VP), or can I get away with using a ROM from another region?

Should've said you had a Sprint S4. Haha but you can find ROMs for that here.


text:
Galaxy S2 Skyrocket acting very strange
My Android GS2 Skyrocket problems began with battery error "Charging stopped due to battery temperature" so I bought a new OEM battery which I hoped would solve but it hasn't.
Phone is not rooted and I'm not sure what processing is being used. Every time I've checked for an update...never had to since I received my phone.
The phone powers up with new battery but now I can't get past the unlock pattern. It doesn't recognize my gmail login or password. I bought an app to help with the unlock pattern but its not working as it should due to phone error somewhere. It won't even let calls ring through, goes straight to voicemail.
I noticed the when the phone restarts, the date and time are not current anymore. It resets to January 1st, 6 pm. I have notice a Google Play error now when it starts back up which may be reason why the Unlock Pattern app I just bought isn't working properly.
Not quite a brick, I don't want to do a factory reset because I will lose everything new since last backup.
Any ideas or solutions, before I send off for repair or buy a new phone..I really don't want to..
Thanks

Why is sending it for a repair or replacing it okay but a reset isn't?

There are obviously some serious issues with your configuration and possibly (the battery issue) the device. If you cannot access the device with the pattern or your Gmail login, you will need to factory reset it. With all the other issues you are having, it is probably your best option anyway. Plus if you send it for repair, that will be the first thing that gets done to it anyway.


text:
adb shell su: permission denied
I was trying to unlock my android phone by adb installed. I tried to followed these steps:
adb devices adb shell cd data/system su rm *.key

But when I typed and enter su, it's showing permission denied. My phone is also rooted, but I don't know why after entering su it's showing permission denied.
Can you please tell what extra steps I have to do so that I don't get permission denied?

Most superuser apps don't allow adb su access by default. Depending on the app you used the option may vary in location, but basically you need to go to settings in the superuser app and change it from "apps only" to "apps and adb." This should allow you to use su in an adb shell.

I have used this Superuser app ---> https://play.google.com/store/apps/details?id=com.noshufou.android.su But don't know, how to change "apps only" to "apps and adb". I did search in settings but didn't found such a thing. Can you please tell me how to do that ?PLease check it and tell me..

Oh wow, that is a very old superuser app. What device do you have? Is there a particular reason you used this superuser app versus one of the newer ones like this or this? It may be an issue with that particular superuser app.

authors: Энхтөгс Жаргалсайхан


text:
Can I restore folder in root directory? soft bricked phone
the quick back story is that I deleted a folder called custpack in root directory of my phone.
Now the phone will not boot. I can only access android stock recovery (android system recovery 3e)
I can detect the phone when I type the command adb devices.
command like adb usb, adb pull or adb push keeps giving me a message  "error:closed".
the only command that seems to work is adb sideload
is there a way I can tinker with the file system of the internal phone memory? what are my options? the phone does have an sd card slot. so is it possible to flash a zip file that somehow restore the folder back? if so how do I create the zip file?
I do have a backup of the deleted folder in my PC

You need fastboot around now. Find out what key combo gets you the bootloader.

Flash a custom recovery with a file manager if your stock one doesn't have one already. Put the folder on your SD card using a PC, then insert your SD card into your phone and mount. This should allow you to restore the folder since you already have root.

unfortunately there is no custom recovery available. I'll try to get to fasboot. But my gut feeling , I will only get error:closed message. I think My only hope is some tools like SP flash tools that is made for mediatek SOC  phone ..

no luck using aroma file explorer , neon and non neon version.. it just says installation aborted.


text:
How can I set the correct SELinux / SEAndroid policy for an App?
I am using the free SSHelper SSH server on my phone to get SSH access. However, the application is not behaving correctly under SELinux when set to Enforcing mode, but seem to be OK when using Permissive mode. This is not surprising as it was developed under CyanogenMod, making the author unaware of these issues for later SELinux Enforcing stock AOS's.
The problem occurs when the App is trying to allocate a /dev/pts/N pseudo-terminal, during SSH connection. This fails and the resulting shell is essentially useless for development. After having spent considerable time trying to track down this problem as documented HERE. Where I found the following "errors" in the /data/misc/audit/audit.log file:
audit(1401291488.480:203): avc:  denied  { setattr } for  pid=11441 comm="sshelper_sshd" name="0" dev="devpts" ino=3 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:untrusted_app_devpts:s0 tclass=chr_file VE=SEPF_GT-I9195_4.2.2_0022_M
audit(1401291488.480:203): arch=40000028 syscall=15 per=840000 success=no exit=-13 a0=beffd438 a1=190 a2=27da a3=c0000000 items=1 ppid=8499 pid=11441 auid=4294967295 uid=10202 gid=10202 euid=10202 suid=10202 fsuid=10202 egid=10202 sgid=10202 fsgid=10202 tty=(none) ses=4294967295 comm="sshelper_sshd" exe="/data/data/com.arachnoid.sshelper/bin/sshelper_sshd" subj=u:r:untrusted_app:s0 key=(null)
audit(1401291488.480:203):  cwd="/"
audit(1401291488.480:203): item=0 name="/dev/pts/0" inode=3 dev=00:09 mode=020600 ouid=10202 ogid=10202 rdev=88:00 obj=u:object_r:untrusted_app_devpts:s0

However, since I have no previous experience in SELinux and its mysterious protection mechanisms, and could really use some help. I don't even know if this is the real issue, just guessing. Checking the permissions of the above file gives:
# ls -alZ /data/data/com.arachnoid.sshelper/bin/sshelper_sshd
-rwxr-xr-x u0_a202  u0_a202           u:object_r:app_data_file:s0 sshelper_sshd

But this context doesn't seem to correspond at all to what was shown in the log.
How can I fix these permissions to play well with SELinux when in Enforcing mode?
(Also, what tools and file are available in Android to fix this?)

Is it a question about developing the application or about configuring the device?

Configuring the device and "repairing" the app, since the app is already developed, but I have not been able to contact the developer. I have also tried other similar apps with the same exact issues. It seem that most app developers have not yet gotten to know and understand how to properly set and use these mysterious and highly annoying SELinux features.

I think the problem could be the default "unconfined domain" the binary gets executed when no policy is specified.
An attempt I'd try would be to move the sshelper_sshd (I think it's the sshd server?) somewhere on the /system partition (/system/sbin/?)
I think the best and updated document to read to deal with SELinux implementation on Android (SEAndroid) is How-To SU.
Here an extract from Chapter 5.4.4. Android 4.4.3

A good example of the unconfined domain not being all-mighty, is executing files from /data. Starting Android 4.4.3, this will no longer be possible from the unconfined domain (see #74082 and #78801).
The established practise of including binaries and scripts in your APK, extracting them to /data/data/[package]/files/ or placing them in /data/data/[package]/lib/ and executing them from there through a su call will no longer work out-of-the-box. While there are other work-arounds possible (like copying to and executing from rootfs), one solution is switching contexts to a context not in the unconfined domain (like u:r:untrusted_app:s0, the context the rest of your app is likely to run as). You will need to do extensive testing to see if all the calls you want to make still run in the context you choose, though, and you may have to try some different ones to get the capabilities you want.
Note that executing files in /data will still work as expected from your app if you are not trying to run it as root.

Yes, I have been reading all that many times, but still not sure what exact action to take. I've tried to chcon the binary before with non-working results. Perhaps soft-linking binary in /xbin, but then how can I make sure the App is using that instead of the original? Also, what context should it be? How do I know which context is (or is not) in the "Unconfined Domain"?

I should add that I am not the developer of that App, so I have no way of changing it. I can only change the location and context of the files involved from command line, once installed.


text:
stock email: activesync/exchange: selecting which folders to sync
I have two devices getting email from the same exchange activesync server. same account.
One is an old 2.3.3 nexus, another is a samsung tablet with 4.1 (or newer, not 100% sure now.. it may be 4.2)
on the server i have lots of folders, in the following setting:
 - drafts
 - outbox
 - sent
 - trash
 - junk email
 - sync issues
   - server failure
   - sync issues 1
   - local failures
 - rss feed
 - FolderA
 - inbox
   - FolderB
   - FolderC
   - FolderD
   - FolderE

this is the inverse order it shows up on my outlook client... i don't think folders have an order as far as i can tell.
Anyway, on both devices, i get this:
 - drafts
 - outbox
 - sent
 - trash
 - junk email
 - sync issues
 - server failure
 - sync issues 1
 - local failures
 - rss feed
 - FolderC
 - FolderD
 - inbox

Note that sync issues was flattened. And that it choose two random folders (C and D) to display outside of  INBOX.
now, i don't care for any of those folders! but I need FolderA and FolderB badly.
I already looked on all options on both devices, and there is nothing to select more folders. All I can do is hide the folders it arbitrarily selected already. I have already went trhu the info on How can I select which folders to sync via Exchange ActiveSync?
I also do not think it is related to options on the client, as both devices have the same two folders selected. It may be something on the server... maybe a flag telling that those are to be synced? It is not based on age, or alphabetical order. i tried right-cliking all the folders on outlook and looking for anything, but the properties of them all are the same.
I tried deleting the Sync issues folder on outlook (i can't delete the others such as RSS feed even never have any use for those)... and reprovisioned one of my devices... and even though i don't have the sync issues folder on my outlook anymore, it still synced when i removed/added the account back.
I can move both folders that i want in or out of INBOX, i don't care.
Any ideas on how to get rid of the unwanted folders and sync the wanted ones?
EDIT:
I removed my account, renamed the to folders that do get synced to X_folderC... wipped all data for the stock android app. recreated the account. and bam. it synced X_folderC... i hate this phone.
So it is definitely something on the Folders meta data from exchange... how do i even check that? On the Samsung device with 4.1 or 4.2 i could generate a debug log of the app talking to exchange, what should i look for?
EDIT 2:
i created a new folder, Folder_D2, moved all mail from Folder_D there, moved the rules to move email there, and deleted Folder_D... now the phone has, Folder_D and Folder_D2!!! and still no sign of the folders i do want.
Also while doing it, i noticed that on the server email rules, the two top ones sent email folder_C and folder_D... so i thought this may be the deciding factor... so i moved the one that sends email to Folder_A to the top of the rule list... but no luck. nothing have changed.
EDIT 3:
finally found something! if i create a new folder, it syncs!!! so i can solve this recreating all folders I want synced. ...tedious but that should work. The ones not being synced are the ones migrated from the old exchange server... for some reason they have some property/flag that makes them not be synced on android. But i can't see anything from outlook.

solved while investigating to write a better question.
Apparently when the company migrated from some exchange version to another, something was set on the folders attributes that made android email application ignore it. Renaming the folder did not solve. Also comparing the attributes that are visible to the user between a folder that sync and one that does not sync reveals nothing.
Solution is to create a new folder, move the emails and updates the rules, and finally delete the old one.

authors: علی اصغر بابانظری


text:
Unlock PC from Android
I was pretty sure this question wouldve been already asked, and I tried hard to find a solution but couldnt find much.
I'm trying to lock/unlock my PC from my Android device. I dont want to use BTProximity to do this because even if I'm in another room in the house, it would be able to detect my phone and unlock the computer. I want finer control over the event that triggers the lock/unlock, instead of relying on proximity.
I would be very happy to use tasker to achieve this, although I'm unable to find any way for my PC to lock/unlock with anything tasker can do.
The solution can either be for Windows or Ubuntu, or both.

The best integrated solution with your Android phone and PC is to use Autoremote and EventGhost. The general idea is that you use AutoRemote to send a message to Eventghost which then unlocks or locks your PC. The task will look something like this:
AUTOREMOTE MESSAGE
     DEVICE: NAME OF COMPUTER OR CHROME EXTENSION  <----Addressed at the end
     MESSAGE: Unlock (Really could be anything)

Next is the EventGhost side. Eventghost doesn't always respond especially if your not on the local network but you can get around this with AutoRemote's Chrome ExtensionIf you have any trouble with AutoRemote, the developer has a great website and is very active in his google group. The direction to install the AutoRemote plug into Eventghost can be found here. Here are the steps to create the Eventghost trigger:

Create a Macro but don't worry if you can't find the AutoRemote Plugin. This is really a fancy folder
Add an event from the toolbar which will trigger the eventghost macro. It should look like this: Autoremote.Message.unlock
Next are your actions. This will unlock your work station

If you have any questions feel free to ask them in the comments and I'll do my best to quickly respond.
If my answer solves your problem please don't forget to mark it ask the answer and upvote it for it's usefulness. I'm new and trying to build my reputation here.

Thanks a lot, this looks promising. Although, It would take me some time to implement this and verify. If someone else succeeds using this method, then do comment here.

It shouldn't take too long to set up since the links that I proved are direct links to the files that you need. Once downloaded you'll only need to drop and drag them into event ghost to make them work.

What connection between Android and iOS does it use: Wifi / Bluetooth / anything else?

"This will unlock your work station" -- the linked post requires to download and run MyUnlocker which is Windows BAT file. Is there a similar script/program for OS X?

Evenghost, which drives everything, is only for PC.

You can use an NFC phone to unlock your PC from the LAN, aka scan an NFC tag and login to Windows. On your Android phone, install the following software: NFC Tools, NFC Tasks, Tasker, Unified Remote (all from the play store). On your PC, install Unified Remote server.

Configure Unified Remote app on your phone to connect to your pc, communication should set to encrypted
Use Tasker to create Unifed Remote (via Tasker's integrated UR plugin) click, tab and stroke events, to automatically type your password for you at the lock screen (list of commands in the proper order that matches your lock screen). You have to play around with it to configure it properly, test tab orders, arrow strokes etc.
Use NFC Tools & Tasks to write Unified Remote commands executed by Tasker on any compatible NFC tag.

It will take some time to make it work, but it does and  you have to pay a few dollars for some of the apps, they are not all free. The process it's safe if you protect Tasker with a PIN and secure Unified Remote communication. First logon has to be performed in the classic way (keyboard), to allow the Unified Remote server to start.

I have actually implemented this in a similar manner to The3rdIcon. Use his answer to get the framework, and I can provide details. Note that the unlocker program he links doesn't work for Windows 7 and up, but this trick will. For my particular case I used a bluetooth device attached to my workstation for proximity detection but you can do whatever is applicable. Here are the actual details.
Since the PCs I'm working with are behind a firewall, I'm using AutoRemote's Chrome extension redirect which works very well.
Tasker Bluetooth Near profile
Notes: Ignore the %WorkHint bit, it's for something else. This profile does require that you be paired to the device, but not connected. It isn't terribly responsive (for battery saving reasons) but will detect near/far within a few minutes. Additionally I use a couple other profiles that can trigger an unlock so that it's more responsive but this should get you started. My example sends to an AutoRemote channel (Work) so that it can lock/unlock 2 computers for me.
Profile: BT Work Near (166)
State: BT Near [ Name:yourbluetoothdevice Address:* Major Device Class:Audio / Video Standard Devices:On Low-Energy (LE) Devices:Off Unpaired Devices:Off Toggle BlueTooth:Off ]

Enter: Anon (167)
A1: Variable Set [ Name:%WorkHint To:true Do Maths:Off Append:Off ]
A2: AutoRemote Message [ Configuration:Recipient: Group
Message: Unlock
Channel: Work Package:com.joaomgcd.autoremote Name:AutoRemote Message Timeout (Seconds):200 ]

Exit: Anon (168)
A1: Variable Clear [ Name:%WorkHint Pattern Matching:Off ]
A2: AutoRemote Message [ Configuration:Recipient: Group
Message: Lock
Channel: Work Package:com.joaomgcd.autoremote Name:AutoRemote Message Timeout (Seconds):200 ]

EventGhost Lock Macro
Notes: These use a little trick to accomplish lock/unlock. It essentially disconnects from the console session and later reconnects to it for the unlock. It still displays the CTRL-ALT-DEL screen and someone seeking to use the PC would actually have to log in. Note that the reconnect trick will not work if you use the EventGhost lock workstation action or an actual WIN-L lock.
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1700">
    <Macro Name="Lock Workstation" id="6" Expanded="True">
        <Event Name="AutoRemote.Message.Lock" />
        <Action>
            System.Execute(u'c:\\windows\\system32\\tsdiscon.exe', u'', 0, False, 2, u'', False, True, u'', False, False, False)
        </Action>
    </Macro>
</EventGhost>

EventGhost Unlock Macro
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1700">
    <Macro Name="Unlock Workstation" id="9" Enabled="False" Expanded="True">
        <Event Name="AutoRemote.Message.Unlock" />
        <Action>
            System.Execute(u'C:\\Windows\\System32\\tscon.exe', u'1 /dest:console /password:yourpassword', 0, False, 2, u'', False, True, u'', False, True, False)
        </Action>
    </Macro>
</EventGhost>

I do use a couple other macros to send a notification to my phone when the PCs are locked or unlocked either automatically or manually. I can post those as well if there is any interest.

This program for Windows does both lock and unlock, allows to adjust the distance (as you requested), notifies your phone if anyone tries to steal your laptop, allows to lock/unlock with your phone fingerprint reader and blocks the screen saver when you are within Bluetooth range.
You'll need to install the program in your Windows PC, an app in your Android phone/smartwach and select a Credential Provider in the lock screen. It is free but has ads on the phone.
The site also has a program for Mac.


text:
Will updating an app with a sideloaded apk delete app data?
I have an application and I want to update it . I have downloaded latest version apk and I would like to know if i sideload the latest apk would I loose old application data .

No. If you don't uninstall the existing app, and you use adb install to install the new APK, the existing app data will be preserved.
Note that you can only do this if the package names match and the old and new APKs are signed with the same developer certificate:

If the package names don't match, then both versions will be installed side-by-side, and the new one won't have access to the old one's data. This might happen if the developer has slightly different variants for the app depending on the distribution channel (e.g. a variant for Google Play, and another for direct APK download).
If the signatures don't match, then installation will fail with an error message telling you that's what went wrong. The only way to fix that is to use an APK signed by the original developer.

+1 from me :) I took the freedom to highlight the important part so no reader will miss it. As for the signature part, there might be a work-around via ADB: pm uninstall -k com.package.name would uninstall the (original) app but leave its data on the device. Now, installing the new .apk might succeed even if the signature doesn't match (I didn't verify this; it might be the system remembers the "old" signature somewhere else – but as it no longer has the original .apk to compare against, it's worth a try).


text:
What application turn on wifi/GPS?
What application turn on wifi/GPS at specific moment (adb logcat  or what tools to use, what strings look for)?
What installed application able to turn on wifi/GPS? Or more generally how I can get list of all installed application permissions by adb, adb shell or another tools from Android phone/SDK?

Any app with the permission ACCESS_FINE_LOCATION can trigger GPS – unless you've explicitly switched off GPS location with your device settings. To scan for possible candidates, you can use a Permission checker. There's e.g. Permission explorer which allows you to browse installed apps by permissions, so you can limit your watch to relevant candidates.

Permission Explorer: categories, apps by permission; LBE (source: Google Play; click images for larger variants)
If your device is rooted, there are also other means. I'm e.g. using LBE to protect my privacy. Concerning location, I can restrict on a per-app base whether an app can always access it, never access it, or I want to be asked when it tries. The latter method should definitely bring up your culprit – and even in case you missed the event, there are always LBE's logs (accessible from inside the app) you can check.


text:
Turn on Bluetooth if WiFi is not connected to some network and turn off WiFi after that using Tasker
I want to turn on Bluetooth if WiFi is not connected to some network and turn off WiFi after that using Tasker. I've managed to do that, but I have a problem.
First, Bluetooth turned on even if I was turning WiFi off manually, which is not what I wanted. I wanted Bluetooth to turn once I'm out of the home. So I added the "if not WiFi ~ on" clause to the "Bluetooth turn on" action. And this is working alright.
But now I have another problem. If I'm using "turn off WiFi in sleep mode", then after entering the sleep mode, Bluetooth is turned on. I don't want that.
How can I do what I really need to, which is if I'm on the street, then turn on Bluetooth and turn off WiFi?

This would require using a "custom variable" – let's call it WANT_BT for a reference – and some additional profile:

on "monitor start", set an initial value for it. Which that is, depends on your usage: say you've got WiFi on usually, set it to 0 here, otherwise set it to 1 in this place. Experiment a little which is better fitting. Alternatively, make it depending on whether WiFi is on at this time. We'll interprete this as "Do we want BT to be turned on when WiFi switches off?" with "0" as "no" and "1" as "yes".
in your sleep-mode profile, set it to 0 in the task. Optionally set it to 1 in the exit task (Tasker should restore the "before-value" automatically)
in your BT task, check this variable additionally (i.e. "turn BT on if WiFi is off and %WANT_BT% is 1")

You might have to adjust some other profiles triggering WiFi, but that should basically cover it: BT should only be turned on when "wanted". Even if you manually switch off WiFi via a toggle widget (or the shortcuts), BT would only turn on in situations where you WANT_BT :)

How to create sleep mode profile? I can't find anything on that.

That depends on what you define as "sleep mode" (I've just picked up that term from your question). Closest approach I can think of ad-hoc is "Display off" with a delay ("Tasker → WAIT") of 30..60s.

Well... I think I'm talking about CPU sleep.

I thought about that. But if the CPU sleeps, so does Tasker. I don't know if that's possible. Sure, there's the %CPUFREQ variable, so you could play with that (and comparision like it being "lower than X"). But that's probably as close as you can get.

Note the "probably". It might well be I've overlooked something, e.g. the system broadcasting a "going-to-sleep" signal Tasker might be able to catch and react on. Unlikely, but not impossible. Consulting the Tasker UserGuide is always a good idea :)

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


text:
Android phone as a Samsung Smart TV remote
I have a verizon droid 2 global and a Samsung Blu ray player that does Smart TV. I got an app to control the Blu ray player for my phone which works fine for most things but I can't do volume control.
The remote that actually came with the Blu ray player required I Configure it with the TV using the right TV manufacturers code like you would a universal remote before the volume and channel buttons with work. Can I do that with my phone?
Does my phone hardware support IR- Which I believe is what that is right? The app itself does not offer this but perhaps there's another app I can Use to set up the TV connection and then the Smart TV app's volume will just work?
Here is the app: https://play.google.com/store/apps/details?id=com.adi.remote&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dsamsung+smart+tv+app&pcampaignid=APPU_gL2HU_HjKZTNsQSY44GQCQ
I'm pretty sure it's not the app becausei even using the remote that came with the Blu ray player I had to pair the remote to the TV like a universal remote using the TV manufacturers code - is there a way I can do the same thing with my phone and the TV?

Is it OK for you if the solution would require a PC involved? I'm doing a similar job via FHEM on my Linux PC and the andFHEM app on my Android dealing with my Onkyo receiver. FHEM has a module for different Samsung SmartTVs as well, which I didn't play that much with, but should do the same for you.

What is this app you're talking about? Is it an official Samsung app, or some third-party thing? Please [edit] your question and link to it on the Google Play Store.


text:
How to take a screenshot on Android 4.4.2 on a Nexus 4?
I read that you need to hold the volume down button and power button simultaneously to take a screenshot. I've tried this many times and I just can't get it to work. Most of the time the volume lowers, sometimes the screen locks.
Update: Sometimes it's very easy to take screenshots, but usually it's impossible. It's likely a hardware or software defect. Many times I'm also unable to unlock the screen on my Nexus 4. I'm confident it's not a timing issue.

Are you pressing both buttons at the same time

@sameer to the best of my abilities. Maybe there's a few milliseconds delay between pressing both buttons, but I try to press them at the same time.

I really hope stock Android gets a more convenient and discoverable way of taking screenshots. It shouldn't be so difficult for the user to perform such a simple common action. IMO this is a big UX blunder.

How many seconds are you holding the buttons for?

If the buttons don't work, you could always try using ADB from a computer. Root is not required but USB Debugging must be enabled. Then just run:
adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png
adb shell rm /sdcard/screen.png

These commands will produce a screenshot and save it in the sdcard directory (on some devices, including the Nexus line, have an emulated sdcard partition in the internal storage; so don't worry about this), pull to your computer, and then deletes it from your phone.

Unfortunately, one would think that this would be easier on stock Android. But that's why so many aftermarket versions or apps exist: to provide the missing functionality that people can cherrypick from and customize as they please. Below is an example of a simpler and nicer interface from which to take screenshots, which was added to stock 4.4.3 Android using GravityBox [KK] (root and Xposed required).

Aha. So to make a screenshot from the android device, I always need to have it connected to another computer.


text:
Can I set incoming calls to silent/vibrate, but still get an audible notification for texts?
Can I set incoming calls to silent/vibrate, but still get an audible notification for texts?
I'd like to be able to set my phone to silent for incoming calls, but still be able to hear incoming texts and other alerts. Is this possible?
Currently (still :( )running Android 4.0

Settings-> Sounds -> Phone ringtone -> None
Settings->Sounds-> Default Notification  Sound -> Any ringtone
Check vibrate on ring
or you can go to the messaging app and set the ringtone from the menu

Yes, you can, by either going to your sound settings setting each tone individually (i.e., ringtone, notification tone, and media tone) or on your home screen just press your volume rocker and from there also you can set the volume differently for all the three.


text:
Why is my Samsung Galaxy phone automatically moving read Yahoo email to the spam folder?
Why is my Samsung Galaxy phone automatically moving read Yahoo email to the spam folder? This usually happens when there is an attachment.

What email client are you using? The stock Samsung one, Yahoo's own, or something else? And which Samsung Galaxy phone do you have?

This is another post that I found on this.  Basically the Samsung phone has it's own spam settings.  http://www.slipstick.com/outlook/moves-email-junk-folder/ describes this, and then explains:

The solution:

Go into the E-Mail app (on the phone)
Press the Menu Key, select Settings, then General Settings
Select Spam addresses and remove any addresses that should not be in there, such as your corporate domain.

Welcome to the Android Enthusiasts! 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:
How to check the status of and enable HD Voice on a Galaxy S4?
I would like to know if HD Voice is enabled on my device. If it's not, I would like to enable it. There used to be a very simple way of doing this by dialing *#0011# and then following instructions given here. Unfortunately it appears that Samsung has patched this up now in the latest software version so it's no longer an option. My device is a Galaxy S4 Plus (GT-I9506) running Android 4.3.
So now that this is no longer an option, what options do I have to check the status of and to enable HD Voice on my device (in case it's disabled)?

Note: This device is not rooted. It runs stock Android from Samsung.


text:
How to install a ROM in a MTK phone via FLASHTOOL
I have already tried to install a ROM in a chinese phone with the MTK 6582 processor (1,3 GHz). And I have tried with others processors like MTK 6589. When I connect the phone at the PC, FLASHTOOL doesn`t detect the phone. What could be the reason? If there was another posibility to install a ROM in a chinese phone I would like to know it (I have tried with CWM). I use windows 8, but I would prefer to use Ubuntu.
I would like to know all the steps to install a ROM via FLASHTOOL, because i dont know the step in  which I failed.
The phone I used is Mlais MX28.

Is this an Android phone?  Make and model will help.

The model is Mlais Mx28, I have submitted the model at the question.

Which ROM are you trying to flash? Do you have CWM already installed on the phone? What's this FLASHTOOL utility you keep mentioning? Do you have USB drivers for the phone installed on your Windows machine?

This is the ROM I need to flash with flashtool link italic bold code . I have already flashed a ROM with CWM, but when I did it, the phone lost the touchscreen funcionality, that`s why I want do it via flashtool. The problem is when I connect the phone by USB and I press "download", nothing happen. I think I have already drivers installed, because I have downloaded mtk 6582 drivers, How could I know it?

Don't connect your phone yet, press Download first. Then connect your phone without a battery, then after a few seconds insert the battery. SPFT should see your phone. Switch USB ports if necessary

@Sergiohernandez Did your device already have a CWM recovery installed, or did you install it via the CWM app? Mine came with a pretty much useless Chinese recovery (besides being unreadable, it automatically exits within 15-20 seconds of entering recovery mode) and I cannot find a suitable recovery to be flashed via the CWM app (since the phone is not listed in the official CWM recoveries list).


text:
Application reloads from the launch activity when icon clicked in some devices?
Our application relaunches from the launch activity on some devices when the icon is clicked in the launcher, while on others it resumes its current state when clicked in launcher.  The application uniformly resumes its current state when resumed from the application history.
The behavior is different even in different phones that are the same running the same OS i.e. two Galaxy Note 2's both running 4.1.2.

So what's the question? Are you looking just for a reason behind this, or a solution/fix to prevent this non-uniform behavior?

My guess is that your application is being terminated on one device, while staying in memory on the other.  This is a common scenario since Android's own memory management will free up memory by terminating apps when necessary.

@filoxo A reason, and to know if I need to fix it.

@Chahk I doubt it.  Again I can always pull it back up from the history list.  If it was out of memory where I launch it from shouldn't have an impact.


text:
Android 4.4.2 - How to not dismiss notification while checking the detail
I recently upgraded my phone to Galaxy S5. This phone has 4.4.2. One big inconvenience I have encountered so far is the way the event and notification work - the system automatically dismisses a notification when I tap on the notification to check the detail. Usually, I can only prioritize what I am doing and the upcoming events after seeing the event detail. But by tapping on the notification, the notification is dismissed and will not show up later, should I decide to ignore the notification for now.
Previously on 4.0, unless I mark a notification and tap on a dismiss button, the notification stays. I would like to keep the old behavior if possible.

It's up to the app (developer) to set when the notification is dismissed (automatically when you touch it, or at some other time), so it sounds like the difference here isn't between the two Android versions, but between the calendar app you were using on your old phone, and the one on your new phone.
Because it's up to the app, it means you just need to find a calendar app where the event notifications behave the way you want (or where there's an option to control it).

I am using the calendar coming with both phones. I have tried digging through settings but couldn't find a way to change it.


text:
Can I use an unlocked T-Mobile Galaxy S5 on AT&T?
I made the unfortunate mistake of buying a Galaxy S5 through AT&T and was rewarded with a locked bootloader and no fun whatsoever for any reason ever.
As a remedy, I've considered purchasing a T-Mobile Galaxy S5 and somehow unlocking  it (how does that process work again?) for use on AT&T.
Two questions:

Will it be compatible with most (if not all) bands on AT&T? (ie: will I lack anything or will I be able to use the network just as well as with the AT&T S5?)
How do I unlock a device for use on a different carrier?

According to AT&T, these are the supported bands for the AT&T S5:

4G-LTE: 1, 2, 3, 4, 5, 7, and 17
4G: HSPA+ with enhanced backhaul
3G - UTMS: 840, 1900, 2100MHz
GSM/GPRS/EDGE: 850, 900, 1800, 1900MHz

According to T-Mobile, these are the supported bands for the T-Mobile S5:

LTE: 1, 2, 3, 4, 5, 7, 8, and 17
UMTS: Band 1 (2100), Band 2 (1900), Band 4 (1700/2100), Band 5 (850)
"Quad Band GSM" (what bands?)

It seems to be compatible.
See also AT&T Radio Frequencies and T-Mobile Radio Frequencies
Will it work?

Yes. T-mobile S5 is my daily driver. I have a T-mo SIM card in it, but every time I go on a road trip up north T-mo contracts their service out to AT&T and my S5 connects to AT&T's towers, telling me so in the notification pulldown bar and the lockscreen.

I've been using mine on AT&T for a year now.

Okay, here's what I can gather...

There should be no real loss of capability if you move to AT&T. While AT&T does not advertise LTE Band 8 capability on its S5s, Band 8 is largely used in South Korea, Japan, and Taiwan; unless you travel to those places, it shouldn't be a problem. I would, however, check AT&T's coverage map to be certain.
T-Mobile allows customers to unlock phones provided certain conditions are met. Click here for more information.

Also, "Quad Band GSM" on T-Mobile is 850/900/1800/1900 MHz, same as AT&T


text:
After rebooting phone, app shortcuts from sd go missing
I own a Samsung Galaxy S Advance (i9070) with stock android 4.1.2
There is not a lot of internal storage, so I tend to move all possible apps from phone to SD card. However, when I reboot the phone, the shortcuts from the homescreen dissapear and i have to put them back in place all over again. Very annoying.
How can I fix this behaviour?

So I have found a great solution. Using a micro SD-Card with 2 partitions. One normal fat32 and second ext2 so the app link2sd can use it as a fake mobile memory on the second ext2 partition. Now all the Jelly Bean internal apps run on the mobile itself and all the other apps I have installed on the second sd-card partition. Have more apps than ever and still over 150mb left on the mobile. GREAT. And the great side effect is, that all the shortcuts and widgets of other apps now work perfectly and dont disappear after reboot. YES!

It's worth noting that this work-around requires a rooted device.


text:
Change Gmail account to make in-app purchase?
What is the procedure to change email account which you want to use to make in-app purchase?
Take a look at the image.

Click to enlarge the image
I am using 2 Gmail accounts and only 1 has a credit card attached. The primary account has a credit card, the secondary does not. But my secondary account is always in the payment dialogue. The secondary account is also not the account used in Play Store app.
I found no way to change this email.

To do so, you must install the app from the same google account from which you want to make the in-app purchase. Follow these steps,

Uninstall the app on the phone.
Go to the Play Store site in your web browser and find the app. Make sure you're logged into the website with the right account!
Install the app through the Play Store by clicking on ‘Install’ button (and selecting your phone).
Wait a minute until the app is installed on your device.
Make the in-app purchase.

How do we do this as a developer compiling to the phone to test purchases?

This doesn't work in 2021

This seems to be the only solution left that works in September 2022.

I was having the same problem, and all the other answers didn't solve the problem. However I figure a solution to solve the problem. Please note this works specifically for games, but I have a theory near the end that it will then allow you install apps with the right account.
The problem lies with what account the downloaded and installed application is associated with. To check which account it is, go to the play store, switch to the account you expect it to be in and then go to the "My Apps & Games". Then pick the secondary tab "All". If the game doesn't appear in this list, then this is the reason you are having a problem. Keep switching accounts and you will eventually find which account it is associated with.
Now let's fix which account it is associated with:

First you need to uninstall the game.
Then you need to remove the game from the account that it is associated with.

You do this by doing the same steps as above for checking, then afterwards you need to press the cross ("x") button in the top-right corner to remove it.

Open (or download, install then open) the Google Play Games app.
Make sure you are logged into the correct account (on both Google Play Games and Google Play Store) you want the game to be associated with by using the hamburger menu on the top-left.
Find the game you want to play, and then click on the store button (normally the button would read open if it was already installed).
Install as normal.
Open the game and you'll see you can now make in-app purchases to the right account. :D

The steps above seem to force the play store to make sure it associates the game with the right account. I have a theory that after you have done the steps above, you can then search for a regular application and install it and it should be associated with the same account... and will then allow you to do in-app purchases too. I haven't tested this however, since I only needed it to work for games - so feel free to leave comments if my theory is correct.

Please upvote this answer. An apponce installed will linked with your account. Removing this link from google store library first before switching to another account.

Followed every step, twice: did not work.

Did any of the other solutions help you? How many Google accounts do you have added to your device? The sure fire way to fix it is to remove all other accounts, uninstall, reboot, reinstall, and check if in-app works. Then add the other accounts back in.

You need to switch to the proper account in the Play Store app (you may need to add the account under Settings -> Accounts -> Add account -> Google -> Existing, if you haven't done so already.)
Tap on the "hamburger" button in the upper-left corner of the Play Store app (the shopping icon,) then tap on the down arrow next to your account to expand it, and select your other account:

You should now be able to purchase apps using the proper account.

That's my point. My primary account with credit card is already activated in Play Store app. And in some apps primary account is pulled (most of times), while in some secondary. I've just changed account to secondary and opened my favourite game and tried purchasing, and in-app window still pulled primary account. Can you try it on your device? I am running S5 with KitKat.

@androdroo Have you by any chance installed the apps that pull up the "wrong" account while logged in under that account? If so, try uninstalling them and reinstalling under the proper account.

I have installed the app from APK from my sdcard. not via Play Store.

It's possible that because your secondary account was selected in the Play Store when you side-loaded the APK, it got associated with it. Uninstall the app, select the proper account in the Play Store, and side-load it again.

Doesn't work at all

If the app has already got associated with the wrong account, reinstalling it from the on-device Play store won't fix it.  You need to use the web Play store.

Super-annoyingly, yeah, it seems to only work when installed from the website.  wtf is this nonsense.

That's not 100% true as you can see in my answer it is possible without using the web Google Play store. Prerequisite) Check which account the app is associated with and switch to that account,  1) Uninstall the app, 2) Remove the app from the account history (using the all apps & games menu item), 3) Switch to the correct account, 4) Install the app you want.

I am assuming that you want to switch to your secondary email account in all your apps, which means removing your primary account permanently from the phone (though you can add it later again). In KitKat, if you want to switch to your secondary email, in all of your apps, you need to remove the primary email account from phone.
Go to Settings -> Accounts -> (your primary account)
Now tap on options button, and select remove account.
Reboot the phone, so that the primary account gets removed from all your accounts.
If you don't want to remove your primary account, and you want to switch to your secondary account only in Google play app, see the other answers.

I actually tried many of these suggestions and none of them worked. I have a business account linked to my play store account so it was causing a lot of issues. If none of these suggestions work for you the only thing that fixed it for me was going into my Gmail app and removing that Gmail email address that I didn't want it defaulting to from my list of emails. I can always add the email back but it immediately solved the issue. Hope this helps someone who was having the same issues as me.

Go to Settings>Accounts&Sync>(e-mail)>Remove_Account.
This is if you do not want to re-install the game.
You can just re-add your e-mail account later.!

authors: Tony Ğèňàh Kìñğ


text:
Is it possible to Chromecast a Google+ video from Android?
I'm trying to Chromecast a video uploaded to Google+, using my Android phone (Sony Xperia Z). I thought this would be pretty straightforward, as video is already on the net, and it seems the Chromecast has a pretty simple way to just be forwarded an URL and playing it. However, no Chromecast symbol appears when clicking the video in the Google+ app. Anyone knows if this functionality exists or not in the Google+ app?

This functionality magically appeared in the google plus app on android last week, so now problem is solved. The Chromecast icon now appears when on the net with a chromecast device.

Chromecast support does not currently exist in Google plus.
If you would like to cast the video, try going to G+ in the chrome beta and opening the video in full screen. The chrome beta has support for casting some videos from the browser.


text:
Disable showing password input characters with a physical keyboard?
I'm using a Google Nexus 7 2013 LTE running CyanogenMod 11.0M6.
When I use a physical bluetooth keyboard to type in password input fields, Android still displays one character at a time, which is a bit of a security concern.
Is there a way to disable this either globally (ie: even for soft keyboards) or specifically for external keyboards so that password characters are never shown as they are input?

In Android Settings, go to Security and uncheck "Make Passwords Visible." This will cause all password characters to be obfuscated, even as you type. It is a global option, so there is no way to set it for just one input method.

@NaftuliTzviKay glad to help. It is always nice when it is a simple solution.


text:
Samsung Galaxy S3 Stuck at Samsung Logo, possible virus?
My Mom has a Samsung Galaxy S3 from 2 years ago, it now gets stuck at "Samsung Galaxy SIII GT-I9300" screen and can't boot properly. It can't enter Recovery Mode either but can enter Odin Mode.
Also tried to remove the battery, plug the charger cable and insert the battery but it gets stuck at "Loading Battery", showing a frozen gray battery in the center.
When tried to get it repaired, the repair specialist said it was a virus and it would be very expensive to get it repaired (warranty doesn't cover it).
Searching online, I found someone with the same problem, and answers to that post instructed to enter Odin Mode, connect the Phone via USB to a machine with Samsung Kies installed and let it download a new Firmware.
I should do it? I'm feeling a little reluctant to do it since the repair specialist mentioned a virus (don't know if a phone-oriented virus can affect a PC)
Thanks for reading,
LeoAM.

Odin mode is run in a very very early stage of phone boot - that's why you don't see the phone logo when entering Odin mode. The virus (if it really is the problem) will not have a chance to execute its malicious code because the bootloader isn't even running in Odin mode.
So yes, you can safely Kies your way back to working condition, but sometimes you should use the specially created Odin program (Google it, I can't give links right now as I'm on a slow connection) to flash the firmware by yourself if Kies doesn't feel like working.
Just note that either way, you'll have to download 1+ GB of firmware.

Ok Thank you :) Found a link for the v3.04 for the SIII: link


text:
Disabling MTP/PTP/all USB stuff except charging
Is there a way to disable all USB functionality except for charging? I don't really use MTP or PTP and would like to disable it if possible.

Go to Settings → Storage and tap on the overflow menu in the top right (on a device with a physical menu key, you may need to press that instead). This should bring up a menu item labeled "USB Computer Connection":

Tap on that, and it will give you a list with possible connection modes. Uncheck everything that you don't intend to use. On my N5/CM11 there are only two options on this page: MTP and PTP. Unchecking both causes the phone to simply charge when plugged into a PC. I have seen others that have an explicit "Charge Only" option, but I believe that is nonstandard.

Note also that PTP must be ticked for tethering to be offered, either via USB or Bluetooth.

@andybjackson That has not been my experience at all. I never use PTP, but I certainly use USB tethering from time to time. Also seems odd that tethering over Bluetooth (a wireless protocol) would somehow depend on PTP.

If I untick both, ADB stops working as well (LG P880 running CM11/Android 4.4). If one of them is ticked, I always get two popups on my PC when connecting the cable (asking to mount the MTP storage). Drives me crazy. Whish there were an explicit "charge only" as it was with "older versions".

@Izzy They actually ended up adding "charge only" to AOSP in 6.0, and made it the default: http://www.androidcentral.com/inside-marshmallow-usb-connection-options

I'd be happy with that default actually (if it works, see: “adb devices” gives “no permission” when on charge-only) – but I agree the user should be able to chose what fits him/her best.

Clicking that just say "Usb is now disconnected". Clicking it again says the same thing.

On a Samsung Galaxy S5, this option is located at Settings → System → Developer options → Debugging → Networking → USB configuration.  Change it from "MTP (Media Transfer Protocol)" to "Charging".

The most device-compatible way to disable everything is to run this command at startup or set this in your build.prop:
setprop persist.sys.usb.config none

which is equivalent to charge-only on all Android devices.
That also disables adb. If you use adb regularly, then:
setprop persist.sys.usb.config adb

will allow adb when developer options are turned on/checked. If you don't use ADB often, I would not recommend it, because setting adb causes my S5 to still recognize in device manager, even when it is locked.
To restore original functionality,
setprop persist.sys.usb.config mtp,ptp,adb

allows all USB protocols.
Hope this helps anyone Googling for an answer.

Have you verified that these commands would work without root access?

People who have custom recovery can apply a changed build.prop without root. Those who have locked bootloaders & no recovery will need root permissions.

On Android 5.1.1 (CyanogenOS 12 on a Wileyfox Swift), using setprop persist.sys.usb.config adb lets adb devices show ????????????    no permissions. Played with all combinations – no way to get "charge only + adb". Must be "x,adb" (with x=mtp or ptp) to work at all. To restore, in terminal I needed root. The notification menu just grayed out when I tried re-enabling MTP from there.

even if it's not in startup it works, and it even persists between reboots. (becuase of the persist.xxx.yyy.zzz thanks

click 5 times  on SETTINGS>ABOUT PHONE>MODEL NUBMER
then DEVELOPER OPTIONS will be added in main settings (in bottom). Enter there and choose USB SETTINGS> CHARGING|MTP.

(Source)


text:
Can not log in to the Pebble account
I just received my Pebble Steel, and installed the app on my rooted Nexus 4.
However after I start the app, and click on "I have a pebble account", I only get a black screen with small blue letters saying:
https://auth.getpebble.com/oauth/authorize?client_id=xxxxx...
Nothing happens if I click it.
What can I do? I removed the app, restarted the phone and installed it again, but this did not help.
The phone is rooted, SuperSU is installed, but the pebble app does not ask for any privileges.

Contact the app maker?

I tried 2 days ago. No response yet, so I hoped someone else in the community had the same problem, and probably a solution.


text:
Deleteing photos from device but still have them in the backup (default Google+)
I've been looking all over for a proper explanation of how to delete photos from the device (nexus 5) to reclaim some space, while being sure that the pictures are still in the Google+ backup.
Unfortunatley i have not found one, other than "wild claims" it works somehow, while other say it does not.
Plus deleting photos via the Pictures app actually warns you (now?) that it will delete the backed up copies too. Do i have to delete them in the Gallery app?
I did delete some photos recently, and i was quite sure they ware still backed up (still showed up on the Google+ website) but looking now i see they are in the trash in the device.
Is there really no way to be able to know for sure if the pictures are backed up savely while i can delete them from the device?
Alternatively i'm also open for alternative solutions to this problem, or i just go back to the "good old copy and paste when plugging the phone".

With the latest update to Google+ something changed in the Photos app. To ensure you are deleting the right pictures take the following steps:
Go into the Photos app
Click on the top left corner for the side menu
Scroll down to Folders and click on it
You will be presented with the different folders on your phone. Delete everything from there and check your storage again.

"Folders" is called "Device" on my phone, but the rest still seems to apply.

I'm not a big "Cloud fan" (au contraire, I'm avoiding it wherever possible), so my suggested approach is a little different – though it should work with the cloud as well:
For a comparable task, I'm using FolderSync. It supports a load of protocols (FTP, FTPS, SFTP, WebDAV, Samba/Windows Shares) and even Cloud services (OneDrive, Copy.com, Dropbox, Dump Truck, SugarSync, Bitcasa, Ubuntu One, Box.net, LiveDrive, HiDrive, Google Docs, NetDocuments, Amazon S3). You can define "folder pairs", i.e. one local folder and one corresponding remote folder) to be synchronized. You can have that synchronisation done manually, automatically based on a schedule, or have it triggered by tasker.
Now for our "special case": you can define how the synchronisation shall be done:

local <-> remote: changes are synchronized both ways
local -> remote: only changes on your device are transfered to the remote, not the other way around
local <- remote: the opposite direction

Folder Pairs in FolderSync (source: Google Play; click image for larger variant)
Plus you can specify what shall be done when a file no longer exists "on the other side", e.g. leave it untouched in your case.
So with a one-way sync "local → remote" and "keep option", you should have a solution to your problem. Only thing missing might be the "immediate backup" whenever a picture has been taken – but if a "delay" seems "impractical", you still can approach that via Tasker.

Ok I think I cracked the problem. To perform one way backups from your android to the cloud:

Go to settings->accounts
Click on your gmail address(google account)
Un-click everything you do not want synced (2 way- to cloud and
back).
Then Open the Photos app
Touch the menu button or icon  and select Settings.
Touch Auto Backup and switch the toggle On.

There is a feature for backing up all photos now also.
Now you can delete photos from your phone after they are backed up, and they will not come back. The deleted photos will remain on google+.
This is working on my Samsung 5

This seemed to work for me, when combined with disabling Google photos sync described in the answer above. Thanks!


text:
Print screen in Samsung Galaxy Ace Duos
How to Take Print Screen in Samsung Galaxy ace Duos? Can please some body help me.

The standard Android screenshot method is Power Button + Home Button

Ok Where can i see that Image?

Look at your Gallery,there will be a folder named Screeshots

after Pressing Power Button + Home Button i checked but it doesn't work

It took me a while to get the hang of it properly. Press and hold power button then press home button (On my HTC I need to hold home for approx 0.5 seconds for it to work). Also don't hold power too long before pressing home else you will just get the power menu appear.

what button first i should press?

Power first, then Home


text:
Are those log files in /storage/sdcard0/log necessary?
On my SGS2 (GT-I9100, Android 4.1.2), 1.2GB of log files piled up in the folder
/storage/sdcard0/log

. I have almost no space left on the internal SD card and a lot of the space is used by those log files, so I want to get rid of them once and for all.
To give you an idea what's there, here are two examples of file names stored there:
dmesg_cp_boot_201405280100_24.log
logcat_cp_boot_radio_20140219173_53.log

Is it normal that those logfiles get saved there? I can simply delete them, but then new ones are written there anyways. Can I prevent that?
UPDATE:
The logfiles seem to have started appearing about a year ago. The file with the oldest date in the file name is logcat_cp_boot_radio_201304060741_36.log.
Most of the files have names of the form logcat_cp_boot_radio_*.log, but some are also called dmesg_cp_boot_*.log or dmesg_cp_boot_done_*.log, the latter two being completely empty files (0 bytes length).

Is your phone rooted?

@Chahk, I had rooted it once, but afaik I've unrooted it afterwards. I've done this a long time ago (2 years?), so I don't remember exactly. Can I do something to check this so I can give you a definitive answer?

Try opening up Terminal Emulator and issuing su command.  If that succeeds or pops up a dialogue asking for permission - you are rooted.  Regardless, try the following: open the dialer and enter *#9900#. This should open the SysDump utility. Now tap on the Delete dumpstate/logcat button.

@Chahk, $ su => /system/bin/sh: su: not found

Not rooted then. The SysDump should work regardless.

Usually the presence of logcat_cp_boot_radio*.log files point to an issue with the phone's modem.  It's possible that when you first rooted the device you flashed a ROM which contained a modem firmware that was either old, or slightly incompatible with your current carrier.  Besides amassing large amounts of these log files, you would see frequent disconnects and reconnects from cell and data services when the radio crashes and restarts.
While you can always keep deleting the log files every now and then to free up the memory, the larger issue will persist. In order to resolve the root cause of the RIL crash, you will need to install the proper radio firmware.  These differ based on geographic location, and sometimes on the carrier.
The first step is to find the modem version that is currently installed on your phone.  You can find this information in Settings -> About phone, under the "Baseband version." It should start with "i19100", and then followed by some letters and numbers.  The letters represent a geographic location:

CE---> Belgium, Luxembourg, Netherlands
  DC---> Thailand
  DD---> India
  DX---> Indonesia, Malaysia, Philippines, Singapore, Vietnam
  DZ---> Malaysia, Singapore
  JA---> South Africa
  JC---> Algeria, Morocco, Nigeria, South Africa, Tunisia
  JP---> Arabic, Algeria, Egypt, Iran, Iraq, Kuwait, Morocco, Nigeria,
  Oman, Pakistan, Saudi Arabia, Syria
  JV---> Tunisia, Turkey
  UG---> North America
  UH---> Latin America, The Caribbean
  XE---> Bulgaria, Estonia, Kazakhstan, Latvia, Lithuania, Russia,
  Ukraine
  XX---> Austria, Belgium, France, Germany, Hungary, United Kingdom
  XW---> Austria, Belgium, France, Germany, Hungary, Italy, Nordic,
  Spain, United Kingdom
  ZC---> China, Hong Kong
  ZH---> Hong Kong
  ZS---> China, Hong Kong
  ZT---> Taiwan

And the numbers represent the version, incremented alphabetically.  You should find the latest modem version based on the country you are in, and then flash it on your phone using either Odin, or Recovery (must be a custom recovery like ClockworkMod or TWRP, for example.)
A quick Google search yielded this site which contains ClockworkMod-formatted modems for the Galaxy S2 I9100 variant for various countries.  I'm not sure how recent it is, but this should start you off in the right direction.


text:
Physical-keyboard driven app launcher?
On most operating systems, there's a keyboard shortcut to trigger a keyboard-driven app-launcher.
For example:

On Windows: Super and start typing.
On OSX: Super+Space and start typing.
Linux: it varies, but same as OSX on Elementary OS.

Is there an equivalent launcher available for Android where I can push a key combo and start typing to find the app I'd like to launch?

On the stock Google launcher, if you simply start typing, it'll search for the thing you typed for, both online and in local apps. You can cycle through the matches with the arrow keys, and launch one with Enter.

That's awesome, but is there something that will do this no matter what app I'm in? That's kind of what I'm looking for. Alt+Tab is pretty cool, but only useful for the last 6 apps.

Pressing the home key goes to the launcher from any app.

I found that "alt-d" from the home screen when to the application launcher (though I needed to press some keys to get to the search box).
This was documented in the key-list that you could pop up with windows-/.


text:
Multitasking solutions to (not-rooted) Android OS and Apps out there?
For here i mean multitasking visually, which means the ability to see more than one Apps at a time.
Other than Samsung's Multi Window, Popup Play (or by the Stick It! app), Pen Window, or the LG's QSlide, Slide Aside, and Dual Window, are there any other multitasking solutions else from the major vendors out there?
I would only consider reliable solutions, which means the original untwisted rom (i know original doesn't necessarily means reliable, but as least i got warranty), or by certain android apps which requires no-rooting, or any other solutions with clear lines of instructions or codes.

If you don't want to display all your existing apps next to each other, there's that "floating" API used by several specific apps (I'm sure not all of the ~4,500 apps in that list are matches, but you'll get the idea). For one true example, take a look at Floating Browser.

Just FYI. I have bought S5 and I am happy with its Multi-Window function. Hope I will have chance to write a few apps to make use of this feature.


text:
Show command output on lockscreen
This started out with me wanting a calendar on the lockscreen.  Not a list of events, mind you, but a calendar.  You know, the kind that looks like the periodic table of the elements but with day numbers in the boxes and day-of-week down the columns.  Currently I open up the terminal and type cal to get this.
Then I thought "shouldn't I just be able to put cal on the lockscreen?"  More generally, I could make a shell script that would print the calendar and maybe some other nice stuff that suits some whim of the moment, and have that show on the lock screen.
Does such an app exist already?  I am using the lockscreen that comes with CyanogenMod 11, if that matters.

Something like Month Calendar Widget? It doesn't have the other functionality that you'd like (ie. Adding custom stuff) but the core calendar is there.

@filoxo: thanks, that app looks nice and certainly suits the original problem.  Still interested in answers to the full question though.


text:
How can I block all incoming connections to my phone?
Ok, so maybe I'm just a lil paranoid lately, but I'm trying to block any - and ALL - connections to my phone. PERIOD. I have the paid version of Android Firewall.
If I select Black list from the drop down box and check WiFi, Data, Roam, VPN, LAN, & Input Chain for (Any Application) will that accomplish the goal I'm getting at?

Sure you didn't confuse the Android firewall concept with the "classical one"? On Android, firewall apps rather care for outgoing connections, as incoming connections usually are already "blocked" by the carriers. Even IMAP IDLE requires the client to establish the connection first, and I'm pretty sure the same is valid for C2DM. Though, as a side-effect it might work, depending on how the firewall app implements its firewalling.

I don't know how Android Firewall app worked, but it's simple to achieve with iptables; thanks to Linux kernel. Since Android uses default policy ACCEPT, drop any unwanted packets:
~# iptables -I INPUT ! -i lo -m conntrack ! --ctstate ESTABLISHED,RELATED -j DROP
~# iptables -I FORWARD -j DROP

This will also block incoming connections from tethered devices on hotspot network. You can exclude those, see this: Is There A Mobile Hotspot App With A Firewall to Block Incoming Connections?

Also you can put your phone in airplane mode. you will still be able to access wifi, but all other connections will be terminated. Just leave wifi off and your good to go.

uhhhm, no... Airplane mode kills wifi too.  And I'm not sure how "just leaving wifi off" makes you "good to go". (But maybe he knows that, and that's why he hasn't returned since answering this.)

All Android Firewall apps BLOCK ALL Outgoing data automatically when the app is enabled as a default action. The Firewall DOES NOT disrupt or block any incoming data into your device. ONLY outgoing data are Blocked.  Basically, no data leaves your device when the Firewall is enabled; the Firewall app then informs you what app tried to connect outbound. It is then up to you if you will ALLOW such a connection the next time,  OR choose to RESET the connection then ALLOW. OR BLOCK the outbound data connection wherein the DATA sent by the app will be dropped by the VPN sinkhole (for NoRoot Firewall apps), thus fooling the app who attempted for an outbound connection that the data was "sent".
You can use Airplane Mode to Block All IN/OUT connections, and isolate your device from all radio traffic.  Though each type of phone or device, brand, version of Android,  have different ways to achieve True Airplane Mode action.  You can enable Airplane Mode, take out batteries (believe you me) usually gives you true isolation.  But when the battery is integrated on the device then it's a bit tricky; You should then first go to SETTINGS/WIRELESS NETWORKS/SIM CARDS and Deactivate the SIM Card or Cards if there are two; THEN proceed to Enable Airplane Mode for better isolation.

*you can try to scan your area with your device using another android device by using Bluetooth Firewall app and check. In my case,  my Lenovo Tab3 730 was picked up by an Android phone running BTFW app even when Airplane Mode was Enabled !!!
So there has to be a TRUE Airplane Mode state for each and every Android device.

You can download compatible apps that will lockdown WiFi,  and Bluetooth to secure any attempt by the Android device to try to connect by other ways because in the Android system, when you disable Mobile Data Connection,  WiFi /Bluetooth will AutoStart.

Such apps include Device Control by Expert Systems Co.  and D-Vasive app by D-Vasive Inc.  In my opinion,  these apps WITH the Airplane Mode coupled as above,  might be overkill, but I presented the answer,  hopefully on the level of your concern reading your question,  if not the size of the TinFoilHats we are wearing?
Sincerely,


text:
Don't ask before terminating mobile data connection
My Samsung mobile phone (Android 4.x, released this year) keeps asking me every time if I really want to terminate my mobile data connection. No checkbox to remember the setting. That's annoying: More often than not I forget to confirm, and I'm on a data plan that charges per ping.
EDIT: The switch I'm using opens up when I swipe down from the very top of the display. I've seen this layout on my phone and on two other Samsung tablets, so I assume it's pretty standard.
Is there any setting to stop these messages once and forever? My question is kind of the opposite of https://android.stackexchange.com/q/67517/13266 .

I don't know if there's any setting for that (Samsung has certainly more than one device, and I don't know them all with all their specifics). But there are other means/approaches to this:

you might try some of the toggle switches and widgets available on Google Play
you could check for some automation tool like tasker, which have the feature of toggling mobile data. At least Tasker permits to create widgets on the homescreen bound to specific tasks, so you could create a toggle-widget yourself

Both approaches should work independent of the device you're going to use them on.

Thanks. I'd rather avoid installing an app just for that. I've described the switch I'm using in my edit above, does that ring a bell?

That's pretty much standard (at least since Android 4.x), yes. But on none of my devices I was ever asked for a confirmation there. Admitted, I'm not using any Samsung phone…


text:
Force Calendar App to stay on current day and switch dates when the day is over
I'm using a calendar application at work to display the Conference Room status. It works just fine on the "today" view but it will not switch days. So if today is the 30th, tomorrow the tablet will still display the 30th. It won't switch to the 31st.
I did notice that the app switches days when the volume button is pushed.
So my end goal is to either schedule a volume up/down button push at 1am every day or a "today" screen tap.
Unless any of you know of any calendar app that will automatically keep up with the current date. I've downloaded and used those other conference room calendar display apps but my boss prefers the view of a calendar in day mode.
Calendar App:
https://play.google.com/store/apps/details?id=org.withouthat.acalendar
Device is always on, never sleeps or locks. Screen is always on that app on "today".
The tablets we bought:
https://www.groupon.com/deals/gg-asus-memo-pad-10-16gb-tablet-3
ASUS MeMO Pad 10" Tablet with a 1.6GHz Quad-Core Processor (ME102A-A1-GR).

Thanks for the suggestions!
After I posted this I started changing my search terms. Macro brought up my salvation.
Using MacroDroid I created one macro that hit the home button, another macro that killed the calendar app running in the background and another macro that started the calendar app.
I set the calendar app to open to Day view by default.
Without rooting the devices I couldn't just kill the application and restart it.
Turning off the display also didn't do it.
Along with these 3 macros I added one to turn off the display M-F @ 7pm and one to turn it on M-F @ 6am. So for my needs the free MacroDroid (comes with 5 free macros) worked perfectly!

Triggering the volume is one way it updates you've observed. I'm sure there are more. For example, turning the display off and on should also do. And while to my knowledge no app can (physically) trigger any button, there are some that can switch the display on and off.
One of those is tasker, which is only available as paid app (though a 7-day-trial can be downloaded at its homepage). As a long-time Tasker user, I feel it's worth every cent as it's the most flexible automation app there is for Android – but YMMV, so there are several other candidates you might wish to check. Relevant for your issue are time-based apps, such as Timeriffic or Llama.
Now for the idea: Schedule a task for midnight (or shortly thereafter), have the app turn off the display, wait 1..5 seconds, turn it on again. This should cause a "page refresh" – with the side-effect of your calendar display being updated. Experiment a little with the start time (set it e.g. to 0:05 to be sure it's the "next day" when it executes) and the "wait time" (e.g. start with 15s to see whether it works, and then reduce it slowly to figure how short you can keep it).

I only have a couple of suggestions.

Purchase Tasker to automate a task that resets your screen/sound on a schedule. Disclaimer: I've never actually used that app, but I've heard good things about it.
Email the developer of that calendar and ask for that feature (his email address is on Google Play). And also leave a review on Google Play asking for that feature.
Look for Android Calendar Applications/Widgets that are compatible with Google TV. In other words, if you find an application that was explicitly tested to be compatible with Google TV (which is Android-based also), then it is more likely the developer took the time took to test his application on a screen that never locks and that is always turned on from day to day.


text:
Samsung Galaxy Tab GT-P1000 USB Cable Problems ; Charging Problems
Galaxy Tab is an old tablet.Yesterday,I can "resurrect" it from the dead,and I buy a fake USB cable to charge and exchange data.
Since I have a worser phone than the Galaxy Tab,I really want to play my games there (Galaxy Tab.)
However,it requires us to have a minimum of 2.3 (Gingerbread) and above to play the game.
Somebody suggested me root the device and use the latest 4.4 OS,since they say it can improve the performance of the tab.
I tried to root the device,first using Z4Root app (APK).It doesn't works.(Took 3 hour and no result,tried everything.)
Then,I tried to connect it to a PC.I've downloaded the Kies but it doesn't work.I tried installing the USB drivers,but still,my PC (and Kies) can't detect it.
And also,when I tried charging it,sometimes the tab recognize the tablet as connecting to a pc,not charging.Alhough so,sometimes it works,so yeah.
You guys have any solution?

The fact that your Tab is not being recognized by the PC is telling me that there could be an issue with the USB drivers.  Try uninstalling all Samsung USB drivers (including the Kies utility) and then re-installing Kies from here.
Further, if you want to only root the tab, follow the steps outlined in this thread:

Prerequisites:
1) Kies Software downloaded from HERE and installed, and Tab connected even once
  2) USB debugging enabled
  3) SuperOnceClick downloaded from HERE
Process:
  1) Connect your galaxy tab with debugging mode disabled and sync with Kies even once
  2) Disconnect it and enable debugging mode from Settings -> Applications -> Development -> USB Debugging
  3) Connect the tab again to PC and click on home button so that Tab comes out of Kies connection
  4) Launch SuperOneClick.exe
  5) Click on root and wait for 5-10 Mins

If you want to install custom ROMs like CyanogenMod for example, you will need to flash a custom recovery first by following the steps in this post:

Download Odin from here and extract it to a folder on your desktop.
Download the custom recovery from here
Launch Odin3 v1.7.exe to open the Odin application.
On Odin, click on PDA.  Navigate to the location where you have downloaded CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar to from above and select it.
This is the most important instruction ever and we really can’t stress how important this is.  Make sure that the Re-Partition tickbox is unchecked!!  Ticking this is a surefire way to brick your device.
Power down your P1000.
With the device powered down, press and hold the Volume Down + Power buttons until the device boots into Download Mode.
Connect the device to your Windows PC using a microUSB cable.  Odin should now recognize your device and the ID:COM should light up yellow.
Click on Start.  Again, make sure that Re-Partition is unchecked!!
Download your favorite ROM (e.g. CyanogenMod).
Copy the downloaded ROM zip file to the SD card on your device and disconnect the device from your PC.
Boot into ClockworkMod Recovery.  To do this, with the device powered down, press and hold Volume Up + Power until it boots into Recovery.
Select "Install zip from SD card".  Navigate to the location where you downloaded the ROM zip, select it and then select "Install".
Optionally, download and flash the GApps package compatible with your ROM.