text:
Can't mount ISO in Android
I tried to mount an ISO on Android using busybox mount. It always gives me "No such device".
strace -- busybox mount -t iso9660 /sdcard/some_iso.iso /sdcard/a:
execve("/system/xbin/busybox", ["busybox", "mount", "-t", "iso9660", "/sdcard/Fedora/Fedora-Live-KDE-x"..., "/sdcard/a"], [/* 26 vars */]) = 0
brk(0)                                  = 0x9bae000
brk(0x9bae480)                          = 0x9bae480
set_thread_area({entry_number:-1 -> 12, base_addr:0x9bae010, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xffa9657c) = -1 ENOSYS (Function not implemented)
getuid32()                              = 0
brk(0x9baf480)                          = 0x9baf480
brk(0x9bb0000)                          = 0x9bb0000
getuid32()                              = 0
geteuid32()                             = 0
stat64("/sdcard/Fedora/Fedora-Live-KDE-x86_64-23-10.iso", {st_mode=S_IFREG|0660, st_size=1291845632, ...}) = 0
open("/sdcard/Fedora/Fedora-Live-KDE-x86_64-23-10.iso", O_RDWR|O_LARGEFILE) = 4
stat64("/dev/loop0", {st_mode=S_IFBLK|0600, st_rdev=makedev(7, 0), ...}) = 0
open("/dev/loop0", O_RDWR|O_LARGEFILE)  = 5
ioctl(5, 0x4c05, 0xffa962b8)            = -1 ENXIO (No such device or address)
ioctl(5, 0x4c00, 0x4)                   = 0
ioctl(5, 0x4c04, 0xffa962b8)            = 0
close(5)                                = 0
close(4)                                = 0
mount("/dev/loop0", "/sdcard/a", "iso9660", MS_SILENT, NULL) = -1 ENODEV (No such device)
brk(0x9bb1000)                          = 0x9bb1000
vfork()                                 = 2704
waitpid(2704, NULL, 0)                  = 2704
--- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2704, si_status=111, si_utime=0, si_stime=0} (Child exited) ---
open("/dev/loop0", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, 0x4c01, 0)                     = 0
close(4)                                = 0
write(2, "mount: mounting /dev/loop0 on /s"..., 63mount: mounting /dev/loop0 on /sdcard/a failed: No such device
) = 63
exit_group(-1)                          = ?

