text:
How to record videos with LG G2 Mini with a lower quality or resolution?
Is there a way to force the camera app of the LG G2 Mini to record videos that don't take up a large number of mb for just a few seconds of video? I think it's recording at 1080p, or some other high number. I can't record pass 1 minute it seems, or it'll take up near 1gb of memory (or maybe 500mb, I can't remember).
I looked at the settings of the camera, and apparently there's no other resolutions available, aside from the one that allows for records of .3gp (I think?), but it has a 30 second limit.
Is there an app that allows one to record videos at a lower resolution?
I believe I tried months ago to follow some tutorial where you'll have to edit a system file, but it doesn't work.
So if someone can direct me to a tutorial to deal with this issue or an app it would be greatly appreciated :D I can literally not use my cellphone for video recording for any normal purpose due to the recordings hogging up a huge amount of memory. It's been months since I last attempted to video record anything.

I used this app (Open Camera) in the past. It sure supports various video recording resolutions and guess what? It's open-source! Head over here --- https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=en

@MANI What's more interesting is that its size isn't even 1MB yet it supports such varied resolutions et al.

@MANI OMG I LOVE YOU FOR THIS APP I LOVE IT!!!!!!!!!!!!!!!!!! >:D< THANKS A LOT!!!! The app even supports changing the destination folder :D I just tried it out :D Now I'm gonna test it's limitations.

@ValCroft - Welcome! ;)

Note: This is a partial answer to address the issue using an alternative app.

Is there an app that allows one to record videos at a lower resolution?

In my OnePlus One, I use Cinema FV-5. It shows me following recording resolutions:

4096x2160 8.8 MP 4K UHD
3840x2160 8.3 MP 16:9 4K UHD
1920x1080 2.1 MP 16:9 Full HD
1440x1080 1.6 MP 4:3
1280x720  0.9 MP 16:9 HD
864x480   0.4 MP SD
800x480   0.4 MP 15:9 SD
720x480   0.3 MP 3:2 NTSC SD
640x480   0.3 MP 4:3 SD
480x320   0.2 MP 3:2
384x288   0.1 MP 4:3
352x288   0.1 MP
320x240   0.1 MP 4:3
176x144   0 MP

Google Camera on the other hand allows my device to record at 4K, 1080p and 720p. I'll update my answer if I come to know any other app with varied resolutions capability.

Update 1: Suggested by @Mani, the app is Open Camera(Libre software, free, < 1MB in size). Resolutions are more or less same in variety as Cinema FV-5 has.

Thanks! Do you use the lite version or the full version? I was wondering what the time limit is for the lite version, and if the full version is worth it? What do you use it for?

The device isn't actually mine technically but of cousin's and the app was gifted to him by someone I don't know. :) But the installed version is full not lite as far as I know.

Also, there are many latest (2015) camera apps listed here on Android Authority. Have a look here -- https://web.archive.org/web/20150509155910/http://www.androidauthority.com/best-camera-apps-for-android-188148/


text:
Upgrade Huawei Ascend Y530 to Lollipop or Kitkat?
How do i upgrade my Huawei Ascend Y530 phone to KitKat or Lollipop?
Please, no surveys.
Also, it is the MEO version (100 euros), not the Original (120 euros).
It is rooted and currently running Android 4.3

Anyone? I can't seem to find any ROM's.

Anyone? I can't seem to find any ROM's. -- Where can I find stock or custom ROMs for my Android device?. Have you looked  this answer?

Not finding any ROM.

source: Stack Exchange

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

sort: votes


text:
Bootloop phone wont boot after boot screen
Folks,
I've rooted by buddy's phone and tried changing the boot animation to marvel boot screen, but unfortunately the phone won't boot further it keeps looping at boot animation. Now the phone's recovery mode option/factory mode is not working. If i try using the key combinations it simply flashes the screen and moves to boot loader.
I tried using fastboot from ubuntu but the tool is not listing my devices
but using lsusb i was able to list the device

Bus 002 Device 047: ID 0bb4:0001 HTC (High Tech Computer Corp.)

Please note that i've set permissions and updated the below file

  /etc/udev/rules.d/51-android.rules

Also usb debug is disabled under developer options in the phone
Now, is there any way to access the phones root fs from a pc to remove this rogue boot loader so i can boot the phone.Please help.

Can you access bootloader (menu with picture of Android(s) which you navigate using volume and power keys, something like this) at all? If you can get there, you should be able to use fastboot or boot into recovery.

nope :( i am not able to get to that page)

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


text:
setting kind of semi - airplane mode
In airplane mode, both SIM(s) and wi-fi are disconnected. Is there a way to just disconnect the SIM(s) and keep wi-fi connected without root privilege?

See my answer: Possible to turn on Airplane mode with WiFi on only?

In your Dialer / Phone app, enter *#*#4646#*#*
Select Phone Information
Select Turn off radio

Or use an app like Cell Radio ShutOff.
Note also that you can turn Wi-Fi back on during Airplane Mode (though it can definitely be annoying to have it turned off in the first place).


