text:
Make Android to handle a hardware keypad properly
I got the following phone for Christmass: GuoPhone N2 (also sold under the names Swell N2, Landrover N2, Cube1 T1C, ...). It has a build-in hardware keypad and runs Android 6.0. However, writing messages is quite cumbersome since there is no special software keyboard (like LG keyboard for LG Wine Smart) which would handle the keypad properly. I would like to be able to do the following:

Write "." by pressing 1 instead of searching through the list of characters.
Write space by pressing 0 shortly instead of holding 0.
Write numbers 0,1,...,9 by holding the corresponding buttons.
Switch input modes (capitals, numbers) by pressing # shortly.

Can I achieve this by changing the configuration files (e.g. /etc/system/usr/keylayout, /etc/system/usr/keychars) or do I need a special keyboard app? If there is no available solution of my problem I will consider downloading the source code of the Android keyboard from here and trying to modify it. However, it would be a lot of work for me as I don't have any experience with programming for Android. Is here anybody who finds this task easy and could give me any instructions?
Thank you very much for any help.
P.S.: I tried Swift Keyboard, Google Keyboard, etc... but they cannot even handle typing letters by multiple clicks so I can write just numbers with them. Only the preinstalled Android keyboard can handle multiple clicks.

Solved by installing Traditional T9 Keypad IME.


text:
Android-adapted BusyBox binary for rooted phone
I would like to place a place BusyBox on my rooted Android phone, and I would like to have a version that has "sh" as an alias for "ash" so that I can replace the standard /system/bin/sh with a symlink to busybox. Also, I'd be nice to have it always read in /system/etc/profile.
Of course, I could just compile BusyBox myself, but I feel there should be a "default" BusyBox binary for Android that does all that. Is there?

There is busybox installer program in Market. Also good rooting programs may install busybox themselves.
You can install it manually into /system/xdev/ (with necessary symbolic links)
Here is one I have:
/system/xbin # md5sum busybox
26d429e0541c42684225a880dc331053  busybox
/system/xbin # ./busybox
BusyBox v1.19.0 (2011-08-14 23:46:58 CDT) multi-call binary.
Copyright (C) 1998-2011 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.

Usage: busybox [function] [arguments]...
   or: busybox --list[-full]
   or: function [arguments]...

    BusyBox is a multi-call binary that combines many common Unix
    utilities into a single executable.  Most people will create a
    link to busybox for each function they wish to use and BusyBox
    will act like whatever it was invoked as.

Currently defined functions:
    [, [[, acpid, add-shell, addgroup, adduser, adjtimex, arp, arping, ash, awk, base64, basename, beep, blkid,
    blockdev, bootchartd, brctl, bunzip2, bzcat, bzip2, cal, cat, catv, chat, chattr, chgrp, chmod, chown, chpasswd,
    chpst, chroot, chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd,
    deallocvt, delgroup, deluser, depmod, devmem, df, dhcprelay, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix,
    du, dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake, expand, expr, fakeidentd,
    false, fbset, fbsplash, fdflush, fdformat, fdisk, fgconsole, fgrep, find, findfs, flock, fold, free, freeramdisk,
    fsck, fsck.minix, fsync, ftpd, ftpget, ftpput, fuser, getopt, getty, grep, groups, gunzip, gzip, halt, hd, hdparm,
    head, hexdump, hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifenslave, ifplugd, ifup, inetd, init,
    insmod, install, ionice, iostat, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kbd_mode, kill,
    killall, killall5, klogd, last, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname,
    logread, losetup, lpd, lpq, lpr, ls, lsattr, lsmod, lspci, lsusb, lzcat, lzma, lzop, lzopcat, makedevs, makemime,
    man, md5sum, mdev, mesg, microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.minix, mkfs.vfat, mknod,
    mkpasswd, mkswap, mktemp, modinfo, modprobe, more, mount, mountpoint, mpstat, mt, mv, nameif, nbd-client, nc,
    netstat, nice, nmeter, nohup, nslookup, ntpd, od, openvt, passwd, patch, pgrep, pidof, ping, ping6, pipe_progress,
    pivot_root, pkill, pmap, popmaildir, poweroff, powertop, printenv, printf, ps, pscan, pstree, pwd, pwdx,
    raidautorun, rdate, rdev, readahead, readlink, readprofile, realpath, reboot, reformime, remove-shell, renice,
    reset, resize, rev, rm, rmdir, rmmod, route, rpm, rpm2cpio, rtcwake, run-parts, runlevel, runsv, runsvdir, rx,
    script, scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont, setkeycodes, setlogcons, setserial, setsid,
    setuidgid, sh, sha1sum, sha256sum, sha512sum, showkey, slattach, sleep, smemcap, softlimit, sort, split,
    start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv, svlogd, swapoff, swapon, switch_root, sync, sysctl,
    syslogd, tac, tail, tar, tcpsvd, tee, telnet, telnetd, test, tftp, tftpd, time, timeout, top, touch, tr, traceroute,
    traceroute6, true, tty, ttysize, tunctl, ubiattach, ubidetach, ubimkvol, ubirmvol, ubirsvol, ubiupdatevol, udhcpc,
    udhcpd, udpsvd, umount, uname, unexpand, uniq, unix2dos, unlzma, unlzop, unxz, unzip, uptime, users, usleep,
    uudecode, uuencode, vconfig, vi, vlock, volname, wall, watch, watchdog, wc, wget, which, who, whoami, whois, xargs,
    xz, xzcat, yes, zcat, zcip
/system/xbin # ls -l | grep busybox | wc -l
348

source: Stack Exchange

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

sort: votes


text:
Phone call quality suddenly choppy, even though signal is good
I have a Sprint HTC EVO 4G running the Fresh Gingerbread ROM. The call quality in my apartment has always been great. However, this week the call quality has been extremely choppy to the point of not being usable, no matter how I hold it. I haven't really done anything to the phone or my apartment, even though all its signal bars except one are full.
If I remember correctly I still have good call quality at work, so I don't think its solely a phone issue...
Any idea what's going on?

Appears to be a Sprint issue - call quality's good again today. The lesson here is that there's always more to call quality than cell signal bars.

Btw: same applies to network (mobile data) quality. I find myself often with "full bars" but no data (in a specific area)...

I am glad to hear it has been corrected.
Let me add an answer as to why that can happen:  If they install a new tower somewhere, there is always somje adjustment made in the master control system.  For instance, if you are right in the middle between two towers and it detects nearly the same signal level from both towers, it might switch you back and forth with slight changes of your detected signal.
It can slightly change by simply moving the phone to the other ear, or walking around, etc..
Sprint probably fixed it by setting the system to have longer hold times on your initial tower, and perhaps a tweak to their signal-comparison algorithm.
It is those comparison of signals that allow you to be mobile and switch from tower to tower as you move.  Usually it happens so quickly you won't notice.

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


text:
Why does the STORE button on Amazon Kindle go to the website instead of the in app store?
I have the Android Amazon Kindle app installed on both my Galaxy S phone and my Archos 10" tablet.
I keep the software updated so I'm sure the latest version is installed.
I am logged in with my account on both devices.
When I press the STORE button I go to the inprog Kindle store. But when I press the STORE button on the Archos it starts the web browser in stead.
Now, I have bought ebooks before from both devices and I am sure that previously, the Archos also displayed the inprog store. It's much easier to use the inprog store display than the full Amazon web site version.
Does anyone now what could have changed this behavior ? I looked for some setting but found none.

Was this problem present when you firstly used your device????

I have this issue too, I think it has to do with having kindle app installed on a device with several users. I don't know how to work around it.

I have a rooted Lenovo A1 that is experiencing the same problem.  I cannot say for certain what is causing the problem, but I don't believe that it's being rooted is the issue.  I have been able to resolve the problem temporarily by decreasing the screen resolution using an app called "LCD Resolution" which I had installed for other reasons.  When the Kindle In App store stops working, I decrease the resolution from 240 to 210.  Normally after the device reboots, the In App store in Kindle works again.  I then reset me resolution back to its previous 240 setting and all is well... for a while.  This fix is only temporary and I haven't figured out what is causing the problem.  I'm hesitant to leave the settings at 210 because it has caused problems for some of the Google Apps, like "Play Movies" not to function properly.  If I find out anymore, I'll update this post.

I'm not too familiar with how intents work exactly but this looks like the browser is mistakenly set as the default app for something it shouldn't handle. Try installing DefaultApp Reset and reset your browser as a default app. This will make sure it won't be registered as the default handler for anything at all. Then try going to the store again.

That did not work. I cleared the defaults for my Browser, then I went into my Kindle app and hit the Kindle Store button. Now it actually asked me which browser I wanna use. This is very annoying. I believe this is the same behavior on the iPad.


text:
Restoring static boot logo and animation from ClockWorkMod backup for: Android Huawei Ideos X3 (U8510)
I have a rooted (and unlocked) Huawei Ideos X3 (U8510). I have complete backups of the stock ROM using ClockWordMod installed to the sdcard.
Then I started playing with different ROMs on the internet. At some point I also flashed the device with another GENERIC Stock ROM for this device. At this point, the generic Stock ROM permanently changed my static boot logo and the boot animation. Originally it was a static Huawei logo with Vodafone animation (Red Vodafone logo). That was replaced by the static Huawei logo AND Huawei generic boot animation. This is the problem as:

I need to replace with the original static boot logo and boot animation in the event of a warranty claim.
I need the assurance that recovering to the stock ROM backup will restore everything to the way it was except the bootlogo and boot animation.

Now if I revert to the stock ROM from the backup (via ClockWorkMod recovery), everything from the backup is restored EXCEPT for the static boot logo and the boot animation sequence.
Things I have tried:

From the installed terminal, as su: I tried copying the recovery.img from the backup to the root of the sdcard. Then as su, I executed the following command:
flash_image recovery /sdcard/recovery.img

The above command worked. I rebooted into recovery. Then I rebooted again but still am seeing the generic static Huawei boot logo and boot animation.
I can see the following files from my stock rom backup:
.android_secure.vfat.tar
boot.img
cache.yaffs2.img
data.yaffs2.img
nandroid.md5
recovery.img   ---> This is the file I copied to the root of the sdcard.
system.yaffs2.img

I have also tried asking in other forums to get the copy of the boot animation from the stock ROM with no success.
Questions:
Do I have the original boot logo and boot animation from stock rom backup (above file list)?
If so, is there a way to recover it? If not: is there a known source to get the original boot animation?
Thanks in advance for your help.

OK: After some more reading, it looks like ClockWorkMod did not back up the /cust partition ie: /proc/mtdblock7 in which the vodafone logo and boot animation was stored. When I flashed my device with a generic Stock ROM that overwrote the /cust partition permanently. When I flashed my recovery.img, it only restored the recovery partition (which was the CWM Recovery image after rooting).
The only way I can now get back the stock voda animation is backup the partition (via dd maybe) from another device to an sd card and flash back to my device partition from the sd card.
Moral of the story: Backup all partitions (via ROMDump or dd) and not just rely on ClockWorkMod backup which ignores these partitions.
I arrived at this conclusion by checking my logs from the saved data partition (after rooting) when I saw this file in: /data/load_oemlogo.txt which references /cust/vha/au/logo/oemlogo.mbn
load_oemlogo begin
command_line_is: console=ttyDCC0 androidboot.hardware=huawei
androidboot.localproppath=vha/au androidboot.network=umts
androidboot.swtype=normal androidboot.mode=boot mem.size=256M
ret_str = vha/au androidboot.network=umts androidboot.swtype=normal
androidboot.mode=boot mem.size=256M

custom len = 6
custom : vha/au
logo path /cust/vha/au/logo/oemlogo.mbn!
stat file error!
load_oemlogo end

Update: Yes I can confirm that the /cust and /userdata2 partition are not backed up by CWM backup and restore.
I quote from translated version (german) from here: http://66.163.168.225/babelfish/translate_url_content?.intl=us&lp=de_en&trurl=http%3a%2f%2fwww.android-hilfe.de%2froot-hacking-modding-fuer-huawei-ideos-x3%2f203731-how-flash-partitionen-von-supertoast-anpassen.html
Completely importantly! Make always only times with CWM a Backup.

backup_partitons.
zip load down and in the CWM over “Install zip from sd-card” would drive out.

The two partitions are cust and userdata2 secured, which does not make the standard Backup of CWM.

Afterwards cust_backup.tar and userdata2_backup.tar should be to the SDCard the two files.

Now would drive the file out install_new_partition_layout.zip.
A new boat and Recovery image are installed, because in both the new Kernel COMMAND LINE must be contained.

Auserdem becomes still the volume demon (/system/bin/vold) and its configuration file /system/etc/vold.fstab it then a few volumes to mounten gives less replaced there.

Now one bootet by means of advanced->Reboot Recovery into the again installed CWM.

There one re-establishes over backup and restore - > advanced restore - > Restore DATA the data partition from the previous Backup.

EDIT: More info and updates.


text:
Moto E being charged for mobile data even if it's turned off on Vodafone Karnataka SIM
I have very recently purchased Moto E and using Vodafone Karnataka SIM. I have disabled mobile data and work only with WiFi.
Even after this, I see I am being charged with 0 MB data usage.

(Click for full size)
I don't understand what is happening here. It is coming very frequently. I am very sure none of the apps are using it since I uninstalled almost every app that I installed after this problem has arisen. I have checked data usage logs and it says 0 MB data usage and that none of my app have used any mobile data.
Why is this happening? Probably some check after WiFi gets disconnected? I checked with Android debugger, but there is too many log statement. Anything particular I should be looking at?
Any help or suggestion is appreciated.

This is essentially a Billing question, which should be resolved with your carrier. It concerns details private only to you concerning your specific usage and the details of your contract.

I already I said that I have turned off mobile data. And carrier should not be a problem.I wish to know what could be the possible reason for this? Any android service or setting doing this?

Dial *123*10#, see what that says, and then dial *123*11# and see what that says. Keep us posted!

"carrier should not be a problem" – umm, and who then is charging you if not the carrier? Who else might send that billing information?

Leaving this question open, because some of the answers makes sense, esp on dual SIM. I'd like to see what the OP has to say, and what he's done based on the given answers.

From your screenshot, it's apparent that you're using a dual SIM phone and that Data Roaming is enabled on one of those SIM cards.
I've never used a dual SIM phone but I read on a forum that at any point of time only one of the SIM cards can be used for data while the other is on standby or being used for a voice call.
Make sure both your SIM cards have Data disabled. Also disable Data Roaming for both SIM cards.
Use these screenshots for reference (click for full size):

Check your data usage in Settings→Data usage to see what's using your data connection

Make sure Data roaming is disabled for both SIM cards

Install Greenify. It will stop all background processes and save memory, battery and unwanted network connectivity.

After using Mobile network and you disabled it , you will receive a notification in black background about your Balance internet GB/MB or charged price for internet usage (as like what you received now in the picture)

That is what.. even after disabling mobile network I am getting this... that too repeatedly... Something in background is doing this and I wish to know what?

Airtel system has some bugs. the usage is not shown properly and i will advise to install an app that would manage your data account. which can show your real usage.

Could you name any such reliable app?

I personally use My Data manager. @AniketThakur and do vote me up:P

authors: علي احمد عطيه عطيه


text:
Transfer WhatsApp chat history to new device
I've got a new phone (Samsung) and want to transfer my WhatsApp chat history from my old device to it. Is this possible, and how to do it? I have a WhatsApp backup file for that date.

http://android.stackexchange.com/questions/52684/fail-in-restoring-whatsapp-chats?rq=1 this may help

For troubleshooting: WhatsApp doesn't prompt to restore from local storage

Go to settings, chat settings and choose backup conversations.
Now go to your phone storage (internal SD card) via file manager, go to the file named Whatsapp, go to the databases folder (i.e. /sdcard/Whatsapp/Databases). Choose the one without any date in its file name. It is the latest one. Transfer that file to the same location in your new device after installing Whatsapp. Now when you open Whatsapp for the first time in your new device, it will prompt you to restore the chats. This does not need the phone to be rooted :) Good luck :)

I've edited your post for clarification. Still: I was just brought the old and new phone of someone "on the move", did exactly that (the WA FAQ says the same) – but WA didn't find/recognize it (though it placed its new backups exactly there).

WhatsApp now allows backup/restore via Google Drive. This is by far the easiest method for moving to a new phone. The WhatsApp FAQ page is pretty straightforward, but here's the bit that you'll need:
Backup on Old Phone

Open WhatsApp.
Go to Menu Button > Settings > Chats > Chat backup.
Tap Back up to Google Drive and set up the backup frequency to your
liking.
You will be prompted to select a Google account that you will back
up your chat history to. If you do not have a Google account, tap
Add account when prompted. Please remember the Google account you
are using for the backup.
Tap Back up over to choose the network you wish to use for backup.
Please note that backing up over cellular may result in additional
data charges.

Restore on New Phone

Make sure the same Google account that was used to perform the
backup has been added to your phone.
Uninstall and reinstall WhatsApp.
After verifying your number, you will be prompted to restore your
messages and media from Google Drive.
After the restoration process is complete, tap Next and your chats
will be displayed once initialization is complete.
After restoring your chats, WhatsApp will begin restoring your media
files.

Just copy your WhatsApp folder from your device to your new device, install WhatsApp and it will automatically tell you that he found a backup as long as you use the same SIM card.
You don't even need to activate it again because the backups are registered to your inserted SIM number.
Just make sure you place it in the root folder of your new device.
For some reason other answers although correct look very complicated.

My experience was different: New phone, same SIM, same number. Had to activate it again (verifying the phone number via SMS), didn't accept the backups to import (didn't find them at all, but placed its new ones into the same location later). Lousy implementation of backup/restore.