Also using losetup /dev/loop0 /sdcard/some_iso.iso doesn't give out errors, strace:
execve("/system/xbin/losetup", ["losetup", "/dev/loop0", "/sdcard/Fedora/Fedora-Live-KDE-x"...], [/* 26 vars */]) = 0
brk(0)                                  = 0x941d000
brk(0x941d480)                          = 0x941d480
set_thread_area({entry_number:-1 -> 12, base_addr:0x941d010, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xffe5547c) = -1 ENOSYS (Function not implemented)
getuid32()                              = 0
open("/sdcard/Fedora/Fedora-Live-KDE-x86_64-23-10.iso", O_RDWR|O_LARGEFILE) = 4
stat64("/dev/loop0", {st_mode=S_IFBLK|0600, st_rdev=makedev(7, 0), ...}) = 0
open("/dev/loop0", O_RDWR|O_LARGEFILE)  = 5
ioctl(5, 0x4c05, 0xffe55318)            = -1 ENXIO (No such device or address)
ioctl(5, 0x4c00, 0x4)                   = 0
ioctl(5, 0x4c04, 0xffe55318)            = 0
close(5)                                = 0
close(4)                                = 0
exit_group(0)                           = ?

With Android's mount linked to /system/bin/toolbox:
execve("/system/bin/mount", ["mount", "-t", "iso9660", "-o", "loop", "/sdcard/Download/Fedora-Live-Wor"..., "/sdcard/a"], [/* 26 vars */]) = 0
mprotect(0xf7798000, 188416, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xf7798000, 188416, PROT_READ|PROT_EXEC) = 0
mprotect(0xf77c6000, 4096, PROT_READ)   = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
gettid()                                = 8755
set_thread_area({entry_number:-1 -> 12, base_addr:0xf77c8280, limit:4096, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0xf7795000
madvise(0xf7795000, 8192, 0xc /* MADV_??? */) = 0
sigaltstack({ss_sp=0xf7795000, ss_flags=0, ss_size=8192}, NULL) = 0
sigaction(SIGABRT, {0xf779b420, [], SA_RESTART|SA_SIGINFO|SA_ONSTACK}, NULL, 0xf7739348) = 0
sigaction(SIGBUS, {0xf779b420, [], SA_RESTART|SA_SIGINFO|SA_ONSTACK}, NULL, 0xf7739348) = 0
sigaction(SIGFPE, {0xf779b420, [], SA_RESTART|SA_SIGINFO|SA_ONSTACK}, NULL, 0xf7739348) = 0
sigaction(SIGILL, {0xf779b420, [], SA_RESTART|SA_SIGINFO|SA_ONSTACK}, NULL, 0xf7739348) = 0
sigaction(SIGPIPE, {0xf779b420, [], SA_RESTART|SA_SIGINFO|SA_ONSTACK}, NULL, 0xf7739348) = 0
sigaction(SIGSEGV, {0xf779b420, [], SA_RESTART|SA_SIGINFO|SA_ONSTACK}, NULL, 0xf7739348) = 0
sigaction(SIGSTKFLT, {0xf779b420, [], SA_RESTART|SA_SIGINFO|SA_ONSTACK}, NULL, 0xf7739348) = 0
sigaction(SIGTRAP, {0xf779b420, [], SA_RESTART|SA_SIGINFO|SA_ONSTACK}, NULL, 0xf7739348) = 0
mmap2(NULL, 3980, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0xf7794000
madvise(0xf7794000, 3980, 0xc /* MADV_??? */) = 0
open("/vendor/lib/libcutils.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/system/lib/libcutils.so", O_RDONLY|O_LARGEFILE) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52) = 52
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0xf7793000
madvise(0xf7793000, 4096, 0xc /* MADV_??? */) = 0
mmap2(NULL, 98304, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf777b000
madvise(0xf777b000, 98304, 0xc /* MADV_??? */) = 0
mmap2(0xf777b000, 86264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xf777b000
madvise(0xf777b000, 86264, 0xc /* MADV_??? */) = 0
mmap2(0xf7791000, 4192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x15) = 0xf7791000
madvise(0xf7791000, 4192, 0xc /* MADV_??? */) = 0
close(4)                                = 0
munmap(0xf7793000, 4096)                = 0
open("/vendor/lib/liblog.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/system/lib/liblog.so", O_RDONLY|O_LARGEFILE) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52) = 52
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0xf7793000
madvise(0xf7793000, 4096, 0xc /* MADV_??? */) = 0
mmap2(NULL, 32768, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7773000
madvise(0xf7773000, 32768, 0xc /* MADV_??? */) = 0
mmap2(0xf7773000, 22216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xf7773000
madvise(0xf7773000, 22216, 0xc /* MADV_??? */) = 0
mmap2(0xf7779000, 4120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x5) = 0xf7779000
madvise(0xf7779000, 4120, 0xc /* MADV_??? */) = 0
close(4)                                = 0
munmap(0xf7793000, 4096)                = 0
open("/vendor/lib/libc.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/system/lib/libc.so", O_RDONLY|O_LARGEFILE) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52) = 52
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0xf7793000
madvise(0xf7793000, 4096, 0xc /* MADV_??? */) = 0
mmap2(NULL, 868352, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf769f000
madvise(0xf769f000, 868352, 0xc /* MADV_??? */) = 0
mmap2(0xf769f000, 788240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xf769f000
madvise(0xf769f000, 788240, 0xc /* MADV_??? */) = 0
mmap2(0xf7760000, 13056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xc0) = 0xf7760000
madvise(0xf7760000, 13056, 0xc /* MADV_??? */) = 0
mmap2(0xf7764000, 61440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7764000
madvise(0xf7764000, 61440, 0xc /* MADV_??? */) = 0
close(4)                                = 0
munmap(0xf7793000, 4096)                = 0
mprotect(0xf769f000, 790528, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xf769f000, 790528, PROT_READ|PROT_EXEC) = 0
mprotect(0xf7760000, 4096, PROT_READ)   = 0
open("/vendor/lib/libstdc++.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/system/lib/libstdc++.so", O_RDONLY|O_LARGEFILE) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52) = 52
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0xf7793000
madvise(0xf7793000, 4096, 0xc /* MADV_??? */) = 0
mmap2(NULL, 16384, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf769b000
madvise(0xf769b000, 16384, 0xc /* MADV_??? */) = 0
mmap2(0xf769b000, 4332, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xf769b000
madvise(0xf769b000, 4332, 0xc /* MADV_??? */) = 0
mmap2(0xf769d000, 4100, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1) = 0xf769d000
madvise(0xf769d000, 4100, 0xc /* MADV_??? */) = 0
close(4)                                = 0
munmap(0xf7793000, 4096)                = 0
mprotect(0xf769d000, 4096, PROT_READ)   = 0
open("/vendor/lib/libm.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/system/lib/libm.so", O_RDONLY|O_LARGEFILE) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52) = 52
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0xf7793000
madvise(0xf7793000, 4096, 0xc /* MADV_??? */) = 0
mmap2(NULL, 204800, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7669000
madvise(0xf7669000, 204800, 0xc /* MADV_??? */) = 0
mmap2(0xf7669000, 195144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xf7669000
madvise(0xf7669000, 195144, 0xc /* MADV_??? */) = 0
mmap2(0xf7699000, 4156, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x2f) = 0xf7699000
madvise(0xf7699000, 4156, 0xc /* MADV_??? */) = 0
close(4)                                = 0
munmap(0xf7793000, 4096)                = 0
mprotect(0xf7699000, 4096, PROT_READ)   = 0
mprotect(0xf7779000, 4096, PROT_READ)   = 0
mprotect(0xf777b000, 90112, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xf777b000, 90112, PROT_READ|PROT_EXEC) = 0
mprotect(0xf7791000, 4096, PROT_READ)   = 0
open("/vendor/lib/libusbhost.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/system/lib/libusbhost.so", O_RDONLY|O_LARGEFILE) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52) = 52
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0xf7793000
madvise(0xf7793000, 4096, 0xc /* MADV_??? */) = 0
mmap2(NULL, 24576, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7663000
madvise(0xf7663000, 24576, 0xc /* MADV_??? */) = 0
mmap2(0xf7663000, 12664, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xf7663000
madvise(0xf7663000, 12664, 0xc /* MADV_??? */) = 0
mmap2(0xf7667000, 4100, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x3) = 0xf7667000
madvise(0xf7667000, 4100, 0xc /* MADV_??? */) = 0
close(4)                                = 0
munmap(0xf7793000, 4096)                = 0
mprotect(0xf7667000, 4096, PROT_READ)   = 0
open("/vendor/lib/libselinux.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/system/lib/libselinux.so", O_RDONLY|O_LARGEFILE) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 52) = 52
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0xf7793000
madvise(0xf7793000, 4096, 0xc /* MADV_??? */) = 0
mmap2(NULL, 98304, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf764b000
madvise(0xf764b000, 98304, 0xc /* MADV_??? */) = 0
mmap2(0xf764b000, 86844, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xf764b000
madvise(0xf764b000, 86844, 0xc /* MADV_??? */) = 0
mmap2(0xf7661000, 4144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x15) = 0xf7661000
madvise(0xf7661000, 4144, 0xc /* MADV_??? */) = 0
close(4)                                = 0
munmap(0xf7793000, 4096)                = 0
mprotect(0xf7661000, 4096, PROT_READ)   = 0
mprotect(0xf77fe000, 4096, PROT_READ)   = 0
open("/dev/__properties__", O_RDONLY|O_LARGEFILE) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0444, st_size=131072, ...}) = 0
mmap2(NULL, 131072, PROT_READ, MAP_SHARED, 4, 0) = 0xf762b000
close(4)                                = 0
futex(0xf7764dec, FUTEX_WAKE_PRIVATE, 2147483647) = 0
mprotect(0xf7794000, 3980, PROT_READ|PROT_WRITE) = 0
mprotect(0xf7794000, 3980, PROT_READ|PROT_WRITE) = 0
mprotect(0xf7794000, 3980, PROT_READ|PROT_WRITE) = 0
mprotect(0xf7794000, 3980, PROT_READ|PROT_WRITE) = 0
mprotect(0xf7794000, 3980, PROT_READ|PROT_WRITE) = 0
clock_gettime(CLOCK_MONOTONIC, {4072, 477037831}) = 0
mprotect(0xf7794000, 3980, PROT_READ|PROT_WRITE) = 0
statfs64("/sys/fs/selinux", 84, {f_type=0xf97cff8c, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255}) = 0
gettimeofday({1446683072, 836523}, NULL) = 0
brk(0)                                  = 0xf7d84000
brk(0xf7d84000)                         = 0xf7d84000
brk(0xf7d85000)                         = 0xf7d85000
mprotect(0xf7794000, 3980, PROT_READ|PROT_WRITE) = 0
mprotect(0xf7794000, 3980, PROT_READ)   = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7793000
madvise(0xf7793000, 4096, 0xc /* MADV_??? */) = 0
mprotect(0xf7793000, 4096, PROT_READ)   = 0
open("/sdcard/Download/Fedora-Live-Workstation-x86_64-23-10.iso", O_RDWR|O_LARGEFILE) = 4
open("/dev/block/loop0", O_RDWR|O_LARGEFILE) = 5
ioctl(5, 0x4c00, 0x4)                   = 0
close(4)                                = 0
close(5)                                = 0
open("/dev/block/loop0", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, BLKROSET, 0)                   = 0
close(4)                                = 0
mount("/dev/block/loop0", "/sdcard/a", "iso9660", MS_SILENT, NULL) = -1 ENODEV (No such device)
write(2, "mount", 5mount)                    = 5
write(2, ": ", 2: )                       = 2
write(2, "No such device", 14No such device)          = 14
write(2, "\n", 1
)                       = 1
mprotect(0xf7793000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0xf7793000, 4096, PROT_READ)   = 0
close(0)                                = 0
close(1)                                = 0
close(2)                                = 0
futex(0xf7764de8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
munmap(0xf7793000, 4096)                = 0
exit_group(255)                         = ?

Not sure if my kernel supports loop device (don't know how to tell).

I've never used busybox mount, but does mount -t iso9660 -o loop /sdcard/some_iso.iso /sdcard/a work?

@terdon the default mount shipped with android is linked to /system/bin/toolbox and have poor loop support.

My main point was trying with the -o loop option. I doubt it will make much of a difference but it's worth a try. That said, this question really seems like a better fit for [android.se]. It sounds like an Android-specific issue and you're more likely to find answers there. I suggest you flag for mod attention and ask them to migrate it for you.

busybox mount says that -o loop is ignored as it automatically detects for loop device.

Your kernel must be built with CONFIG_ISO9660_FS. If your kernel is built with CONFIG_IKCONFIG_PROC, you can easily check by cat /proc/config.gz | gunzip | grep ISO9660

A difference in your three attempts is /dev/loop0 and /dev/block/loop0.
Besides manually testing/looking for either exports, mounts, or kernel configs, there is an app called "loop device tester" - but at least for one of my 3 devices, it is unreliable.


text:
How to use root browser to access databse
I'm sorry if I asking in the wrong places...
I just installed root browser. I can see all my data folder including the database created using android studio. But when I try to access the table, root browser will crashed. Do I need to download another software in order to access the database content ?
Thanks

Root browser is only an advanced file explorer, but it's not a database browser. You need another app to browses those databases (SQLite)

Hard to say without knowing which root-browser you've installed. You might need a database browser for that if it's not integrated with your root browser. And of course your device must be rooted.

@AndrewT. thanks for your response. May I know which app I can use?

@Izzy  Ya, my device is rooted. Just have no idea how to access the database in root browser

Download this

@Hoo you can follow Izzy's list, but I personally use SQLite Debugger after testing some of them.

@AndrewT. Do I still need to use root browser if I install the  SQLite Debugger?

No, since the app will ask for root access.

@Hoo you might need "root browser" (or any other root-capable file explorer) to explore the file system (including system areas). But you'll need a database browser to browse database contents. Andrew's SQLite Debugger should be a good choice; it's the best rated candidate in my list :)

Does the SQLite Debugger can see the image added from android studio? I see a  in image column

Please don't add thanks (or the comments likes the recent ones with .... ) anywhere unless you've something constructive to add. They create noise on the site and are useless to others. To appreciate comments (if only they are useful), you can  upvote them.  Anyhow, have you tried any SQLITE app so far?

@Firelord I'm using SQLite debugger

source: Stack Exchange

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

sort: votes


text:
Dialer app doesn't show dial button
When I tap a number in Chrome Mobile my default Dialer app opens and shows the below screen. I struggle finding out how to actually dial the number, there is no button for that at all. I've been scratching my header of this for a while now. Is it a user interface bug? Or is it me?
I'm running Android 5.1.1 + Cyanogen OS 12.1 using the Mono Tropicalgreen theme on a Oneplus One.
Screen1:
I can either create a new contact or send an SMS, but there is no 'dial' button. Pressing the back button brings me back to Chrome.

Screen2:
The options panel doesn't give me a 'dial' action either.

Screen3:
The other panel doesn't give me a 'dial' either.

It's aa problem of Theme,Change the Theme

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


text:
How to connect to WiFi access point using WPS with a Samsung Galaxy Star Pro GT-S7262
I have Samsung Galaxy Star Pro GT-S7262. I want to connect it to a WiFi router using WPS pin of this router - but this mobile does not have this option.
So what can I do? Is there a way to connect?

According to http://www.howto-connect.com/galaxy-star-pro-gt-s7262-potential-problems-and-solutions/ your phone does support WPS... do a search on the link I've given for "WPS" and you'll find some useful instructions... You need to go to your wifi settings and find the advanced settings page :)

In wifi settings /  advanced settings there is NO wps option .. Is there an app or anything else to do ?!


text:
Why is a suspicious program draining my battery with GPS usage?

Phone : nexus 5 version 2013
Android version : 6.0
Kernel version : 3.4.0-g2aa165e
Build number : MRA58N

For the last few days, 10118 has been draining my phone's battery. It drains battery by using GPS. I typed 'ps' in a terminal emulator, and there was no application with PID 10118. I don't know what exactly 10118 is. My guess is that it's one of recently installed weather apps.
How can I fix this?

Screenshots (click images for larger variants)

That appears to be UID to me. See if you can find the associated package name using that as UID. This may help: How to know app name by UID Also, use a paste service (such as pastebin) to give us the output of adb shell dumpsys batterystats. You would need [tag:adb] setup in PC and USB debugging enabled in the device.

Confirmed @Firelord: it is the UID. And alternatively to installing ADB as recommended by Firelord, you can also try dumpsys batterystats from within a terminal app.

@Izzy, I thought about that recommendation too but the bare minimum privilege required to access a system service is ADB and the final one is root. That's what my attempt in terminal emulator told me.

@Firelord I was thinking about that. But while there's a permission to collect BATTERY_STATS, I found none to access them. I've not tried it either. So you have and it didn't work ("permission denied" or any other error)?

Interesting info. I think you're right about that. The proper denial message I receive is that user (user in terminal app) doesn't have the permission android.permissions.DUMP. So I guess two permissions would be required for successful execution of the command: permission to dump and permission to gather batterystats, or at least the first one to access dumpsys tool.

Ouch. You're absolutely correct, @Firelord: That requires the permission DUMP, protection-level "development", and (quote) "Not for use by third-party applications." So a terminal app wanting to access dumpsys would need to be at least pre-installed. And yes, I was blind here: "The information accessible with this permission is most likely comparable of that retrieved by the dumpsys command-line tool." (quoted my own permission description here ;)

The intriguing fact is that you can execute dumpsys alone without any problem. You won't get the error about that specific dump permission. All that would happen is you would see permission denial error for every  available service there. I used com.android.terminal app to access batterystats service and I got the permission error alike to terminal emulator. @Izzy

@Firelord The output of 'adb shell dumpsys batterystats' is on https://gist.github.com/crocket/1ac5999ef4679cbf542e The gist will be deleted after weeks.

'adb shell dumpsys package | grep -A1 "userId=10118"' returns no output.

Interesting output. There is clearly an app or at least a user ID 10118. See it in the output by searching u0a118. Tell me, do you have root access? When you tell me that, please provide the output of adb shell dumpsys procstats  and adb shell dumpsys location.

@Firelord adb shell dumpsys procstats : http://dpaste.com/2DVBP98 adb shell dumpsys location : http://dpaste.com/2GJ500A

Hmm, I was expecting procstats to show something useful. Guess I'll have to go with what location service is showing. I know the clarification I sought hasn't lead you anywhere, but if possible, could your provide the separate output for adb shell dumpsys package kr.co.kweather , adb shell dumpsys package com.google.android.dialer , adb shell dumpsys package com.aws.android,  adb shell dumpsys package com.wisemobile.openweather?

Only dialer had output. dialer : http://dpaste.com/1C2R76P I think kweather and openweather were deleted in the past.

Let us continue this discussion in chat.

It's the UID of a removed app.
For such a number like 10118, it is the Unix UID for a user app (u0_a118).
There must have been a power-intensive app like a big game and you uninstalled it. Then there's nothing but its UID left, which is used in system logging.
Android does not log by app (for user apps), but its UID instead. So when you view battery usage, Android tells you the list by process UIDs, which contains one that has no app associated to it. Android cannot determine what app that UID is for, so it chooses to give you the UID directly, and that's the number you see.

If it's a removed app, a device restart should make the process go away.


text:
Google Play Services uninstalled on my phone
I'm using a Blu Energy X Plus phone and somehow managed to uninstall Google Play Services. It can still be found in Apps, under 'All' although I can't access it. It needs updating but the last 3 digits after the dash of the older version i.e. Version 7.5.71 (1955121-...) are not visible so I'm not sure of the exact version to download.
The only options available now are 'Disable' & 'Force Stop'. Play Store is still on, but behaving erratically.Should I delete what's left? And how?
I don't want to compound the issue but I have no idea what to do. Any ideas?

Google play services cannot be openedby the user.and if your system does show it in all apps i doubt that its uninstalled! all you can do is update it which is automatically done overtime by the playstore


text:
How can I sync my Google Work Calendar with my Android Phone
I don't want to add my Gmail(Work) on my phone because it requires all those device admin profiles and the Admin controlling that will control my phone.
I've managed to sync work emails via IMAP in the Gmail App, now I have issues with the calendar. Is there a way to sync the gmail work calender?
eg myname@mycompany.com (Google Apps for Work) Calender with my Android Device.
I know I can share the calendar with my personal account and then access it, but is there a way I can add that calender to my phone?
I see there is an Exchange Account on Android 5.1 would that do the job?

If you share the work@gmail.com calendar with private@gmail.com account (like you did), you should be able to see the sub-calendar @work in your calendar-app. (In settings Calendars to display)

i see the sub calendar but i cannot make changes to it ( edit events ) because of the security settings. That's why i need a dedicated app where i can login using my email credentials and manage the calendar sync from there.

The access-type for sharing to the work-calendar should be set to Make changes to event. If that is not done (or can't be done) you can't change events through your private account. I'm not aware of any Android calendar-apps which have a "stand-alone" calendar accounts. They all add the account to Android itself. (You can limit that account to only sync the calendar though) Otherwise you would need to login via a browser and use the web-interface but you'll loose notification etc.


text:
Preinstall android apps without system permissions
I want to make an android image with preinstalled apps. But I want them to not have access to the extended permissions available when /system/app/ installed. How can I make that sure?

Have you looked about [tag:nandroid] backup? It creates image for you.

What version of Android is this ? And does this image have root and init.d support ?


text:
How to quickly understand the Android UI
I have experience with Windows, the MacOS, the iPad and Linux UI's like KDE. I have not used an Android device however so I do not really understand how it works and compares. My general understanding is that it is similar to Gnome-like Linux interfaces, but I guess there must be some differences since Android has a layer of Java, the Dalvik/ART virtual machine, between the Linux kernel and the UI elements.
I have read the Android developer overview to the UI but that has not really helped me understand how the UI operates from a workflow basis.
Obviously I could just buy an Android tablet and use it for a few months, but I am hoping there is some way for me to understand the Android UI and how it differs from other major UIs. How can I get this knowledge?

On Linux OSes kernel starts init which starts getty which starts login process on virtual console(s). There a user can login on CLI and a shell (like bash) is opened for command execution. In windowing system, init starts a Display Server like Xorg or Wayland and login is replaced with a graphical Display Manager like SDDM or GDM which asks for user credential on GUI. After authentication a Desktop Environment e.g. KDE or GNOME is started which starts its Window Manager and shows components like Desktop, Task Bar / Panel, Widgets, Notifications, and windows of applications such as a File Explorer, Web Browser, Terminal Emulator etc.
Android is primarily designed for a single user, so there's no concept of CLI login. In fact virtual terminals/consoles are disabled in kernel by default. init - after starting all native services including Surface Flinger (Android's Display Server) - starts a service named zygote which is a special process to fork Java-like Virtual Machines. Android's core framework (system_server) and all apps run in separate instances of VMs. system_server starts apps which are configured to run on boot, including many system apps.
So what we see after the boot animation ends is System UI app. This app is responsible for showing lock screen, status bar, notifications etc. system_server has 100+ Java services running inside it including Activity Manager, Permissions Manager and Window Manager. WM communicates with Surface Flinger to draw surfaces on screen as requested by system_server and apps. Another core component we see is a Home or Launcher app which is somewhat like a Desktop. It shows, at least, icons of all installed apps and forwards the request to system_server for launching/showing the app when we tap an app icon. So everything we see on an Android device is an app.

Only by using Android device.
If you don't want to buy a tablet or phone, just install Android emulator like Genymotion, Bluestacks or a classic emulator from Android SDK, but none of these would give you the great experience as using and playing with real device.
You can also watch many tutorials like
Android Development for Beginners
which provides you a some useful information, but no direct experience
I'm saying this not only as a Android fan, but also as experienced Android Developer

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


text:
What do I use to update apps without an app store?
I'm looking for an automatic Android app updater. I'm manually installing apps that I want using a web browser, and I do not have an app store (Google Play, Mobogenie, Aptoide, etc.) installed. I want to keep them as up to date as possible without the hassle of having a full-blown store that offers non-app downloads and porn (even "light porn") right on my device.
If anyone knows a good app-updating app, please leave an answer. Even better, if anyone knows of a clean, unobtrusive app store I can use, show me where I can find that.
If details are required, I am running Android "Lollipop" 5.1.1 on a Samsung Galaxy S5.

I already know of f-droid which meets some of my requirements, but it offers so little that it's almost pointless to have installed.

There are a couple of update watchers (e.g. ChangelogDroid), but they all require the corresponding "app-store apps" being present for the updates themselves. However, there soon will be a possibility to auto-fetch updates via your computer, as soon as Raccoon 4 is released – but that might take a little while.

@Izzy Yeah but I want an updater on my device, not for my device with it running on the PC.

Understood – but that doesn't exist, sorry. Not without the coresponding app-stores installed on your device as well.

Well, if all the available stores are the ones I can find from DMOZ, then the only way for an updater to get the latest apps is by using various reliable sources.

I guess you've already checked with our alternative-markets tag-wiki?

Google Play and other markets use pull technology to update your applications , without any market you cant update your applications automatically , so i recommend you to install Google Installer : http://d-h.st/ztjI
Then install the application and Download all Google Software's listed...

I actually had a standalone app updater that used AppBrain as its source (I can't seem to find it now, so I don't have a link). However, I had to manually update by clicking each link and going to the website.

@CyanogenLover I doubt that. AppBrain is just another front-end to Google Play Store, they have no own app repo. True, there's the AppBrain market app – but again, it needs the Playstore app to actually install anything. Long ago, they had the Fast Web Installer to do that; I guess Google didn't like it, so they had to take it down.

@Izzy Well, I think I was able to use apk-dl (APK Downloader) to get the apps. I think it's based in the middle east, because the main site is in Arabic. I'm pretty sure it's legal since they list Google's  price to some of the apps, but I don't try to download apps I'd have to pay for, anyway.


text:
File auditing with Tasker
Sometimes I find in sdcard files and directories for which I can't guess the app that created them (and I know they are not the default files created by the system). And even if they take up only little space, I would like to delete useless files to keep my phone clean and browse the sdcard more easily. So I want to set up Tasker to do the following:

constantly perform file auditing,
when a package is removed ask if I want to remove the files created by that application (this part I know how to achieve).

My question is: how can I set up Tasker to perform file auditing (if this is possible)?
Note: I tried some cleaning tools (e.g. Clean Master) that do this, but I want to implement it myself with Tasker, as they are mostly bloatware.

I've never used any cleaning tool and since you've mentioned that they work in this case, may I know: do they detect any folder created by an app regardless of the name the folder has? // "when a package is removed ask if I want to remove the files created by that application" -- ES File Explorer does that but only when the label of folder matches the the label of app. What technique are you using for folders with different labels but created by a single app?

There is an event named File Modified. Set it to / (this is not literal *nix / here) to monitor /sdcard. To know what has been changed inside sdcard (create/delete/moved), use the task List files after every modifcation and compare the recent output with the earlier output. The anomalies would account for recent modification. However, I can't precisely pin-point which app is responsible for modification in sdcard.

I'm don't know how cleaning tools do it, it's been a while since I last used them. Probably they rely on the name of the folder and the concurrent creation when a package is installed. Thank you for pointing me to file modified!


text:
Get new installed app name with Tasker
I'm trying to set up the following Tasker project: when a new app is installed on one of my devices, send a notification to all the other devices with the name of the app. Ideally, if I find a functioning API, the task will query the API for the app link on the Play Store using the name.
Anyway, my question is: is it possible to get the new installed app name with Tasker? Or at least the package name.

Yes, of course it is possible. The easiest way is the native way, the way which Android apps use to know which app has been installed in the system. They get to know that information by listening to a  broadcast intent with action android.intent.action.PACKAGE_ADDED. The data it carries has the package name.
Provided that you've adb setup in PC, you can check this info on your own by installing a new app in your system followed by executing
adb shell dumpsys activity

Look for the string android.intent.action.PACKAGE_ADDED under Historical broadcasts [background]. Example:
#7: BroadcastRecord{426162e8 u0 android.intent.action.PACKAGE_ADDED}
    act=android.intent.action.PACKAGE_ADDED dat=package:de.defim.apk.protectedapps flg=0x8000010 (has extras)
    extras: Bundle[{android.intent.extra.UID=10150, android.intent.extra.user_handle=0}]
As for the Tasker, it allows listening to broadcasts as a trigger. Setup Tasker like this:

Profile: Event → System → Intent Received

Action: android.intent.action.PACKAGE_ADDED
Scheme: package
leave the rest untouched

Task: (Actions):

Variables → Variable Split

Name: %intent_data
Splitter: :
The package name would now be saved in the variable %intent_data2 (a local variable). Use it wherever you want.

In order to get the app label, you can either use Tasker's inbuilt functionality or use aapt (requires root access)

App → Test App:

Type: Package Name
Data: %intent_data2
Store Result In: %App_name
The app label can now be retrieved from the variable %App_name.

See Accessing Intent Data for more info on intent handling in Tasker.

Thank you very much, works like a charm! I need a lot of practice with intents..


text:
Cannot edit contacts in Marshmallow / Gmail contacts sync
Merry Christmas!
So, I recently upgraded from Nexus 4 to 5x. My contacts used to live on the sim, but since having to change sim (micro -> nano). I exported the contacts using the Contacts app to a .vcf file. I have now imported these contacts to my Gmail account via web.
On my Nexus 5x (6.0.1 update), I cannot see how I can sync contacts from Gmail. I have an issue where I cannot edit some contacts if I just import straight from the vcf file. I am logged in to my Gmail account.
This should be a simple task and I cannot figure it out.

Figured it. I was browsing the Apps list and I had Google Contacts Sync app disabled, thinking I wouldn't use it. The edit pencil icon is now visible.

Remove your Google accounts from your phone, clear data for contacts and phone app. Delete your personal contact information (access it from notifications), then restart your phone and re-add your Google account.


text:
How do I automatically save pictures to my SD card? (Samsung galaxy s3 mini)
I just got a new SD card and I want all of the pictures I save (from Tumblr, screenshots, etc...) to automatically save into their respective folders that I made on the SD card. Can I do this, or do I have to move them each time I save?

Go to settings > storage then select default writing disk to sd card.


text:
How to format a flash drive to fat32
So I'm kinda stranded after accidentally wiping out my whole internal storage.
I'm trying to install a temporary ROM e.g CM on it via USB OTG on TWRP.
My phone doesn't have an OS on it. I have no PC with me since I'm on holiday.
I tried downloading the 200 meg CM and found a flash disk lying around.
However it has the Xbox fuse file system on it, which TWRP is not picking up. All I have access to is my Android tablet.
So I'm trying to find some sort of file manager that allows the disk to be formatted. Any leads?

When you're in TWRP, get the device identifier for the USBOTG using blkid. Probably, it would be /dev/block/sda1. Then try busybox mkfs.vfat to see instructions for formatting. See this for more info: How can I format a flash drive using terminal emulator?

You could try any of the following:

The Android pendant (port) of GParted for Linux, AParted. It currently does not support the exFAT file system, but supports most common Linux file systems and FAT32, and it can detect unmounted partitions and format by block device id. It can auto-repair drives too. Here is it's online manual.
What @Firelord suggested:

Get the block device id of the flash drive by using the blkid command from TWRP's "terminal emulator" option under the "Advanced" button.
You could try mkdosfs -v [-n Label] BLOCKDEV KBYTES, where all the options have been explained above. This will format the block device to FAT32, if the binary is available (I think it is present in busybox and CyanogenMod), otherwise:
Do what @Izzy suggested in @Firelord's linked question:

(The working directory should be /system/xbin/ or /system/bin/, whichever has the busybox binaries installed to it. Also, all commands must be run as root (su -c before anything else))

mkfs.vfat [-v] [-n LABEL] BLOCKDEV [KBYTES]
What do those options stand for?
-v: Generate verbose output (reporting)
-n Label: Give the file system a name
BLOCKDEV: the file system (block device) you want to format
KBYTES: probably the block size in KB(I'm not 100% sure with this)
So the minimal thing to do would be:
mkfs.vfat -v /dev/block/uba1
(provided your drive to format is available as /dev/block/uba1 on your system). One more example, giving the file system a name:
mkfs.vfat -v -n MyNewDisk /dev/block/uba1
It should report success then -- or an error if it failed.

Shouldn't it be su -c  instead of su? Unless, -c is mentioned, what comes after su would be treated as the userid shell to be switched into.

Don't get it wrong, but posting unverified answers doesn't help much. Please make it a habit to verify things.

@Firelord, I actually meant "issue an su command before issuing anything else". That, at least on my devices, switches to the root user's context for any following commands.

These mkfs.vfat and mkdosfs commands, are the instructions to be followed from TWRP or from the Android OS? If you're in TWRP, you need not to bother about su because TWRP by default runs every command with root privilege. Since both /system/bin and /system/xbin are in $PATH, you need not to bother about the working directory either.

@Firelord, these commands can be run from either TWRP or the OS, but in this case I imply the OS whenever I do not specifically mention TWRP

@Firelord, TWRP asks for a starting directory on opening the Terminal. I thought the mentioned directory would be a safe option.

I would suggest you to try this tool -- Paragon exFAT, NTFS & HFS+ . It is available as .apk files on the net or you can download from Google play as well.
But i would seriously suggest waiting it out and doing formatting throiugh tried and tested methods via PC (just to negate any slight chances of renedering your drive useless which does happen when making file system changes using smartphones)
here are the links
https://play.google.com/store/apps/details?id=com.paragon.mounter

Nope. One of the 1st things I tried. It couldn't even see the fuse file system.

@HarrryPorter then you should wait it out maybe?

Nah. I already mkfs.vfat 'd at the TWRP terminal and formated it.


text:
How to remove Measure/mobileOcr/engriks malware?
My phone is attacked by barrage of error dialogs every 1 second:

Unfortunately Measure Has Stopped
Unfortunately mobileOcr Has Stopped
Unfortunately engriks Has Stopped

It makes the phone so laggy until it restarts by itself. Some other apps also don't work, and it's hard to use the keyboard due to the error dialogs.
I have tried:

Disabling and uninstalling the apps from Settings
Installing antiviruses (NQ Mobile Security & Antivirus), but it didn't help either
Factory reset

I found out that turning off the WiFi (or internet) and restarting the phone prevent the error dialogs to appear, but as soon as I turn it on, they appear again.
Is there a way to remove these malwares?

*This scenario is written based on the post from AndroidCentral forum and Cafe Arjun blog. Original poster didn't face this malware personally

Community bump prevention: this question was closed because the question seems to have been abandoned (OP cannot confirm any answers, and no answers have score above 0). If anyone can evaluate the existing answers, feel free to vote accordingly and reopen the question (or mod-flag the question requesting for reopening). For anyone else having the same issue, please post a new question and refer to this question as additional context.

I also have an idea!
Buy an SD card (a new one), put it into the mobile phone, and go to settings. Then go to apps and select engriks ... move them to the SD card, and then remove the SD card.
Maybe it works. I still did not try it.


text:
How can I unbrick my Sony Xperia M?
So, I was trying to install CyanogenMod using this guide.
However, as you've probably guessed, this didn't work quite how it should have...
Probably because I forgot to root. I straight out, didn't root my phone. I unlocked the bootloader like it says in the CyanogenMod Wiki, etc etc, and I believe that I did everything correct in terms of Fastboot, etc, but I forgot to root, which means when I try to install the OS from the .zip on the SD Card, it fails. I can't remember the error, but it's something bad, I can remember that.
I wiped it, which worked, but now I can't install anything
Does anyone have any other ideas? I can provide more details if needed.
Oh, and if it helps, when I do sideload and... sideload the package, everything goes fine (I used TWRP this time instead of CyanogenMod Recovery, and went to Advanced > Sideload) until the error appears, right at the end:

E:Unable to mount '/data'>

The whole phone is full of "unable to mount" stuff. This is why I assume that it was a lack of root. The phone doesn't have permissions to access... itself I guess. TWRP then gives me the "Reboot now" button, I press it, the Sony logo comes and goes a bit, the USB cable still plugged in, then I press the volume buttons a bit, then CyanogenMod Recovery appears again... A picture of an Android with the blue apex type thing spins, then the menu appears with an Android lying on the floor, open, with an exclamation mark in a red triangle...

It's a long shot but from recovery do you have the option to perform a Factory Reset? /data is where user data is stored in Android. From recovery you could also try wiping /data (you might as well, because you can't really access your /data anyway)

You could also try to flash stock firmware and start the CM install over again using this tool by Sony

@Ankush Flashtool isn't supported on the Sony Xperia M...  Only the M2.  I've tried before, it won't work.  I tried doing a factory reset, I can see at the bottom it says "Formatting /data  |  E:  Failed to mount /data (Invalid argument)  |  E:  format_volume failed to mount /data, formatting instead"

This might be worth a shot

And just making sure, you didn't encrypt your device before trying to flash CM, right?

@Ankush No, I didn't encrypt it.  But,  the guide says I need to enable unknown sources and USB Debugging.  Is it possible to do from the CyanogenMod Recovery screen I get when I boot the phone?  Could another img for the recovery do it?

This may help

@Ankush Will that work even if there is no OS installed,  just CMRecovery?   And how would I go about enabling USB Debugging,  or is that already enabled by default in the position that I'm in?


text:
Connect with the Filezilla Server Software to a FTP Server
I'm running a FTP Server on my Android device, there I want to change the options, but this is very uncomfortable, and I want to have a more overviewed Log, so I tried to connect with the FileZilla Server to this Android FTP Server, but it couldn't connect.
It showed me this error:

Protocol error: Unknown protocol identifier (0x50 0x50 0x48). Most likely connected to the wrong port.

I used the Standart Port from FileZilla (14147) and the port which I have choosen on my Android FTP Server.

An FTP server on your Android, now isn't that something. In any case, the 14147 is the default admin interface port for FileZilla server from what I read. Otherwise, from your server access the interface via 127.0.0.1 although I've never done this from an Android. This is what I read here: FileZilla WikiFor the server port, you have to enter the same port number you did specify during installation for the admin port.

What are you using on Android to run FTP server? Show us the settings you're using for FTP server.


text:
My Redmi 2 Prime's battery usage is inconsistent after OS reinstalls
Recently after I updated my phone to MIUI7 the battery increased from 9 hours internet browsing backup to 10 hours and 4 minutes for Internet Browsing backup. But after I tried to roll back the OS to MIUI 6 and few older ROMs of MIUI 7 and them wiped and reset the phone OS to the latest MIUI 7.1.1.0, I have lost some amount of battery and now it gives a Internet Browsing backup of about 8 hours. How can I fix this, has anything wrong happened to the phone because I formatted my phone too many times (at least 6 times as I remember). Please Help.

You should understand that battery usage can differ due to various other reasons too. Were you browsing the same websites and for the same amount of time? Also, Chrome (or whatever your browser is) may have been updated and some features may have been enabled/disabled which can affect battery regardless of flashes. This is totally unimportant. BTW, an online battery backup of 8 hours is considered very good battery backup. You need not worry at all.

Battery runtimes are based on information in the batterystats file, this file is wiped on a reinstall and it takes some time to for it "rebuild" information and come up with consistent battery run-times, especially in larger capacity batteries. There is typically considered to be a 2-3 full charge cycle delay (2-3 days for most people) before the times are considered roughly accurate.


text:
When is native GIF support coming to Android?
When I try to view a GIF in Whatsapp, or the default Android Gallery app - GIFs do not autoplay.
Why is this? When is native support for GIFs coming to Android?

Are you sure that Whatsapp send animated GIFs correctly?

I think that WhatsApp doesn't support GIFs yet, when I received one it was displayed as a still image. But Android does support GIFs, if you download one from the net it should be displayed just fine (at least by Google Photos, but many other app support them). If yours doesn't, is probably because WA converted it to an image only.

To till date now, Android OS don't have native support to run GIF files. For such approach they demand to use a GIF Player or any Media Player who is aware to run GIF (stack of images animated).
E.g. Gallery app, Photos app etc they have features to play gif files.


text:
How do I disable Firefox Android's popup browser tips?
I'm using Firefox for Android. It keeps showing me popup browser tips at the bottom of the main screens, like bookmarks, top sites, history, etc. I'll close them, but then next time another new one appears. How do I disable these entirely?

Could you please add a screenshot of the aforementioned 'popup browser tips'?

1) Type about:config in the address bar and press enter
2) Find the browser.snippets.enabled setting and tap to switch the value from true to false.


text:
My phone is soft-bricked after ADB update
This is the problem:
I always connect my phone to computer, to charge it, but I tried to execute ADB shell into recovery mode.
1- I've entered into recovery mode
2- I tried to go to "Apply update from ADB"
3- I tried to execute commands from computer (but it not worked)
4- I removed the battery to force shutdown
5- I got a soft-brick (I suppose that reason is because I interrupted the update)
EDIT: My phone is not rooted and I didn't try to install custom roms.
I don't understand how can this cause soft-brick?
Apply update from ADB and force shutdown.
EDIT: I tried to wipe data and cache, it not worked for me.
EDIT: My phone system state is Official

What is the current state? Can you not turn on the device or boot into Android OS? If can't boot, is the process appears to stuck on OEM's logo or on boot animation?

When I turn on, it's stuck at Samsung logo

Just do this one thing, flash/install CWM recovery using Odin or other flashing method suitable for your device. From there,  it will cakewalk to install any custom rom on your device.

Flashing CWM will void warranty, and there's not stock firmware that matches with my PDA (AP) or CSC

@codigos what is your device name? And about the warranty, each method which acquires root access will void your warranty on most android devices.

Also,  applying ADB update from PC,  requires USB debugging on your device to be switched on.

Which phone is it? You have to download stock firmware for it and flash it via flashtool, adb or fastboot (depends on phone). If you have Samsung phone, then download firmware and Odin from sammobile.com and flash.

Updating from adb is unreliable on a lot of PCs.
A much more reliable method to update (or in this case recover) your phone is to choose Apply update from external storage.

Obtain an sd card, and format it to FAT if not already.
Copy the official 'stock' update to the root directory of the card.
Power off phone and insert card
Reboot into recovery but holding volume up, home and power keys at the same time
Apply update from external storage.
Wipe cache partition
Wipe data/factory reset
Reboot system now
Wait at least 10 minutes for the OS to load before pulling the battery or powering off the phone... It can take a long time to rebuild the caches on some models!

Of course the Recovery menu options can vary a lot between devices. And unfortunately some of the most recent phones do not have an sd card, in which cases this is not a valid answer... But you have not specified your model!


text:
Dead Samsung Note 4
I dropped my phone in the pool and now it won't turn on.  I took it to a repair place and was advised that it was to far gone.  I have about 3000 photos on the internal memory (stupid me didn't back up) and I didn't sync this phone to my samsung account.  My question is.. is there any possible way to sync my dead samsung note 4 to my samsung account through the computer???

You're going to want to buy another same-model Note 4 off ebay and swap the logic boards around. It has to be same exact model, same carrier. You can check the label behind the battery for your model #. By swapping the logic boards, you can pinpoint where the problem is. If your phone works after that, then lucky you, it was just the USB board or screen causing the problem. This is your best shot at getting it running again. Yes, it will cost you some $$, but not as much as any of the ladder options.
If it doesn't work, at least you have a new phone to use. You can also just resell it on ebay. At this point you'll have to pay for a professional data recovery service, which requires sending your phone in to a professional to have your memory chip lifted off the board and probes hooked up to it to get the data off (risky). There is a similar service called JTAG that fixes phones that don't turn on, but IMO they usually don't recover data, they just reflash the phone to get it working. But if you know a guy, ask him what he can do.
Pray that one of those 2 options work for you. Good luck!


text:
Why am I running out of space?
My phone (a Moto G 2nd Gen running Android 5.0.2) says I currently have 441MB of free space on my phone. I am trying to download an app that is 27MB. My phone refuses to let me, because it says I don't have enough space. I've moved everything I possibly can to the SD card (apps, pictures, etc) and have deleted my cached files.
There's obviously enough space for this app to be downloaded. Why does my phone think that it's not got enough space?

What is the size of data partition? Use DiskInfo to find that easily.

@Firelord DiskInfo says it is 5.5 GB with 551 MB free.

After moving to SD card, Try to restart your phone and then check it out


text:
Has device [storage] browsing through Bluetooth been disabled on Android?
My mobile phone is a Motorola Moto G with Android 5.1 and I've just discovered I could no longer browse my phone storage through Bluetooth. I only use that feature infrequently yet I find it extremely practical. I usually connect to my phone from Linux Mint — which I love precisely for the hassle-free usage when it comes to such manipulations. The software I use is BlueMan Bluetooth Manager.
Today I uploaded a spreadsheet file to my phone, which I wanted to use as a temporary storage. As a side note, it refused the ODS extension (WTF?)... well, saved it as .xlsx (sighs) and my phone accepted it. As there's no [stock] application that allows me to browse my phone storage locally — hadn't needed any so far — I thought about retrieving the file on the other computer with Blueman «Browse device...» feature. I got an error such as this one:

Oops, something went wrong. Service not available on the remote device.

I then removed my phone from Blueman's list, refreshed the list and added my phone to Blueman again.
Surprise: «Browse device...» is now grayed. I tried on another computer and it's the same issue.
The only way I could retrieve the file on a computer was to install Asus ZenUI File Manager on my phone, browse locally to find the file in question and send (share through bluetooth) it to the computer...
I wouldn't call this a hassle-free experience, especially given that remote browsing was possible some time ago.
So did Google actually remove Bluetooth Remote Browsing?

Have you considered flashing custom kernels? Lollipop kernels are pretty locked down when stock.

@aaron-gillion : I suppose that implies rooting my phone?

Yeah pretty much... There is a downgrade to Kitkat guide available for the Moto G, that will definitely fix the problem immediately. Just for info, Google is not responsible at all for Bluetooth Remote Browsing. That's all implemented by BlueMan. Contact the dev there, they should've rolled out an update for Lollipop by now...

I'd less reluctantly root my phone if it was a testing device so that's no option to me yet. You know, given that Google is no stranger to removing features (such as silent or vibrate modes) I had to ask. But thanks for the info, I'll check a fairly recent Blueman stack and see if it helps.

Did you upgrade the software on your device?  I don't see the connection to Google here.

Yes, I always apply updates and upgrades to my Android phone when there are. The last upgrade was a long time before I posted this message. There's been a lot of updates since then though. About my computer, it's been a long time there's been no updates applied. And isn't Google the company behind [the product named] Android? You know, like Microsoft is behind [the product named] Windows, right?


text:
TWRP backup directly to network drive
I am trying to create a TWRP backup of my phone, but I don't have enough storage space to create the backup.  Is there some way to backup directly to an external drive on my local network, like I do with PC backups, or is that not possible on Android?

Came looking for the same answer.


text:
Cant update Android 4.4.2 on rooted Thomson QM736 tablet
I cannot find System Update in settings. Is this because it is rooted?
Manufacturer: Thomson
Model Number: QM736-8G(HD)

It is possible that your OEM didn't have plan to update your Android version in future, so keeping that in mind they did not provide provisions for system update, hence, missing System Update app. Can you confirm OEM has made an update available to your device?

No, I can't confirm


text:
Select all is missing in mobile version of gmail
How can I select all instead of one by one in gmail Android version application. ?

Related is-there-select-all-functionality-in-the-gmail-app

Only the standard view of Gmail in a desktop browser has select all functions.  The Basic HTML version does not, nor do the Gmail Apps  from Gmail Help forum

Up to Gmail (android) v5.10, there's no option to select all. Maybe they'll add it later. But you can empty trash folder in one go.


text:
Is it possible to restrict access to raw user data in fine-grained manner?
Usually, to allow an app to read user's data we add some lines to the android manifest stating a specific permission for that app. However, android does not have any kind of control over the raw data that an app may read. For example, if an app has the permission to read the call logs of the user, it will be able to access to all the raw call logs information without any kind of restriction. Furthermore, it happens exactly the same when an app tries to read the contacts. It can read every entry without and restriction on the raw data. The fact that apps does not have any restriction on user's raw information once they have access really concerns me. It would be more desirable that, for example, a social app would have only access to your contacts email and not phone numbers, addresses or phone office numbers.
I am trying build an app that could restrict the access to raw information in a fine-grained manner. That is, an app that could restrict the access depending on user's preferences so that two different apps that, for example, have the permission to access to the call logs could view different processed versions of the same call log. One could only see the calls made during an specific day and the other one could only see the calls during the last moth. The idea could also be applied to contacts so that sensible user information would not be disclosed.
I have been researching a lot into the topic but I have not found any answer. From all the sources that I have read, I guess this cannot be done (yet). However, if anyone could shed light on how to implement this I would be very grateful. Would it be possible to restrict the access to raw data in a fine-grained manner?

Android official supports multiple users with profile restrictions:
https://support.google.com/nexus/answer/3175031?hl=en
I think there are several 3rd party ways to do it (Like Maas360 software) that can also do multiple user profiles
I don't k now if "android restricted profiles" meets all of your needs, but I think this is the starting point for controlling a device that may have multiple users with different roles.

Thanks for the answer, but it is not very helpful. User profiles restrict themselves to use different apps, I am seeking to restrict the apps access to user data.


text:
Is it possible to backup Whatsapp Contact Photos?
As the title says, is it possible to backup my Whatsapp contacts pictures?
I'm not talking about pictures and photos shared between us, I'm referring to the contacts' profile pictures.
All the solutions that I have found are focused on backing up chat histories, shared pictures and so on, but nothing that can perform this task.

The pictures are located at /Whatsapp/Profile Pictures/. Can't you just copy them with a file Explorer?

There is no direct button to do this work. But, you can find all those profile pictures that you see in full clear view. These pictures are downloaded in folder WhatsApp/Profile Pictures.
From there you can copy and paste where you want. Generally, these will not show in Gallery, because these pictures kept hidden by .nomedia file.

Thanks, I knew where they are located, I was looking for a way to automatically backup them; I guess that I have to do that manually.

Where you want to automatically backup these pictures?

@Sekhemty auto backup is not supported AFAIK. Reason...this is what I think!! Just Imagine this:  You have 1000+ contacts. Hundreds of them changing their profile pics regularly and Whatsapp is taking their back up as soon as profile pics changes. As you may know, these back ups are local + Google Drive(optional, as not all user have Google account ), and soon your local storage will become full. Bad user experience...isn't it?


text:
How is it that I don't need to enter my password to decrypt my phone?
I understand that my Android phone is encrypted, however I never input any password to decrypt the phone. If the key is stored in some hardware component but is automatically retrieved every time my phone boots, how is it secured?
Edit: I do have to unlock my phone, but that's after it's booted. Doesn't seem logical.
My phone clearly states its encrypted:

Perhaps it isn't secured and your phone isn't encrypted.

If your Android device is encrypted, when you turn it off and on again it will ask for your decryption password and your pin. If this is not the case, then your device is not encrypted.

Note: by turn off, i mean, shutting it down completely

Knowing what Android version you are using would be helpful.

My assumption lies in the fact that when you bought your device it came loaded with Android Lollipop and has the capability for full disk encryption. In that case, see: "Because Android 5.0 devices are encrypted on first boot, there should be no password set; therefore we decrypt and mount /data."

Me too! On Android 5.x, I got the PIN prompt just after boot (and then before just before logging in, iirc). But after upgrading to 6, the PIN prompt only appears just before logging in and well after the boot process. So even if it is encrypted, it's clearly able to load a lot of my apps and data without my PIN. So it just a lock screen PIN or an encryption-key decryption-PIN? This answer and the comments below it have shed some light.

The data is encrypted by default, but if you don't have a pin, or code to unlock your phone, then it's obviously not secure at all.
If you set a pin, password, or pattern lock etc. then you will need to provide this when the phone boots, to decrypt the drive.

A PIN/Password/Pattern/Swipe at lock screen only unlocks for access, not decryption. You have to setup actual encryption on the device at boot level, before your lock screen policy.
Unlocking phone for use/access does NOT equal decryption.

I believe some newer phones have encryption enabled by default. You obviously need to set a lock to actually secure it though.

According to the Android documentation it uses a default password of "default_password". This is obscured by a hash involving hardware encryption keys and a salt unique to your hardware signature.
As already mentioned, this isn't very good security so there's not much point. Without securing your phone with a strong password to rehash the key, it's easy to get into. What wouldn't be easy would be recovering your data if you had some sort of hardware damage. If you were able to externally mount it all you'd get is encrypted garbage; all this for what added security? So the FBI can't see videos of my kids graduation? This is a move to encourage you to back up your data into the manufactures cloud infrastructure... the least secure thing you can do.


text:
After downloading APK Games weird things happening
I downloaded APK Games and one thing I know when I woke up my built-in apps were being replaced by "pornclub", "sexyhot", etc. I did Factory data reset but it deleted my built-in apps. I was going to flash it, but I can't enable developer mode by repeatedly tapping the device model (it doesn't work). Also my installer, messenger, and everything are gone. What can I do?

What's your device & model? After you get done flashing, this is a prime example of how rooting your phone makes it more secure. Had you rooted with SuperSU those games/apks would not have had permission to write/access su in order to delete your messenger and dev options. I hope you good luck.

I recommend backing up any important files to your PC and then using fastboot flash to go back to stock.

Fastboot needs fastboot mode and without usb debugging you can't flash anything to your device.

If you boot into fastboot mode by pressing vol and pwr keys you can still run fastboot commands regardless of  debugging settings.

You phone is most certainly infected. The most guaranteed way to get rid of the infection and bring back all the built-in apps you mention is to flash a clean stock ROM. Since you didn't disclose your device information I can't recommend anything further than this.


text:
Why are calendar events spontaneously appearing in my phone, or Is My Phone Haunted?
Today my phone beeped during class reminding me of an event I never added to my calendar. It said, 'Jason 2/24/16'. Later today I have another event which I never added, 'Jason 2/24/16 3:30p'. Tomorrow I have an event (also never added myself), 'Jason 2/25/16 10-11a'. A few weeks ago I encountered a similar phenomena, but there was also another name used for a few events, 'Lindsay'. I deleted these old events, but I can post screenshots of the recent ones if anyone needs 'proof'. I say this because I expect some skepticism due to the circumstances of this situation.
What I am looking for is an explanation. There are some things to consider:

My phone is always on my person and is protected by a password, so it's nigh impossible for someone to have added the calendar events directly with the phone.
My phone is a Samsung Galaxy S4 (carrier Verizon), and the built-in calendar application (I believe its Samsung's own software) syncs with Google calendar. Checking my Google calendar shows none of these Jason or Lindsay events. So the events were not synced up, and they were added to the phone calendar somehow.
I don't use any apps that to my knowledge would affect the calendar, though I imagine there are some that have the ability to add to the calendar.
I have no friends or acquaintances named Jason or Lindsay.
After this happened the first time, I checked through the next ten weeks or so to make sure there were no more of these types of events. The last time I checked was probably a few days ago. So the events appeared recently.
Looking up Jason and Lindsay I found the Jenner Double-Murder case. I have no involvement in that case and knew nobody involved. For what it's worth, I live in California. The prospect of some connexion scares me.

I have three hypothetical explanations:

Some wayward app is adding events and is either doing this as an easter egg prank or just some bug or something like that.
Someone is somehow able to access my phone indirectly and is adding these calendar events. Who or why is unknown.
My phone is haunted or has a demon in it.

Sounds like an account that's added on your phone is logged in somewhere else, where someone is creating the events. Do you share a common computer with anyone where this may be happening?

Change your Google account's password and delete the events

I have two Google accounts on the phone. I checked both and they have not been accessed by any other devices besides mine. I also have two-step verification for both accounts.

This could be as mundane as someone invited to you a meeting incorrectly, perhaps they invited the wrong Gmail address? Look at the calendar entry and see who the Organizer is

Check your google calendars to see if your calendar is being shared to other people.

I think it is either ley lines or aliens. There is the highly unlikely possibility that someone just has access to your calendar. Sadly this question is also off-topic for SU as it doesn't involve computers.

I don't believe the top comments that was made in 2016 by these other people
I believe that there is something definitely wrong with this picture no one can never access to no one calendars or even email addresses.. This is a very good question that no one can really answer but I believe that there is an attachment to that phone from the past somehow.. Do some research on those specific dates and the name of those people from a possible past on those very same days.


text:
Phone stuck in bootloop after installing Chainfire 3D app
I have Micromax A61 with 4.1 Jelly Bean. I rooted it using Kingo Root. I tried a performance boosting app called Chainfire 3D. Now it's stuck in boot screen.
I don't have CWM or TWRP recovery and USB debugging is OFF.
Help me.

Try a factory reset and cache wipe

Hard Reset or wiping Cache is not useful.

u can also download custom ROM from outside & install it on ur phone.
try it. It can be happen useful

Taken from an answer by 'Same error but solved it' on Stack Overflow,

Follow this tutorial on YouTube to install and open a program which you will use to uninstall the driver of ChainFire installed on your device.
Start your phone into recovery mode (Home + Vol up + Power).
Plug in your phone via USB cord to your computer.
Once you have ADB opened in command prompt, type su to gain superuser access.
After that, you type cd /system/lib
Then you type cf3d_uninstall.sh

Source: XDA Forum

Can you replace the video with something better

@SuiciDoga You can learn it from https://www3.ntu.edu.sg/home/ehchua/programming/android/Android_HowTo.html . It is text. Read it and install sdk. Don't forget to install USB driver for your device.


text:
Where is the settings option to Divert or block incoming calls
Where can I find the option to divert and block incoming calls on my mobile.
I was unable to find it. It is available on all mobiles. Where is it in Android?

Android version: 5.0 Lollipop
Mobile manufacturer: Micromax

That might depend on your device and Android version – so could you please [edit] your question and include those details?

Just open your call button, tap the 3 dots in search bar top right, then settings and you have both.


text:
How to set the quality of YouTube video on UC Browser?
I am using UC Browser. I can't find any option to set the quality of video in YouTube to low or high.

Just use the official app.... Also, why aren't you using chrome :/

@RahulBasu I personally don't use chrome either. There are a lot of better options that allow extensibility. I don't think it's possible to adjust this without using the app.

@RahulBasu I don't use Google Chrome because I think it opens the YouTube app to play videos, whereas UC Browser uses its own video player for playing. I think it UC Browser consumes less data then official YouTube app.

@user153722 - You cannot set quality of the video on YouTube in UC Browser. You just have to use the official app and set the quality to either 144p or 240p.

There is no Low on UC Browser, but you can trick it using Opera Max (available on Google Play Store).


text:
Battery charging time calculation
One of the very useful feature of Android version 5.0 Lollipop is that it shows how much time is left for the charging to be completed. How is the time for the device to get fully charged determined?

To put it bluntly? Lets say you were charging from 0% to 100%. It would work out how long it takes to charge a certain amount (like 1%, for instance. In reality, it's a significantly smaller number than that) and then uses maths to work out how long it takes to get to 100% (so how long it took that 1% x 100). In reality, it is constantly doing this math as you are charging, therefore keeping the time accurate.
Many things can affect how long it takes to charge our percentage, though. A charge via USB is slower than via plug, and playing a game or watching funny cat videos on youtube in 1080p is going to really slow the charging speed.

Can you support your answer with credible sources? One might want to  independently verify your claim.

@Firelord tbh, I'm basing it off calculations I done myself, since the internet has no real answer (unless you count app ads) it'd also be the logical approach to calculating it, understandably.

As per the training document Monitoring the Battery Level and Charging State Determine the Current Battery Level section describes a method, which I presume is implemented in OS and measured periodically (most likely at every 1% change of battery level)

You can find the current battery charge by extracting the current battery level and scale from the battery status intent as shown here:

int level = batteryStatus.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
int scale = batteryStatus.getIntExtra(BatteryManager.EXTRA_SCALE, -1);

float batteryPct = level / (float)scale;

Once you know the current level and the time taken to reach that level, I presume time for full charge is stored in ROM (not sure how and where) it is only a matter of extrapolating

Note: This is an educated guess and would welcome inputs


text:
I lost my android phone, how can I recover all my Whatsapp status and messages
I lost my android phone (MOTO G2) on my marriage day. Now I wanted to check all my whatsapp status to write full story of my life before one year back. (In short my past time)
Is there any way to recover all the whatsapp status from another phone OR any Third party application OR any recovery option?
Please guide me! Thanks all in advance.

You lost your phone a year ago and now you have a different WhatsApp account?


text:
Why there is small hole or opening on the top of a Coolpad Note 3 Lite?
There is small opening on the top of the rear camera of my Coolpad Note 3 Lite. I was just wondering why it is there; it is quite uncommon for a Coolpad Note 3 Lite, see here.

It is almost certainly a small microphone for use when recording video using the rear camera. These small holes are quite common on phones and other recording devices to allow a cheap small microphone access to the outside.

Thankyou Ben i am really a newbie in this field, i recently got to know about rear mics along with cameras btw Thanks for your instant response

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


text:
Infamous Marshmallow WiFi battery drain
Yes, the infamous battery drain bug.
I've tried every fix in the book and I can't solve the problem.
I've got a Nexus 4 with Chroma (1/18/2016 build) and Hell's core(3.4.0-hC-b87-M) (Marshmallow). I rarely turn on mobile data and when I do, it's for minutes at a time. I have wakelock detectors and better battery stats, they show nothing peculiar (other than the wifi drain).
I've tried:

Turning WiFi and Bluetooth scanning off.
Turning my WiFi only to 2.5GHz
Turn it on and off again
Clearing app cache
Turning WiFi off during sleep.

Is it Chroma, Hell's core, an old phone?
Any help is greatful.

Can you tell us which particular build of Chroma ROM and hells-Core kernel are you using? Are they stable or nightly builds? If nightly, have you tried with stable builds of them and see if the issue persist?

Not enough rep to comment... but I had this exact issue on my stock Nexus 7 and the only solution that worked was a factory reset.
I also have a Nexus 4 running Chroma and haven't seen issues with either the Jan or March build.  If nothing else works, you might try a full wipe and installing the ROM / kernel again.

Did you try booting into safe mode once (powerbutton then long tap power off). After starting in safemode, restart into normal mode.
Had the issue, and this worked for me.


text:
How do in-app purchases work?
I'm trying the free version of an app, and I'm considering to upgrade to the Premium version. The said app is Rewire.
From what I see, the Premium version in not directly available on Play Store, and it can be purchased only in-app.
How do these purchases work? If I  uninstall the app then reinstall it later, or if in the future I change my phone, this purchase will still be recognised?
Will I be able to use the full version again without having to pay once more for it?
It appears that the purchase is managed by Google Play:

Depends on the capability and desires of the developer of the app. Contacting him is the best choice.

There are two kinds of in-app purchases — managed, and unmanaged.  The former have more direct involvement from Google and are transferrable between installs.
Managed purchases are generally for things like premium/pro versions and subscriptions, whereas the latter are for one-off purchases.  Unmanaged ones might cover extra donations or things like virtual currency.
So as long as the developer has implemented the right kind of purchase, you should be fine.  If not, and the transfer doesn't work, I would expect that an appeal to Google would result in a prompt refund.
See http://www.androidauthority.com/android-inapp-purchases-need-know-92432/

Thank you. Please have a look at my edited question: will that mean that the purchase is Managed?

@Sekhemty Both managed & unmanaged purchases use the standard Google payment mechanisms, so you'll see that window in both cases.  I'm not sure if there is an difference in the UI between them.


text:
Phone stuck in bootloop due to HiFont
My phone has stuck in a bootloop when it rebooted after installing a font using HiFont. I have tried HiFont many times, it works well. It is for the first time it happened. The phone boots up and shows the whole animation but gets stuck on the last frame. Please suggest me a good solution.

Android version: 4.1.1 Jelly Bean
Mobile manufacturer: Micromax
Rooted
Model: Bolt A61

Hard reset and wipe cache partition are not working. Typing ls in adb shell inside the /system/font gives the following output

Of course they don't. The fonts are contained within the System partition. Only reinstalling the firmware will fix this issue.

@DeathMaskSalesman Don't discourage me. There could also be some solution using the ADB. Please help me.

If I recall correctly, the system fonts are comprised by the Roboto family. For this motive, I recommend you to obtain the content of the /system/fonts folder via ls, issued from adb, and to update your question with the output of ls. This way, we could start to know how HiFont works, and, thus, conceive a way to solve the issue. The hard way would be to download one firmware suited for your phone, move it to the SD card (or the internal SD via adb), and flash it via recovery.

@DeathMaskSalesman Sorry for the delay, but I update my answer. Please help me.

@Izzy Any clues to offer, aside from a firmware reflashing, guru?

@DeathMaskSalesman well, he has access to root shell, can't he just delete the most recent font?

@AaronGillion Hey man, will it solve the problem.

Yup. Do you remember what the name was?

@AaronGillion It may work, but I recall that these "font customizer" apps often replace the Roboto family with the font family chosen by the user, and then rename it to match the Roboto names. Such approach wouldn't work, if that's the case with HiFont.

@AaronGillion Do you think that it is due to any damaged font? If so, I had already copied the fonts from there, before the phone stuck in this hell - the Boot loop.

@DeathMaskSalesman I did it. Aaron Gillion helped me. It was not possible without your help. Thank you DeathMaskSalesman.

@Aman Glad to hear that you were able to solve the issue.

@DeathMaskSalesman Thank you. It was not possible without you. You were the only one who showed me the way in the dark.

@Aman Heh, it's Aaron, who put my theory into practice.

@DeathMaskSalesman Yes, that's right. But you were also somewhere involved in my success. No more arguments, just a big Thanks. You are great. Keep it up.

Since you have access to ADB with root, you can easily remove the font you installed using this command:
rm /system/fonts/xxxxx.TTF

If you don't have the slightest clue which fonts were yours, you can actually sort ls output by date modified, as so:
ls -tr

...which will show the most recent fonts at top, given the modified dates are correct.
If your most recent font is of the Roboto family, that means your customizer app replaced the default font! You'll have to write down the exact filename, remove it, and cp another font (eg. Arial) and rename it to the same filename. Of course, none of this will be needed if you have a device backup. Just copy the originals.
Hope this solves your problem!

I am about to try it.

How to copy the fonts from my computer(S:\fonts*.ttf) to the /system/fonts using adb.

adb push s:\RobotoLight.ttf then cp /sdcard/Roboto.ttf /system/fonts/Roboto.ttf

ADB push is not working. It is showing the help menu.

You have to exit the shell first, so there's no # or $ when you type. Or just open a new command prompt window. Try adding the destination /sdcard to the end of it.

Thanks. It worked. You are great. Thanks. Thanks. Thanks.


text:
Can I control where apps are installed?
I was hoping that when I set the SD card up in my phone (Moto G 2nd Generation running Marshmallow) as internal storage rather than portable, it would know to put apps there automatically instead of me having to manually tell the phone to move them there.
Is there a way I can do that? I was hoping with the changes in Marshmallow it would be an option, but I'm not seeing it.

I found this on Motorola's website:

Once the card has been formatted, you will be asked whether you want to migrate data currently on your device to the card. This step will move all media, pictures, and documents to the SD card.
By selecting where to migrate content, you also select the preferred storage location for all applications, databases and data.

If you decide to move that data to the card, the SD card will also become the preferred storage location for all applications content, data and database and media.
If you decide to skip this step, your device internal storage will remain the preferred storage for all content.

So if you chose the SD card at that prompt, you should be all set.  If not, one workaround would be to move everything off the SD card back to internal storage and then format the card — then repeat the process to make it adoptable storage, and select that option this time.
I should also add that Motorola's documentation seems to conflict with the official Google reference, so I'm not sure whether one is wrong or if Motorola has customized something.

Apps can be placed on adopted storage media only when the developer has indicated support through the android:installLocation attribute. New installs of supported apps are automatically placed on the storage device with the most free space, and users can move supported apps between storage devices in the Settings app.

Ah, I wonder if I did that step wrong when I set it up in the first place, and that's why things aren't moving like I think they should be.


text:
How do I locate Google Settings, or better Android Device Manager Settings on Android 5.0.2 MIUI 7.0?
I have trouble locating Google Settings.
Official help documentation advice doesn't apply. Maybe since I have MIUI 7.0? I'm looking for Android Device Manager Settings.
Google Support Info

Open of Google Search app, then type in Google Settings. Does the app show up?

Edit: This answer isn't related to the question actually. Please read the post by @sinchan for correct information and then mine for extended info.
Android Device Manager which comes builtin has no specific settings AFAIK. You just need to login using Google Account and manage all the devices under that account like Locating, Erasing, Locking, Ringing the devices remotely. For Android device manager to work properly keep the GPS and Mobile Data/WiFi turned on.
Additionally visit Google My Account > Device Activity for other options.

Android Device Manager does have a specific settings place. It's usually under Google Settings in the app. The user is asking for the location of the settings in Android.

Okay. I interpret your question in the two following ways:-

You want to change/edit/disable your specific phone's Android Device Manager settings. In this case, you should browse to Settings and under the Tab for Security, look for something like Device Administrators. Over there you'll see a checked/unchecked option named Android Device Manager.
Another possibility is that you want to edit the Settings of all devices associated with your Google account. In that case, simply download the Android Device Manager app from Google's Play Store. Here's the link to make it easier: Android Device Manager

Hope this helps!


text:
"Access Point Name settings are not available for this user" on unrooted 1st Gen Moto G. Help, please?
I recently did a factory reset of 1st Gen Moto G, after which the mobile data stopped working . In trying to fix the problem, I noticed I couldn't change the APN settings, and when I go to that option in the settings menu I get the message "Access Point Name settings are not available for this user". Does anyone have any advice on how to fix this?

It sounds like you're on the Guest account, or something.  What do you see in Settings -> Users?  What version of Android do you have?

@MatthewRead I'm quite sure I'm not on the guest account. In "Users" I see "You (Jay)" and below that "Guest". My android version is 5.1. Thanks.


text:
Text bubble randomly changing color on Galaxy S6's stock Messaging app on Android 6.0
I have a Galaxy S6 through Sprint and just upgraded to Android 6.0. Since the OS upgrade, my text messages have been seemingly randomly changing color. The text is always the same color, but the background of the bubble will change (yellow background on my messages, white background on incoming messages).
I thought initially the color change was caused by message status - sending, sent, received, etc. This does not seem to be the case, as once one turns yellow or white, it stays yellow or white.
I also thought that the colors corresponded to messages that I or my texting partner had not responded to (I sent 2 in row to her 1 incoming or vice versa).  This also does not seem to be the case, as I have been able to send multiple in a row without the color changing.
Do you know what the different background colors signify and how to turn them off?

"Light-blue text bubble" anomaly compared to normal text bubble (dark green and blue)

@AndrewT. I've added a screenshot.  This is not 1 message that was broken into 2 because of it's length.  There are also examples of multiple replies from one party with none of them changing color.  The bubbles are yellow on my side when it happens

Enhanced messaging setting, and if the message is SMS or MMS will affect how messages are sent and received. Do you have enhanced messaging on or off? Was the blue message MMS, SMS, part of a group message?

enhanced messaging is turned off, and has been

The different background colors might signify nothing, and just a mere way of playing colorful in the app. Since the situation you describe is related to a specific app, and doesn't seem to affect other Messaging apps like Google Messenger, then what you're experiencing is probably a feature added to the stock sms app. Check your settings, there likely might be something to turn that off. @rogerdeuce

@rogerdeuce It may be for undelivered messages...

@Rexford I have gone through the setting and I am not seeing anything about crazy colors.  I was able to locate the "enhanced messaging" setting to confirm it was off.  Is there another menu I should be checking?

@RahulBasu It's not for undelivered, the messages that turn white are incoming.  But I have confirmed that the outgoing messages that turn yellow have been received.

is this really a stock rom from the galaxy s6? Or are you using a custom rom? The design looks really unusual for a samsung device in my opinion

@benjaminS There is a stock theme on the phone that has black background.  I've been using the same theme for 6 + months.  Text bubbles started changing colors with marshmallow 6.  No rooting or roming or anything like that going on, on this phone.

@benjaminS I did switch it back to the default theme and the colors still change

@rogerdeuce thanks for the info. I don't have a solution sadly - my best guess is that this might be the new behaviour - but that is just an assumption. I'd contact Samsung and ask if they consider this a feature and if it was intended. Contact Samsung. You can link them to this question so things will be clear :)

After a lot of research I haven't (and from the comments, it looks like neither have other users) been able to find any resources on the internet regarding this curious phenomenon.
I am, therefore, forced to accept this as some sort of Easter egg from the Samsung developers' side (although, in my opinion, Easter eggs should at least look nice.).
This also means that you don't really get an option to 'opt-out'. If it really bothers you, you can Contact Samsung (although their 'Live Chat' feature seems badly designed since I couldn't get a representative to talk to me even after 30 minutes) or use another messaging app.

comment by an anonymous user: if you check your theme it most likely has an update that is needed. After I updated the os I had the same problem resolved by updating the theme in the theme selection (it was noted on red that update was available)


text:
How can I move apps en masse to my SD card?
Apps keep getting installed on my internal storage when I would much rather they be on my much larger SD card that is formatted as internal memory. Is there a way to tell my phone to move a bunch of Apps at once?

Sorry its not possible with rooting the device either. As PlayStore firstly download the application to your internal memory without seeing your settings whether you want your application on your internal or external. From that state it can be moved from internal storage to external storage if application permits itself.
You can think it as an restriction posed by Google.

Tutorial :
Note : First Make sure to enable " Allow Unknown Sources Aplications to install "
File Manager Link: http://www.apk4fun.com/apk/50967/

Download an App called " Apps Backup & Restore "
Download Link : http://app-backup-restore.en.uptodown.com/android
Note : You can download it in Google Play Store

2.. Install the downloaded Aplication (apk) in your device "App Backup & Restore "

Open the Application
Make sure you are in a window called " Installed " , where you can see all your installed applications.
Select/Mark all the apps you want to backup and click " Backup" and wait for the process to complete..
Go to your Internal Storage Directory using File Manager
Search for a folder called " App Backup & Restore "
Copy/Move this folder to your Sd Card Directory...

Done
Answered using LG G3


text:
How to stop S Voice from starting every time the headphones is inserted to Samsung Galaxy S5?
The moment I insert my headphones to my Samsung Galaxy S5 to play music, the S Voice will auto appear and my music stops. I have to cancel it and after a while, the S Voice repeats itself.
I've already deactivated the S Voice by double-tapping on the "home" key and unchecking “Open via the home key.”
How do I permanently stop the S Voice from auto appearing? Is there another way to stop S Voice from appearing whilst I play music over the headphone.

You can depisable SVoice by going into

settings > applications > SamsungVoice > disable


text:
Any way to disable Slide to Call/Message?
Is there a way to disable the Slide function to call/Message contacts in Phone on Lollipop 5.1.1?
My phone specs:
SM-G925F
Android Lollipop 5.1.1
Thanks in advance!

Have you tried opening dialer then select Menu -> Settings -> Contacts -> uncheck "Swipe to call or send message"?

Wow, I'm such an idiot. Thank you so much, Aaron Gillion!

There's a hidden option on the newer Samsung devices.
Open Dialer, then select Menu -> Settings -> Contacts then uncheck Swipe to call or send message.
Hope this helps,


text:
Micromax Canvas Gold A300 "out of space"
Whenever I try to install an app, my device displays the error message "out of space", even though I have 16gb of free space. I have deleted all odex files, uninstalled all large games, and cleared the cache partition.
How can I remove this error message?

You are asking an off-topic question. Questions about electronic devices, media players, cell phones or smart phones are off-topic, except insofar as they interface with your computer, See On-Topic.

This question has been migrated so that it is now on-topic here at Android.SE. I suggest you look at the insufficient-memory tag wiki for information that might be helpful in resolving your issue.


text:
Forwarding all mail in Gmail using using android app.
My father, nearly 80, has forgotten his gmail password and cannot recover it. However, it is saved on his android phone so he can access it on his phone, but not on a laptop he wishes to set up. I suggested he create a new gmail account and autoforward all mail from his current gmail (via his android phone) to his new gmail account.
How can he do this from his android gmail app? I can't find a universal forwarding option for mail to the account.

Unfortunately, there is no option like this in the gmail app. You would have to log in on the website to change it, maybe the login is saved in the chrome app, so you can set up the automated forwarding there.
You can even set up another e-mail in the accounts settings of your google account, where you could recover the mails. Just go to accounts.google.com on the phone and there you can set up a lot.
But only, if the password is saved.
The only solution if the password is not saved would be:

forward every existing mail to the new mail account
create an automated answer for the old account with the new mailadress inside
keep the old account still in gmail in case of any important mails
transfer the accounts, which are linked to the old mail adress to the new by entering a new mailadress in the respective accounts (i.e. banking, news, amazon and so on)

You can now use gmail multi email forward to do this

Hi! Can you provide instructions on how to do this? We prefer detailed answers. In need of assistance on answering, please visit our [help]. Thanks!

I failed to find if this is a native feature of Gmail for Android (I didn't see such thing), or even on Web. Looks like this needs a Chrome extension (which is not supported on Chrome for Android)?


text:
Can't seem to SSH from Android
I'm trying to access a remote server using SSH on my phone but it dosent seem to work no matter the method/app I try.
I've tried various SSH apps in the play store and recently tried Termux's CLI (which seems great may I add), it successfully got the openssh packages for it, but I still can't seem to access my server from my device using the generic ssh username@domain/ip:port.
I can confirm SSH works fine from desktop using Putty on the same LAN as my phone. I can ping the server from my phone too using both the server's IP and domain.
Termux throws an error when I attempt to connect, something to the effect of Cannot resolve hostname even when using the IP address? Though, like I already said, pinging it works fine. The port is definitely open on the server as well since well, I can connect from my desktop perfectly fine.
I'm running Android 6.0.1 (latest build), my device is rooted and Busybox is also fully installed.
Any help getting my phone connected would be much appreciated!

OpenSSH doesn't use user@host:port notation. If you need to specify a port, you do it with -p port.