text:
Does Android support the EXT (filesystem) for removable storage cards?
As the subject indicates, does Android support any of the Extended File Systems ("ext", "ext2", "ext3" and "ext4") for removable storage cards (such as Micro SDXC storage cards)?
Android is a Linux-based operating system, so surely such filesystems would be supported?
My question relates to both Android 4.4-4.4.4 ("KitKat") and Android 5.0-5.1.1 ("Lollipop"), as I am just about to buy the Sony Xperia Z Ultra which runs the former, but has an upgrade available for "Lollipop"...
The reason I ask is because Extended File Systems have a number of distinct advantages over Microsoft filesystems, and I do not use Microsoft Windows-based operating systems at all (well, at work I do - but personal stuff can't be used with their computers...), so it's only logical to utilize Extended Filesystems where possible, for the technical advantages.

Related -- http://android.stackexchange.com/questions/39610/how-to-format-storage-sdcard0-in-ext4 and http://android.stackexchange.com/questions/4497/can-i-use-ext4-on-my-sd-card-in-a-non-rooted-phone

This site has ext tags with Q/A associated with them, namely: [tag:ext2], [tag:ext3] and [tag:ext4]. Unfortunately, I couldn't find the support specific to your device. As you said, filesystems should be supported. I agree but certain devices doesn't allow SD card formatted with ext4. I have one such godforsaken device.

Update: This thread on XDA mentioned an app named Xperia SD Card mounter(Z ultra supported). It seems that ext4 works fine with internal storage as per the comments but nothing concrete can be said about external ones. I suggest contacting the thread owner for specific details. Play Store shows that the last update to this app was in June, 2014. I wonder about the support for Lollipop.

Yes it does support ext4 from what I gather from other sites and I am doing it right now on my own card.

but as with anything android, it varies widely with manufacturer and version.

Welcome to Android Enthusiasts! Consider adding links to the sites you've read and include essential parts of them to backup your answer and make it more reliable :)

my usb pens with ext4 works on kitkat 4.4 , but not with  android marshmallow 6.0.1 , due an selinux restriction I guess

This uninformed answer is problematic.


text:
Cannot flash phone to install TWRP (One plus One)
I have a one plus one phone and I am looking to install TWRP on it as its built in OS crashed.
I have run
fastboot oem unlock

the result is

... OKAY

command to unlock the phone but when I run
fastboot flash recovery c:\recovery.img

I get the error message that

writing 'recovery' Failed remote: Device not unlocked cannot flash or erase

I have gone over the docs but have not found anything helpful.
Note: Before the OS crashed I had not enabled USB debugging (Could this be the issue)?

Have you rebooted the device after "Unlocking bootloader"?

fastboot reboot

You need to execute this command before flashing custom ROM.
Also, You don't need to turn on USB debugging when unlocking bootloader.

+1 for no need to turn on USB debugging when unlocking bootloader

I did reboot the phone but the prob wasn' t solved.


text:
Restrict Background Data
When I enable Restrict Background Data the pop up says that some apps and services will not work unless the device is connected to WiFi.
How can I know which specific apps and services?

The apps that requires constant internet connection and cannot be run without it. But they will notify you.

I've tried lots of apps but the only one of them complained about background data: Google play store. It doesn't want to work without background data.
All apps I ever used work fine with BG data restricted.
I recommend not use the restriction for downloaders, SoundCloud (if you are listening to the music, it will stop buffering after you minimize the app or turn off the screen); some messengers and email clients may stop receiving messages while phone is sleeping.


text:
Gmail App Stopped Syncing...Again
Two different devices, a Nexus 7 tablet and Moto X. Both running last Kit Kat update. Nexus has Gmail app 5.1, Moto X has Gmail app 4.9. Gmail on my computer works fine. Both devices last synced 2 days ago at same time and neither will sync even manually now. Both worked just fine until 2 days ago. All other Google apps sync fine, only my Gmail doesn't. Since Gmail on my computer is fine and two separate devices using 2 different Gmail app updates don't sync, it seems like it has to do with my Gmail account or with the Google server, not the Gmail app per ae .Why did 2 devices stop at same time with my computer working just fine? Haven't been able to receive or send emails or draft emails from Nexus or Moto X for 2 days. Again, all other Google apps manually sync on both devices but Gmail will not on either. Don't see that this is another widespread sync problem like last June. Please advise. Thanks.

Just now, 51 hours after the sync failure problem began,my tablet and phone both started Gmail manual syncing again. No fix was applied. I can only assume therefore it was a Google issue and not my account, devices or the app. The only unifying root cause would be a Google server issue or my Gmail account, and that account always worked on my computer. Hopefully it will remain functional.


text:
Andorid - Possible virus
"I got an message on my android Galaxy S3, while reading my usual online newspaper on Chrome, the exact content is:
The page at download.com-01.mobi says:
POSSIBLE VIRUS
A website you visited could have infected your device with a virus.
Press OK for more information."
The above is the exact message that I got, and it's so weird...
Is this something that I should be worried about?

Sounds like it's just a pop up, don't worry about it. Or if you are then factory reset the phone. Also you didn't ask a question!

Use an adblocker to get rid of it. These messages are a nuisance to lure you into a trap. There are many Q/A regarding adblockers on this website. You can search them.

As noted in the comments, that's just an ad that probably is trying to get you to install some form of malware.  In general, web pages cannot tell if you have a virus — and those that do, like McAfee's online scanner, will be obvious since you'll have to be engaging them on purpose!  (And they are likely PC-only anyways.)


text:
What is the difference between application cache and data?
Every app has data and cache.
In Android, what is the difference between the two?

App developers decide what information to be kept in "data" and what to be kept in "cache".
Usually, "data" is used for account info, settings, saved activity data, game scores, and whatever is need to be kept permanently. Clearing data will make your app "forget" everything like you have reinstalled it.
"Cache" holds all information and files that can be retrieved somehow (from the internet, or other way). For example social apps can cache all your feed data (photos, comments, and so on). Clearing cache may lead your app to reload all the lost (and necessary) data from it's original source. It shouldn't make your app behave bad.

In general:

Cache is temporary files.  One example might be thumbnails for contacts in a social media app.  These can be cleared without any major effect — the app can just download them again when it needs to — and if space is low the Android OS may remove cache files itself.
Data is the "important" information.  This might include credentials and settings that you generally want the app to remember.

Thanks! So it's arbitrary how an app chooses to divide it up?

@RockPaperLizard Yes, theoretically the developer could "misuse" the different storage areas.  Check out http://developer.android.com/guide/topics/data/data-storage.html

Cache are temporary (unnecessary) files, whereas data are files required by the application. It saves users activity and progress
Consider clearing the cache more often, otherwise it may affect the device performance. When cache memory increases, phone becomes slow and laggy. It happens with phones having low internal memory.

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


text:
How often does Android have to decompress an app's APK and OBB files?
According to one of great answers to this question, Android has to decompress each application's APK and OBB files before the app can be run.
Is this decompression performed each and every time an app is run, assuming it has been pushed out of Android's process cache?

run adb logcat -v long and when your phone boots, after the boot image is gone, and home screen appears, or right before that... you will see a ton of very fast info go by which all have sound file types like this vorbis/obb or whatever data type is being decompressed. It probably lasts about a minute, maybe less.

Yes, and no. Android apps are not decompressed into the file system when it needs to run. Instead, they are selectively decompressed and read into memory/ram by the Dalvik virtual machine. This decompression is a very simple, quick, non-processor-intensive process, so it does not add any real overhead to the system. On first install, there is some optimization by the Dalvik VM, mainly linking to native libraries on the Android system to the internal APK libraries, and this is saved into the Dalvik-cache as an optimized dex file (.odex)
[Side note, this is why the first boot of a phone takes longer, as the system has to create odex files for any app that does not have an odex file. System Apps are typically made to have an odex by the manufacturer]
An APK has a predefined structure, including file lists, resources, assets, libraries, dex (Java Class files converted into Dalvik Executable Format) etc. The system decompresses and reads these files into memory, and follows the code inside. That code tells it when to decompress and load the other files.
It never hits the hard drive, goes right into memory.

You might want to add information here about any changes ART brought into this.

I'm not sure ART does make any changes to this. Maybe the odex part, but the general apk stays the same.

I use an ancient desktop that doesn't support the Android development kit, so I don't have the info. I know Dalvik did a JIT compile of things, while ART pre-compiles the VM bytecode into native instructions pretty much at install and on restart if necessary. Whether that goes into the .odex file or not, though, I'm not sure.


text:
Nexus 5 won't start stuck on loading screen
My Nexus 5 has been stuck on the loading screen. After turning it off it wouldn't start and after showing the "Google" logo would just spin the 4 coloured dots for hours on end.
I tried a few things such as clearing the cache and doing a factory reset through the bootloader, but this didn't work.
I did some research and came across this forum topic which suggested re-installing an image. It took me a long time to figure out how to do this, but I eventually followed this guide
It involved unlocking the bootloader, for which I got the warning that my warranty would be voided, but I thought whatever I need to try this.
I followed all the steps and installed this "5.1.0 (LMY47I)" with the checksum "d78c50bc06fe37a19536cbca0a17394a" from the Google website here
When I was in recovery mode LMY47I was listed at the top, so I presume that this is the correct image to use.
This seemed to be installed just fine. However when the phone restarted I was still left with the same problem. The four dots just spin endlessly and the phone does not start.
Is there anything else I can do to resolve this?
UPDATE: I managed to get the phone to start by using the image "4.4 (KRT16M)", the earliest listed for the Nexus 5.
After doing this I was able to start the phone but camera, gallery and play store kept coming up with an "unexpectedly stopped" error.
I decided to go through the stages of upgrading bit by bit before installing any apps or doing anything else. I was using the system update in settings, not the bootloader. This seemed to be going okay (although strangely no signal) until I got to either 5.1 or 5.0.1 (I can't remember which) and after the download, install and reboot I was back with the spinning dots loading screen indefinitely again.

Any reason you're not using Nexus Root Toolkit by WugFresh?

I've not heard of it and it seemed safer to use Google's official stuff.


text:
Nexus 4 screen got hung until battery drained and on restart stuck on flying dots
I have nexus 4 with lollypop installed on it. Yesterday while operating its screen just went to hung state and stopped responding. I could not even power off the phone. Therefore, I let the phone to drain out battery and switch off itself. Then I charged it started using power button. But it is stuck on 5 flying dots, more than an hour. The power key is not responding now. How should I deal with this problem?

Not sure if it would work, but try booting into stock recovery and clearing cache and dalvik cache. Maybe there is something in there preventing it from booting all the way.

Had a similar issue, when battery is high, restarting the phone goes into a boot loop.
I wait for the phone to drain out, and then connect it to power source and switch it on at once. The phone now boots fine. I have no idea why it does that though.

If you're unsure what happened, it is not really useful as an answer.


text:
How do I remove the 'Slot 1: No SIM card detected' notification?
I'm using my phone as more of a tablet computer and less of a phone (I'm not using cellular radio, only wifi Internet), so I didn't put a SIM card in it.
The issue is - the notification that I don't have a SIM card in my phone always shows up in the notification bar:

I am already running the phone in airplane mode and then enabled wifi, but the issue persists. I also tried force stopping the 'Phone' app and it does remove the notifications, but it comes back after phone restart.
How do I disable or hide these notifications permanently?
The phone is a Lenovo A536. Android version is KitKat 4.4.2.

The only method for a non-rooted device I found (here) is to use a non-working SIM card in those slots and then disable those SIMs from SIM Management in Settings. Otherwise, the other methods (some listed in answers) requires root access.

For readers: GravityBox [KK] can do it. It requires Xposed Framework and a rooted Android.

I've recently rooted my phone and installed NotifyClean (requires the Xposed Framework). I've set it to block the Mobile Data app's 'No SIM card detected' notification:

I've previously tried to fix this issue with Notifications Off but it stops working after a device restart.

The only way I can think of is to hide all of system UIs notifications. To do this, you need root access and an app called Notifcations Off. Once you've installed Notifcations Off, you can just turn off System UIs notifcations.

I've rooted my device, installed Notifications Off and blocked the 'System UI' app from notifications, but I am still getting the 'No SIM card detected' notification.

Option 1: You may try turning off "Show Notifications" check box by visiting Setting-> Apps -> All Apps.
From here, you can select the app sending this notification and un-check the "Show Notifications" check box.
In case if you are not sure which app sending these notifications, you can LONG PRESS the notification area itself, and system will show you "App Info" bubble. Click on it to navigate to Settings of that app.
Once you are in settings, you may turn off Notifications by un-checking the "Show Notifications" check box.
Below is the screenshot of another App to guide you to do this.
Option 2: In case if above steps don't solve the issue, you may need to use Xposed Framework You need to Root your phone for this to work.
Read about the Xposed Framework and how to install it from here. Verify if your handset is supported. You may want to look at :
Status Bar Icon Hider

authors: Серега Трунцев


text:
Some notification tones only shows up for certain apps?
Let's say WhatsApp app. When I try to change notification tones for WhatsApp, some ringtones show up which are not shown when I change device's notification tones.
For example in Sound Picker, only one tone named Xperia is shown when I try to change the device's ringtone whereas in WhatsApp, Sound Picker shows two tones named Xperia. There are still more like that. How can I make those tones visible for all the apps?

Do the duplicate tones are same sounds or different?.and do you have tones stored in the Ringtones directory?

They only share the same name but sounds totally different.  No I don't have any extra tones in that directory except two Hangouts tones.


text:
Internet is working over Wi-Fi but Google Play Store says "reconnect" after few minutes
I have a problem connecting to Google Play Store with some Wi-Fi.
My Wi-Fi at home works fine and I don't see any problem with other sites. But whenever I go to Google Play Store, it just keeps me waiting for a couple of minutes and says "reconnect".
I tried connecting to another Wi-Fi and it works. Then I tried using other phone on my Wi-Fi and it works fine.
It seems only my Zenfone 2 doesn't work on my Wi-Fi. I tried some simple steps I've read on forums like changing time, sync, toggle Wi-Fi and Airplane mode but nothing worked.
How do I fix the issue?

Try going to Google Play's apps settings (the details will depend on what version of Android you're using) and tap the Clear Cache button. Do the same for Google Play Services.

@JoeSewell that won't help when the device is working fine on a different network (neither won't changing time). // Carlo: when you're logged-in to your home WiFi, can you reach Google Play using a web-browser (i.e. is it just the playstore app that cannot)? Could it be some "firewall"/"parental controls" on the router blocking the site for this device (it could be setup device/IP specific)?

If you are using a Wi-Fi router with your existing network modem:

Turn DHCP mode to none in your Wi-Fi router

Login to your router configuration panel from computer
Turn DHCP mode to none in Local Network settings

Connect your incoming network cable (from modem) to LAN port instead of WAN port of the Wi-Fi router (we are going to bridge the network; reboot router if necessary)

You should know the DHCP IP address range in your modem (usually 192.168.1.2 to 192.168.1.254)
Use one IP address from that range (say 192.168.1.2) for your Wi-Fi LAN interface IP address (Wi-Fi router configuration IP address will be changed to the new one you have opted for)
Save changes and reboot your modem

This fixed my connection problem.


text:
Allow 720p videos on YouTube app
My device is Atrix 2 with resolution of 960x540, but YouTube app only gives me options for 144p, 240p and 360p, which are not really "quality". How can I watch 720p videos on YouTube on my device?

Do the videos you're watching come in 720p?

Yes, sure. It's every video that I try to watch that can be viewed in only 144p, 240p or 360p. So I gave up on off. app and installed "Viral" but it's not working good right now, so I wan't to try and fix off. app for good.