Backup chat history via your gmail account. then restore chat history in your new device
Go to backup
WhatsApp → Menu Button
→ Settings
→ Chat settings
→ Back up chats via gmail account.
login new device
restore chat history via gmail account

You can try the following

FileDrop
If you're looking for an app that keeps things simple, then I tink you're going to like FileDrop. It's a free app you can install from Google Play and is very easy to use.
When you first install the app, you'll see that it's divided into two sections. The top part will ask you to sign into your Dropbox account, and the bottom part will show you all the files you have on your Android device.
Don't worry if you didn't previously create a folder since you can create one directly from the app. Just tap on the drive icon on the top left and tap on Create Directory. If you want to rename a folder that's where your WhatsApp content will go, you can do that too.
How to Backup Your WhatsApp Files to Dropbox
The option you need to tap on is ¨As Sync Directory¨. Now, tap on the folder you want the WhatsApp backup to go to. Switch to the bottom section of the app and scroll until you see the WhatsApp folder. Tap on it and then select what you want to backup. I chose Media.
Then tap on the SD card icon and select As Sync Directory. Once you've done that tap on the cloud and sun icon to the right of your display. Tap on the Turn On Sync Feature and then enable Use Sync. After that, it should automatically start backing up your WhatsApp content.
If you want the app to automatically backup your WhatsApp content, tap on the Turn On Sync > Sync Policy > Enable Auto Sync.

Source: How to Backup WhatsApp

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


text:
My Galaxy Tab 3 will only charge from the wall adapter from Samsung
I'm going on holiday soon and we planned to take a USB hub to charge all of our devices rather than take several wall adapters, however when I checked that my 7" Samsung Galaxy Tab 3 would charge, I found that it didn't. After investigating, I found that my iPad charger wouldn't charge it either and in fact the only that would charge it was the USB wall adapter that came in the box with the tablet, even though the port on the USB hub and the iPad charger are rated at 2.1 A (5 V).
When I plug the tablet into to a non-Samsung adapter powered off however, the screen flashes lighter and darker but nothing else happens which seems odd behavior to me.
What is the reason it will not charge by any other means, and is there a solution?

It is not a duplicate actually, as the problem is in the charger.  The "duplicate" post speaks about cable differences.  Please someone un-duplicate this question.

By the way, an explanation of the why can be found at http://android.stackexchange.com/questions/21144/how-much-power-does-a-galaxy-tab-10-1-charger-need-to-supply . It explains the problem for the Galaxy Tab 10.1 at least.