Probably related (although outdated): How to watch videos in 144p, 240p, 360p, 480p, 720p on YouTube app?

@AndrewT. For the accepted answer I'd say that it's outdated, but about modded YouTube - maybe I should try that while I search for the fix.

Your screen resolution being 960*540 is not meant to play 720p videos  because the resolution is lower. That's why the Youtube app detects the device resolution and does not show higher video qualities. The maximum video quality that the Youtube app will show for your device is 480p.
720p = 1280*720

However, you could use YouTube Vanced. It is a modded version that offers more features than the official Youtube app such as:

Override Maximal Resolution

Preferred Speed and Resolution

For rooted phones, L Tweaks, an Xposed module, allows to set video qualities up to 4320p.


text:
Connect PC to laptop with android
Is it possible to connect PC to laptop with Android phone to share files between PC and laptop? I don't have a LAN cable, all I have is:
A PC without WiFi adapter.
An Android USB cable.
An Android phone.
A laptop with built-in WiFi.
Both PC and laptop have Windows 7.
What I'm trying to do is:
1. Connect Android to PC with USB tethering.
2. Then connect Android to laptop with WiFi tethering.
3. Then I want to share files between PC and laptop.
I don't know much about networking stuff.
Please tell me if you know.

I've set it up to use MTP (with USB) and also am running a ssh server on the phone. It is quite convenient to sync over ssh. Disclaimer: I don't know anything about Android.

What is mtp and ssh?

MTP is Media Transfer Protocol. And SSH is Secure Shell. Do a search for "mtp android". What is your OS/ distribution?

The best way (IMO) is to bridge the network of USB tethering(192.168.42.x) and the Wifi hotspot(192.168.43.x), but I don't have any solution to bridge them.
That said, I do have a solution to transfer files between PC and Laptop within the constraints mentioned in the question (with "no internet" exclusively).

The common point of interaction in our current setting is the Android device itself, which means the device can access both systems, if required. If only I can access the content of Laptop as well as PC from Android, then using some File manager the data transfer can be done.
Note that I didn't try this method on Windows 7 but the instructions shouldn't be different for other platforms.
Instructions:

Connect PC to Android via USB tethering, and Laptop to Android via Wifi hotspot. Note down the IP address for both the machines.

Windows users see this to know the IP address; click here Linux(Ubuntu) users for the same.
The IP address to be noted would be similar to 192.168.42.xyz and 192.168.43.abc, where xyz and abc are (+ve) integers, i.e. note the local IP address and not IP address from your ISP.

Setup an FTP server at both PC and Laptop.

Windows users see this answer, Linux(Ubuntu) users see these answers : 1, 2. I advise Gadmin-Proftpd for GUI in the latter platform.
While not necessary, run the server on port 21 (requires administrative/superuser privileges).
While configuring, create an FTP user for your FTP server. e.g. User: u1 and Password:password1. Otherwise, if your program allows anonymous FTP session, then go ahead with it.
Google is your friend in need, remember it since you might need it.

Install a file manager in Android that can browse network storage. I recommend ES File Explorer File Manager.
Launch ES File Explorer, swipe right from left edge to access Network → FTP → choose ftp.
For PC :

Fill IP address (from step 1) in Server field.
Leave port default to 21.
Choose Active under Mode.
Fill Username and Password that you created in Step 2. If you selected anonymous in step 2 then choose Anonymous and leave the credentials fields blank.
Tap OK.

For Laptop :

Repeat aforementioned steps for PC in this step with the exception of IP address and FTP credentials which has to be replaced with the ones for FTP server on Laptop.

If your FTP server is accessible and working fine, then ES File Explorer will create an entry with the name (probably) of local IP address of your PC/Laptop.
In FTP tab of ES File Explorer, select any entry and you'll be able to see the content of the running FTP server.
You can use cut-copy-paste-delete (subject to FTP server configuration) features of ES File Explorer on the content of these two network entries.

Done! :-)

Notes:

 1. The data transfer speed is subjected to the resources available to Android.

2. You can run a server other than FTP. Make sure that server you decide can be mapped (supported) in a file manager in Android.

  3. If your machine is running a firewall (most PC's either runs Windows Firewall, or an Antivirus does the same), then explicitly allow your FTP program to make and accept connections (it will be a great hassle if you don't). If it's feasible, temporarily disconnect both machines (disable Mobile data on Android as well) from Internet and disable firewall/Antivirus on both for that time being.
4. If your Android device is running a firewall (AFwall+ in my case), allow your file manger in it. It is something one might miss to do.

 Unsuccessful method with reason unknown as of now:

1) I think the objective can be achieved by port forwarding at one interface. I found that the machine under USB-tethered network can access the wifi hotspot gateway (192.168.43.1) but could not ping a machine behind the latter. Vice versa wasn't true either. I planned to port-forward on hotspot interface so that a custom request to this
gateway IP address would be forwarded to a machine behind it. An e.g. would be: A Laptop connected to wifi hotspot is running a FTP server with IP address 192.168.43.32. I then do  port-forwarding(Android rooted) as 192.168.43.1:21 → 192.168.43.32:21 i.e. the machine behind USB-tethered network with IP address 192.168.42.143 would be able to see 192.168.43.32:21 via 192.168.43.1:21. Looks easy to me. But Port-forwarding apps on Play Store didn't yield satisfactory results. Let me know via comments if somebody tries this method and achieves success.

Yes!! That's good. It can solve my problem, i will surely try this and tell you.

@imassassin124 If the answer works for you, consider upvoting or accepting the answer, so that the other readers may benefit(trust) from it as well. Here, you can know more about this. http://android.stackexchange.com/help/accepted-answer :-)

Sorry i dont vote any of you because i dont have enough reputation :)

I've tried and it works hurray..., thanks again for the help and i create ftp server using filezilla server which is easy to use. It would be good if i access files directly on pc but still this also works great.

@imassassin124 Good to hear that it worked out. Would you mind telling me the data transfer speed you're getting? My device is kinda old, so the speed was around 200 KB/s. Kinda disappointing HW, I know. :-)

It's possible if you are using Cyanogenmod even without any 3rd party software:
Connect the phone to the PC and enable USB tethering. Then create a hotspot on your laptop and connect your phone to it.
After that, your phone shares it's WiFi connection to your PC, so you can transfer files and use internet.
If you're not a CM user then try using PdaNet+
https://play.google.com/store/apps/details?id=com.pdanet

I ve tried pdanet+ but that not work for me, but i haven't tried using cynogenmode.

@imassassin124 I'm using CM ROM and it actually works :)

Your idea is also good but it need root and installing rom, i will sure vote you up but I've low reputation. Anyway thanks. :-)

I suspect it's not possible because Android will unmount the SD card (real or emulated) when plugged in via USB. This means that no apps on the phone will be able to read or write the SD card while the phone is plugged in, including whatever WiFi tethering app you're using.
If both laptop and desktop have Bluetooth, you might be able to send files through Bluetooth from laptop to phone to desktop or vice versa, which would be fairly painless.
If there's no other way you could always plug the phone into the laptop, transfer files onto the phone, then plug into the desktop and transfer files off the phone; it's awkward, but it works.

I m doing usb tether, it does not unmount my sd !

UMS will prevent the Android device from accessing the SD card, but MTP will not.

Yeah, its simple. Create a gmail account and use google cloud drive. Put all files that you need there , open your laptop go to your gmail account and download your files .

OP can't access the internet on his desktop, so he can't access Google.


text:
After splash screens, Moto G screen goes black. Stock recovery won't start either. What to do?
I have a one-year old Moto G (1st Gen) that suddenly today refuses to boot usefully (a boot loop? Not sure.), has a blank dark screen but backlight stays on. Tried to restart it using the power off button.
I get the splash screens & a startup vibrate but then the same dark screen.
Succeeded in getting it to the boot menu (Version 41.13; Battery OK; Device is locked; Status Code 0) using power + volume key press. If I try selecting recovery it reports "Boot up failed".
Selecting any of the other options on the boot menu just brings me back to the original dark screen + backlight.
Any other things I can try? Phone is out of warranty so trying doesn't hurt me.
If I keep the phone on the dark screen it gets warm. Not sure if that's merely the backlight or there's some hung processes running.
Ideas?
Edit 1:
Some more information:
Yes, I've an alternate phone that I can use in the meantime.
No custom ROMs etc. were ever installed on this phone or even attempted to be installed. The phone was purchased new without any contract. It is running the Stock Google-Motorola Android.
Have not tried installing any custom recovery MOds yet.
Tried contacting Motorola using their online chat and went through the troubleshooting steps he advised. Nothing fruitful. He has asked me to call their Level 2 Support. I will on Monday.
The only procedure I found to get into Safe Mode asks to keep the on screen soft power off  button long pressed and wait for a prompt. I cannot get an on screen power button so not sure how I can get into safe mode.
History before the problem occurred: Phone was in  a call in progress. Suddenly had a lot of popups warn that various applications were being terminated. After that it went into this blank screen unresponsive state. No recent phone drops or other mishaps.
The one thing that I have gotten to work from the boot menu is a menu item that shows the IMEI / Sr No. / SKU / Purchase Date in Bar Code Format and Text.
Edit 2:
More Progress. Got fastboot. Posting some basic output below. If any other fastboot / adb commands will help in getting more debug info I'd love to know.

Did you already phone Motorola for tech support? Do this before you install a custom recovery. 2. What version of Android is installed? 3. Are you running Google/Motorola Android, or a custom ROM? 4. Have you tried installing a custom recovery such as ClockworkMod? 5. Have you tried replacing Google/Motorola Android with a custom ROM? 6. Do you have a spare phone you can use for calls and SMSes in the meantime, or at least do you have a Google Voice or other VoIP account? 7. By the time you see the boot animation, you can use adb shell. Use adb shell then enter ps. What's the output?

And finally: What country and city do you live in? (Please put this in your profile.)

Please [edit] your question and put in answers to my questions as well as some progress updates. Every time you edit, it bumps your question to the top of the homepage, potentially getting your question more views.

Let me add:  Even if your phone is out of warranty, you may still be eligible for free telephone tech support.

And: 8. What are the most recent changes you made to the phone before the problem started? When? Did you drop it on the floor? 9. Is there some way (maybe holding down some buttons) to force a first-generation Moto G to boot up onto safe mode? Safe mode is not the same as recovery.

A)  I found some instructions on you might be able to boot into safe mode in your situation.  But I don't know if the instructions are correct or not; and, even if they are, they might apply to the 2nd-generation Moto G only.  B)  If you can't get into Safe Mode, phone Motorola level 2 support.

C)  If that doesn't work:  Improve your question's title.  I suggest:  "After splash screens, Moto G screen goes black.  Stock recovery won't start either.  What to do?"  Also edit your phone's Android version into the question's body text; I presume it's 4.3.  Also do adb shell then enter ps, and provide the output.  D)  Ping me again.  E)  While you wait, I dunno whether or not this might help you.

F)  If Motorola can't help you at all, then while you wait for further replies here, you might also want to do adb backup and then to try installing a custom recovery like CWM.  I don't know much about custom recovery images, though, and so I have no idea whether or not the installation could backfire and damage the phone further.

@unforgettableid Did call Motorola support. They are not of much use. The price they want me to pay for support is close to the price of a new phone. So that option is out.

@unforgettableid: Those instructions seem wrong. They start by asking me to remove the battery. The phone does not have a removable battery. Too bad.

@unforgettableid adb itself does not work. I can only get fastboot to work.  So I cannot try adb shell nor adb backup

I am no Android expert, and don't know enough to advise you what to do next.  You can keep on editing the question as your research progresses; each edit will bump the question to the top of the homepage.  Or you can try asking for help in some other venues.  Or you can do both.


text:
How to root a Nexus 10 without wipe?
I would like to root my Nexus 10 without wiping its data so I can later install Ubuntu Touch on it. How should I do this?

In addition to the answer, you probably should backup your data if you want to restore it after being wiped.

Rooting a device does not require it to be wiped, although, to root it the device's bootloader needs to be unlocked.  This action requires the device to be wiped.
So, if you have not unlocked the bootloader yet then you need to wipe it, sadly.
If you have unlocked the bootloader then you can root the device without wiping it.
To root the device you can use the Nexus Root Toolkit by Wugfresh.  This is your best option.

Newer versions of SuperSU can achieve root without a custom kernel,You can try to update without wiping your device, although you may encounter problems.

That's not the problem here... If OP has a locked bootloader he wouldn't even be able to install a custom recovery, let alone SuperSU and stuff; if unlocked then he wouldn't even be asking.


text:
Can I make my phone start recording sound without removing it from my pocket?
Sometimes I would like to record sound from my Android phone, very quickly, without having to touch the screen.
(Example: record funny situations in the street, funny sounds, etc. )
Can we launch sound recording "with hands in the pocket"? (i.e. without using the screen)
More generally, is it possible to launch an app with hands in the pocket, by pressing one of the buttons during 3 or 4 seconds for example?

Four years later I found a solution with MacroDroid!
I start recording and stop recording by just pressing 4 times on the Power button (with hands still in my pocket!)

Trigger: Power Button Toggle (4 times)
Local variable: rec
Action:
If rec = False
     Record Microphone (Until Cancelled)
     Vibrate (short buzz)
     Set Variable rec = True
Else
     Record Microphone (Cancel Recording)
     Vibrate (long buzz)
     Set Variable rec = False
End If

The only hardware buttons that can be used by apps (to launch other apps or start a recording) are the “camera” button on the device and the “media” button(s) on the headset. You’ll need a sound recording app that support it, or use an automation app like Automate with its Media button and Audio record blocks.

Doesn't work on my Android 2 (I have 2.3.6). Another one that could associate 2-seconds-press of a button to some action?

It's more useful if you say exactly what you tried which didn't work.  Did you try (as ballzak suggested) a 'sound recording app which supports starting recording with either the camera button or the media buttons."  If you tried an app that does support that functionality but doesn't on your phone, did you then try his second suggestion, using Automate + blocks?  If so, what exactly didn't work.  Did you get Automate to do other things?  Could you get it to do actions with any of your device buttons?

You're right @ScoBe . I tried Automate app, but it seems to work only for Android 4+, it could not be installed on my Android 2.3.6. About sound recording app which supports starting recording with either the camera button or the media buttons I admit I haven't found something really relevant yet

@Basj Handling long-presses on hardware buttons are also off-limits to apps.

There surely is a solution, or a workaround... but how?

@Basj Try another automation app which has similar features, like Tasker or Automagic.


text:
How do you turn off developer mode on an s5?
I turned developer options 'off', but is there anything else that needs to be done? Not my phone so don't want to mess anything up :-)

I'm not sure what do you want, but AFAIK, you can't hide developer option after someone enabled it. So, the only thing you can do is just turn it off and never open that option again.

I've heard that there is a button in the upper or lower corners of the developer options menu to turn it off.

You can actually hide the Developer options permanently from the menu until someone enables it again. Just follow this -
Menu > Settings > Apps > All apps > (find) Settings > Clear data > Confirm

Developers options will be turned off automatically although they are enabled by following the above step.

Would it not wipe the custom settings (under Settings) as well?

I've never tried (and I don't want to) for myself but I think you'll lose all other settings too. It's just a method to hide Developer options as OP is so concerned about messing with them.

After Developer mode is disabled, that will put your phone back into the same state that it was in before Developer mode was enabled.  It will disable all developer options that could lead to security issues (Allowing ADB, etc.) and the slightly power draining options (show touch, running processes) that are open to developers.
However, as @Andrew T. points out, you won't be able to hide the developer options.  The only way to re-hide them is to do a factory reset (which probably isn't worth it).

Yes, there is a way to hide it. But the options like USB debugging, if turned on, will  remain turned on.
It'll only hide the developer option.
Steps:

Go to Settings → Applications.
Swipe and go to All applications.There will be an app called 'Settings'
Click on it → 'Clear data'.

Now, the Settings app will  automatically close. Open Settings app again and Developer options should be gone.
It worked on my Android phone (running KitKat).
Note that it will only hide the options, but the settings would remain as it were before. For resetting the options, you need to do it manually.

You have just copied the answer MANI left in May.

@RoryAlsop I in the hindsight downvoted the answer at first but later realized that this answer has improved the other answer but the poster deliberately didn't or forgot to give credit to the original answerer. I once read that any answer that is better than the existing answers is always welcomed. Except the credit part, I guess the improvements are legit. However, I also think that improvements here could've been a comment to other answer, so you may be right too. :) Oh well, I made my edit and will let others to decide what to do.

I would suggest making the improvements to the existing answer would have been a much better idea. That is why SE is collaboratively edited.

@firelord Right. But the description of the question says that he had turned off the developer option already. So, there's now only one thing that Mani can do.... It's the thing that I answered.

However, I can't comment on questions due to lack of reputations.


text:
SSH to Ubuntu desktop
I've setup an SSH server on my Ubuntu desktop at home using a dynamic DNS service (NOIP). I have a wi-fi-only Android tablet running Android version 4.4.2. On my tablet I can connect to other SSH servers, such as my college's server. However, I cannot directly connect from my tablet to my desktop; every attempt times out. But I am able to connect to my college's server and then SSH into my desktop from there. Is there something I've not set up correctly in my sshd_config file possibly? I'm able to ping the public IP. But I'm at a loss to explain this behavior. I've used both JuiceSSH and ConnectBot to no avail. Thanks!

As per this -- On my tablet I can connect to other SSH servers, such as my college's server. However, I cannot directly connect from my tablet to my desktop; -- IMO, it should be migrated to [su] since I see no issue with Android itself.

You're right, Firelord. I figured out my issue and it wasn't Android related.

Can you post your solution and mark the question as answered?  Just so others can see the question is resolved and also what the solution to the problem was :)

Yeah absolutely. The problem was that my router does not support connecting to forwarded ports on the WAN IP from inside the LAN. This explains why I was able to connect to my WAN IP from my college's server but was unable to connect when using the WAN IP on my local network.
Answers came from this AskUbuntu post and this AskUbuntu post.

Figured it out. The problem was that my router does not support connecting to forwarded ports on the WAN IP from inside the LAN. This explains why I was able to connect to my WAN IP from my college's server but was unable to connect when using the WAN IP on my local network.
Answers came from this AskUbuntu post and this AskUbuntu post.
edit: Unable to accept answer "until tomorrow."

Have you tried settings your noIP hostname as the router's hostname in your network settings?

Do you have port forwarding or access list set on your router/firewall allowing only SSH from particular IP's?
This could explain why it works from a known location.

No, nothing is discriminating based on IPs.

I have a 7" tablet running 4.4.2 and installed JuiceSSH and connected to my Ubuntu 12.04lts successfully on the inside.
Can you post your sshd_config file?

Were you able to connect using a domain name, or using your Ubuntu machine's local IP address? I was just told that it may not be possible to connect using the domain name while I'm on the same local network as my Ubuntu machine, so I may have to run out and find another wifi network to test that theory

Also, iptables I/F/O Chain Accept

I used inside IP address.

@onthelake Seeking information is done via comments and not via answer section (unless partial answer IMO). Please refrain from doing so.


text:
How to ignore crash notifications / uninstall apps without booting on CyanogenMod?
Today I upgraded CyanogenMod to the latest build (05/10/2015) on my Nexus 4 and installed the newest GApps package. But as soon as I boot my device now, my phone spams crash notifications for Gmail, Youtube and GApps processes. They pop up immediately again after I close them.
I read about solving this by clearing the cache / data of my Google apps. But I can't do anything, those messages block my phone. What to do now?

U can use your recovery to uninstall apps. Look here for info http://forum.xda-developers.com/showthread.php?t=1610121
But I guess it's not the best solution to uninstall all Google apps. Try finding some other, suitable for your ROM, set of gapps. Try these https://www.androidfilehost.com/?fid=95916177934542272 for cm12
and these http://fitsnugly.euroskank.com/?rom=banks&device=gapps for cm 12.1


text:
How to export annotations from mobi/epub files?
So I use FBreader for mobi/epub ebooks and I highlight lots of text.
How can I export all the highlights I've made into another file (or share them all with the Internet)?

OK, this might not be really relevant to this post, but for other FBReader users who are stuck at the same, I'll share my (rough) solution:
Note: This should be specially relevant to Icarus eReader users! Icarus e-ink readers come with a modified version of FBReader 2 which is pretty stable on that device but unfortunately very basic too. And you can't even update it! I don't know if newer versions of FBReader can do this by default - sorry if this is obsolete information to most of you.