There is more to an adapter than just the current, although kudos to you for knowing that much.  The problems arise due to the fact that the USB-2 spec is for a maximum of .5 A at 5 V without some extra handshaking to ascertain that the device wants and can handle more.  For Apple devices, this is done in a certain way according to their "standard", which is different than PCs.  So, for a PC, you normally need a driver, and it sets up the port for the correct voltages.
Most aftermarket USB chargers are designed to work with Apple devices, and seem to have some differences that make them either more or less compatible with Android devices, but usually require what's called a "charge-only" cable or adapter, that shorts together certain pins of the connector to make the device charge at the higher rate.  These can be bought on Amazon from companies like Mediabridge.  But it's not 100% certain if any particular adapter will work with a particular device.  Unfortunately, some Samsungs won't work at all with some chargers, and work fine with others (I have an 8" Galaxy Tab 3).
If the tablet recognizes the charger at all, it will probably work with the charge-only cable/adapter, I think.  I have one charger where it doesn't even register that it's connected, and it won't work no matter what I do.  But it does work with most adapters, including the one I use for my wife's iphone.
With the tablet powered down (not standby), it should charge at .5 A, which will take much longer.  I'd try the charge-only adapter if you have time to get one before you leave.  Otherwise, you may just need to bite the bullet for now and bring an extra one for the tablet.

Thanks for your answer. This has made a lot of things more clear for me, especially why Apple devices don't charge when connected to the computer until the driver is installed... Also, through experimenting and after reading something online, I can make it charge by only pushing the USB cable in part way. Is this related to the pin idea? I did read that there is some kind of chip in the Samsung USB wall adapter.

I would guess that there is either a chip or some passive circuitry to set the voltage levels of the control wires to something other than simple shorting pins together.  FWIW, I have an LG G2 phone that charges fine from the Samsung charger, and every other charger I have, including iphone. So, it's possible to be more universal, but Samsung may not desire this.  This is one reason I probably won't buy any Samsung phones/tablets in the future.  Oh, and I don't know about pushing the cable in part way, except that it doesn't make sense to me or my electronics mind.  Sounds like a defect.

Yeah, this certainly sounds like it's something Samsung have done to make sure they get as much money as they can with us. The person on the Internet who said that pushing the cable in part way would work suggested it was something to do with the two longer pins at the sides of the USB socket which Samsung use in what I can only describe as their detection mechanism. I don't know if this explanation holds any truth - I'm more interested in software, but what I do know is the method works with several different leads. It's not a fluke.

I don't really even know which cables were the original ones, so I don't know.  But maybe it's somehow shorting the same two pins together that the charge-only adapter does. Anyway, I never heard that particular rumor.  But I have found that the charge-only cable works with some chargers, but not all of them.

Check the power output of your Galaxy Tab 3's wall adapter and see if the power output is greater than the 5V 2.1A power output of iPad charger.
If the Tab 3's USB wall adapter power output is greater than the iPad charger's USB wall adapter then that's likely why the non-Samsung power adapters aren't charging your Tab 3. The non-Samsang adapters aren't putting out enough power for the Tab 3.
I own the Galaxy Tab Pro tablet. The power output of its USB wall adapter is 5.3V 2.0A. My Tab Pro doesn't charge when I use my Galaxy Player 5.0's USB wall adapter, which outputs 5.0V 0.7A.
You could take the Samsung USB wall adapter with you and use it to charge both your Tab 3 and iPad while you're on the road. I only use the USB wall adapter for my Tab Pro to charge both the Tab Pro and the Player 5.0.

Thanks for your answer but the power output of the Samsung charger is 5V 2.0 A, which is what has been confusing me.

I have a galaxy tab 2 and an iPad.  The galaxy tab doesn't charge from the iPad charger and vice-versa.  It might be different with newer models.


text:
How to change SD Card after moving apps using Link2SD?
I haven't used Link2SD yet to move apps, because there is one thing I'm confused about. Currently, I have a 2 GB SD card on my phone, but I'm thinking to buy another 8 GB card later.
What will I have to do if I want to transfer all the apps (linked/moved using Link2SD) to my new 8 GB SD card?

possible duplicate of Transfer of files and apps from old sd card to new sdcard

@IAmTheSquidward This isn't a duplicate, since App2SD and Link2SD use different methods, and the answer given is only relevant for App2SD.

But that's not what I'm looking for. That method is for Moving files using Linux and MAC. What about Windows? and What about the Second partition?

How to move 7GB ext4 partition on external SD card to 30GB partition on another SD card?

I tried copying the SD card to a folder and then to the new card. I used Linux Mint 17 running Nemo as root. If you don't have Linux installed, I would recommend a Kali Live disc, since it runs as root.
Everything seems to have been copied, but the first boot of the phone gave me an inconsistent UID message. It was gone at second boot. Some apps worked, some worked after reinstalling, and others lost all of their data.
If you try this, move the stuff you really don't want to lose back to the phone. Starting a game all over again when you were at level 200 really bites. Facebook and Messenger store everything on servers, so they could be easily reinstalled.

When you want to change your SD card from 2GB to 8GB, you should have two partitions on the 8GB SD card.
First of all, uninstall all of your non-system apps and open Link2SD.
Select clean up SD partition 2 and then select cleanup partition's Dalvik-cache. Now you can insert a new SD card and enjoy these features without any issue.

Its a simple procedure really. All you have to do is connect your SD card via a reader or adapter to a computer. Then copy all the data to a folder. Then transfer all they data to your new SD card and it should work.
This method is not exactly foolproof so don't delete the data from the first card in case you need it

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


text:
Is it possible to share GSM or 3G or 2G connection?
As I know that Android phones can share WiFi by using tethering. So, may I know if it is possible to even share my phone GSM/3G/2G connection? (of course without applying another SIM card for another phone.)
Suppose there are two friends - Jack and Jill. Jack has an Android 4.2 phone while Jill has an Android 2.3 phone. Jack has a SIM card inserted into his Android phone, but Jill is currently thinking of signing a mobile plan and so her Android phone does not have a SIM card.
What happened was that Jill need to make a call to one of her relatives due to whatever reason. However, Jill does not have a mobile plan yet. The problem arrives when Jack also needs to make a phone call.
So, is it possible for Jack to tether his "mobile plan" to Jill, who does not have any mobile plan or SIM card? This means that both Jack and Jill can make calls using a single SIM card but with two different Android devices.

Looking at the existing answers, I think the question was misinterpreted as sharing "mobile data" instead of "mobile plan/GSM connection".

Yes, you can share your mobile data connection (3G and 2G) using your phone hotspot.
In Settings --> More --> Tethering and Portable Hotspot --> Portable Wi-Fi hotspot
You can set your SSID, Security, and Password in Set up WiFi hotspot.
Now on another Android device, you can connect to this WiFi hotspot.

Of course in Wi-Fi hotspot that's what you do. Quite obvious as the other person is already having a SIM then why would you want a new SIM to make it complicated

You are indirectly sharing your 2G/3G (should be 3G Compatible and
the service should be available in your area)/4G (In some countries)
through the Wi-Fi hotspot.
In Wi-Fi hotspot first your switch On your mobile data then your Wi-Fi
after which under your Wi-Fi settings u may have an option for Wi-Fi
Hotspot.
Using this your device will search for the available Wi-Fi networks
and will notify you for the available Wi-Fi nearby.
When you enter some code (for secure reasons you may not want to share Wi-Fi with all the people around you so the phone asks for a pass code) the other person should also enter the same code for receiving the data.

After which you and your other person can have data connection on both phones.
Note: Not all the devices support Wi-Fi hotspot. Please refer you handset manual if the option is available or not.


text:
Are administrative permissions for remote disabling of phone the same as root?
I have a Samsung Galaxy S3 with Android 4.3. If I choose the option for remote disabling the phone if the phone is lost or stolen, it asks for some administrative permissions.
Are these permissions the same as ROOT, i.e. after giving these permissions, will my phone be rooted?

Administrative privileges are not the same as root. They allow for a slightly elevated level of security for controlling things like the lock screen or other tasks that most apps shouldn't have access to. Enabling administrative permission for an app won't void your warranty or anything. Just be careful what you allow to have this access. The security app will need this permission to be able to lock the device and delete data (if the app supports it).


text:
Opening PDF in full-screen mode
I tried to make an HTML and open it in a fullscreen browser, but it doesn't show the PDF.
Is there a way to open a PDF in full-screen, page fit 100% to screen, without blending effects, just the PDF without any menu?

It's much easier to use a dedicated PDF app to do this than try to read PDFs in the browser. For example, you can upload a PDF in Google Play Books via the web interface and then read it in the Play Books app, which on KitKat supports fullscreen mode, even hiding the notification and navigation bars.
Other PDF apps might have similar features, though I know that QuickOffice doesn't.

thx, i tried an ebook reader app for now. not perfect but working. im not allowed to upload that pdf somewhere. its a mockup whick i would like to test on my device.


text:
How do you extract the boot.img from a Samsung G4?
I don't imagine the ADB command is able to access that sector of the device but for the record, when I connect, I can see the device but
C:\Users\Brad2\Downloads\adbUnzip2Cdrive\adb>adb kill-server

C:\Users\Brad2\Downloads\adbUnzip2Cdrive\adb>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

List of devices attached

51cfe754        offline

I can connect to the device with Odin in download mode, but I do not see a 'pull' or extract feature on Odin, only push.
What is the trick to extracting the boot files from the device?
All drivers and SDKs are installed and using the current ADB.

Is your device on Android 4.2 or greater? Make sure you have ADB 1.0.31, (as much as possible) using the cable provided with your device, switch ports if necessary.

I am running 4.4.2 and Android Debug Bridge version 1.0.26

Getting the proper ADB version and also using Linux instead of Windows and screwing with the USB debug feature until a proper RSA key exchange finally occurred. The combination of the 3 corrected the issue.

Can you elaborate on this? I would like to use the same steps. Thanks! I can't even find what adb command I would run to get the boot.img from the phone.


text:
Does Android's implementation of SELinux's MAC inhibit apps with root privileges from accessing other app's data?
Starting with Android 4.4, SELinux's MAC is enforced. Does this mean that if an app somehow can get installed and exploit the kernel to get root privileges, that MAC will still prevent that app with root privileges from accessing private app data?
Android Documentation says,