Using a file manager with root access on your ereader (I use Solid Explorer) , navigate to /data/data/org.geometerplus.zlibrary.ui.android/databases/
Select the books.db file and copy it to a non-root directory (like for example to /sdcard/) that you can later access from your computer.
On your computer, open books.db with SQLiteBrowser (you can't just open a .db file with a text editor, you'll see unreadable code). I guess you can perform this step directly on Android with Sqlite Viewer for Android, but I haven't tried that yet.
In SQLiteBrowser, go to the Annotations table of your database and you'll see all your highlights. SQLB is not the best app for editing text, but there's a few export options.

There you go!

To access that dir, Sqlite Viewer (see Settings) requires FuseDroid , which itself requires SuperUser or SuperSU, which require a rooted device. But Sqlite Viewer says "this app does not support rooted device"

http://ebookfriendly.com/evernote-tips-for-booklovers/
Check Tip #3, exporting through email to evernote with an IFTTT recipe (man, those are cool).
IDK if this works for FBreader, but its worth a shot. Should work for Moon+, most people online seem to be recommending that app for exporting notes.
I'm having so much trouble with this kind of problem. Don't trust when Play Books says it will export your highlights/notes to your Google Drive (a new feature) - I haven't gotten it to work once!

Go to settings in FB Reader on your device.  Set it to synchronize.  Go to https://books.fbreader.org/.  View the book.  Click on bookmarks.  You can export them as text.


text:
Adjust the default orientation on an Android tablet
So here's the low down: my tablet has this rather annoying feature where its default orientation for profile is set so that the power button is on the bottom. Because of this, I have accidentally powered out of several games by shifting my hold and shutting it down.
Is there some app or setting to change what the default setting is for orientation? (And if I could also adjust landscape, that would be great.)

Which tablet model and Android version are you using? Usually there's a "Lock rotation" or "Auto-rotate" setting to prevent this.

I agree with Andrew and most of the devices have a tile in Quick-Settings as well. In some devices, the setting is in Settings -> Display, for others its Settings -> Accessibility.

@AndrewT. The rotate lock gets superceeded by the app when I open it so it still goes back to what not was before.


text:
HTC Droid Incredible 2 - Mobile Data in Germany
I have an old Verizon branded HTC Droid Incredible 2 running with Android 2.2.1. I got it second hand from a friend from the US, but I live in Germany and I want to use it here. Calling works, WiFi does too, but mobile data connection (UMTS, GPRS, EDGE etc.) does not.
My carrier is o2 (Telefonica), in Germany this means that I am using GSM frequencies around 1800 MHz.
Why does mobile data not work on my smartphone? Is it due to the frequencies, which aren't supported by my phone? Or is there a software trick, maybe trying CyanogenMod?
Thanks in advance!
Here are the details of my phone:
http://m.gsmarena.com/htc_droid_incredible_2-3938.php

I found the correct answer on my own.
I needed to add an APN to get mobile internet working.
Settings -> Network Settings -> Mobile Networks -> GSM-UMTS-Options -> Access Points -> Press Menu Button -> New APN
Add the information from the following link:
http://www.androidpit.de/de/android/wiki/view/APN_Einstellungen_O2
Have phun =)!


text:
How to set an app to use its native language?
Thanks to my phone being rooted, I can use app settings to set an app's language without having to change my system language. but is there a way to determine the native language of an app and by default use that?

Interesting question. The answer would be probably: use invalid locale (e.g. zz_ZZ) so that the app will fallback to default string resources (/res/string).... just a guess, I didn't (and couldn't) try it.

@AndrewT. good idea, though I wonder how much of the system this would screw up if used globally...


text:
Hide WiFi status icon on CM 12
I don't want to anyone to see the connected WiFi symbol on my phone status bar, can you please help me?
I have Galaxy Note II with CyanogenMod 12.1.

You may install Xposed framework and then some xposed module to customise status bar. The module Xblast tools may work. Check for the option to hide the WiFi icon. (If such exact option is not present, you may try to change its color to fully transparent.)


text:
Does the external sd card have to use FAT at all?
link2sd allows one to fully move apps to a second partition on the external sd card provided its Filesystem supports Linux permissions. but does it have to be a second partition or could I simply format the entire card e.g. ext3?would this still work when USB connecting to my PC?

I would suggest you to create a separate ext3 partition for Link2SD. The ext partition can be accessed in the windows pc if the phone is connected in mtp mode. But not otherwise like connecting through a external sd card reader

@sameer can't you post this as answer? but isn't the internal card ext3 and still shows up in windows?

As long as your sd card (internal/external) is inside phone you can access them in your windows pc.

@sameer so basically the answer is yes, so long as the card remains in the device there are no downsides? Could you please worst this as answer so I can directly accept it?

Though of course this still needs to be tested concerning working with link2sd

I may suggest not to format the entire sd card to ext3 as some apps which uses external storage wont be able to detect the sd card

@sameer but that would be odd, wouldn't it? apps aren't supposed to do anything deeper beyond accessing /mnt/extSdcard

You can't mount storage with UMS in any arbitrary fillesystem, just MTP or PTP. Depends on what your device uses.

The reason why it can't be a single [FAT] partition is: "Because Android unmounts the first FAT partition to share files with your computer [when connected via USB] but the second partition remains mounted." [Link2SD FAQ]
The reason why it can't be a single EXT partition is because... well, because Link2SD says so:

I guess you could format the first partition as EXT, too.  So technically, no, you don't need FAT at all.  But it's nice to have it, as it's more readily visible to other Android app, and it also shows up immediately when the Android is connected via USB as a media device (MTP).
Now, "You [only] need to use a non-FAT file system (ext2, ext3, ext4 or f2fs) on your second partition in order to link app's private data files." [emphasis added] You can still move an app's binary to a second FAT partition. In fact, when Link2SD detects the second partition, it'll ask you what's the filesystem, at which time FAT is one of the options:

(No link to FAQ because I "need at least 10 reputation to post more than two links".)

There, now you have 10 reputation.

would this still work when USB connecting to my PC?

Yes aslong as the memory card is inside the phone the storage can be accessed in mtp mode in a Windows PC. It cant be accessed if the card is connected via an Memory Card Reader. But there are few plugins or programs to read the content of memory card. Still writing to the card may mess up the storage.
Other disadvantage of creating a single ext3/4 partition is some apps may not recognize them as storage and hence cannot write to them.
I am not sure how Link2SD respond to an single partition.
So I will recommend to create a separate ext partition. But nothing wrong in trying out. Make sure you back up your memory card before trying

authors: Александр Синдяков


text:
how to keep using Google Maps in browser and avoid launching the app?
If I point my browser (Doplhin browser) to http://maps.google.com it automatically opens the Google Maps app.
Is there a way to avoid this and keep using the site through the browser?
If it matters, I'm on Android Lollipop on Sony Xperia Z3 compact.

Yes absolutely. If your Dolphin Browser is up-to-date, just follow this step -
Open Browser > Settings > Advanced > More > Open in app > You'll know what to do after that ;)


text:
How can I execute a Tasker reboot command only 1 time?
I'm working with a chinese tablet which needs to be initialized every time after it's connected to a power source.
I'm using Tasker to do so.
Problem is: this condition makes tasker execute the reboot command over and over, and it becomes a bootloop.
What should I do in order to initialize the tablet when a power source is attached, but avoid it from entering the bootloop?
Edit: TaskerProfile
<TaskerData sr="" dvi="1" tv="4.6u3">
<Profile sr="prof2" ve="2">
<cdate>1431370575080</cdate>
<edate>1431372456863</edate>
<id>2</id>
<mid0>4</mid0>
<State sr="con0" ve="2">
10
<pin>true</pin>
<Int sr="arg0" val="1"/>
</State>
</Profile>
<Profile sr="prof5" ve="2">
<cdate>1431370730220</cdate>
<edate>1431371684461</edate>
<flags>2</flags>
<id>5</id>
<mid0>6</mid0>
<State sr="con0" ve="2">
10
<Int sr="arg0" val="1"/>
</State>
</Profile>
<Project sr="proj0" ve="2">
<cdate>1431027887676</cdate>
<mdate>1431371133517</mdate>
<name>Base</name>
<pids>2,5</pids>
<tids>4,6,7</tids>

<nme>hl_aaa_ext_home</nme>

</Project>
<Task sr="task4">
<cdate>1431370589904</cdate>
<edate>1431372085383</edate>
<id>4</id>
<nme>Task1</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
410
<Str sr="arg0" ve="3">Documents/sdcard.txt</Str>
<Str sr="arg1" ve="3">0</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task6">
<cdate>1431370741046</cdate>
<edate>1431372415674</edate>
<id>6</id>
<nme>Task2</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
417
<Str sr="arg0" ve="3">Documents/sdcard.txt</Str>
<Str sr="arg1" ve="3">%True</Str>
</Action>
<Action sr="act1" ve="7">
410
<Str sr="arg0" ve="3">Documents/sdcard.txt</Str>
<Str sr="arg1" ve="3">1</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%True</lhs>
<op>2</op>
<rhs>0</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
<Task sr="task7">
<cdate>1431371028431</cdate>
<edate>1431372348654</edate>
<id>7</id>
<nme>runshell</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
123
<Str sr="arg0" ve="3">reboot</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%True</lhs>
<op>2</op>
<rhs>0</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
</TaskerData>

If I understood the question correctly, you want to connect the device to a power source which triggers Tasker to reboot the device (for initialization). But when the device reboots itself Tasker finds that the power source is connected so it repeats the task again. Your goal is to make Tasker reboot only once while power source remains connected. If the source is to be removed and re-inserted again, then Tasker should do the reboot again only for once.

Based on this understanding, I proposed the following solution:
The solution is very trivial. I'm using two profiles in Tasker, namely:

Not power USB
Power USB

These two profiles, as obvious, will be triggered by connecting/disconnecting the power source to the Android device. I'm using a file's content as a condition here to restrict boot-loop.
Note: For this answer, I chose my power source as USB only.
Instructions:
Regarding the file content:

Create an empty file in your default storage. (I created a file named sdcard.txt in /sdcard. The location of this file is /sdcard/sdcard.txt.)
Open this file in a text editor in Android and add 0 in it. (I used 920 Text Editor).
Note that there is no logical reasoning in using 0 only. It will be used in a conditional statement only. You're at liberty to try an another number.

Regarding Profiles and Tasks in Tasker app:

Launch Tasker.
Under Profiles tab create a Profile by tapping + → State → Power → Power.
Under Source choose USB.
Check Invert -- this will make Not power USB profile.
Press Back key/button once and select New Task.
Add a name for your task (persistent) or leave it blank (deleting profile will delete it as well).
Under Tasks tab tap + → File → Write File.
Under File field mention the location of your text file. In this case, it is /sdcard/sdcard.txt.
Write 0 under Text field.
Uncheck Append  and Add Newline. -- we want to replace the content, so no appending should be done.
Tap Back key/button twice to save this task.
In order to create Power USB profile, repeat step 2,3,5 and 6, respectively.
Under Tasks tab tap + → File → Read File.
Repeat step 8.
Under To Var type %True -- You can change %True to any other name. Make sure that you capitalize at least one letter of your variable to make it non-local. See this to know more.
Repeat step 11, 7 and 8.
Type 1 under Text field.
Repeat step 10.
Tap + corresponding to If. Add %True and 0 in fields respectively. It should look like %True ~ 0.
Repeat step 11.
Under Tasks tab tap + → Code → Run Shell.
Type reboot under Command. (My device is rooted, so I provided root permissions to this step to avoid any hassle.) As a soft-reboot option, you can use killall zygote instead of reboot.
Check Use Root if your device is rooted.
Leave Store Output In and Store Errors In blank.
Repeat step 19 and 20.
Go to Profiles and enable both profiles. To save yourself from unnecessary trouble, disable any other power related profile other than the ones mentioned above.
Tasker must be Enabled. You can check this by tapping Menu key/button once and amongst the options, Disable tasker would be visible. Also, if this app is running and you happen to minimize it, then as a default setting you would see its icon in the Status bar with the profile mentioned there (if activated).

We're good to go.

Go to Home Screen of your device.
Connect power source (we used USB only here).
Your device will reboot. Do not disconnect power source to verify that boot-loop vanished.
When the device comes back to Home Screen after reboot, you can see that Power USB profile is activated in tasker yet there is no boot-loop, not to mention that your initialization is also done. :)
Disconnect power source and the profile will switch to No power USB.
Connect power source again and device will reboot again for once.

Status: Objective Completed. Done!

It is switching between both profiles, but it doesn't execute the RunShell "reboot" task

@Tardo I traced this issue. If I uncheck root option in this task, then the device doesn't reboot at all. Guess what, no error in logs of Tasker as well. I checked root option and it worked fine. I'm having this feeling that your device is un-rooted.

I'm using SuperSU from Chainfire to root the device

If I execute (manually) the reboot task, it will reboot

Can you send me the screen shots of all the profiles and tasks that you made using this answer in details? IDK how to export and restore tasker data.

I will edit the post with the Profiles and Tasks.

Let us continue this discussion in chat.

Go to the ActionBar Settings (in the right corner) -> Data -> Share . Then you'll be able to get into a TextEditor a file similar to the one I've just posted as an edit.

Sorry but I don't have enough reputation to use the chat. :(

No issue with chat, the system asked me so I tried moving it. Anyway, I tried viewing the stuff in text editor and I also have another option. If you hold down a profile you get the option to "Export" it. I've exported both profiles and I think you should be able to import them. I'm sending you now.

Aight. Please check the chat again.

authors: ณรงค์ฤทธิ์ จิตประเสริฐ


text:
Not recognising any of the items on sd card
Good Day, my Sony Xperia "Go" froze earlier and so I held in the power button together with the volume up button which then rebooted the phone however once I got the phone on it is recognising the sd card but it doesn't pick up any of my photo's on the sd card, please help me

but it doesn't pick up any of my photo's on the sd card, -- Should I take it as you can't see any photo in the Gallery? Otherwise, what do you mean by not picking up? Please [edit] and mention it.

If you mean the files on your SD card are not coming up in any app that used to see them, you may have a corrupted SD card from the forced power cycle. Try mounting the SD card on a desktop computer and see what it says. Use scandisk or fsck on it, but not in repair mode. If it shows errors, but you cannot get to the files, try repairing it, copy ALL the files to the desktop computer, then have your phone reformat the card. Then go back to your desktop computer and reload everything.


text:
How long does an erase message sent from Android Device Manager last; when can I turn it back on?
I lost my phone recently and sent an erase message from Android Device Manager. I got my phone back and, because the battery was flat, it hadn't gone through. I had cancelled phone and had no WiFi, so I went into Google Settings and turned Android Device Manager off. Connected to internet without it being wiped. Is it safe to turn Android Device Manager back on without worrying that the original intent to wipe the phone will continue? How long do I have to wait to turn it back on?


text:
Android is ignoring my choice of lock screen
I have bought a Samsung Galaxy S5 and I was so excited about the fingerprint feature.
So when  I got  the phone I tried to set fingerprint as my unlock method, but it didn't work.
The lockscreen now has a pedlock and there is two ways to unlock the phone.
First way:
Drag over the screen (the default option).
Second way:
Drag over the pedlock to get to a new screen from which I can only open with fingerprint.
How can I fix this?
I want to unlock the phone only with fingerprint, not with drag.

Question is too confusing to understand. Can you rephrase it?

@MANI Now I have changed the question.

Solved it! The problem was that when I connected my Samsung Gear Fit to my phone via bluetooth the phone was told to bypass lockscreen. The solution was to go to Settings > Security > Trusted Agents and then turn Smart Lock off :)


text:
Android 5 lockscreen does NOT timeout
When I receive notifications, plug in power, or manually turn on my phone display, the lock screen stays on forever (until battery runs out). My display timeout setting is set to 15 seconds (the lowest). The normal display times out correctly, just not the lockscreen.
A month ago I enabled developer mode, but only used it to enable usb debugging and made an adb backup of my phone. The lockscreen still timed out after that and I have made no other modification to the settings since then. The phone has not ever been rooted. Developer mode is currently off. Virus protection is on, and I've only downloaded authorized apps from the store.
I tried turning on/off gestures, smart stay, removing phone from case, cleaning screen, etc. I have no idea what is causing the lock screen to stay on and not timeout.
Samsung Galaxy S5 SM-G900T
android 5.0

IDK whether this is true but a user in a comment (here) mentioned this : If smart stay is enabled, the lock screen will not turn off as long as you are looking at the screen. Do you have such setting? Try tweaking it and tell us if it worked.

I have it off actually. I mentioned this option as 'face detector' in my question. I'll reword now.

Just now I got a flood of app windows opening into a state I had them in (clock app with schedules I had previously deleted, magically back) days prior to this problem with the lock screen starting. Something screwy is obviously happening here. Anyway to do an android cache reset or w/e. Not a factory reset. Just a system restore kind of thing?

Depends on whether your recovery supports it: Boot into recovery mode, see if there's a "wipe cache" option. This is present in all recoveries I've seen – but there are many I've not seen :) Would do exactly what you're asking: Emptying the cache, no data loss.

Tried just now,  did not fix issue.

I also tried removing Lookout and Android device manager from the authorized admin list, as they apparently can control how and when the lock screen happens. No fix.


text:
How to view on-line or download my Android Contacts metadata including Linked info from Linked Apps
There is far more information about my Contacts in my Android phone then what is visible on-line from https://www.google.com/contacts.
Primarily I am referring to the information from "linked contacts" which Android captures and consolidates in the "People" "Phonebook" on the Android OS.
Presumably, Google is capturing and storing this information from my Linked Accounts (the content is not dynamically being pulled from these apps every time I pull up the Phone book).  I would like to view the total information regarding my Contacts on-line including this metadata... anyone know where this may be available?


text:
Remove Bloat from Google Play Update list?
Is there a way to remove uninstallable apps from showing up on the google play updates list?  I don't mean uninstall them, that is not possible without root as I understand.  Just hiding them from the update all list would be nice.

Bloatware can be disabled safely. Also disabling them saves some space and memory if they are running in the background. You won't see them in update list after that.

The only way I know of to remove an app from the update process is to disable it - but then of course, you can't USE it at all.
I tend to disable a lot of built-in stuff (usually after the first time it decides to 'notify' me about something I don't care about). But as I said, that also means I can't use the apps in question.


text:
Ngrok (compiled for Arm5) crash on android: can't find core dump files!
I downloaded Ngrok which I want to install on a old HTC Hero [the project is to transform the phone in a ipcam, reachable behind a NAT network], so I chose the version compiled for Arm5. You can find the executable here: https://dl.ngrok.com/ngrok_2.0.17_linux_arm_v5.zip
Now, I tried to launch it on Hero and on a Nexus 5 with Lollipop, but I got a "Segmentation fault" error. The developer of Ngrok ask me the core dump, but even if I set the ulimit to unlimited, I cannot find nothing in tombstones folder.
Can someone help me? For example trying the Ngrok on you phone and tell me 1) if gives the "segmentation fault" error; 2) providing me the core dump; 3) tell me why I cannot find the core dump files...
To execute Ngrok on android you have to put it ind /data/ folder, then assign executable permissions (chmod x+ ngrok OR chmod 555 ngrok), lastly execute it with ./ngrok
Thanks in advance,
J.

authors: Денис Васильев


text:
Hangouts not showing contacts, or after selected, their phone numbers
When I select a contact from "Contacts" and tap to send them an SMS, instead of their name, it only displays their phone number. If I try typing their name in hangouts, it doesn't come up at all! The contact is stored on my Google account and there are no duplicaes.
I'm on a Verizon LG G2 running Android 5.0.2 and Hangouts version  3.1.89134953