SELinux can be used to label these devices so the process assigned the root privilege can write to only those specified in the associated policy. In this way, the process cannot overwrite data and system settings outside of the specific raw block device.

As a reference, I am implementing a Mobile Device Management system and in the process I have to determine how secure Android OS is itself. That is why I need to know how secure corporate data stored on a device is to rootkits, spyware, and other malware.
P.S. This was posted on the 'Unix & Linux' site but no one has been able to answer it, and I was suggested by one of their users to ask this community, any help is much appreciated. Thank you.

I can and probably it does in some way. It depends which SELinux domain the attacker has access to, and what's the SELinux policy for interfacing that (exploited) domain to target app domain.

Get /sepolicy (or /data/security/sepolicy) from the phone, and use sesearch (or some similar tool) to inspect the policy.

For future visitors' reference, it depends on the SELinux context of the root process. In DAC UID 0 is the super user which can access any resource on the device allowed by kernel. MAC (SELinux in our case) is denied by-default i.e. no process can access anything unless a policy rule is defined to allow the access.
So there is no super context in SELinux but it's possible to define one. That's what rooting apps do since Lollipop. Magisk, for instance, defines u:r:magisk:s0 with unrestricted access to any other context. Any process running with UID 0 and u:r:magisk:s0 would be able to access everything on device including other apps' data.
It depends on the exploit with what context it's able to run a process. With SELinux enforced, it's very hard to inject something to policy.
For details see:

What sepolicy context will allow any other context to access it?
How Magisk works?


text:
Galaxy S2 Lite restarts when using 3G network
I am using Samsung Galaxy S2 Lite running on Android 4.1.2. Using WiFi is fine, but if I use 3G, in some minutes the phone just restarts from nothing. It happens always near my house. In other places it can happens.
I think it is problem with my operator. I use the same chip in another phone (same model) and the same happens.
Is there any log (in /var/log or /var/messages) with some possible causes of this problem? Or maybe is it possible debug using the USB and some tool to identify why it is happens? Or maybe using DDMS?
Alternatively, how to fix it?
It is very strange, but I don't believe it is a problem of the device, but I can't prove that.

Have you tried using a different SIM card? It's possible the one you are using now is damaged and is causing issues with the radio that the phone doesn't know how to handle other than reboot itself. Especially since this happens on other phones with the same SIM.


text:
Where did the internal space go on my HTC Desire?
I know this a common problem, but my experience has been a little freakish.  I am using an HTC Desire 2.2 and usually try to maintain approximately 40 MB space free.  I have installed the bloody gigantic Google+ which took up about 20 MB and there was an option to move it the SD card, which I did.  Apparently only some of the 20 MB was moved, I think about 12 MB. Okay no problem, I thought, used Google+ for some time, not my thing, so I uninstalled it and couldn't believe that I'm still short the 8MB of space!
My question is where did it go? And can I get it back?  8mb is precious on the Desire.

The problem with moving applications to the sdcard is usually not the application, the problem is their data. The google+ app is like 8mb or so, but if you look in the application manager it will show a lot more then that. Mine is ~40mb. This is because the amount of data that the application stores.
Android needs to address the /datadata and /data locations and allocate more in them or allow users to move this information to other storage locations. I have had to, on multiple occasions, go in to the application manager and clear the data for apps like google+, and I have a Galaxy S device. Granted, I do have over 70 applications installed total, but only a small percentage of them actually use up 95% of the storage.
A lot of people bring up, usually with tablets, the ability to support multiple users, this is one of the reasons this will not happen in the foreseeable future. If the devices can support the data storage needed for one user, how can they support multiple users.


text:
How do I transfer from HTC SENSE to the computer?
I want to transfer contacts, photos and videos from my HTC SENSE to my computer. Does anyone know how to do this?
Thanks

Why don't you try that with HTC Sync?

I assume you're on Windows?

As your phone is an HTC, I agree with Abhishek above about HTC Sync Manager, however you havent specified which HTC model you are using because it doesnt work with all HTC devices eg I have a HTC Desire S and cannot use HTC Sync Manager however see this link for HTC Sync http://www.htc.com/www/software/htc-sync-manager/

One way would be to use WebSharing Lite available at Google Play/Android market. Once installed, you can navigate to an address set up by WebSharing via your computer and transfer any files you need.
EDIT:
There are many applications to do this as pointed out by @richard-borcsik below. This is just one off the top of my head. If you establish a Google Account for your android device and then log into Gmail for that Google Account, the contacts that you have on the phone/device automatically show up in your Gmail Contacts list. At least, that has been my experience. So you may not really need a separate application to transfer/update contacts.

@richard-borcsik Please do post your answer so I can check out those applications as well! It would be very handy to future Android users who have the same question.