text:
Bootloop Galaxy S2 GT-I 9100
My phone( Galaxy S2 GT-I 9100)  is in bootloop . I have installed cwm v6.0.3.6 and I have done wipe cache and wipe dalvik , after that I have installed cm10 but the problem doesnt fixed . So how can I fix this problem? I don`t want to lose my pictures and music.

If you can reach Recovery mode which IMO shouldn't be affected by boot-loop, then use ADB from there to transfer Pictures and Music or any other data into PC. CWM should be having ADB support by default. Access ADB from PC.

I have installed CM11 but now it brings error "No external storage available"


text:
How to sync facebook contacts after Ubersync deprecated
As of May 2015, Ubersync no longer works due to a change Facebook made. How can I keep my Android contacts book synced with my Facebook contacts now? I imagine other apps have suffered a similar fate.

Unlikely that any app fixes that in the future.
http://techcrunch.com/2015/04/28/facebook-api-shut-down/

If you add Facebook IDs to the note field of your contacts (or you have been using a HTC Sense device which had probably done it for you), you can try
ContactSyncDuck for Facebook.
Disclaimer: I am affiliated with this application.

Try Eyecon which automatically syncs your contacts with pictures from Facebook (and other social media sources)
Disclaimer: I work for Eyecon


text:
Auto refresh a webpage every N minutes
Does anyone know any way that I can refresh a webpage every N minutes?
I am running Kiosk browser with fullscreen, I need to have something that can refresh the page every N minutes. The Kiosk browser I am using has no such function built in.
Does anyone know how I can achieve this?

Why don't you use javascript with an interval to refresh your content.

Because I dont have control of page coding.

I'd personally use Tasker for something like this. The process would be quite simple:

New Trigger -> Time
Give a time window (workday 7:00 am to 5:00 pm)
Check "Repeat:" every xx and change to Minutes
New Task -> Name (something like "Open Webpage")
New Action -> Net -> Browse URL
Type in URL

That Task should cause the device to relaunch the webpage every xx minutes through the default browser, so we're assuming that's set to your Kiosk browser.

Found my own solution, updated.

Add it as an answer and mark it as the solution so others can find your answer as well!

Just insert this code anywhere in your kiosk browser content to refresh your web app every one minute:
<script type="text/javascript">
    setTimeout(function () { location.reload(true); }, 60000);
</script>

how to setup "location" in your script? and setup to every one minute?

@RootLoop, I edited my answer for one minute...

Found my own solution, updated.

I found my own solution and it is working good.
Need to use "Dolphin" browser with "Tab Reload" add-ons
It can be found in google play store.


text:
Twitter does not load images anywhere
I recently noticed that my Twitter app on Android does not load any new images. The ones stored in the cache still continue to open, but none new are downloaded. I cleared the app data, uninstalled updates (it is a pre-installed app), and restarted my phone, all being some of the solutions I found over the internet, but none worked. But it turns out the problem goes deeper than that.
I installed a couple other Twitter clients for Android, and they both fail to load the images too. I opened Twitter on my laptop, and no images there as well. Does anybody know why this could be and how to solve this?
P.S. I'm not sure if this question qualifies for this Stack site, but since I couldn't find any other site that was remotely relevant to my question, I went ahead with this. Also, not that I think it matters now but just in case, my phone is a One M8 with Lollipop installed.

are you using any adblocker type apps on your device?

None on my phone. Though desktop browser does have one. But don't think that's the reason, because the photos used to show up even when I had it. The problem mysteriously went away a day after posting this question, but it's back now just as suddenly. Can't figure it out whatsoever.


text:
iOS' Quick Reply feature on WhatsApp for Android
Recently I got my first Android phone, LG G3 and updated to the Android Lollipop, the latest OS ver. The transition from iOS isn't smooth as I thought and this because I'm trying to find how to enable simplest features that came with iOS as default.
One of them is the option of receiving message in WhatsApp. In iOS, if the screen is locked and I get a message, I can see a preview of the message and by swiping, I can get to write back to the sender (whereas user or group). In Android, I just see i.e "50 messages from 3 conversations".

"Slide to reply" on lock screen
I saw that I have the option in WhatsApp to "Always show pop up". Well, this brings any message from group (which I disabled) or users (which is enabled) with popup window and waiting that I'll type my response, I just want to see the little preview and if I want to respond I'll click on the specific message.
Is there any way (alternatively, 3rd-party apps) to have that feature? I have tried an app called NiLS & Notification Toggle, but it doesn't feel like this is it.

You mean multiple notifications for each chat? I don't think WhatsApp for Android has that feature, even though it is easily possible.

Have you tried Flotify by Jawamo in Play Store?

@MANI i am trying Flotify, but i a getting double notifications one from the OS (lolipop) and the other from the app. Can i cancel the one from the OS without also disabling the one from the Flotify ?

Did you find any difference between system and Floatify notifications? Which one is better? Because I never used Lollipop.

Both feel the same. So I disabled flotify. Still looking for proper method for handling the notifications like the iOS.

@udi. You can also try CM Locker. Notifications will be shown on lock screen and swiping right on it will take you to the app.

For now i'll just use NILS which trying to immatate the iOS , but it is still doesnt fill as integral part of the system also i'm getting double notification from the OS and from NILs , without the option to disable the ones from the OS... :( seems that android lack this features among others that i miss with iOS

Try CM Locker. This app enables the quick reply.

Android N will have native quick reply feature (called Direct Reply), and while WhatsApp will probably use it, it won't work for pre-N (although it has implemented its own quick reply from notification for all Android version).
However, there are some apps that can emulate the direct reply feature on Android N:

quickReply (free, 5.0+)

quickReply will show you separate notifications for every contact including reply action buttons, so you can easily write quick replies without opening the messaging app.
QUICKREPLY SUPPORTED APPS:
  WhatsApp, Telegram, Threema, Skype, Line, WeChat, Kik, EvolveSms, YAATA, Textra, ChompSms, Hangouts, Handcent SMS...

Floatify - Quick Replies (free, 4.3+)

Advanced heads-Up notifications for your phone! QuickReply lets you send messages directly from the notification! ...
MAIN FEATURES:
  Heads-up Quick Replies (5.0+, limited on 4.3+, see below for supported apps)
QUICKREPLY REPORTED WORKING:
  WhatsApp, Telegram, Threema, Skype, Line, WeChat, Kik, EvolveSms, YAATA, Textra, ChompSms, Hangouts, Handcent SMS...

Both apps are developed by Jawomo, so it's not really surprising they have similar feature and supported apps...


text:
Show plain lock-screen when multimedia cover creates text contrast issue android 5.0
Occassionally I'll be listening to or reading media on my phone and the screen will lock.  When this happens, the lock-screen background is the media "cover".  For white or very light media covers, there is very little contrast between the lock screen numbers and the background, rendering the numbers virtually invisible.  In my last android version, I could swipe down from the clock to bring up a lock-screen with a plain black background.  This is not working with Lollipop.  Is there some trick I'm missing, short of forcing a restart on my phone?  (Samsung S4 16GB)


text:
Two phone numbers (one USA, one Qatari) same phone, calls and text over cell data. Any suggestions on how to accomplish this?
I need your advice and ideas. I am moving to Qatar in a couple days for work and I am trying to figure out the best cellphone situation. Currently I have a Google Nexus 5 which is fabulous, on AT&T which is less than fabulous (but that is beside the point).
My goal is to have my Nexus 5 with a US phone number (doesn't need to be the same one I currently have) that my friends here can call and text me on, and a Qatari number that my coworkers can call and text me on.
Here is where I am at:

Ruled out AT&T completely because their international plans are absurd.
Getting a Vodafone or Oreedo sim and using it my Nexus 5 (this wouldn't have any way for US friends to cheaply call/text though, so I don't think it is the best option)
Going with a t-mobile sim (they have unlimited data and text in Qatar). I would need some way to have two numbers (one US, one Qatari) that could make calls and send texts over cell data. Google voice is one option but I think it only supports one number.

Anyways, any advice would be appreciated. I have thought about this a lot and done some research but I can't find a way to easily and cheaply do it.
Also, if this question could be better answered or belongs on a different stackexchange site, please let me know.
Thanks!

Android supports VOIP built in. You could get a US # from someone like callcentric.


text:
How to remove SuperSU when phone is improperly rooted?
I attempted to root my Motorola G 2nd Generation, and failed. I tried to remove everything and go back to normal, but the SuperSU app stayed. The phone stated it as an system app. I tried factory resetting, but SuperSU app was still there.
Basically, my phone improperly rooted, and SuperSU won't get installed. I'd like to remove this app.
Using version 5.0.2 of Android, and my system version is 22.21.28.titan_retuaws.retuaws.en.US retus.
Tell me if you need more info.

You'll have to either flash a ROM or root and remove it.  (I suppose you could craft a custom update.zip to try to excise it as well.)

Related http://android.stackexchange.com/questions/87980/how-to-remove-super-su

Do you have a custom recovery like twrp? You could delete it in the file manager of that. Or use stock recovery and flash the identical rom you have onto your phone. Don't do a factory reset and don't wipe cache

This is unclear. You wrote that SuperSu is a system app (which means it is installer) but then wrote "SuperSU won't get installed". What does it mean "my phone improperly rooted"?

Open the SU app, then scroll down through settings and it has options which optimise the app and root to ready for full unroot.

It's strange the your system contains SuperSU while it's not actually rooted.  It usually requires root access to install any app to the system so you should just have a .bin file to update.   Id you want to remove SU, you'll need to gain root access again and remove the apk after that... You obviously got a correct method of root, but didn't install SuperSU properly, So SuperSU can't manage root permissions, however the method you used to install it to system should be able to remove it as well

Try Hide My Root to uninstall SuperSU.

This app itself requires root.


text:
Micro SD card problems
My Samsung 4s doesn't have enough storage to update. So the whole reason for my switch from apple to android was that I can add storage to it. Yet here I am I put the card in and reboot my phone and still no extra space to be found on my phone.... what am I missing?

Adding an SD card doesn't add space to your phone, it provides an additional path for storage.  Your phone has limited internal memory that can't be increased.  After adding the SD card, it should mount on its own.  After that, you should try moving some media or apps to the SD card to clear enough room on your phone to install your update.


text:
How to delete podcast on Google Play Music?
I use Google Play Music and I need to delete old podcast, but have not been able to find a way to do it. Any ideas that might assist?

Hi, welcome to [android.se]. It seems that one of the answer(s) helps you solving the issue. Consider accepting the answer if that answer is the best for you. Thank you.

If you downloaded them within Google Play Music, you can delete them one at a time.

Tap the info icon to open the episode details
Tap the check mark that indicates it is downloaded
A menu will pop us asking if you want to "REMOVE" or "MANAGE SUBSCRIPTION".  Tap Remove.

To delete all episodes of a podcast, within the MANAGE SUBSCRIPTION menu, unsubscribe and save.  If you still want to be subscribed, the resubscribe and reset your download preferences in the process.

How did you load them on there, usually you can go into My files and go to the podcast folder and delete them manually

No problem glad to be of help!

go to settings
pick music or podcasts (which ever you want to get rid of)
go to manage downloads
click the symbol to the right of each item you want to get rid of
and it will be deleted and disappear from list


text:
RAW camera and Lollipop
One of the selling points of Lollipop was that it will now support shooting in "Raw" mode, so that you can get the raw sensor data and then process it on the computer.
I just installed CM12.1 on my Samsung S3.
Will my phone support "Raw" shots in the future (My camera app doesn't support it yet) or does it require specialized hardware and I shouldn't even count on it being supported in an old phone?

The good news is, it is not related to hardware (any devices that can run Lollipop should be okay). However, the bad (or also good?) news is, it depends on the Lollipop ROM (stock or custom); if the developers decided to implement this (optional) feature.
Regarding CyanogenMod ROM, it seems that starting from CM11S 38R, it fulfills the condition to take RAW image.
Otherwise, you can check if your device supports those features using Manual Camera Compatibility.

From Camera FV-5's FAQ,

[LOLLIPOP] I have Android 5 Lollipop, but I cannot see none of the cool features announced for Android 5 (manual focus, RAW, manual exposure time...).
Camera FV-5 requires that the phone actually implements those features. Android 5 Lollipop (the OS) brings the possibility for manufacturers to implement those features, and applications to implement those. However, Google left all these features optional for manufacturers, and most of them that are currently updating their existing phones to Lollipop are not implementing them in order to rush an update to the market. From the equation, Camera FV-5 implements everything needed to use those features, Android Lollipop brings developers the possibility implement those features, but if you are not able to use them is because your manufacturer didn't actually implement their part on their devices: RAW support requires the manufacturer to update the camera driver (for instance).
Currently the features described here are supported on the following devices at the beginning:

LG Nexus 5.
Motorola Nexus 6.

Cyanogenmod isn't Cyanogen but +1


text:
Why am I not getting access to the full internal storage space?
Please note: There are similar questions to this one, but this is different: in this case I am root reading all the block data directly from /dev/block/*, not a regular user trying to save files to pre-partitioned areas.
According to the internal memory capabilities this phone, a HTC One V (a version tailored for Cricket Wireless if it makes a difference), there should be "4 GB (1 GB user available)".
However, when I create a dd image of the internal storage (accessible through /dev/block/mmcblk0), it tells me the resulting image is 2.3GB large. Even if I create an image of each partition individually, the result is still 2.3GB.
Why is there a discrepancy between how much storage is listed on the phone's specs, and how much data can be accessed through /dev/block/*?

Apparently, some of the flash isn't mapped through that mechanism.  You can look into the kernel configuration, but it is also possible that the radio firmware ("baseband") which runs outside the kernel (and often on a different processor core) "owns" that, and the Linux kernel has either not been notified of its existence, or actually locked out.


text:
No External Storage available Galaxy S2
My galaxy s2 was in bootloop ,  I have installed cyanogen mod 10 on it . Now I can`t see any files on my storage , when I enter camera or gallery it writes "no external storage available" . And the file manager doesnt show it too . But when I enter to that storage from recovery it shows all files . What can I do?

That sounds like a configuration problem with your custom ROM.

It is official CM10 , I have tried official CM11 and unofficial CM12 , hazy rom I have tried too all those roms show me the same error.


text:
Screen problem in Motorola moto g 2ng gen
There are black dotted lines over all on the screen. The touch works fine but black dotted lines randomly appear all over the screen.

Click image for larger version
Here is the screenshot. They appeared a day after I bought the phone

Are you standing next to a dirty sprinkler maybe? Sorry for the bad joke, but we need much more details here – e.g. when did that start, did you change anything shortly before it (i.e. what might have led to the issue), etc. A photo might prove helpful as well as a screenshot, best both (to see whether it's a hardware or software issue).

This is most likely either a hardware issue or a software issue at the OS level. I had a device that I was using CM on that would do something similar whenever I rotated the screen. Did you buy it from a store or 3rd party? Have you loaded custom software?


text:
Battery duration instead of battery percentage
I wonder if there is a way to modify my battery icon in order to present battery remaining in hours/minutes/etc and not in a percentage form

Just a note: remaining duration might not be a good indicator for general purpose since it depends on current activity. Though you may have a reason why you want it.

@AndrewT. in android version Jellybean is the battery percentage really correct or its just approximate considering all the apps are force closed except the android core modules.

@user285oo6 it should be correct because it reads from the voltage level. Apps force closing is not related to battery, but memory.


text:
Google Play service
Sir when I open many apps it shows the app would'nt run without google play service which is missing from your phone  So I tried many versions of google play service but I could not instal any from them it shows installing but at last always it shows application not instaled and android version is 4.0.4 unknown source in open I also tried to instal it from google play store but it shows insufficent space but I have space in my phone sir please help me...

IDT you can install Google Play Services by using package installer of Android. Mostly, the Gapps(Google Apps)  zip file has to be flashed  into system from Recovery to install core Google services as System apps and services.  2) Having space in your Internal Storage is different from having space for app storage (/data). You can add([edit]) as well as look into questions in [tag:insufficient-memory] tag.

On a side note , consider editing the title since it doesn't attract a reader to answer here. Also, purge "Sir" since there is no mandate that the reader/answerer would definitely be a male, not to mention there is no need to mention it at all.

See: How can I install the Google Apps Package (Play Store, …) on my Android device? for the play-services issue, and our insufficient-memory tag-wiki for your space issue.

The (non-google play) installs are failing because you have insufficient storage space.
You may think you have enough space, but due to the partitioning of your device, and because you can't fill it up completely, you don't.
I'm assuming you have an older version of google play services installed.
You need to delete some apps, simple solution.


text:
Remove Lollipop status bar tint over color?
Is it possible to remove the tint over the status bar color in lollipop? Currently, the bar color will change to a slightly darker version of the app's color.
Example of how it is now:

Click image for larger version
I would like it the be the same color as the rest of the app, no darkening.
EDIT:
I've managed to modify Lolistat to color some apps the same color, my dilemma now has two parts: White status text on white text bars and the apps which Lolistat doesn't touch (ones with predefined colors)
Two working apps:

Click image for larger version

I could be wrong, but as far as I know that's a decision on the app developer to use the default (i.e. a darker version of the app heading). Some apps like the Play Store 5.4+ don't do this, they have the picture of the app fill the bar with no tint at all. I don't think it can be changed without tweaking the ROM itself.

On my Play Store (5.4.12) the bar is tinted. I assume the "default" the apps use would be hardcoded into the ROM? I have xposed installed, maybe I could modify it through that?

It could be possible that way. Mine has no tint, only when an app opens and the status bar changes colour (using stock 5.1 on a Nexus 5). Samsung have a tint on theirs that permeates everything, it is ROM level (in the framework somewhere I think).

I think its like styles.XML and color.xml or something in my theme directory (cm12s)... After looking around a bit in those files, it looks like I'd have to change the primary-dark color to be the same as the primary color. Is primary-dark used anywhere other than the nav and status bars?

If you can use Xposed Framework (needs root), try any of the following Xposed apps which can theme your status bar:

Flat Style Colored Bars
Tinted Status Bars
Material Status Bar

They do it by taking a sample from the app's action-bar and colors the status-bar accordingly as per some mode settings, which include Gradient, Flat (which you want and the unpaid default), L and custom.
(Note: some features require an in-app purchase.)


text:
Multiple tethering icon stuck in Notification bar of CM12 (for OnePlus One)

Device: OnePlus One
Android: CM12 (0YL).
Status: Rooted, Xposed Framework installed.

Whenever I activate both USB tethering and Wifi hotspot, the icon  appears in Notification bar to signify that multiple tethering connections are activated. The problem is whenever I disable wifi hotspot and USB tethering their corresponding icons disappear as usual but this icon  remains stuck in the bar. The icon disappears after reboot but that's not how I want to get rid of this icon.
I tried enabling (again) both USB tethering and wifi hotspot and disabling them altogether but the icon always persist.
What should I do to get rid of this icon other than to reboot?
Edit: What's the reason behind this issue?

I want to avoid Factory-reset or flashing the ROM.

Brandon couldn't comment but wanted to say: "I have my icons get stuck or not show up a lot on the notification bar. Most of the time when I reboot to recovery and wipe the system cache it fixes it. Try that"

I also have this problem on CM12.1, the tethering icon doesn't go away after turning off tethering . I normally just solve it by simply rebooting the phone. After wiping the phone I still had this problem.

@SuperThomasLab It must be a bug then if it exists in CM12.1 as well. Did you encounter any related bug report?

no, only the icon

I can't test this for you, becuase unfortunately I don't have CM12 anymore (see my latest question), but you maybe can use Tasker and add something like,when tethering switched off -> force stop tethering/remove notification.

@SuperThomasLab As far as my findings are concerned, tethering is not a specific app but a part of Settings activity (.SubSettings), but force-stopping Settings doesn't help. Checking the notifications, I see that tethering notification is under the direct control of Android system (pkg=android) so force-stopping is not an option for it using Tasker.

I tested with the build cm-12.1-20151117-SNAPSHOT-YOG7DAO1K6 and the problem doesn't persist there.

I have my icons get stuck or not show up a lot on the notification bar. Most of the time when I reboot to recovery and wipe the system cache it fixes it. Try that.

I possibly won't try this because I don't know why  your solution (or how exactly it) would fix the issue. But thank you for answering, and I've added the body as a comment on the question if this answer gets deleted for some reason. // On a side note, could you mention for how long after fixing the cache you didn't face this issue again?


text:
Google+ not signing in in Clash of Clans
I have tried to install the last update of Clash of Clans, it always failed, so I uninstalled it and installed it again. Succeeded.
Now I have to login to my village, I used Google+ before, so after I started the game it loaded then there's little G+ Sign in button, I tapped it, it loaded and then there was a blue button to sign in, I tapped it and it loaded for a while and then restarted the game
Now whenever I click sign in it shows that loading icon and then nothing happens, the game continues to show the tutorial
I have tried to clear Google Services Framework/Play Services/Play all with no luck
I have also tried to clear Clash of clans data without luck too
I have tried to continue the tutorial and creating new village and then signing in but meh
I am now very frustrated I want to restore my kingdom in Clash of Clans
Pleaee help.

I think you'd be best asking the developer of the app or on their forums as it sounds like it is an issue with the app rather than a general Android issue.

Well the problem was a bit weird
Actually the problem was that there was a newer version of the game, they difference was in the minor release number
Neither Google Play or the game itself prompted me for the update, I downloaded the APK fro. third-party websites and sideloaded it and now it works pretty good
Also if you're are in the one of the blocked countries by Google, try some VPN app