If your computer is a Windows PC, I recommend using Snap Pea described as "Android's Best Friend". Theres a short video tutorial, as well as explanation on the main front page of its functions. (Having never used it myself i'm not sure if it transfer videos, but as its free you have nothing to lose)
http://www.snappea.com/
If you are using an Apple Mac and your phone is incompatible with HTC Sync Manager, then I recommend using Air Droid which is browser based.
http://www.airdroid.com/


text:
Android detects SIM change – gmail synchronized messages deleted?
After gmail detects SIM change – it asks to renew login to gmail account.
This is a very good security action. But does it maybe also clear synchronized messages (that have been downloaded before SIM change)?


text:
Manually changing shared_prefs and forcing app to update to it?
I've been trying to figure out if it's possible to disable/enable GO SMS popup notifications via something like Tasker. I came across the following line in /data/data/com.jb.gosms/shared_prefs/com.jb.gosms_preferences.xml:
<boolean name="pref_key_popup_msg" value="true" />

It would seem that I could just flip that to false, but GO SMS doesn't see that (and it actually rewrites the shared_prefs file it looks like). Is there a way to force GO SMS to re-read this shared_prefs file?
I am rooted and am pretty comfortable with shell commands as well as Tasker; I would think that any solution would require one of the above. (Tasker can fire Activities or broadcast intents.)

Since this is bordering on the nuances of programming in terms of how preferences are stored, an activity that implements PreferenceActivity, actually modifies the entire preference xml, not just one key value.
The entire preference xml gets loaded and cached, any changes made, it rewrites it out in one fell swoop.
Quite likely, in the case of Go-SMS, there's a default value specified true regardless of what was selected, and also likely, to be hard-coded - raise the issue with Go-SMS developers to find out why?

Try to edit the file after 'force-stopping' the app in settings → applications → manage applications. You cant edit the permission of the app to display notifications however

I'm talking about popup notifications - not notifications in the status bar. I'll give this a shot!

This did not work. The string in the xml file got replaced to true. :(

inside the app you can go to menu-settings - notification settings -uncheck enable popup to disable it. Probably the app checks when it was edited and prevents you from manually editing it

Yes, yes you can. The point was I would like to be able to do this externally (via Tasker, say). Guess this isn't possible..

@DangKhoa Did you force-stop the app before editing the prefs file? There's no way it could rewrite the XML file if it's not running.

I had exactly the same issue with an app I use - I am rooted and found the XML prefs file and the value I manually changed but everytime I boot the app it rewrites the file.    Having done some reading on this and experimenting with code I think this is because an app will only call on its preferences (getPreferences) once a settings dialog/screen is closed - generally this is how the app is written.  I'm still not quite sure why/how the app rewrites the preference xml regardless of changing the settings in the app or not.
BTW I too want to use Tasker to change a value in the prefs xml of an app to dynamically have the app respond.  I am looking into decompiling the app finding the relevant piece of java code and then amending it to call on prefs more frequently.


text:
Why is my microSD card not being reconized in Samsung Galaxy S Plus?
I had purchased Samsung Galaxy S Plus, it was working fine, but I had a problem yesterday connecting it to my PC. After that my SDCard is not being recognized by my device. It says Your phone doesn't have sdcard inserted also when I try to open the inbuilt camera its also not working with a message as Turn off USB storage before using camera. I tried to check that my SDCard is not corrupted so testing in other devices and its working fine. I also tried to restart the device couple of times. So, can anyone suggest me what can be the problem here? why my SDCard and Internal Storage is not being detected?

you had problems connecting it to your device? Could you clarify please = which device?

@Sparx Its Samsung S Plus, already mentioned in the
question.

I had a problem connecting it to my device.<< I inferred you had a problem connecting your Galaxy S Plus to another device.

Please read the question I had
problem in connection to PC

You haven't once mentioned the word "PC" in your question. In any case, have you tried the suggestions listed below about safe mode or performing a factory reset?

Which ROM are you using Stock Gingerbread?

If its connected to your computer and the USB connection mode is "Mass Storage", the SD card cannot be used by the phone.
You may like to change the connection mode by pulling the notification bar from top and selecting "Charge only" so that it does not mounts the SD card and it remains usable by the phone while it is connected to PC.

I am not able to see the internal storage also, its not the only issue with SDcard.

internal storage also gets mounted on the PC. You may see icons for two drives in "My Computer". Try changing USB connection mode to just charge the device.

yes but now I am not able to access any of them.

I can't see any option as just charge

Try inserting another SD card and see if the problem continues. Else, copy all the data fro, the SD card onto your PC. Then, format the SD card and see if the phone recognizes it. If it does, copy back the data.
Also toggle the USB debugging mode - Android Settings > Applications > Development and see if it helps.

Tried everything it didn't work at all.

So, another sd card also not working indicates a hardware problem with your phone. Take it to your service centre.

Bu why I can't see my internal storage also?

try rebooting in safe mode and see if the issue persists. Last resort - factory reset. if that fails to solve the problem, take it to your service centre


text:
Is it possible to use android phone as bluetooth headset for ps3?
Does anyone know how to use the android phone as a bluetooth headset so that i can use it as a mic while playing several games (COD) for example.
I'm using Ice Cream Sandwich and i have a Galaxy Vibrant. I don't want to buy a bluetooth headset so i'm simply looking to use my phone as an intermediate adapter. I can connect my wired headphones which has a mic attached to it.

Have a look at this app - absolutely no idea if it would work but it does look from the screenshots like it streams voice data over bluetooth

@Akash: See related post "How to make Android phone as a bluetooth headset?" from Stack Overflow for ideas relating to your query: http://stackoverflow.com/questions/3163453/how-to-make-android-phone-as-a-bluetooth-headset

Thanks to an app that turns an Android phone into a more universal Bluetooth device, it is possible to control a PS3 with your Android phone as though it were a Bluetooth remote control. The connection allows the phone to be used as a virtual keyboard for entering text, and it even has a touchscreen trackpad for moving the cursor in the PS3's web browser.
The app, BlueputDroid, is in beta form right now, and is still a bit tricky to use, as the list of supported Android phones is not exhaustive, some of the phones require custom firmware and once you get the app installed, there are technical hoops to work through. A list of believed supported and unsupported devices can be found on XDA-developers.com, where the app was introduced. It also has details on how to download the app for those who own a compatible Android handset.
The independent developer has tested it out on the Nexus One, HTC Wildfire, and LG Optimus One - all with rooted firmwares. He was not able to get it working on the Optimus One.
BlueputDroid is the first app to allow a smartphone to pair up with the PS3 as an input device. There have been other Bluetooth apps for Android that more flexibility in syncing the phone to a computer, but this is the first working app for PS3 connectivity. If the dev can further refine the process and expand compatibility, we'll welcome the chance to use our phones to input PSN info or type in URLs - beats having a real keyboard tethered to your system, hm?
source: http://www.gamesradar.com/how-to-use-your-android-phone-as-a-ps3-bluetooth-keyboard/

How exactly does this answer my question?

Is your phone Rooted ? BlueputDroid works with rooted devices only (if you are prepared to root your device then this maybe achieveable with this app) according to this article entitled:
How to remotely control your PS3 with Android BlueputDroid Apps Guide written by EHSAN on Feb. 27th 2011.
http://topbestfreeapps.com/how-to-remotely-control-your-ps3-with-android-blueputdroid-apps-guide/
However checking the list of supported devices yours is not supported:
Unsupported devices
 ■Samsung Moment
 ■Samsung Galaxy Spica
 ■Samsung Galaxy S (this includes Captivate, Vibrant, Epic 4G, Fascinate, Showcase, Mesmerize, Continuum, K, U or any other variant of the Galaxy S series devices, but excluding Nexus S, which doesn’t have Samsung’s software, and which works!)
 ■Samsung Galaxy Tab
 ■HTC Eris
 ■HTC Incredible
 ■HTC Desire/HD
 ■HTC Desire Z
 ■HTC Legend
 ■HTC Hero
 ■HTC Magic
 ■HTC Evo 4G
 ■HTC Aria
 ■HTC/T-Mobile myTouch 4G
However this article was published in early 2011, almost two years ago, so maybe it is now supported.
The article does in theory provide partial insight into what you want to achieve !
I believe the article I mentioned in the comments above is more tailored to your needs however

Yes, you can use it as a headset.
Just make your own app, and make its settings the same as the headset.
I made one for my LG P690F.

What kind of app will he make? Do you have a guide for it?

do you have a github link?

Nope. Not possible. Only recognized or devices signed by Sony can be used for pairing with the PS3.
I don't think you can use ANY bluetooth headset. There are specific ones made for PS3.

This is incorrect, I have had no problems using a generic bluetooth headset with PS3.

@Rory if that is the case then it should be possible to use the phone as a generic bluetooth headset right? The app dint work for me :/

This answer is entirely wrong! The ps3 uses a bluetooth platform for their wireless devices, almost all bluetooth headsets work.... Unfortunately a select few dont work! There are not many people, that i know, toying around with android devices as a headset... There are people workung on the OP's problem, btw.

@AkashRamani, as an app dev it will depend on the version of android installed for the most part but the type of phone (i.e. Samsung HTC, LG... some may work others may not...) I just wanted to shed some light to a possible solution, and/or why it wont work... If you are rooted, upgrade to Android 4.3 or above to use the new BLE streategy google uses on all of their Android devices.


text:
USB Tethering option (to share internet connection with PC) is greyed out

Most probably these question+answer will be deleted as duplicates, so please do not vote here. But if the answer is useful - add your upvote here: https://android.stackexchange.com/a/252613/251126 in order to bubble a good (my hehe) answer there

For years I used my phone as a backup connection to the internet (and you know - airports...)
Today I connected my phone to the laptop with my factory-default cable and tried to enable tethering - but the USB Tethering button in the menu was disabled.
How to make it enabled?

I checked the cable (several), and I use one that does the trick with another phone.
Recently I updated Android to v12

Most probably these question+answer will be deleted as duplicates, so please do not vote here. But if the answer is useful - add your upvote here: https://android.stackexchange.com/a/252613/251126 in order to bubble a good (my hehe) answer there

So it turned out that I needed to dance around the phone a little.
1 enable "Developer options"
In two words: Settings > About device > Version and here tap "Build number" several times.
Or google this: android YOURBRAND enable Developer options
2 reset default USB settings
Settings > System settings (at the bottom) > Developer options > Default USB configuration
I had "No data transfer" there, I changed it to "USB Tethering"
And also check the neighbor menu item Select USB configuration, my default value was "Charging", so I changed it to "RNDIS (USB Ethernet)"
Now disconnect-connect the cable, and it should work


text:
How can I disable the front status LED when charging my device?
Charging my smartphone the front LED is always shining annoyingly green. This bothers me especially while reading an ebook which is why I am looking for a way to disable this feature.
So how do I disable the front status LED?
My smartphone is a Huawei Honor U8860, but I'm hoping to find a device-agnostic solution, be it in form of a hidden setting or app that adds the option to disable the front status LED.

I haven't seem any such options or settings for any device so far. You can try these apps

LightFlow Lite
Adjbrightness

but I doubt these would work properly. (I can't check as my device doesn't have LED notification light.)
I believe this kind of things are only doable via Custom ROMs. You would have to check your device development forums. Start here - Huwaei U8860 - xda-developers.
I don't think you can get an universal solution. If there has been a way to do it via Android APIs it would already be in Settings I believe.

I am not sure that an App could get the low-level access needed to turn of the LED while charging. Your best bet is a custom ROM that has this low-level access and provides an API for an App or user setting. I would look at cyanogen mod.

I just found an app which works nicely without root for the Sony Z1 Compact:
Disable Charging LED
Maybe this is worth a try for you, too.


text:
Tasker and Locale Execute Plugin root command not working in 2.3.5
I just rooted my phone and have been trying to create a task in Tasker with the Locale Execute Plugin to control the LED lights for different things.
Phone Type: HTC Evo 4G
Android Version: 2.3.5
ROM: AlterROM 0.0.4.1-RC1
I have followed instructions on every website I could think of except here so far and none of them work. Is there a bug in this version or something not allowing root commands from running?
Here's the command I'm trying to execute with Tasker & Locale Execute Plugin:
@! echo 1 > /sys/class/leds/wimax/brightness
(commands from here)
If I use a Terminal IDE to do the following:
$ su
# echo 1 > /sys/class/leds/wimax/brightness

It works, but no matter what I do in Tasker, it never asks me to grant it root access.
Any ideas?

Which version of SuperUser do you have installed?

@TREE It has SuperSU v0.87 - I managed to get the LED to turn on using Locale, but Tasker has so many more things that I would really like to get it working with that instead.

The reason I ask is that it SuperSU may have remembered a "no" answer for Tasker at one point. You could try going into SuperSU and looking for Tasker or Locale Execute to make sure it's enabled. I notice that there is a 0.88 release of SuperSU available, too, that might help. I personally use Tasker with Locale Execute and Superuser 3.0.7 for root operations without problems.

The plugin you're using is deprecated; Tasker now has built-in support for shell commands (under Misc->Run Shell). You can use root with this also.
EDIT: It's too bad that didn't work for you :( The last option I can think of is using Secure Settings Plugin. This can run shell commands too, and has the option of returning STDOUT and STDERR to Tasker as well. Good luck!
Also make sure that in your Superuser app you've set it to ask for permissions (or even automatically grant it - turn that on, run Tasker for it to get su permissions, then set it back to "ask").

I tried this out and it seems there might just be a problem with my Tasker app. It won't execute the command from there either. :(

See updated comment. There's one more thing you can try to get root shell commands working.


text:
Display turns on at midnight?
Every day at midnight the display on my tablet (Asus Transforer TF101 ICS) turns on for a few seconds.  Ordinarily, this wouldn't be a big deal, but I am using the Screebl application, which keeps the tablet awake when it's vertical.  Thus, the device turns on in my bag and then never goes to sleep, draining the battery.
Is there a way to find out what application (or system component) is waking the device up at midnight, and how does one stop this behavior?

Hmm, if it drains battery then one easy way to check would be to let it drain and see what what application drained your battery from battery status.

@roxan It's not the application that's draining the battery, but the screen.

converted to an answer...

try to trigger it manually.
Root reqired:
Install BetterBatteryStats to view 'alarms', aka programmed low level device wakeups (you can find a free .apk on xda here, search for 'Attached' http://forum.xda-developers.com/showthread.php?t=1179809 ). set your clock just before midnight and reset bbs' logs.
If you can trigger it, you should see which app has caused a wakeup in BBS' log.

I had the same problem. After turning off the network time, I set it back manually and then it didn't turn on the screen at midnight.


text:
init.d doesn't get executed
i am using samsung s2 and a custom rom, external sd card is mounted to /emmc but i want it to mount to /mnt/sdcard/external_sd, how could i mount it using init.d?
i made a file called "99mount" with a the content
mount -o bind /emmc /mnt/sdcard/external_sd

however, it isn't being executed an start tried also
busybox mount -o bind /emmc /mnt/sdcard/external_sd

and no luck, do i need to add 99mount to some xx.rc file?

Would creating a symbolic link from /mnt/sdcard/external_sd to /emmc work for your purposes?

Your SD card isn't prepared at the time that the bind command is executed, because the mounting process hasn't ended yet. To bind, you have to wait several seconds for the mounting of SD card & external SD to be finished.
#!system/bin/sh
sleep 10
n="$(dumpsys mount | grep -c 'external')"
until [ $n -eq 1 ]
do
sleep 1
n="$(dumpsys mount | grep -c 'external')"
done
mount -o bind source target

Note: n="??" is changeable by according to your own system.


text:
Find out which app is making notification sounds?
I've got a Samsung Galaxy Tab 8, and a few days ago it started making a notification sound but with no notification banner. I don't know what app is doing it and I didn't install anything around the time it started.
Is there a way to trace this back to the source app somehow?

You can disable your notifications by following these steps: (Depending on model of device and Android build these steps may or may not be exact)

Go to Settings -> Applications
Select Application and uncheck the 'Show notifications' box
When prompted to confirm -> click OK.

I did this manually, but there is an app in the Google Play store that can disable all notifications but it requires ROOT.
Here is the app in case you have ROOT access and decide to go that route:
Notifications Off

I don't want to disable notifications. I'm getting a sound notification from one of my apps with no alert. I want to find out which app is making the sound!


text:
How can I stop media scanning?
I have an LG L7 mobile. Since 2 days ago, I had a serious problem with the media files scanner. I turned on my mobile and the media files scanner started scanning. After the scan is completed, it starts again and again, and it is scanning until now.
I do not know if it is a hardware or software problem.
What do I have to do?

This can often be caused by filesystem corruption on the SD card. The SD card might appear to work normally if you don't access the corrupted parts of the filesystem, but since the media scanner reads the whole filesystem, it's much more likely to get stuck on a corrupted file or directory.
Try removing the SD card and using a card reader on your PC to check the filesystem (e.g. with scandisk or fsck).


text:
Automatically switch to a saved wireless access point with the strongest signal
I have a wireless router (D-Link) in room A and a repeater (TP-Link WA750RE) in room B, both having the same SSID. Sometimes, when I go to room B and back into room A, my Nexus 5 (Android version 4.4.3) doesn't switch to the router although it has a stronger signal. It stays connected to the repeater instead.

The "Tplink" and "Dlink" are only aliases. Both actually have the same SSID.
When I switch the Wi-Fi off and on again, it connects to the router. which provides much better speed.
How can I force Android to always switch to the strongest signal? Is there a setting for it, or an app?

As far as I know, you can only ask it to avoid a poor connection in the advanced section of WiFi settings, but not necessarily force it to connect to the strongest.

Android 4.x will connect to the strongest available network when first connecting, but, by default, once connected, it will not change networks unless it loses its connection first. This is presumably because switching would involve disconnecting existing connections, and a second or three of no network.
Turning on "Avoid poor connections" in the Advanced Wi-Fi settings will make Android switch if the network reaches a low enough signal to trigger this feature, instead of waiting until it is gone completely.
One solution might be to set up a single SSID with two access points that support hand-off, rather than two entirely separate Wi-Fi networks - which is the way that this sort of scenario is handled in large commercial settings - but this depends on the hardware that you have.

Actually, both of these devices have indeed the same ssid. As I said in the OP, the tp-link is just a repeater.

Are you sure? I'm not a networking expert, but it looks from your screenshot as though there are two networks with two SSIDs (one called "TPLink" and the other called "Dlink"). Presumably the repeater is creating a second wireless network, and bridging between the two?

Actually those are the aliases I assigned in the WiFi manager app so that I can recognize the devices on the graphs. Sorry for confusion.

Most Android devices removed the auto-switch feature for APs having the same SSID because it is an Apple patent.

Can you give any support for that?

I have successfully used Wifi Roaming Fix to switch APs that have the same SSID (using repeaters), use
When the signal level drops below a set threshold, it automatically switches to the one with the strongest signal.

Might be this one: http://www.heleron.com/android-apps.html Developer is clear about what circumstances the app is intended to work in, and when not. By description it is a perfect fit for this question, though there is note about some phones not supported. Switching APs does not appear to be seamless, the network is turned off and back on to hop.

I use both apps: Wi-Fi Manager (which can give priority to 5Ghz network over 2.4Ghz) and Wifi Roaming Fix (which can choose best AP signal once roaming).
My main router is a dual-band A/N while the repeater is only N. The setup is:

A band: use different SSID from N band so "Wifi Manager" can give priority to it.
N band and its repeater: Same SSID and channel so "Wifi Roaming Fix" can do roaming one client moving around.

I test with the VoIP app and my mobile phone works smoothly all over the house without drop/reconnection.

Use WIFI Badger app instead of "Wifi Roaming Fix" for the same SSID with NetGear Orbi.  Seems okay so far, although it would disconnect and reconnect when reaching a set dB from the router or satellite.
I found "Wifi Roaming Fix" disconnected for a longer period of time.

On Samsung Galaxy phones with the Samsung app "Routines" installed:

Create a new routine consisting of only the condition "Wifi signal strength"
Once this condition is selected and appears on the box, tap on it and choose the signal strength
Adjust this level on the slider. It starts by suggesting 40%. For me, 50% worked best
Next, under Actions, choose the following actions, in sequence: "Turn Wifi off"; and then add "Turn Wifi on"
Test it on various conditions, and if it does not work, adjust the signal strength level on the slider described above

It worked flawlessly for me.

Where is this app sourced? I have a Galaxy phone and this app is not available on my phone, available through Google Play (the Routines app is really a task list manager), nor is it on the Galaxy Apps workspace that I can see. Is that AppName accurate?

@wbogacz Looks like this is limited to Samsung Galaxy S10 or newer and/or Android 8.0 or newer

I have 2 routers, one is D-Link DIR-816 dual-band and the other is D-Link DIR-803. The 816 is used as a repeater and is connected with my neighbor's router with whom I am getting internet and the 803 is connected with the 816 as an AP.
The solution I found is to match the security on both routers. The 816 has the option of automatic AES and TKIP, but I set it to manual AES. Both SSID names and passwords are same.
I tried the same thing with TPLink TL-WA801ND as an access point and I got the same result. Even the 816 is set to 802.11 b/g/n while the 803 is set to 802.11 b/g, but matching security works.
The settings page' screenshots are attached:

Click the image for a larger variant

SWIFI detects a weak Wi-Fi signal and automatically switches to a better network.

I use SWIFI too and it is a good app, but the problem with it is that it doesn't switch between APs that have the same SSID (aka repeaters).

I seem to be having a similar but opposite problem with Fios, Orbi with 2 satellites, and an LG V10 phone.  Orbi is set as an access point and everything has the same SSID.  As soon as the signal strength falls even a little below -65, the LG drops out for 2 to 3 seconds and then finds its own way back to the strongest signal, which is usually the closest satellite. BUT this is just enough time to lose a phone call I'm in the middle of.
The Android app "Home Wifi Alert" provides good detail regarding signal strengths and a great deal more information about my network.  Using this is how I was able to see exactly when/where the signal dropped and how totally sudden the drop is.  I have found that if I "train" myself to race through the place where it drops, I'm likely to lose a few words but often can avoid dropping the call.
Of course, this is less than an "ideal" solution :)
After carefully positioning the Orbi satellites using "Home Wifi Alert" as described above, I added SWIFI as recommended here. Since Orbi does allow for a Guest Network as well as the one SSID it creates, I added a Guest Network. Then SWIFI had two networks to switch between. With careful adjustment of SWIFI, I am now able to roam my house and SWIFI switches between the main Orbi SSID and the Guest SSID. Although I'm notified that a network has been disconnected, the other network has already been connected and I have not lost a call since.


text:
Will rooting through Kingo brick the device?
If you have Knox installed in your Samsung device and you try to root the device using the Kingo root app, will it brick your device?

Root
Rooting won't brick your device unless you did it in the wrong way,

Keep the battery full (greater than 75)
Install appropriate drivers
Make sure you use the official USB driver
Follow the procedure.

Kingo Root
As per documentation

Kingo Android Root has already rooted more than 100,000 devices, and we never met a bricking situation.

Refer to this link.


text:
APN not saving with EE Orange UK SIM on Kitkat
I have an LG G2 rooted, running Android 4.4.2. I've put my existing EE Orange UK SIM in, and there are no APNs listed. Whenever I try and add the EE settings and then save them, the APN list remains blank. How can I add my carriers APN settings?
I have tried:

Installing APN backup & restore app, setting as a system app in Titanium Backup and moving to the priv-app folder. Then deleting all APNs, resetting the phone. Still can't add an APN.
Creating a basic APN record, without all of the settings. That saves so that I can see it in APN list screen but when I update the record to include all of the settings it disappears again.
Looking at the apns-conf.xml file. There are loads of settings in here, but I'm not sure what this file does.

There is a service provided by WDS (Wireless Data Services Ltd, a Xerox company) where you can enter your model details and phone number, and it will send an SMS to setup the EE/Orange APN.


text:
Google Location history showing me in another continent? Did someone hack me?
I've just found out about Google Location history and it correctly displays all the places I've been to in Bolivia to-a-T. Really accurate.
What concerns me is that there is a dot in Singapore! I've never been anywhere near that country. Not even 2000 miles near.

My question is, if someone logged into my account from that country, would that dot load from there? Should I change my passwords ASAP?

No, it wouldn't.

From a security standpoint, it wouldn't hurt to change your passwords. I like LastPass - it keeps track of all my passwords and all I have to keep track of is ONE master key. It plugs in to your browser for quick access to sites.
Also, for added security on your Google account, turn on 2-factor (2-step) authentication. It should be under your account settings under security. Basically, it will ask you for your phone number (mobile) and you will get a text when you attempt to login to your Google account/services, this way if your password ever gets hacked, your account is still safe as long as you maintain control of your mobile phone. Hope this helps bud.
Here is the link to Google's 2 factor authentication landing page: Google 2-step authentication


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

Did you actually unroot or just uninstall?

It said clear root and uninstall so I believe both.

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

I never installed it :/

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

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

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

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


text:
Allow enabling of screen after timeout
I want to allow waking up of the screen either through using the home button or from a screen swipe or a tap on the screen BUT the screen should only wake up after a delay of say 5 seconds.  For example, here is the sequence of events:

screen has gone to sleep
user presses home button (or swipes or taps, whatever is easiest to wake up).
but the screen will not wake up until a set time delay has elapsed.
After time delay has elapsed instant reenabling of the screen is enabled.

Is there a setting or an app for this?


text:
Monitor permission usage
Does anybody know a way to monitor the permissions on my phone?
I am not interested in "Which app got which permissions", there are many apps available for that, e.g. aSpotCat - Permission Checker
But I like to know for example: Chrome requested "Location" 120 times (20 granted, 100 denied)
Is such information available?
Android version is 7.1.1 and device is not rooted.

Which Android version and ROM? In some cases (e.g. with LineageOS), this functionality is built-in. If not, it will most likely require a rooted device; so please also add whether your device is rooted.

@Izzy, version is 7.1.1 and device is not rooted

Well I agree with Izzy, it seems some manufacturers modify their ROMs to include such functionality. In my case the EMUI ROM has somewhat similar feature called permission manager, however it gives me notifications whenever an application requests a permission access, additionally offers to grant or deny it.Perhaps the only difference is that there isn't a defined log to give all statistics but you get notified whenever a permission request is sent by the application

@xavier_fakerat yeah, a Huawei device – doesn't surprise me they have something like that. Wouldn't surprise me either if the stats could be found there somewhere (have you checked?). // Wernfried: Without root, chances are close to zero. Even with root there are not too many options. XPrivacy can no longer be recommended for Android > 6, the upcoming successor XPrivacy_Lua might support it but requires root and Xposed.


text:
Can bricking my GT - I9100 damage my antennas?
I'm running a cf-root, SG SII with KL1 kernel and cyanogenmod 7. Before getting it done the way it is now, I went through several failed attempts. I'm afraid the first few times I installed the wrong kernel because the blue progressbar didn't appear, the phone rebooted and then the screen gradually lit up, showing pixels of different colours scattered all over, like a sort of gradient. It was very frightening, therefore I ask: has the "pixels" thing done any damage to my phone, in any way? Have the wireless/gsm antennas been affected by this incident? (I've read, although I didn't really understand, that installing the wrong kernel can affect I a way -- again, didn't get in which way-- your wireless antenna's performance) Is this the truth? I've experienced difficulties when connecting to some wifi networks. Also, a firend's Galaxy Note showed more wifi bars than mine, of the same hotspot. Does that mean I have a problem? Would be "flasing a new radio" the solution? Thank you!

As Matthew said, although it's not impossible, it's quite unlikely. Also you can't really compare the signal bars on different devices models. It's difficult to compare signal quality, instead check for the network speed characteristic, running a speedtest and checking your ping time should tell you if you have any signal issues.

You shouldn't be able to damage your hardware through software.  It's obviously not impossible, there are things that control voltages and so on, but in general it's not even worth considering.
The Note and the SGS II have different hardware and software; there's no reason to believe that the difference in bars you see is anything other than normal.  If your connection has a problem, you'll notice when you try to use it.  Don't rely on the bars.


text:
How do I disable the on screen keyboard? I have a USB keyboard attached
I have a ZeniThink C91 using Ice Cream.  I also have a case that has a USB keyboard.  How do i disable the android Keyboard so only the USB keyboard is active?  Ice Cream 4.0

I was sure we had a question like this already but I can't find it.  IIRC, the solution was to install a software keyboard that was either a dummy and never showed on-screen or that was smart enough not to show when the USB keyboard was being used.

Actually I found the task and killed, now I can see the whole screen when typing on my USB keyboard.  But thanks.

@Matthew were you thinking of this ?

@jlehenbauer I think so, good find!

Null Keyboard is what you want. I do this same thing with my bluetooth keyboard. It does require you manually switch the input method each time, but keeps the pesky on-screen keyboard from popping up.
Another option I've used is to use the method described here to program one of your keys to a Back button, which you can press to remove the on-screen keyboard each time it pops up.

You might want to search for an alternative to the stock-keyboard delivered with your android device.
There are keyboards that have hardware keyboard detection and settings to explicitly turn off the on-screen keyboard, blueduino soft keyboard for example.


text:
Too many password attempts
While I was out, someone attempted to guess my phone password. They couldn't guess it and now it displays the 'too many password attempts' screen, which needs to be unlocked with a google account. However, my google account is not working. I enter the username and password correctly, and have attempted to do so about 10 times. So why is it not unlocking? Do I need an internet connection to unlock it?

You won't need an internet connection.
Also, when typing the username/email, make sure you have either @gmail.com or @googlemail.com at the end, depending on what it was when you added the account.
If you didn't add anything, the default for android <= 2.3 is @googlemail.com

This is probably a stupid question, but how can it connect to the internet without being unlocked?

Sorry - typo error. It doesn't actually connect to the internet. It checks the entered details with the details entered on the device. It does however, connect to the internet sometimes to confirm the password.

No password with the @googlemail.com account?

Actually, the whole point of the question is to circumvent this password screen. If this is not possible, please say.

The only way would be to wipe it - recovery or otherwise. If you do not have recovery, it would be impossible.

OK, I guess I'll just enter random names and hope something works.

@liamwli is there a way to cancel this feature at all?? my kids are locking it daily and I'm using 2 step verification so I have to regenerate passwords over and over.

I'm afraid not, unless you completely edit the android system (but then you would be making a custom rom). You would have to disable the lock - or do what I do, and write you 2 step passwords down :)

Is there a way to get rid of this annoying "feature"!?

"It checks the entered details with the details entered on the device." - it caches the credentials locally? Everything I read on the internet begs to differ, could you link to the source of this info if possible?

Go Here and sign in with your google account:  https://www.google.com/android/devicemanager
Lock it from the WEB and then use that password to open you device - I just did it on my son's and we saved everything!   I thought I was going to have to wipe it, but didn't.  Good luck


text:
Mobile network turns on by itself after Android 4.0.3. update
I'm having HTC Sensation and I use wi-fi on a regular basis instead of mobile network (bad data plan). For the old Android version there was no problem, I just switched of background syncing and set option "Sync only via wi-fi".
After the update mobile network turns on automatically...
I couldn't find exact duplicate of "Sync only via wi-fi" in the update.
I went to Settings->Wireless&Network->Usage->Menu->Usage Settings -> "Restrict background data", but two problems still arise:

Can't get rid of Notification "Background data restricted"
Mobile network turns on automatically when decides to sync.

Any advises?

Maybe turning Data Enabled to off (Mobile network settings on CM9) might help. In that way, it'll sync only when WiFi is available.

At Mobile network settings I have:
Data roaming OFF
Data roaming sound OFF
Access Point Names
Network Mode
Network Operators
Enable always-on mobile data OFF
CM9- what's that?

I think this might help. ICS introduced capping the Data Usage. There must be an option called as "Data Usage" which shows you a graph of your data usage. There's an option called as "Mobile Data". Switch that to off.
Might be wrong. I'm on CM9. Worth a try anyhow.

CM9 - CyanogenMod 9. It's a custom Android ROM.

Can anyone please tell, why has someone, DOWNed my answer? You could suggest an edit ya know.

I don't know If we are talking about same "Data Usage":
Settings->Wireless&Network->Usage->Mobile Network OFF
This was the first thing that I did, nevertheless, this morning woke up with no credit and half updated Facebook statuses.


text:
Computer doesn't recognize Android device after getting charge port replaced
I recently took my Samsung Galaxy 2 to a place that sells phones and services and also repairs them.  I took it there because my charge port was not charging anymore so he said he could replace it. However, now it will not even connect to the computer at all. Any computer, doesn't matter. I have tried everything.
Since it doesn't respond to my computer or any computer, can I still root my phone?  And also, is it even possible for the port he put on to not do data transfer, only charge?

As indicated by Dan's answer: Bring it back to that service point, explain your issue, and have the service tech check whether thy "forgot" to solder some connections. They should do so for free, as they caused the issue.

Most rooting techniques require you to connect the phone to a PC via USB in order to unlock the bootloader, so you won't be able to root the phone this way without a working USB port. Some phones have security vulnerabilities which allow you to root the phone from an app (such as Framaroot), but this only applies to specific phones and specific firmware versions which have such a bug.
It's certainly possible for a port to only charge and not transfer data. In a USB port, there are two data pins, a +5V power pin, and ground. If either of the two data pins are broken or not connected properly, you can still transfer power over the power connection, but no data can be transferred. Most likely these pins weren't soldered correctly when your new USB port was added.


text:
Turning off LED light for Gmail notifications on Galaxy S4
I have email notifications turned off on Galaxy S4 and I'm still getting the blue LED indicator every time I receive an email from Gmail.  How do I turn that off?

What setting exactly have you turned off? Tell us what app the setting is in and exactly where you found it.

You can use LightFlow to manage all your LED Notifications and use that to turn off LEDs for any programs you want. You can also use it to change notification led colours as well.

You have to just go to Settings > Display > Find here notification light option and disable that.
But keep in mind that all notification light will be turned off, except during charging the phone and low battery indication.

authors: สําราญ ใจเร็ว


text:
How to turn off the animation when locking screen on Nexus 5 running on KitKat?
I need to turn off the CRT TV animation when locking screen in Nexus 5, running KitKat 4.4.3.
I was able to turn off the TV animation by keeping Animator duration scale to Animation off in developer options, but this caused the issue in dialer. The dial pad won't appear first time. You have to click again to get the dial pad.
So any other way to turn off the animation without affecting dialer? The phone is not rooted, though solution for rooted phone is also welcomed.
Update:
The CRT TV animation animation is no longer there in Lollipop.

I know that GravityBox has an option to use a fade effect instead of CRT on screenoff. Of course, this requires root and Xposed but comes with a lot of great additional tweaks and improvements.

As pointed out by a comment on the question itself: GravityBox, a module for the famous Xposed framwork, can be used for this (and for many other things: it's a feature-rich toolbox): you can select a different effect, or even switch it off.
If you're on a custom ROM, however, the dev doesn't recommend using GravityBox, as it might lead to conflicts (many of the tweaks GravityBox offers are already present in custom ROMs). In that case, simply search the repo for other CRT related mods – there are several of them dealing with this. One example would be XBlast Tools, which explicitely mentions: CRT Screen off effect (No Effect,Horizontal Effect and Vertical Effect) in its list of tweaks.


text:
Power button is not responsive when being hold on LG Optimus F3
I have an LG Optimus F3. Last night, I wanted to screenshot something, but holding the power button didn't do anything. I can press it and the screen would turn on/off, but there's no response when holding it.
I tried holding it for a good 1 minute, but it still isn't working.
How to fix this?

What do you mean by the power button will not hold ? Can you elaborate ?

You know how you hold the power button to see the option to Restart, Factory Reset, etc. When I hold the power button that doesn't show. It's like I'm not holding it. Do you kind of understand now?

Yeah, got it, could it be a hardware issue with the button ? Can you turn on your phone ? (Don't try it if you haven't already, since if it's a hardware issue you won't be able to turn it back on)

Yes I can turn the phone on & off.

I'm not sure what's wrong, can you dial 7594, I'm not sure it works on LG phones, it gives an option to change the power button behavior. Since extended discussions are not recommended in the comments session, I will do some research and get back to you as soon as I can

omg. I fixed ! I had to remove the batteries and put it back inside lol. but thanks for helping me out.

@Brenda Glad you found a solution! Please, answer your own question and then accept your own answer, so others can see it's solved. Thanks a lot!

This is a routine issue for me.
Removing the battery to force a reboot temporarily fixes the problem. I haven't found a permanent solution though.


text:
How to fix "App not installed"?
I have Galaxy S4 GT-I9500, plus I have much free space. Some apps have trouble to be installed which end after pressing "Install" and telling me "App not installed".
Please I need a solution for this weird issue.

try disabling security checks in Security preferences
Goto Settings-> More -> Security -> Uncheck Verify Apps and check Unknown sources

This means the SD card hasn't been fully checked and mounted, and the app you're trying to run is on the SD. That's why you see the icon, but can't run it for awhile.

1. Summary
Try install your app via ADB → find information about error, that you get, in Google.

2. Demonstration
«Почта России» («Russian Post») app in my case.

Before:

After:

3. Disclaimer
Causes of App not installed in your case may be another, than in my example.
But the actions are the same as in Summary section.

4. Prerequisites
You need:

Rooted device
Enable USB debugging
Install ADB to your PC; simple way in Windows — using Chocolatey

5. Installation via ADB

Connect your Android phone to PC with enabling USB debugging
Download to PC apk file, that you can't install to Android
Try install your app from PC, use command:
adb install <<path-to-your-app>>.apk

5.1. Example
D:\SashaDebugging\Android>adb install postal.russian-5.0.apk
* daemon not running; starting now at tcp:5037
* daemon started successfully
postal.russian-5.0.apk: 1 file push… 3.1 MB/s (5024614 bytes in 1.528s)
        pkg: /data/local/tmp/postal.russian-5.0.apk
Failure [INSTALL_FAILED_UID_CHANGED]

6. Finding information about problem
I search in Google Failure [INSTALL_FAILED_UID_CHANGED] → I read most popular Stack Overflow answer → I navigate to data/data in my Android file manager → I find data of my «Почта России» app:

I delete selected folder → I try install «Почта России» again via APK Installer → installation was successful.


text:
Will restoring WhatsApp chats from a backup also restore blocked contacts' chats?
If I want to restore my conversations on WhatsApp and I'm reinstalling it from the latest backup, will the conversations with the blocked contacts appear? Will the blocked contacts continue to be blocked?

The blocked numbers don't have any relation with restoring backup or not. They're stored online. So, even if you don't restore the backup, the numbers will be there in the blocked list.

chats are stored locally too

Yes, restoring from backup (like with Titanium Backup) will restore all conversations. App settings will be restored as well, so blocked contacts should stay blocked.

Thank you! Which means that they will still be blank? because basically if i "cleared the conversation" and then i blocked the user, even after a restore, the chats will be blank?

The chats should be in the same state as when the backup was made. So if you cleared them, they should be clear.


text:
Default email app's notification is disabled on Samsung Galaxy S4
In my Samsung Galaxy S4, under Applications Manager, the email app has its notifications turned off by default.
This is stopping me from knowing when any of my emails come in. How can I turn this on?
I have found that others have the same issue but have not found a fix for this yet. The other people just changed apps to K9 email.

I had the same problem and this is what I did...
Start at your home screen and swipe down from the top to display your notifications. At the top right, tap the gear/wheel (which is settings). Then, tap accounts. Next, email. If you have more than one email on this app, you have to do the following for each email address--I have two on mine.
You will have a screen that has an accounts heading and common settings heading. Tap settings, then, on the next screen, tap the email you would like to adjust. Sync settings will come up. check the email notifications box and then select a ring tone that won't make you crazy every time you hear it! lol! And that should do it!
p.s. you can also change your signature here as well, to personalize your outgoing messages by tapping signature and turning that function on..  :)

thanks for the answer. Unfortunately this was not the fix for me. I had already set the notification when setting up the email account and have just checked that it is still setup which it is. Any other ideas?

great, that finally helped me to switch off that stupid ringing for every new mail!!!

With mine, I had to sync my facebook account with the phone, and the email app started working again.

Click on the button next to the gear that opens settings in the pull down menu and make sure that "sync" has been highlighted. This should fix it.

Have you changed your e-mail password? If so, you will need to update it on your phone, under Settings -> Accounts, then restart your phone.


text:
Why the file path the phone tells me, I couldn't find in `adb shell`?
I used my new Moto X phone, then I encountered a basic problem. It's running Android 4.4.2. I take a photo and want to send it to my PC. The Gallery app tells me the photo is at /storage/emulated/0/DCIM/Camera/, but in adb shell I cannot find it.
shell@ghost:/ $ cd /storage/emulated/0/DCIM/Camera/
/system/bin/sh: cd: /storage/emulated/0/DCIM/Camera: No such file or directory

I find it at /storage/emulated/legacy/DCIM/Camera/
Question 1: Why is the legacy dir 0 dir?
Then I send it to the phone.
Question 2: Is there a convenient way to use adb pull when I am in adb shell?
exit;
➜  ~  adb pull /storage/emulated/legacy/DCIM/Camera/*.*
zsh: no matches found: /storage/emulated/legacy/DCIM/Camera/*.*
➜  ~  adb pull /storage/emulated/legacy/DCIM/Camera/IMG_20140302_105047591_HDR.jpg
5326 KB/s (2746404 bytes in 0.503s)

Question 3: Why can't I use * in adb pull?


text:
Rooting Gionee P5W
When I tried Kingroot apk to root, it says that there is no root strategy available for my phone.
Is there any working method available for rooting my android phone?

Disclaimer I take no responsibility for this info whenever you root a device there is a chance that you will brick your device.

To root follow my answer at this post Backup/dump kernel image (and
full ROM) without root for Mediatek Devices
Now copy the boot.img file you got from this procedure and place it
in the Download folder on your device.
Download Magisk Manger from here [2018.10.22] Magisk v17.3 - Root & Universal Systemless Interface [Android 5.0+]
Install it on your device and run it.
Select Install and then select again install. Now select Patch Boot Image File.
The app will tell you where the file was created, flash this file to your device and you should be rooted.

Download the .zip file of latest version supersu to your computer
Connect your phone to the computer using a USB cable
Drag the SuperSU zip to device internal storage or SD card
Reboot your phone into TWRP recovery (Method to boot each device into TWRP recovery varies and Google for correct method for your device)
Make sure to back up the device in tWRP recovery]using Backup option
Click the Install button
Scroll down find SuperSU ZIP file you transferred
Tap the SuperSU zip
Swipe to confirm the flash
When the process is completed, tap the “Wipe cache/Dalvik” button that appears and swipe to confirm
Tap the “Reboot System” button to boot back into Android
Now the device is rooted and you will be asked to install SuperSU APK.Do not let TWRP install SuperSU APK itself do it yourself.

"Since your device is using Android lollipop": and why then did OP tag it "Marshmallow"? Just wondering; of course it might be the OP who's wrong; if so, maybe you [edit] your answer and point out what makes you think it must be LP – and maybe add if it works on MM too?


text:
Why won't my mobile data work in some countries that are covered by my plan?
I have a moto g(7) power with an international T-Mobile plan that is supposed to allow me to use my phone in most countries around the world without needing to get new SIM cards. This works most of the time, but I've noticed a few countries not behaving correctly. What normally happens is that I'll get a text message from T-Mobile saying "Welcome to X country" and explaining that I have 5 gigs of high-speed data per month for that country. Then once the high-speed data runs out, I can still use unlimited low-speed data for the rest of the 30-day cycle. But for the countries where this doesn't work, I'll still get the text message that confirms the country is covered by my plan and I'll see that I have cell signal but when I open a browser or try to use messaging apps it says there's no Internet.
Here is how it worked in Australia and New Zealand for example:

✅ I get a text confirming that I have coverage in the country
✅ The cell signal icon indicates a strong connection
✅ I am able to use mobile data

Here is how it's working in Fiji:

✅ I get a text confirming that I have coverage in the country
✅ The cell signal icon indicates a strong connection
❌ I am not able to use mobile data

Curiously, it seems that I am able to make phone calls and use SMS in Fiji, and I guess that's because those things are considered by phone plans to be different from mobile data.
At first I thought maybe the problem was related to the 5 gigs of high-speed data being expired, but the problem still wasn't solved when the cycle ended and my high-speed data was renewed. I've tried using mobile data in Fiji both with and without high-speed data available and the problem is the same in both cases.
T-Mobile customer support didn't seem to understand the problem unfortunately. Here are the troubleshooting steps they ran me through:

I reset the phone's network settings multiple times
I restarted the phone multiple times
I enabled international roaming

None of that worked, of course. What is causing this problem, and is there anything I can do to fix it?

Try shutting down the phone, taking the SIM out, inserting it after a minute or so and power up the phone. Logic:Your device will be re-registered on the local network (supported by your carrier) and this may help

You might want to check the APN setting.

This ^^^ and/or try selecting a different network. Not all providers have roaming contract/agreement with your provider.

I have tried your suggestions with no luck. I guess maybe T-Mobile promises that a country is covered even if there are no networks in that country they support

Hold on, I was finally able to get it working by turning off "automatically select network." I guess T-Mobile supports Digicel and not Vodafone. Someone post that as an answer so I can accept it!