text:
Enable standby mode when the phone case lid is closed
I have a tablet (Samsung Galaxy Note 10.1) and a phone (Google Nexus 5X) both with CyanogenMod as ROM. When I close the lid of the case on the tablet, it automatically turns off the screen (and locks after some time). However, the phone stays active until the display timeout.

Is there a special setting or some hardware sensor which is not present in the phone or maybe difference in Android versions for phones and tablets?
I searched a bit and found app recommendations with the warning, that they will drain the battery. But when it's enabled in CyanogenMod, it should work on both devices without any apps, shouldn't it?
So is there some setting, does it depend on sensors, maybe the case (the tablet one closes with a small magnet, but I guess the proximity or brightness sensor should toggle the screen) or what else can be the cause for different behaviour?

Nexus 5X does have a Hall sensor responsible for magnetic "smart covers" to work. Either your cover itself doesn't contain such a magnet piece (downcost), or CM for your device hasn't included support for it.
Remember that although CM seems to be the same on every devices, they depend on vastly different, device-specific underlying codes, and are maintained by independent people, so it's very possible for one hardware feature to be present in a device but not in another. For example, my own Note 10.1 2014 (SM-P607T), although already in the queue of official CM13 nightlies, actually has borked Hall sensor support too.

my tablet is a note 10.1 2014 as well, but with cm for android 4.4 (had no cm13 support when installing). So CM does this with the hall sensor alone, no light sensor? The smartphone cover does not have a magnet, so this would be the explanation. I hoped it would use light and/or proximity as well.

Yes the native implementation always use Hall sensors, mainly to conserve battery and I guess also to avoid coding unnecessary workarounds.

Does it matter, to which side the lid closes (because of the hall sensor position)? I see that there are quite a few cases which open from top to bottom, but i would prefer one, which opens from right to left.

@allo Side doesn't matter, the magnet is always placed at the location of the Hall sensor when the lid is closed.

There are new options with screen timeout on the new Androids. One phone case I have has an open square window in the top right, so when I close the lid, the clock displays and the phone goes to standby automatically. I got a titanium see-through case. Installing an app took me to somewhere in the settings to change the standby mode when closing the phone case, but now I have a full front and back case, and I can't find this setting to change it anywhere.

Hi Kirsty,  this site is different.  Please read the help. This doesn't look like an answer and may get deleted.


text:
The UI sounds on my Galaxy Nexus no longer play - how can I re-enable them?
I kind of like the touch sounds and unlock sound on my Galaxy Nexus, so I typically leave them enabled. Today I noticed that both of these sound effects had simply stopped playing, possibly after I unplugged my phone from my car stereo (using a standard 3.5mm stereo headphone plug). For that matter, it appears that all of the UI sounds (camera click, screenshot, etc) have stopped playing of their own accord.
I have tried:

Silencing and unsilencing my phone, as well as adjusting the available volume sliders in my phone settings
Disabling and re-enabling the settings for touch sounds and unlock sounds
Rebooting my device

None of these methods has fixed the problem. My GNex is running CyanogenMod9 (built May 10, 2012) and Franco Kernel r107. Is there any way for me to re-enable these sound effects?

This appears to be something of a bug, either in ICS or the Galaxy Nexus (though I am unsure which). Unbeknownst to me, there is a "system volume" level that controls, among other things, the output of UI sound effects. This volume level does not appear to be modifiable within the normal system settings, but you can modify it with third party apps.
Based on this information (which I obtained from an XDA thread), I downloaded Volume Control + from the Play Store and launched it. The very last slider on the interface was for "system volume", and it was set to a value of 0. Once I cranked it back up to the maximum, my UI sounds began playing normally again. I do not know what causes this to become muted inadvertently.

Hey look, it's my thread! :P Yeah, it's an annoying bug. It's a terrible design to have a volume setting that there is no way to modify without a third party app.

source: Stack Exchange

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

sort: votes


text:
Can mobile websites (not apps) access androids GPS Radio
We're creating a brief for a mobile website (not web app) and would like to know if a mobile website can access a handset's built in GPS radio to display the handset's location on a map.
In short is GPS functionality limited to apps alone?

While Websites can not directly access the GPS, then can get the current location from the device (But of course only if the user has granted the permission). I think that this is done via HTML5's gelocation API, but I am not sure.

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


text:
Cleaning the mess in the contacts
I am trying to put some order in my contact list. The situation is as follows: I have first imported my contacts from Gmail and enabled sync, but I have set the phone as the default contact repository (until now), so that new contacts were saved on the phone.
The result is as follows. I have some contacts on phone only, some merged between phone and Gmail, some Gmail only. I would like to have all contacts Gmail only, wihtout duplicates, except for some occasional contacts I want to keep on the phone (say, the plumber).
It is easy, though tedious and error prone, to go through the contacts that live only on the phone, since they do not show the Gmail icon in the address list. I can then manually import them in Gmail and remove the contact on the phone.
My problem is that I don't know how to find out which contacts have some information on the phone and some in Gmail, since they appear as Gmail only in the list. I have to actually open each one to find out. Moreover, once I find out, I would like to be able to copy the information that is on the phone to the Gmail account, so that I can sort the mess in Gmail and remove the contact on the phone.

What is the simplest way to reorganize the contacts so as to move all the information on Gmail?

If it is relevant, I am on Android 2.2

Just FYI, you can rollback (restore) your contacts to any date up to 30 days ago very easily in case there goes something wrong: https://support.google.com/mail/bin/answer.py?hl=en&answer=1069522

I'm working from memory here as I'm now running ICS on my phone so I may be a bit off here. If you go into your phonebook settings, you should be able to stop it showing your gmail contacts.
Now, to get them into gmail contacts just do the following. Go to your phonebook, this will now just be showing you the contacts stored on your phone. You should be able to export this as a VCF file. Copy this file to your computer. Now just log into your gmail account, go to contacts and then import the VCF from there. Then delete all the phone contacts and re-sync your phone to gmail.
You may still have to do a bit of merging if you have part of a contact saved in gmail and saved in the phone memory but this will take most of the hassle out of getting them into gmail.

Unfortunately, this does not preserve the pictures. Still, I think this is the best way for now

Thanks, it actually helped!
HOW TO CLEAN THE MESS IN GINGERBREAD CONTACTS.
THE PROBLEM: some contacts were from google, some from phone only, some from skype and some from facebook. So the main problem was that there were contacts which were on the phone but not on google. More over it merged contacts from different services and sometimes incorrectly.
I just wanted a universal set google contacts and nothing else.
THE FIX:
backup the contacts. In contacts screen > menu> export > sd card.
Unsynk from google and all other services(Skype, facebook): settings> accounts> click account> unsynk contacts only.
delete all contacts: contacts> menu> delete> select all> delete.
turn the sync back on.
Get an error message - sync has problems.
Find this message in the slide down are (how do you name it?) - you grab the top of the screen, slide it down  - there are messages.
Click on the error message.
It says "too many deletes."
Pick to undelete google contacts.
Done.
RESULT: only google contacts are shown.
Also, in settings, somewhere, there is a setting to save all new contacts to your google account (not phone), do that.
Now all contacts are unified and under control.
Also restore the contacts from SD card (contacts>menu> import> pick the file you saved, it has 0001 in it)> this will create duplicates.
(Give the sync few minutes to upload all restored contacts to Gmail)
Go to Gmail, contact> remove duplicates, run it few times until all dups are gone.
Now it is perfect.

Please try to summarize what you are saying and try to be specific a little


text:
Error update lg phoenix 2 to nougat 7.0
I want to ask how to update LG phoenix 2 to 7.0 nougat because my phone is 6.0 and I check update but it keep saying my phone is up to date while it not . Are att stop update it? And does you guy have anyway to update it manually ? P/s:I can't trust trash website to update so I came here !

See if this works: https://forum.xda-developers.com/showpost.php?p=74939997&postcount=356

Usually companies stop sending updates after a few months since release. You may have to check for unofficial updates; risky.


text:
Why are apps given the right to run whenever they want even when they keep the phone awake?
This question is quite related to (and could end up being closed as a duplicate of):
How can I stop applications and services from running?
I would probably just comment there to get clarification on the answer given but I don't have enough reputation to add comments and I have additional questions, not another answer, so adding an answer to the above seems inappropriate, so the only option I have it so ask a new question.
Hopefully I am not committing too serious of a sin expanding on the above here in a new question.
So I understand that task killers are bad and completely buy into the concept that Android itself is in the best position to allocate resources, killing apps to make room in memory for newly opened apps, etc.
I (think I) also understand the concept of Intents and how they can activate an app so simply preventing them from starting at boot isn't enough to prevent apps from magically appearing in the "running" list (and potentially causing battery consumption).
But my phone (Huawei[1] Honor 8, still running Nougat, not Oreo) has a feature where it will tell me about "Power-intensive apps" and lists apps that it deems are causing (excessive) battery consumption.  Along with the apps in the list, it provides a short explanation of why it thinks it's "power intensive" such as "High location frequency" or "Frequently wake up system" or "Keep awake", etc.
Surely apps running in the background, that I didn't even start (and have even previously closed but have restarted themselves) and are guilty of one of the above ("High location frequency" or "Frequently wake up system" or "Keep awake") are causing excessive battery use, no?
Wouldn't "Frequently wake up system" or "Keep awake" at least prevent Doze from kicking in, unnecessarily consuming battery?
And to be clear, these are apps that I have not used (i.e. opened in the foreground) since I booted the phone and are not likely apps that I feel need to be notified of any Intents.  They are apps that I couldn't care less about until and unless I specifically open them to use them.  They shouldn't be trying to "collect" information in the background since whatever collection they are doing is not useful to me.  These are not social media or messaging apps that I am interested in having information presented to me unsolicited.
To call one of them out specifically, Spotify is currently running with the "Keep awake" permission.  I am not listening to any music.  There is no need for Spotify to be trying to keep my phone awake.  I can "close" (kill) it but it will most definitely be running again at some point without me having opened it to listen to music, presumably woken up by an Intent.
Why can't we users be in charge of when apps are allowed to be awoken to run, particularly when they do things like "Keep awake", without having root our phone and install something like LineageOS that let's actually control permissions such as Keep Awake, etc. with it's PrivacyGuard (i.e. AppOps)?
[1] Yes, it's well understood that Huawei have a history of being overly aggressive with killing apps to try to preserve battery but that seems to be relaxed in their Nougat ROM (as the above linked article even confirms) as they now seem to have a whitelist of apps you want to be closed when the screen lock is activated and nothing is in the whitelist by default.  But that aside, my observations here aren't about apps being closed or killed, etc. but simply that Huawei's OS is flagging apps that are exhibiting behaviours that would appear to be affecting battery life and even moreso even just making me aware of apps that are waking up and being run in the background, exhibiting bad battery life behaviours when I didn't even start using them or won't have any interest in using any time soon and so whatever they are doing in the background (data mining no doubt), I am uninterested.  So ultimately, I want to be in control of what gets to start in the background.
App Ops - Permission manager seems to be an app to manage AppOps, but unfortunately it looks cumbersome to use.  It requires one execute adb commands to start yet some other app every time you reboot your phone, etc.  Users having more control over what apps can start based on which Intents and when should be a lot easier than this.

Firstly, reminder that VLC blacklisted Huawei phones because their resource management was too aggressive and would always kill the app in the background. Take what you see in the settings with a grain of salt. Secondly, Doze ignores wakelocks so I'm not really sure how much the apps affect it. Don't quote me on the effectiveness of this though as I'm not a dev.

AppOps can be used without using root and you can control "Run in the background" or "Auto start" or "Wake the device" settings if the apps use them. https://play.google.com/store/apps/details?id=rikka.appops&hl=en (a GUI for appops)

... and CLI solution: https://android.stackexchange.com/a/209345/218526

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


text:
Problem with simultaneously connection in game (NavyField Mobile)
I wonder if you can help me. There is a game called NavyField on the android system. The game allowed connecting two devices with the same Google account at the same time. You could play on one and chat on the other (online game) After the last game update (deliberately done by DEV) you can not connect two devices to game server at the same time. App cloning and similar things don't work.
My question is. Is there a way to get around this from the game client side?


text:
Kindle Fire HD 8 - cannot load app
I have a Kindle Fire HD 8 (7th Gen), Kids Edition. Fire OS 5.6.0.1
The tablet has Amazon FreeTime installed for my son. I have installed Google Play Store on the tablet. I have downloaded a game (BeyBlade Burst) that I can play in standard profile. However, I cannot load it in the FreeTime profile.
I have searched in the 'Add Content' and the game is not listed under "games & apps" I set the 'Smart Filters' to off to allow the game parameters. However, it still doesn't show up in the FreeTime profile.
How can I enable this game in the FreeTime profile?


text:
Invisible Location History
Location History was active on my device and visible under timeline in the Google Maps app. I have just tried to use it via Google maps on browser to get my phone back, but the timeline stops in August.
The Android Device Manager last located my phone just before 6am yesterday morning, so it was definitely communicating with my account.
Has anyone successfully made their Timeline visible on GMaps retroactively if Location History was on and able to communicate with the Google servers?

Are you saying that timeline worked fine in your phone till now? Meaning did you open Google maps timeline since August, and you saw that it works?

A bochur - Yes, I have seen it in the Google maps app on my phone since August. And even now, I can see that my Location History is on. But I lost the phone, and Google Maps in a browser is showing nothing past August 13th.


text:
How to make a simple bookmark on HTC Wildfire S?
I am in the browser on my HTC Wildfire S.
I want to make a bookmark of the current page and save it to my desktop (main screen).
I press and hold down the URL and it gives me the choices:

share page (twitter, facebook, etc.)
copy page url

I would also expect it to give me the option "save bookmark".
How can I make a bookmark of a web page?

To add the current page as a bookmark, in the browser:
Menu->Bookmarks->Add Bookmark
Then you can long click the bookmark and select 'Add Shortcut to Home' which will add an icon for the bookmark on the desktop. Alternatively, long click on the desktop, then select
Add Item->Shortcut->Bookmark


text:
"mount" on 2.3.4 is Behaving Oddly
I'm on Nexus S, 2.3.4, stock and rooted. BusyBox is v1.18.4 (2011-03-20 15:16:04 CDT). When I try to remount ANYTHING it just
$ mount -o remount,rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory

Any ideas how to fix that? Is it a BusyBox issue?

You are not specifying the device to mount, only the directory so it is telling you that you are missing one of the required parameters.
I believe that the busybox mount will let you get away with not supplying the device, if it can figure out the device to mount, but the "stock" mount requires that you supply both the directory and the device.
you would have to do the following:
# mount -o remount,rw /dev/block/mtdblock4 /system
or you could try the busybox mount
# busybox mount -o remount,rw /system
but you should always supply the device to mount, so there is no confusion or issue with mounting the wrong device.

busybox mount -o remount,rw /system did the trick.

You may have root, but that is not a root shell (as evidenced by the $ prompt). You need to use su to switch to root before you can use mount. Since the default target is the root UID, you can simply enter su and it should properly switch to root (a # prompt). I think the reason it's failing is simply because you're running it as an underprivileged user.

Same with # mount -o remount,rw /system

@bot47: Strangely that works for me, but I suppose the other test would be to specify a device. E.g. something like mount -o remount,rw /dev/block/mtdblock4 /system where /dev/block/mtdblock4 is the partition where /system lives (I think Nexus S is mtdblock3 but you can check with just mount by itself).


text:
How to flash Nexus S (currently on custom AOSP build) with stock Gingerbread by Google (Android 2.3.3)
I have a Nexus S which I have flashed with a custom Android build. Now I need access to the Android Market and some other Google services and therefore I need the stock Android from Google.
How can I revert my phone back to Google's build of Gingerbread (Android 2.3.3 which includes Google apps)

What custom build do you have?  Do you have a custom recovery?

I did not know you could not access the market with Nexus S custom ROM! I'm on a custom ROM permrooted HTC DHD and have no issue whatsoever... what's the error you are getting?

@Matthew-Read I built the android source and flashed to the phone. So self-made custom.

@Stefano I built it myself. When Android is built from source, no Google applications or services are present.

interesting!

Here's a full stock ROM for the Nexus S (via XDA): http://android.clients.google.com/packages/ota/google_crespo/f182cf141e6a.signed-soju-ota-102588.f182cf14.zip (MD5: 3e8908941043951da5a34bb2043dd1a0)
You should be able to name that update.zip and put it in the root of your SD card; upon reboot it will be installed.

I do not need root. There don't seem to be any stock images provided by Google, and fastboot does not seem to work with image dumps which have been made using other custom backup tools like nandroid. Rebooting into recovery and using (update.zip) also always fails with signature verification. I guess I'll have to use one of the custom tools for recovery.

I guess that works for the Nexus One. Didn't work for the Nexus S though.

Shoot, didn't see that was for the N1.  Didn't expect Google to name the firmware the same, sorry about that.  Updated answer.

Bingo! I've googled the whole day and couldn't find this. Thanks mate. Also Google just released hardware drivers for those using AOSP, I'm including them here for reference.


text:
Google Apps won't flash on HTC Desire (Cyanogenmod)
One of my co-workers has a HTC Desire CDMA phone and is having a problem with flashing CM7 with Google Apps.  It flashes CM7 just fine, and it even says that it installs the Google Apps zip (the GB version) just fine, but in reality, it isn't flashing any of the Google applications. I can try manually flashing the gapps zip file and it will still say it installs successfully, but there are still no Google Apps on the phone.
What else can I try to get Google Apps installed on his phone?

Did you reboot the phone before any of these flashes?

@JonnyP the first flash was via Rom Manager. When I tried to manually flash it, I booted it into recovery and flashed from the gapps zip file on the sdcard

@JonnyP so I guess my question back is: does booting from phone into recovery not count as a reboot? Do I need to turn it completely off and then boot into recovery?

What version of CWM Recovery is the phone running?

In my (admittedly very limited) experience doing a normal reboot and then rebooting into recovery seem to have different effects on the phone.  When I originally flashed CM6.2.1 on my Droid I installed it via ROM Manager and then had similar issues with GApps, so I rebooted the phone, let it come back up naturally, and then re-flashed the GApps and I ended up getting them on successfully that time.  Obviously though with the phones being different and no guarantee that my issue was the same as yours your results may vary.

@eldarerathis Clockworkmod 2.5.0.9 (it says that is the latest version)

@Bryan: The 3.x series is the latest on other devices, did the Desire not get the update?

@eldareathis I'm not sure, I'll have to research. The only other CWM recoveries RomManager would let me flash were 2.5.1.x versions.

@Bryan: I found a thread on the CM forums where people were having the same problem. I also tracked down the 3.0.0.5 (testing?) release of CWM for the Desire. Added an answer below, see if any of that helps.

Some people are reporting success by simply wiping data and cache first, then flashing the ROM, wiping cache again, then flashing the Gapps package. Thread on the CM forums here (from CM 6.1.1, don't know if it's a related or similar problem, though).
The flash might not work on a 2.x release of CWM. You can get 3.0.0.5 here, but I don't know how stable it is right now. The filesystem changed to ext4 in Gingerbread and I know the 2.x releases aren't really supported on other devices. They also changed from one update scripting language to another, which I think is related. It creates generally weird behavior from what I've read...
Edit: Also looks like you can get CWM 3.0.2.8 from the CyanogenMod Forums now.
Some relevant discussion can be found on XDA here (from the Desire HD section).
Edit: Since Bryan noted that this solved it for him in the comments: It's also possible to simply push the apps manually onto the system partition. The safest way is probably to boot into recovery, then just mount /system as rw and adb push the .apk files to /system/app. You probably could do it from a regular boot (not in recovery) but it might cause some weird behavior (and I have not personally tried this).

I'll grab his phone again and try the wipe --> flash CM7 --> wipe cache --> flash Gapps. If that doesn't work I'll see if I can get 3.x recovery on the phone

@eldarerathis Had no luck doing either method. We flashed CWM 3.0.2.8, then wiped data/cache, flashed CM7, wiped cache again, and flashed Gapps.  Still no Google apps showing up

@Bryan: That's truly bizarre...out of curiosity, can you manually mount the /system partition in rw mode from recovery? That's usually the sticking point for this kind of thing, but the issue usually seems to be resolved by going from CWM 2.x -> 3.x. Incidentally, I suppose you could try manually pushing the .apks to /system/app in recovery mode if the mount works.

@eldareathis I can manually mount /system. I've flashed CW 3.x and still no luck.  System/apps/ is not showing the apps after flashing the gapps zip (although it says it was successful).  I think I'll try manually pushing the apks.

adb pushing the contents of the gapps.zip to the system partition worked :)

@Bryan: Well that was a random shot in the dark, but glad it helped!

@eldareathis Yeah, this was very weird. It basically wasn't flashing the gapps.zip although it reported no problems. And fixing permissions in recovery didn't work either. If all else fails, push it yourself :)


text:
Does the processor speed have any bearing on the time taken to charge?
I have a rooted Samsung Galaxy S II i9100 running the default Sammy Android 2.3.3 on the Siyah Kernel 2.0
I use SetCPU to change my processor speeds to conserve battery life during the day.
Will there be any difference in time taken to charge my phone to 100% depending on the core processor(s) speed / governor? Will a change in processor speed increase/decrease charging time?
Will a phone charge faster if it's completely powered down? Or is charging solely based on the output of the AC power adapter ?

Any phone you'll get will draw power from the battery, not directly from the charger.  Let's make some assumptions:

Your phone takes 2 hours to charge when off.
Your phone always uses constant power when on.
Your phone drains a full battery in 8 hours.
Charging and discharging is completely linear.

So if you plug your phone in when it's completely drained and turn it on, it will be charged to 75% (100% - 2/8) after two hours.  It'll take 3 hours and 20 minutes to charge fully.
As illustrated above it will take longer to charge the battery when the battery's being drained at the same time.  Obviously, none of the assumptions hold in real life, but it's more or less accurate.  Certainly it will charge the fastest when off.
As for the question of CPU scaling, that's very interesting.  The rate of battery drain affects the maximum rate of charge, so less CPU work means less drain and a faster charge.  I'm not totally convinced that underclocking the CPU will achieve this, though.  If your phone is idle it should already be doing a negligible amount of work.  Slowing the CPU will make that little amount of work use the CPU for longer.  It's almost certainly chipset-dependent whether 100 ms at 100 MHz take more or less energy than 10 ms at 1000 MHz, for example.  If SetCPU is altering the voltages as well, that further complicates things.


text:
Batch Update Android alarm ringtone?
I have a bunch of alarms on my Android phone and I want to change their current ringtone to a new one. The new ringtone is in MP3 format and is located in the sdcard. Is there any way to change them all at once, rather than opening the alarms one by one?

No. As far as I know, you will have to change them all manually.
You may want to try out other alarm clock apps, though. I use Alarm Clock Extreme (free & paid), and while I can't batch update in that either, I can set defaults for every option for new alarms.
If you really want a bunch of alarms to have one ringtone that can be updated later, you could use Llama. One of the features in that app is that you can set a ringtone to a profile (called a LlamaTone). Then when you create an alarm, you tell it to use the Llama ringtone; Llama registers as an option for ringtone selection. In the future, you only change the Llama ringtone, and all the alarms will be updated. Basically, you are creating an alias or shortcut.

Edit Yes, you can! If you have root, that is. The main alarm clock app keeps all of its alarms in a SQLite database. You can run a sql query to update them in one go.
First, create a new alarm with the ringtone you want ALL other alarms to use. Then run the commands below (in bold). Modify the alert to be the same as the alert you wish to use.
sqlite3 /data/data/com.android.deskclock/databases/alarms.db
sqlite>.headers ON
sqlite>select * from alarms;
_id|hour|minutes|daysofweek|alarmtime|enabled|vibrate|message|alert|intent|no_dialog
 1|15|5|0|0|1|1||content://media/external/audio/media/27||0
 2|15|12|0|0|1|1||content://media/internal/audio/media/58||0

sqlite>update alarms set alert="content://media/internal/audio/media/58";
sqlite>select * from alarms;
_id|hour|minutes|daysofweek|alarmtime|enabled|vibrate|message|alert|intent|no_dialog
1|15|5|0|0|1|1||content://media/internal/audio/media/58||0
2|15|12|0|0|1|1||content://media/internal/audio/media/58||0

the built in alarm clock has a default for new alarms, at least on ICS and later it does, it's in the settings menu in the app.

I have about at least 70 alarms in my phone. Today one of my friend tried to prank me by changing all these alarms ringtone to a new scary one. She must have been way too bored to do so. Anyway thank you very much for your answer, now I'm going to change it back to the original ringtone.

Your pain of editing 70 alarms moved me to find a better solution. Hopefully you have root (and hopefully you see the solution before you have finished all 70 alarms!).

It's just brilliant, thanks a million! I have done like you said and everything went back to normal now. More than 100 alarms and the query took place in a blink of eye!


text:
whatsapp issues
I was on WhatsApp for quite some time two years back, and then unistalled it. Suddenly today my friend got a ping that "abhilash left". If Iam using and leave it, the message was understood. If I was using and someone removes me, the message would be "user removed". Please reply as to how it can happen.
(Abhilash)

Whatever be the case, please don't put your phone number here. This is a public site. We should not be held responsible later for any spam calls/messages to your number.

Also, I couldn't understand your problem. We're you in a group that you left, which is why that message came up? Moreover, you can easily contact whatsapp authorities for better info.

I was never in that group. This group was created less than 2 years back and I uninstalled Whats App much earlier to it. How do I contact WhatsApp authorities, s when I wrote to support @whatsapp.com, a message came......google play store is responsible for it which is now not responding in the help forum.

Go to the feedback section in the app.

Did you change your number since you left WhatsApp, or do you still use the same number for regular phone calls ect..?

I installed whatsapp on a single number and never changed it. This was done two years back

If You were never part of the group in which it said that you left, my only guess would be that your friend saved someone number under your name. Let him search your name in his WhatsApp and see if anything comes up.

They couldnt find me on whatsapp? So now what to do to confirm how they got "left" message

It's possible that WhatsApp deletes an account after 2 years of inactivity, Even though i couldn't find any proof for that it's still possible. Now, when you uninstalled WhatsApp you didn't delete the account, so there was still a possibility of you being added to a group. Now that WhatsApp deleted your account it will say in all groups you were in that you left.

Yes, Iam using same number for calls

It looks like someone else is using WhatsApp with the number you had 2 years ago, which is very common.
More than likely the other person using WhatsApp, was added to that group you (your friends probably thought that it’s your number and added it) and the notification occurred becuase the other person left that group.
Now the notification said Abhilash left the group becuase your friend saved your number in his contacts.
Unfortunately you cannot do anything to control this.
that you never part of. with your old number most likely led the group, becuase they identified it as spam, hence them leaving the group caused

Iam sorry to say Mark, Iam still using this number but no whatsapp on my mobile


text:
Soft Bricked Nexus 4
A long time ago my Nexus 4 was doing an OTA update and crashed midway through. Now when I try to power it on it shows the google symbol then a standing Android with its chest open and a progress bar under it. The progress bar says "Installing System Update...". Then when about 25% through (A few seconds) the Android is laying down with its chest open and a red triangle with a exclamation mark over the Andriod. The screen says "Error!". If I wait a few minutes then it repeats this process.
I have searched the internet for long hours without finding any solution. I sadly don't have USB de-bugging on or my problem would have been solved long ago.
I currently have Ubuntu 16.04 and Windows 7 and I can't seem to mount the Nexus on either one. When I enter recovery mode it has the same dead Andriod and it says "No Command". I have factory-reset it and wiped the cache partition but neither helped in anyway.
I am not sure but I believe to update from ADB I need USB de-bugging activated and the Nexus needs to be connected to my computer. (Both things I can't do) All of the solutions I find need USB de-bugging enabled and I can't find any way of activating it while it is in it's current state. When I load fastboot mode this is what it says in the bottom.

FASTBOOT MODE
PRODUCT NAME - mako
VARIANT - mako 16GB
HW VERSION - rev_11
BOOTLOADER VERSION - MAKOZ30d
BASEBAND VERSION - M9615A-CEFWMAZM-2.0.1700.84
CARRIER INFO - None
SERIAL NUMBER - 029965911c4e2725
SIGNING - production
SECURE BOOT - enabled
LOCK STATE - locked

I don't know if that will help but I'll put it here anyway. I think that is all and I greatly appreciate any help given.

I'm not familiar with the Nexus line – but widely supported as it is, there should be some half-way up-to-date ROMs available, plus TWRP. Download both, install TWRP and boot into recovery. Now you should have ADB available, and can "push" the ROM to the internal SD card. That done, you could flash it. As you've already factory-reset anyway, do that again to be on the safe side, then reboot. It should boot up again now. Please report back after having tried this. Fingers crossed!

USB Debugging is not relevant, it doesn't come into play here, but you must be able to connect it to your computer via USB.
The first thing you have to do is unlock the bootloader, luckily the Nexus 4 does not require anything special to unlock the bootloader. From the fasboot screen, on your computer use the command:
sudo fastboot oem unlock
And follow the instructions on the screen to confirm the unlock and wipe process.
If this fixes it, your done... But to flash the latest firmware, you can go to: https://developers.google.com/android/nexus/images which has the images and instructions to flash the device from the bootloader (fastboot). It is literally as simple as downloading the appropriate image, expand the archive, and run ./flash-all.sh script
If you need adb and fastboot, they are available in the normal Ubuntu software repositories.
Nexus devices are wonderfully simple to work with, and are virtually unbrickable.

Comments are not for extended discussion; this conversation has been moved to chat.

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


text:
HTC-Desire-HD Calls go to answer phone if emails / data is updating
a customer of mine has a HTC-Desire-HD that when Data is updating be it emails, weather or any other data app the customer can not receive any voice calls as they go straight to answerphone..
Data turned off the calls work no problem.
If the phone is ont he home screen or other menu screen the phone calls are fine.
only when data is in use does the call go to answerphone.
Any tips??

Only dual-transfer mode phones and networks can use both voice and data at the same time.  I can't find any hard details on the Desire HD but I assume it is not DTM enabled/capable.

You can check that by making a call then opening the browser and navigating around (assuming you're on 3G) if that works (it should) then Something is Broken, and you should call tech support.


text:
Problem running z4root on Galaxy S GT-I9000
I installed Z4root on my Galaxy S (the original, not the S II) after reading this post, using the APK file attached to the post (can't find it in market). The thread leads me to believe that the process is as simple as installing, switching USB debugging on and pressing the root button. Not in my case.
Results:

First time, the app didn't get further than the "running root exploit" message (waited 30+ mins)
After rebooting the phone out of desperation, when I press the permanent root button it gets as far as the "acquiring root shell" message and the app either just disappears (with no results) or the app stops working and I get the force close window.

I've tried this many times with reboots in between, both plugged in and unplugged and no different results. Do later SGS models have some anti-root hax built into them? Have I missed something obvious about the process?
Extra info:

The phone does not have three button recovery mode
The author of the app claims to be from the same country as me, and his phone is also SGS running Froyo. If we are cursed with weird "international" hardware I would've expected the same to happen to him.
The thread talks about a superuser app being installed after the phone reboots. I already had Superuser installed (but never been able to use it because I haven't successfully rooted ever). I uninstalled the app and tried z4root again, but nothing different happened.
The thread suggests using adb logcat to get debugging info, but logcat spews an endless stream of info that is much longer than the examples I've seen in the thread (long enough that my terminal buffer loses the top info before it finishes). What I can see doesn't seem like it is related to z4root.

How do you know your phone doesn't have a recovery?  Can you get it into Download Mode?  Are you opposed to flashing a pre-rooted ROM (can be just stock+root)?

I know that it doesn't have three-button recovery (are there other types?), because I've tried rebooting with the appropriate buttons, and it does nothing differently. Apparently this is the case with some of the international variants. Hadn't heard of Download Mode but followed these instructions and it didn't work either: http://www.samsunggalaxysforum.com/samsung-galaxy-s-rooting/download-mode-recovery-mode/ Re Flashing: not opposed to anything that I can see step-by-step instructions for and which has been around for long enough for people to comment with any problems they've had.

Related: How do I root my Samsung Galaxy S?

That wasn't working for me neither, but when I tried the SuperOneClick it worked perfectly and very stable, but you will need to use a PC to do it.

If you've got a Galaxy S without a three-button-recovery mode, have you looked into making or buying a download mode jig? See this post for instructions on making one, or there are a few eBay sellers that stock them pretty cheaply.


text:
How to disable automatic picture upload to Google+
I've got Motorola RAZR (XT910) and I decided to install the Google+ app to stay in touch with it. Whenever I take pictures with my phone it would upload those pictures to my Google+ account even though I have set my Instant Upload settings to OFF. How can I really disable that without uninstalling the Google+ app? I would like to hand pick photos from my phone to be uploaded to my Google+. Thanks

@ce4 I know how to find the settings and change them. And I did that but the pictures are still being uploaded to my Google+

You should report a bug to the G+ app developers.

Open the Google Plus app, go to settings and disable "instant-upload".

Please note if you enabled it:
Each photo you take will be uploaded to Google Plus' staging area but not be shared immediately. It's just for convenience so that you don't have to grab your phone if you want to share some past pictures you took with your mobile. You will be able to to share from any browser you're logged in at any later time you want.
You can also select if you only want to instant-upload when you're on wifi.

So in other words if I don't want the pictures instantly uploaded I have to remove the Google+ app then.

I did that, as stated in question, but that does not seem to work and my photos and videos are still being uploaded.

Eww! That's indeed strange! Reinstalling maybe? You will be prompted on the 'instant-upload' thing at first launch again. There's nothing to loose if you do, just give it a try. Maybe try a reboot first, that won't hurt either.

I just reinstalled the app and rebooted my phone. It seems to work but I'd like to wait at 12 hrs or so.

Uninstalling and installing again worked for me.


text:
Galaxy Nexus: how to upload music in Linux?
As you know, Galaxy Nexus supports only MTP protocol for USB connection, which is not greatly supported under Linux. As a workaround, I have tried to upload my music to Galaxy Nexus through WiFi. I have installed "WebDAV server" (The Olive Tree) from Market and uploaded a couple of tracks to Music folder. But, Music app on the phone does not see any music, shows just "ways to add music..." message. Is there a way to force a rescan?

Specific solution for my problem is to install Rescan SD application from Market and launch it after uploading music through WebDAV.

I suggest you to try QtADB, instead of your WebDav work-a-round.
I tried every way and this is by far the best.

I have to admit I have not played with Galaxy Nexus, but  AIRDOID is claimed to be a good solution for moving files. I use it with both my phones and works fine. I know the new way parts are mounted makes a huge difference. I usually use Zimly as media player, and it finds uploded with airdroid files without any problems. You might need to re-scan media, as well.
If you are on Ubuntu, you might try this as last resort solution

After buying and using Nexus for an year, I can confirm that webdroid is valid alternative. It wont mount your phone, but will allow wirelessly to copy music and an other file


text:
why is my file system suddenly read only?
Some background:
My HTC Desire HD has several issues.
The first issue being that I can not connect to it using a USB cable.
So I found that I can tell ADB to work over wifi and I was using this method for some time.
I am using VISIONary to temproot the device, then I run a terminal on the device and execute:
$ su
#setprop service.adb.tcp.port 5555
#stop adbd
#start adbd

I then use netcfg to find my device's IP and finally on my pc I use
adb connect {device IP}:5555

I am then able to run on my pc
adb shell

and use this shell to do the following:
cd /etc
echo 127.0.0.1 localhost >hosts
echo {my pc's IP} some.dnsname.com >>hosts

This is when the second issue comes into play:
once in a while (seems related to killing and clearing cache of an app that uses some.dnsname.com - but not always) the hosts file just reverts to an empty file :(
Not having the deep knowledge to handle those problems (yet) I just "learned to live with them"...
A few moments ago, when I went through this process for for maybe the 30th time or so, A new issue decided to make my day more interesting.
I tried to modify (overwrite) the hosts file and I get the following  message:
cannot create hosts: read-only file system

I tried to read some about it and it seems I need to remount the system in read/write mode.
running
mount | grep system

returns
/dev/block/mmcblk0p25 /system ext3 ro,relatime,errors=continue,data=ordered 0 0
none /system/xbin tmpfs rw,relatime,gid=10132 0 0

I need help with:
1) Making my system read write again (what mount/remount command do I need to run?)
2) Understanding what could have caused this new issue.
3) Any ideas on how I can handle the two background issues is also most welcome.
thank you for reading...

/system is almost always read-only by default. Just remount it as R/W:
# mount -t ext3 -o rw,remount /dev/block/mmcblk0p25 /system

There's also at least one app that will attempt to do this for you, but it may not work on all devices.
Another option is to use adb root (if your ROM will allow it) to restart adbd as root, then simply issue adb remount. On ROMs where adbd is already running as root, the first command is unnecessary and adb remount will work right off the bat. From a PC:
C:> adb root
* Some response about success *
C:> adb remount
Remount succeeded

As to why it's getting blown away, is your device NAND unlocked? Many HTC devices will attempt to restore their /system partition to a stock state if they are NAND locked, making changes to /system fleeting at best. That's something of an educated guess, but the fact that you noted that you are using VISIONary to temproot seems to support that hypothesis.

adb root says:
adbd cannot run as root in production builds

@epeleg: You'll have to do it with mount then.

could you guess what has changed suddenly? I did this many many times and the system was never read-only.

@epeleg: I'm not entirely sure why it wasn't read-only to begin with, unless you're using a ROM that was modified to mount it as r/w on boot.

@epeleg: Actually, I thought of one possibility: VISIONary may have been mounting your system partition as r/w for you during the temproot process. If some system process then came along later and saw that the permissions were wrong, it could feasibly remount it read-only (which could be related to the NAND lock).

This is very likely. I later found out that something went wrong with VISIONary this time. It had hundreds of processes running on my phone. after a restart things now work as before. What does NAND locked mean? and how can I tell if this is the case with my phone ?

@epeleg: As far as I know it's basically synonymous with a locked bootloader. If you reboot to your bootloader and it doesn't say "Unlocked" anywhere then it's locked (adb reboot bootloader works for this, or reboot bootloader from an adb shell). The "Unlocked" text is usually pretty prominent on HTC devices near the top of the bootloader screen somewhere.

thanks for the additional info, I obviously have a lot more to learn about this OS. I could go on and as what is a locked bootloader and what does adb reboot bootloader do but maybe a more appropriate Q would be where can I read about all of this ?

@epeleg: The CyanogenMod Wiki and XDA Wiki are both pretty good resources. They both have glossary pages of common terms related to Android devices and rooting and such, though not a great deal of depth. Honestly, Google might be your best bet for really detailed reading. I don't think I have any links offhand because I've simply come across most of them on Google at some point in the past...

adb remount gives me
dm_verity is enabled on the system partition. Use "adb disable-verity" to disable verity. If you do not, remount may succeed, however, you will still not be able to write to these volumes. remount of /system failed: Read-only file system remount failed

This fixed it for me using android 11
Run android emulator with
Android/Sdk/emulator/emulator -avd Pixel_5_API_30 -writable-system --writable-system
adb shell
avbctl disable-verification
adb reboot
adb remount
adb shell
su
mount -o rw,remount -t ext4 /system

Make needed changes and change system back to read only with this
mount -o ro,remount -t ext4 /system


text:
What are some uses for the HDMI port?
My MID came with an HDMI port and cable. I have not seen this on any other device. What are some uses for this?

SE doesn't do lists; see the [FAQ].  Lie's answer is good but if you're unsure of what HDMI is I recommend Wikipedia.

Generally for video out, you can connect them to your TV to get an even larger screen, for example, to watch videos. Or you might be able to use it for doing presentations on a projector, instead of using a laptop.


text:
Is there any FREE android mail client with Exchange Support?
I am searching for a free Exchange mail client for Android 2.3+. Can anybody please suggest me one?

What's wrong with the stock client?  Without specifics this is a shopping rec at best (off-topic, see the [FAQ]).

Stock client is not working for my exchange mail id. It fails to connect to exchange server. My build is Android 2.3.6

K-9 Mail supports Exchange 2003/2007 via WebDAV. No support for Exchange 2010, unfortunately, since Microsoft removed WebDAV support in the newest version.
See the official wiki page for configuration instructions.


text:
Mount Android file system on Windows or Linux
I want to edit some files on my phone, but I can not access the root folder on my phone.
I'm using a rooted Google Nexus 5 running Android 5.0. I can read/write to my /, and /system by using the "ES File Explorer" Android app, but not Windows software.
How can I mount the Android system file in Windows, so I can read/write to the same places from there? If that's not possible on Windows: I'm also using Ubuntu. So, can I mount my phone under Ubuntu?

There's a second way, which should work with multiple operating systems on the computer's end: Taking a look at my list of file Android server apps, you can find some Android file-server apps using WebDAV or Samba, and SSH Clients & Server has some for SSH. Check those with "root capabilities", as you want to access the entire file system read/write.
Preparing your device for read/write access is done the same way as specified in my other answer. Then start the "server-app" you've selected, and you should be ready – not even a cable needed, as this works via WiFi:

Linux supports SSHFS, i.e. mounting the file system via SSH. There are also helpers to achieve this on Windows (listed there)
Samba is supported as "Samba" on Linux, and should be natively supported on Windows as "Windows Share"
WebDAV should also be supported by both systems

So with any of the three categories, you should be able to mount your Android's file system under Linux as well as Windows. Only possible "drawbacks" here are that you need an additional app on the Android device, and it might be a bit slower due to WiFi (the latter must not necessarily be the case, though).

I cannot answer the Windows part – but the Ubuntu part I can answer for sure, as I'm using that as well and mount my devices from my computer, sometimes with full r/w access. What I use needs ADB tools to be installed on your computer. If you didn't already install them, see e.g. Is there a minimal installation of ADB?
Prepare your Droid
First a basic requirement, applying to any OS which might run on your computer: To be able to get full access, the ADB daemon needs to be running in root-mode. This is not the case with stock ROMs, even if rooted, by default (though many custom ROMs have it enabled by default). So first check: If an "ordinary" adb shell directly brings you to the root-prompt (#) without invoking su, you're fine. Otherwise, you will need a helper like adbd insecure: Run it, and enable the "patched insecure mode". Optionally check the box to have that accomplished automatically on every boot of your device.
Prepare for write access to read-only file systems
Second, again independent from the OS on your computer: to read and write to file systems, they need to be mounted in read/write mode. You can accomplish that via adb shell anytime you need to write there (I don't recomment leaving those partitions in permanent read/write mode), e.g. issuing a mount -o remount,rw /system for the /system partition.
Mount your Droid
Now let's go for the specifics. I mount the Android file system via ADB, utilizing FUSE. The tool for that is adbfs-rootless. Compiling the code is easy given the instructions there; that done, copy the resulting adbfs binary to a directory in your $PATH. Then create a mount-point on your computer; in my example, I will use ~/droid for that. Now here we go:
# Mount the Android FS:
adbfs ~/droid
# Unmount it again:
fusermount -u ~/droid

To ease the process, I've created two aliases:
alias mdroid="adbfs ~/droid"
alias udroid="fusermount -u ~/droid"

You surely already have guessed: mdroid stands for "mount droid", udroid for "unmount droid".
A different approach to manually mounting/unmounting is using Midnight Commander with a specific VFS: mc-extfs-adb is doing that. A version I've spefically adapted for Ubuntu is available in the download area at IzzyOnDroid, where you can simply pick it (installation instructions included).
Both variants have their pros and cons: mc-extfs-adb takes quite a while on first access (while it caches the entire file system structure) – but then is pretty fast browsing the file system (as it is cached), only slowing down when you copy/edit files remotely. Using adbfs directly starts up much faster, but then always "hesitates" for a second when switching directories (as it does not cache the entire structure, but only reads on demand). I usually prefer the latter, but YMMV – hence I've given you both options :)

I've followed what you said, when I implement the command "adbfs ~/droid" my pc show "droid has been connected", the terminal show "--*-- exec_command: adb shell ls" but when I click on the device symbol, It show "Unhandled error message: Error when getting information for file '/home/peter/droid': Transport endpoint is not connected". What must I do now?

The first part (what the terminal shows) is normal and expected behavior. As clicking in the shell doesn't do anything, I don't know what "device symbol" you mean; you should rather cd to that folder, or (using your file explorer) navigate to /home/peter/droid (the "local" directory) instead of some device. For file operations, I'm not the "graphical guy" ;)

This is what the terminal show
peter@peter-N56VV:~/adbfs-rootless$ ./adbfs /droid
--*-- exec_command: adb shell ls
peter@peter-N56VV:~/adbfs-rootless$ /home/peter/droid
bash: /home/peter/droid: Transport endpoint is not connected

Do you have the device connected, and USB debugging enabled? What does adb devices show? I've never seen that error message, but somehow "Transport endpoint is not connected" seems to indicate there's nothing on the "other end" that could be used.

adb devices:
List of devices attached
04b713228291c6d0 device
The USB debugging mode is enabled.

Uh, looks like you've run into issue #3 – please follow up to that Github ticket, fix is there.

Install FX File Explorer from the Play Store, give it root access, and change it through the filesystem.

Windows File Explorer by default doesn't let you access the Android root files. You'll need to download a different application (to your PC) for that. Many places (like this guidingtech.com tutorial recommend Android Commander. Another recommended file explorer program is Droid Explorer.

If you need a specific application to interact with the Android device's file system, that's not answering the question. Mounting a file system makes it available system-wide, for any application. If the question would be "how to copy files", there are many fine applications for that – Ryan's Droid Explorer definitely being one of them (the dev is active here as well ;)

It is answering the question as in how you see and read/write the android system's root files on the pc.

Yupp, it answers that part of the question, you're right. Maybe I take it a little to literal, as the title says mount android file system. It's definitely a useful hint – which the OP might wish to follow, lacking alternatives on Windows :) So thanks for bringing this in!


text:
Safe mode on LG Optimus 2X
I accidentally added a task to Tasker which reboots the phone on startup.
How do I boot into safe mode on LG Optimus 2X to disable it?

Have you tried holding the menu button while it boots up?  Do you have any reason to believe it has safe mode?

If your G2x is rooted, the easiest work-around would be deleting the Tasker's data from recovery.  Download and install Android SDK and LG's drivers for the G2x.  Reboot the G2x into recovery mode (preferably ClockworkMod), connect to PC, and in command prompt issue the following commands:

cd C:\AndroidSDK\platform-tools\
  adb shell
  su
  rm -rf /data/data/net.dinglisch.android.taskerm
  reboot

This should remove all Tasker profiles, including the "bad" one.


text:
Project my screen of my Nexus One
I have a Nexus One, I would like to know if there is any way for me to project my screen content to my large screen TV?
Nexus One does not come with a hdmi port.
Thank you.

By "project", do you mean "play video"? Because that might be a bit of a challenge, depending on your network and (phone) CPU.
To just get screens/presentations, you could connect a laptop to your TV and a VNC server on your phone.
If you do want to play media files, and you have a DLNA client (Xbox 360, PS3, one of the million media boxes like Roku) connected, you can install a DLNA server on your Android (search Market - there are plenty) and stream media.
Plenty of the latest TVs even have a DLNA client built in.


text:
How can I factory reset a European Huawei phone in China without access to Google?
Well, as you can see in the title......I am having a hard time in China. :)
My phone is from Spain and I had to factory reset it (it got soft-bricked...just on its own. Weirdest thing ever). It is a Huawei P8 Lite 2017 with literally no support. Whatever is on the internet (PC suite) can't be used because it says it is not a supported phone.
Is there a way to continue the factory reset without the Google service? It is blocked here.
This is the screen where I am stuck atm:

You could find a PC with access to the outer web (e.g. with VPN) and use a proxy software on it so that all other devices in the same network can use the PC as proxy and get through. Not sure if you're willing to take the complications though.

Short answer... You cant. Long answer, see Andy's comment.

@AndyYan I am willing to do that and I have a PC with VPN on it, but I have no clue how to do such thing. Do you have a walkthrough or something?

To reach Google and proceed with the next steps, you need to set up a PC that's capable of penetrating through that wall (e.g. with VPN), and make it a proxy server on the local network for your phone to use. Here's the way I do it:

On your PC, install Privoxy and let it through your firewall (if exists)
Go to its installation directory and open config.txt. You might need to open it with administrator privilege to be able to save it later.
Search for "listen-address" and you should get something like this:

listen-address  127.0.0.1:8118

It should be right above the chapter "4.2 toggle" and not have a "#" before it. Edit it to:

listen-address  0.0.0.0:8118

Now save the file.
Determine the LAN IP of your PC, usually by running ipconfig in the Command Prompt. Suppose it's 192.168.0.1.
Fire up Privoxy and connect to the VPN you use. Now your PC is ready; move on to the phone.
While in Setup Wizard, connect your phone to the same network as your PC. If you have already connected to the network, make the phone forget it and set it up from scratch. When entering setup details, check Advanced Options, then choose "Manual" for Proxy. Enter the IP and port you got previously. It should look like this:

Proceed to connect.

Your phone should now use your PC as a proxy, and therefore should be able to reach Google. Follow the on-screen guidance afterwards.

I like your answer..although I used the tutorial on the VPN express wbsite to create a virtual network on the windows side of my laptop and updated the phone via that. Cheers Andy.

Interesting, let me try Privoxy.


text:
Unable to install new virtual keyboard language
After I recently reset my Samsung Galaxy S7 to factory defaults, several perplexing issues have occurred. Most notably, when I try to add an additional language to my Samsung virtual keyboard, the progress bar remains at 0%. This only occurs for certain languages such as Chinese and Safe Mode does not resolve this. How do I resolve this issue?
My path is:
Settings->General Management->Language and Input->Virtual Keyboard->Samsung keyboard->Languages and types->Add input languages.
Device: Samsung Galaxy S7 (Latest update), Developer Options enabled (However no changes were made) , 60 GB SD card and No Services Installed in Accessibility.
Side note: After the factory reset, when the device started up, there was a screen which asked for a password, followed by a padlock icon in a spinning circle. This did not occur before the reset. Does this have anything to do with the issue I am experiencing? ( After doing research, this padlock screen indicates that my phone has encryption protection, however I did not enable this option in settings and I am unable to find it in settings.)
Attempted solutions: Clearing app data.

If the answer to this will be too long, is there a more appropriate website to ask this question?

See if clearing keyboard data helps. Settings>application manager>in the three dots menu, select 'show system apps'>scroll to Samsung keyboard>storage>clear data

I just tried it. Issue remains.


text:
The application tag in android manifest XML file
Today I downloaded a fun app named Rubika and extracted its apk file in android studio and noticed a very strange part in its android manifest.
<application
    android:theme="@ref/0x7f110170"
    android:label="@ref/0x7f100086"
    android:icon="@ref/0x7f0e0002"
    android:name="org.telegram.messenger.ApplicationLoader"
    android:manageSpaceActivity="org.telegram.ui.ManageSpaceActivity"
    android:allowBackup="false"
    android:hardwareAccelerated="@ref/0x7f050007"
    android:largeHeap="true"
    android:supportsRtl="true">

    <service
        android:name="ir.resaneh1.iptv.appUpdate.DownloadService" />

    <activity
        android:name="ir.resaneh1.iptv.activity.PlayerTestActivity"
        android:configChanges="0x4b0" />

    <activity
        android:name="ir.resaneh1.iptv.activity.QueueTestActivity"
        android:configChanges="0x4b0" />

    <activity
        android:theme="@ref/0x7f11017b"
        android:name="ir.resaneh1.iptv.fragment.SendImageDialogActivity"
        android:configChanges="0x4b0" />

    <activity
        android:theme="@ref/0x7f11017b"
        android:name="ir.resaneh1.iptv.fragment.SendVideoDialogActivity"
        android:configChanges="0x4b0" />

    <activity
        android:theme="@ref/0x7f11017b"
        android:name="ir.resaneh1.iptv.activity.SendVoiceDialogActivity"
        android:configChanges="0x4b0" />

    <activity
        android:theme="@ref/0x7f11017b"
        android:name="ir.resaneh1.iptv.appUpdate.UpdateActivity"
        android:configChanges="0x4b0"
        android:windowSoftInputMode="0x22" />

    <activity
        android:name="ir.resaneh1.iptv.loginIntro.IntroActivity"
        android:screenOrientation="1" />

    <activity
        android:name="ir.resaneh1.iptv.loginIntro.LoginActivity"
        android:launchMode="2"
        android:screenOrientation="1"
        android:configChanges="0x4b0"
        android:windowSoftInputMode="0x20" />

    <activity
        android:name="ir.resaneh1.iptv.loginIntro.LoginActivitySecondPage"
        android:launchMode="2"
        android:screenOrientation="1"
        android:configChanges="0x4b0"
        android:windowSoftInputMode="0x20" />

    <activity
        android:name="ir.resaneh1.iptv.MainActivity"
        android:launchMode="2"
        android:configChanges="0x4b0"
        android:windowSoftInputMode="0x20"
        android:hardwareAccelerated="@ref/0x7f050007">

        <intent-filter>

            <action
                android:name="android.intent.action.MAIN" />

            <category
                android:name="android.intent.category.LAUNCHER" />

            <category
                android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
        </intent-filter>
    </activity>

    <service
        android:name="ir.resaneh1.iptv.notification.MyFirebaseMessagingService">

        <intent-filter>

            <action
                android:name="com.google.firebase.MESSAGING_EVENT" />
        </intent-filter>
    </service>

    <service
        android:name="ir.resaneh1.iptv.notification.MyFirebaseInstanceIDService">

        <intent-filter>

            <action
                android:name="com.google.firebase.INSTANCE_ID_EVENT" />
        </intent-filter>
    </service>

    <meta-data
        android:name="com.google.firebase.messaging.default_notification_icon"
        android:resource="@ref/0x7f080269" />

    <provider
        android:name="android.support.v4.content.FileProvider"
        android:exported="false"
        android:authorities="ir.resaneh1.iptv.provider"
        android:grantUriPermissions="true">

        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@ref/0x7f130004" />
    </provider>

    <service
        android:name="com.google.firebase.messaging.FirebaseMessagingService"
        android:exported="true">

        <intent-filter
            android:priority="-500">

            <action
                android:name="com.google.firebase.MESSAGING_EVENT" />
        </intent-filter>
    </service>

    <activity
        android:theme="@ref/0x01030010"
        android:name="ir.pec.mpl.pecpayment.view.PaymentInitiator"
        android:process="ir.pec.mpl.process"
        android:screenOrientation="1"
        android:configChanges="0xb0"
        android:windowSoftInputMode="0x3">

        <intent-filter>

            <action
                android:name="pec.mpa.custom" />

            <category
                android:name="android.intent.category.DEFAULT" />

            <data
                android:mimeType="text/plain" />
        </intent-filter>
    </activity>

    <activity
        android:theme="@ref/0x01030010"
        android:name="com.google.android.gms.common.api.GoogleApiActivity"
        android:exported="false" />

    <receiver
        android:name="com.google.android.gms.measurement.AppMeasurementReceiver"
        android:enabled="true"
        android:exported="false" />

    <receiver
        android:name="com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver"
        android:permission="android.permission.INSTALL_PACKAGES"
        android:enabled="true"
        android:exported="true">

        <intent-filter>

            <action
                android:name="com.android.vending.INSTALL_REFERRER" />
        </intent-filter>
    </receiver>

    <service
        android:name="com.google.android.gms.measurement.AppMeasurementService"
        android:enabled="true"
        android:exported="false" />

    <service
        android:name="com.google.android.gms.measurement.AppMeasurementJobService"
        android:permission="android.permission.BIND_JOB_SERVICE"
        android:enabled="true"
        android:exported="false" />

    <receiver
        android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver"
        android:permission="com.google.android.c2dm.permission.SEND"
        android:exported="true">

        <intent-filter>

            <action
                android:name="com.google.android.c2dm.intent.RECEIVE" />

            <category
                android:name="ir.resaneh1.iptv" />
        </intent-filter>
    </receiver>

    <receiver
        android:name="com.google.firebase.iid.FirebaseInstanceIdInternalReceiver"
        android:exported="false" />

    <service
        android:name="com.google.firebase.iid.FirebaseInstanceIdService"
        android:exported="true">

        <intent-filter
            android:priority="-500">

            <action
                android:name="com.google.firebase.INSTANCE_ID_EVENT" />
        </intent-filter>
    </service>

    <provider
        android:name="com.google.firebase.provider.FirebaseInitProvider"
        android:exported="false"
        android:authorities="ir.resaneh1.iptv.firebaseinitprovider"
        android:initOrder="100" />

    <meta-data
        android:name="com.google.android.gms.version"
        android:value="@ref/0x7f0b0007" />

    <meta-data
        android:name="com.android.vending.derived.apk.id"
        android:value="1" />
</application>

and here is my question:
What is the meaning of this part?
android:name="org.telegram.messenger.ApplicationLoader"

I want to know if this software is a malware that pretends to be Telegram to steal people's information.

The "telegram" snippet doesn't appear anywhere in the section of manifest you posted. How does it relate?

I don't know why was the telegram part removed? I edited the question

android:name=" "
This is where the creator of the application declares the name for the activity.
The name of an application is not the same as the package name, for example their could be two identical applications named Video Editor, but these applications need to have a unique package name to separate the two, Most people follow the android guidelines when naming a package, usually company.appname.com
The specific part you are asking about is declaring that your package uses a java file to handle it's work, I'll break it down
android:name="org.telegram.messenger.ApplicationLoader"

org/telegram/messenger

The directory in the application to get to ApplicationLoader.java
If you are editing the source code of your app you'll be able to follow this path to manage the ApplicationLoader.java file, It is necessary for your device to know what java is going to be run from each activity, one activity might be run at startup while another activity is started from a button press, the device needs to know what java is loading when, so you declare this in each activity.   Not explained the best, sorry :)
Also i believe that android:name=".ApplicationLoader"
Works fine. The package name is only necessary to define the first paths unless they're different

Thank you, what I understand from your answer : this app pretending to be Telegram in order to sniffing people activity in their telegram account, right?


text:
Get battery usage data at finer resolution
The biggest battery usage culprits on my phone, according to both the battery settings page and to GSam Battery Monitor, are always "Android System" and "Android OS." I also have "Watchdog" installed, which keeps warning me that "Android System" is using a lot of background CPU.
GSam explains helpfully that "Android System" includes the packages "Input Devices," "Key Chain," "Settings," "LocationServices," among others, and the processes "servicemanager" and "audiod" among others, but it doesn't break down the battery usage of each piece.
Is there any way to see battery or CPU usage info for each package/process separately, so I can figure out which specific component of "Android System" is burning my battery? It's hard to troubleshoot when I don't have detailed info about what's wrong.

dumpsys batterystats (or dumpsys batteryinfo pre-Lollipop) should give you the information you are looking for, broken down by process/package.  The machine-readable format (--checkin flag) will show specific UIDs if you need them.
You will probably need root to run that command in a terminal on your device, but it should also work from adb shell.

How can I use this? dumpsys batterystats (run with adb since I don't have root) gives a LOT of information, but I'm not sure it includes what I need. It shows wake time per PID, but that's not really useful since PIDs change, and wake time isn't the same as battery usage. The only part of the output that estimates power use in mAh breaks it down by Uid, which seem to map to packages, but I can't find a way to map Uids to packages.

@Josh Running it with the flag --checkin will output a computer-readable format that stats with a map of UIDs to package names.  You can see the format here: https://source.android.com/devices/tech/power/batterystats.html

authors: حمید پاینده راد


text:
Some apps cannot access the internet
After my Android Lollipop upgrade on my HTC M8, some apps are unable to access the internet
such as Twitter, but Facebook works perfectly fine. WhatsApp works fine except that I'm unable to receive Media files as well. This only happens with Wi-Fi.
I tried forgetting the network, rebooting the device, turning Wi-Fi, and even hard reset my phone. I reset the modem and done almost everything. Nothing works though.
None of this happened before the update, one more thing is that it only happens with my Home Wi-Fi, other Wi-Fi networks work perfectly fine.
I tried connecting other phones to my home Wi-Fi, and it works perfectly fine.
How can I solve this?

I have this same problem actually.

It's a DNS problem. Try using Google's DNS.
Go into your router's advanced setup and change the primary DNS server to 8.8.8.8.

That isn't exactly feasible at work...

You can set the dns in Android device in each wifi advances settings but it pairs with static IP :(

Needs  a user name,host name and a password? ON THE ROUTER.

EDIT: EVERYONE WHO IS EXPERIENCING THIS ISSUE:
I Changed the DNS in my Router Setting and my android,nothing worked but after i rebooted the router BAM,it worked. FINALLY,this has been such an annoyance after 3weeks.
Thanks Matthew.

Google voice typing didn't work suddenly one day, so I tried swipe/dragon and it said I had no internet connection, try again later. This suggested some intermediate problem on the device.  I had 3 bars of 4g and a functioning wireless, so figured it was a software problem. After much digging it appears that S Voice had updated itself without telling me, and I hadn't ticked the box to accept terms and conditions, nor had I given it a wake-up command. Once this process was completed, all back to normal.

authors: محسن عبادنژاد


text:
How can I add a Google Now card from corresponding search result card?
I am interested in exchange rates for some currency pairs. So I would like to see updates for them in my Google Now. Google search result for query usd eur gives nice card (as shown in the picture below). Is it possible to somehow "convert" it to Google Now card? And with updates?

Click the image for larger variant

It's not possible to do that, no. You can add each currency to your interested stocks by opening the Google Now menu > Customize > Stocks, but I don't know if that will do what you're looking for.

This is technically the correct answer, though based on my experience it only shown stocks, but not forex (although you can add it).


text:
Any way to remove the 512 character limit on Nook Touch notes?
The Nook Simple Touch is an android-based eReader. In their interface for reading books, you can highlight a word or set of words, then attach a note to that.
The notes are limited to 512 characters, but you can have an unlimited number of notes for a book. I currently work around the limit by highlighting a word, writing the note, then highlighting the next word and continuing the note.
Is there a way to remove the limit of 512 characters, or increase it to a very large number? My nook is fully rooted, so I imagine it is a simple config file or sqlite entry somewhere, but I don't know where to look.

It's more likely to be hard coded in to the app, so it would be impossible to modify without modifying the app source code.

@Liam's comment in my question was correct. The max character value is hard-coded into the Reader.apk file. Therefore, the answer to my question is no...
Unless you modify the program itself. I made changes to the file to increase the limit; details can be found at this xda forum post. Because the solution required programming, I won't post the entire answer here, as programming is outside the scope of the Android site.

This is exactly what I said :angryface:

I had this answer saved for quite a while and was finishing up the xda post before I submitted the answer. Besides, I give an alternate solution; There's no need to vote me down for that.

It's the same solution - reprogram the app.

True, it's the same resolution. But I actually took the time to do the reprogramming needed, and I linked to the appropriate posting with the actual solution. And I apologize for posting after you did; I did not see your answer when I posted mine because I had typed up my answer a few hours ago but was waiting to post it until I finished my xda post.

You get an AJAX popup when there is a new answer, but I will undownvote. EDIT: I can't until the answer it edited.

As the title of this question begins with 'Any' this answer is fully valid:
There is no way to do this, as that value will (most likely) be hard coded into the application source code. This means the only way to change it would be to download the app source and edit the value.


text:
Where are the bookmarks in Firefox for Android?
This may be a ridiculously simple question, but where is the bookmarks list in Firefox for Android?
I'm looking at the interface on my Galaxy Tab 10.1, and I can't find the bookmarks anywhere. They're not available when clicking on the top right corner. They aren't available anywhere else.
The only place I can find them is when I open a new tab, I get an interface which shows my bookmarks as one option, along with "History", "All Pages", and "Desktop".
Surely I don't have to open a new tab every time I just want to go to a bookmark?
This is one of those things that's so simple it seems they haven't even bothered to mention it in documentation. At least, not that I've seen.

From at least Firefox 11 onwards (may have originated in 10) you just need to tap on the address bar. The dropdown menu with the four tabs you mentioned (including Bookmarks) should appear when you do. This also applies to phones, though the tabs on the phone version appear across the top of the menu right under the address bar rather than along the left side.

When I do this, tapping into the address bar, the keyboard appears on my android/phone device


text:
Is there a search app for Android with no-tracking privacy policy?
On the desktop I use ixquick to avoid Google tracking my searches. But on Android it is even worse since I am logged in and Google can track everything I do. Is there an app for ixquick or for another search engine that does not log?

I've had pretty good luck with duckduckgo for Android. You can also set your browser home page to it or startpage or ixquick.


text:
What to do after:" No sd-ext found. Skipping backup of sd-ext"?
I want to update to cyanogenMod 9. But before doing this, I've done a nandroid backup.
After the backup was created I saw this output:
ClockwordMod Recovery v2.5.1.8
SD Card space free: 1296MB
Backing up system...
Backing up data...
Backing up .android_secure
Backing up cache
No sd-ext found. Skipping backup of sd-ext.
Generating md5 sum...

Backup complete!

I'm not sure, but I believe this means that the external sd-card partition wasn't backuped.
Will this be a real problem, if I want to backup my phone? And how shall I solve it, if it's a problem?

This means you do not have an ext3/4 partition on your sdcard. This really ins't a big deal, this is like a legacy part of the nandroid backup process. CM doesn't "officially" support the sd-ext partition any more anyhow.

OK, but what shall I do now?

@theWorm You can proceed as normal, CM won't touch your external card.  Any ROM that does is messed up.

Am I able to read and write my files on this sd-card, with cyanogenmod???

yes, it will have access to read/write to the sdcard.  The normal functionality of the sdcard still exists in CM. The sd-ext partition was to give more space on older devices that only had like 500mb of total storage on the device. This allowed the device to be able to support installing more/larger apps. Even if you had the sd-ext partition, there would still be space left over for the "normal" sdcard partition.

I have same problem with my rooted LG P500 running stock 2.3.3 with 2nd partition formatted as FAT32.  Will ROM manager (NAndroid backup) work with FAT32?

Your SD card did not get backed up.  If you have a system failure that does not affect your SD card, then your restore will be OK provided that your SD card has not changed substantially since you backed up.  Otherwise, you'll be lacking the part of your apps that is installed to the SD card (which could be almost everything other than the data).
My own approach to this is to make a backup of my entire SD card to my PC immediately after backing up with CWM.  Then I will be able to restore whatever might be changed or missing if and when I need to restore from backup.
"irish Pancake" in this thread seems to have figured it out:
http://forum.xda-developers.com/showthread.php?t=1582248

Remove your SIM card(s), not SD card.
Do a factory reset,wipe cache and format your android system.
Now restore your Nandroid backup.

How does this help? Please elaborate.


text:
Calculate which app use more internal space among my link2sd moved apps
That's my problem:
I use, happily, link2sd and after installing a lot of apps I got my internal memory full again.
Now I'd like to delete apps but I have no clues on how internal space they use since I've moved them with link2sd...
Any apps/hints?

Use Disk Usage app. It draws nice graphical diagram with directories proportional to their size. There's a dedicated lookup option for apps too.

Will it help me in my particular task (link2sd, internal and ext2 memory)?

Yes (based on what you've asked in question). It does nothing other than disk usage (by app, directory, file). Its a little app. Install & see by yourself. At the time of opening, choose App Storage.

Link2SD comes with awesome filter settings and sort size.
So in filter settings choose 'Internal memory' and in Sort choose 'By data size'.
This way link2sd will show you all the programs that are in internal memory in descending order of their data size.

Mmmmh maybe I was unclear: all my apps are linked to sd but I imagine a "small part" of the app remains in the internal memory, because I see that it is full anyway. What I'm looking for is something to understand how much of a linked to sd app remains in internal... :)

The small part you're talking about is the 'data'. Link2sd moves everything except data. That's why I told you to sort size by data size.


text:
Trouble updating Android Market to Google Play on Logitech-Revue (Google-TV)
When I try to go into the Android Market on my Logitech-Revue it says it needs to update, but never does. On my Acer A500 tablet the Android Market updated to Google Play, so I assume that is the update that my Revue is attempting, but failing.
Anyone else successful with the Google Play update on Logitech-Review or Google TV? Any suggestions for a work around?

It finally updated. Not sure what the hang up was before.


text:
Does adb backup include contacts?
Does the command:
adb backup -all -f backup.ab

include contacts in the backup?

No, it would not backup Contacts. Yes, it would backup Contacts.
Confused, eh!

Yes, it would backup Contacts.

See this question: Backup/Restore SMS/MMS via ADB on a non-rooted device? The author of it was able to backup contacts. It was later revealed that the device on which the backup was performed ran Android 4.1.2. It was a bizarre revelation for me that the backup succeeded.

No, it would not backup Contacts.

As per the Manifest mentioned here for default Contacts Provider app in Android versions (in series), for Jelly Bean and above Android versions the ADB backup for Contacts Provider/Storage would be denied by system, and hence your contacts wouldn't be backed up.
It's a mere flag android:allowBackup="false" that's the cause of backup denial. See my answers here and here to know more about that flag.

Yes, it does. You can get it via:
adb pull /data/data/com.android.providers.contacts/databases/contacts2.db

But adb pull is not adb backup! Also, your command would not work  for a device running  the kernel  in secure mode.

It is most useful knowing exactly where to fetch the contacts from in their raw format. Thanks.

Yes it should include the contacts. Your syntax appears incorrect though. It should be
adb backup -all -f backup.ab rather than adb backup .all -f backup.ab Also the -f backup.ab is optional as that is the default.

No, it wouldn't include the contacts, though your syntax part is correct.

It doesn't seem to be the case. I tried with both the following commands
adb backup -all -apk -shared -nosystem -f adb_backup.ab
adb backup -all -apk -shared -system -f adb_backup.ab

and neither my photos, SMS nor contacts were backed-up.

I don't know about photos but you're right about SMS and Contacts not getting backed up. See my answer here to know the reason. Also, on which Android version did you test these commands?


text:
Liking a YouTube comment from the app
I've been using Android for a few months now, and I'm mostly happy with it. I just can't find the "Like" button for comments.
Can someone help?

Its still not possible to thumbs up or down a comment using the Youtube app. People have been complaining for years about it.

its 2017 and they still havent fixed this. Thats kind of ridiculous given how huge youtube and android are!

As already mentioned in the earlier Answer, as of this writing, there is no way to Like comments in Android YouTube App.
Below is the screen shot confirming this, taken from Official link.
Source Link


text:
What media formats are supported in Android?
I am new to Android, and I'm learning. For example, most of my old music files were FLV and SWF files, which my phone and tablet won't play, and I can't seem to get extensions for Chrome to play them.
The file manager on my tablet seems to play MP4 files just fine, although I can't make a playlist like I could in VLC. I tried VLC for Android, and it doesn’t work for anything.
I haven't tried my WEBM files yet. I am just wondering, what are supported in Android 4+?

This depends on your specific device.

Like Matthew said, It depends on your device, but you can try MX player which supports codecs for different file format.

As Matthew Read noted, the list of supported media formats is device specific. More or less, it's actually specific to the default video player app your device has.
I'm not aware of an app that can show a list of MIME types supported by an installed app, so here you go with the command-line way. Make sure you've adb setup in PC, USB debugging enabled in the device, and the device is connected to PC.
Note: I needed root access to access "dumpsys" on Android 4.2.1 but Kitkat and Lollipop allows access to it without root access.

You would have to first determine which app (pre-installed) in your system  is responsible for playing videos.
In my device running Android 4.2.1, Gallery app does that job (don't be surprised, it even manages the Camera as an standalone app, not to mention the Gallery itself). Its package name is com.android.gallery3d.
There are numerous ways to find the package name of an app. You can use apps like App Browser or Elixir 2 or OS Monitor or ES File Explorer and whatnot. Also, see View app's full package name?
You can use command-line too. Launch the app whose package name you want to determine and let it remain in foreground. On PC, enter the command:
adb shell dumpsys window | grep mCurrentFocus

You would see something like:
mCurrentFocus=Window{41d5fd10 u0 com.japanesecrackers.appbrowser/com.japanesecrackers.appbrowser.activities.AppDetailsActivity}

com.japanesecrackers.appbrowser is the package name here. The part of string after / is the activity in foreground.
Note that if you can't find the OEM's video player app under Settings → Apps → All apps, then most likely, the video player is just an activity of an app. In that case, simply play a video file and then run the aforesaid command.
Now that we have the package name <PKG_NAME>, enter the command:
adb shell dumpsys package <PKG_NAME> | sed -n '/Full MIME Types:/,/Base MIME Types:/p' | grep -o "video/[a-zA-Z0-9].*" | awk -F 'video/' '{print $2}' | tr -d ':'

It gave me the output:

avi
3gpp2
mpeg4
3gpp
3gp
webm
mp4

Now that was a too localized command and most likely, it would give you nothing for your particular app. The key command is adb shell dumpsys package <PKG_NAME>. It holds all the information you need to sort. The MIME types are listed between the lines with string Full MIME Types: and Base MIME Types: respectively.
I don't have to tell you anything anymore. You would be able to identify the media formats rather easily now.
Alternatively,

Grab the APK of the app,
Extract AndroidManifest.xml from the APK. An APK is simply an archive file so extraction is easy.
Open the XMl (binary) file on Android using Axel or on PC using AXMLPrinter (requires Java Runtime Environment).

App Browser can show the Manifest of an app without requiring the XML separately.
You have to look for the lines containing the string android:mimeType=. For example, for MX Player the relevant strings I saw were,

android:mimeType="video/*"
android:mimeType="*/rmvb"
android:mimeType="*/avi"
android:mimeType="*/mkv"
android:mimeType="application/sdp"
android:mimeType="application/mp4"
android:mimeType="application/mpeg*"
android:mimeType="application/ogg"
android:mimeType="application/x-ogg"
android:mimeType="application/vnd.rn-realmedia*"
android:mimeType="application/3gpp*"
android:mimeType="application/vnd.3gp*"
android:mimeType="application/vnd.dvd*"
android:mimeType="application/vnd.dolby*"
android:mimeType="application/x-mpegURL"
android:mimeType="application/vnd.apple.mpegurl"
android:mimeType="application/x-quicktimeplayer"
android:mimeType="application/x-shockwave-flash"
android:mimeType="video/*"
android:mimeType="*/rmvb"
android:mimeType="*/avi"
android:mimeType="*/mkv"
android:mimeType="application/sdp"
android:mimeType="application/mp4"
android:mimeType="application/mpeg*"
android:mimeType="application/ogg"
android:mimeType="application/vnd.rn-realmedia*"
android:mimeType="application/3gpp*"
android:mimeType="application/vnd.3gp*"
android:mimeType="application/vnd.dvd*"
android:mimeType="application/vnd.dolby*"
android:mimeType="application/x-mpegURL"
android:mimeType="application/vnd.apple.mpegurl"
android:mimeType="application/x-quicktimeplayer"
android:mimeType="application/x-shockwave-flash"
android:mimeType="audio/*"
android:mimeType="application/flac"
android:mimeType="application/x-flac"
android:mimeType="application/ape"
android:mimeType="application/x-ape"

Google Chrome and Firefox can play the WEBM and MP4. For FLV and SWF, your best bet is to find a third-party app.  And, you need to dive into Play Store and on web. There are numerous apps which can play variety of media formats or allows you to create playlists or provides better file management options.
Have fun!

Note that certain codecs, such as H265, requires a lot of processing for decoding the data, hence, lack of a dedicated GPU or a moderate to powerful CPU may cause choppy video playback to no playback at all.


text:
Mute a single contact on WhatsApp
Basically I still want to receive the messages from a contact but on lesser priority. I don't want a notification to appear when this contact messages me.
It is possible to mute a group chat, but not for single contact. Or I haven't found it.
How to mute a single contact on WhatsApp?

Mischealle suggests (lacking the rep to comment): Can't you just go to the person's profile and tern the mute mode on?

In the conversation click the three dots in the top right > View Contact > scroll down and select Mute.
Or go to contacts, tap the profile picture on the left, click the "i" icon, to view the contact and scroll down and select mute.
Using WhatsApp 2.12.250 on Android 5.1.1 (Nexus 5).

There is an option in the Settings -> Notifications. When you go to section "Group notifications", there is an option to set the notification tone, vibrate or popup notification.
In my case, I've turned off the vibration and set tone to "no sound" and it's fine for me.

If you want to mute a group conversation,
Whatsapp -> Click conversation you want to mute -> top right theres the options menu (three dots) -> Mute.
In that menu, you can deselect the notification setting or mute the conversation for a period of time.
I don't think there is a mute for a single contact though.

You can block someone though

Just like I thought , there is no mute for a single contact.

@huey I know "block" but you cannot receive messages from them anymore

@raychenon currently whatsapp doesn't have this functionality


text:
Reset the request permission dialog on Marshmallow
I am testing my Android application and trying to make sure all permissions (whether granted or denied) are handled correctly. I mistakenly clicked "Never ask again" on a permission and now it never asks me.
I have tried Settings - Apps - Reset App Preferences, but that didn't work.
How can I reset this so that the request permission dialog box comes up again for the permission?

You need to manually allow the permission on that specific app to reset the request permission dialog.

Open the App info (either by dragging from app launcher, or Settings - Apps - [app name])
Select Permissions
Enable the permission you denied with "never ask again"
(Optional) Disable it again from here; note that by this time, your app will request the permission again when needed.

Hi Andrew, I've tested it and it does not work. It appears it's an Android bug: https://productforums.google.com/forum/#!topic/nexus/WjO0Sz5N-ew;context-place=forum/Nexus

You can also uninstall and reinstall.
The accepted answer is of course correct, but as an Android developer, you probably know how to adb uninstall <package> / adb install <apk> faster than navigating through settings.


text:
Installing default font from "Font Installer" app only changes partially. How to apply it globally?
I rooted my LG G2 D802 and changed font using Font Installer ★ Root ★. Then I changed my mind and changed the font with the one which came already in the phone. But the font hasn't changed in the whole smartphone.
The rooted font exists in some apps like Play Store and the stock one in the rest of the smartphone!
What can I do?
(Click image to enlarge)

Rebooted the phone? Or perform a factory reset

i did both! But nothing happens!

I think the issue is, the selected font applies to all system fonts, but the original doesn't cover all of them (which is strange, but possible). Anyway, good to know that you noticed the FAQ to backup on the app description.

You will have to find someone with the same phone as you (rooted) and find the font files and send them to yourself and copy them into the location of your font files and do a reboot. Worked for me. Or you can find a dump for your phone and download those files and find the font in there and place those into your font files. (Friend did that and it worked as well. I have warned people not to download that app as it ruins the font settings.

thanks for the answer! But at the end i forced to reflash the same rom on my android. I found out that i have to keep a backup of my fonts if i use the  Font Installer ★ Root ★ (i didn't know that!) So everything is ok now!

@Nikos considered posting your comment as an answer, since that solves your issue personally. Self-answering is also encouraged here.

Ok so i found out the solution! First of all before you change font from a rooted app you have to backup all your stock fonts! I didn't do that and then this problem occurred! After some research the only way to fix this (if you don't have a backup) is to reflash the stock ROM! Thanks everyone for the help!

authors: โสภณ ประเสริฐรุ่ง


text:
How to setup a Xiaomi Mi Band without an internet connection?
I have a phone with no internet connection and I want to pair it with a Xiaomi Mi Band.
Is there any way to do that since the Xiaomi app asks for online registration? Or at least, can I use the internet just for the activation and then keep using it offline normally?

You must login to your Mi account before pairing Mi Band for the first time. Thereafter you only need Bluetooth connection.
Yes you can use Xiaomi Mi Band offline. It asks for connection only for login. After login it will never ask for internet connection.
Xiaomi Mi Fit App provides for syncing data with Google Fit, WeChat, Facebook and many others. But all that sharing requires internet connection.
I have used MiBand in offline mode for 10 months.

After you connect to your Mi Account (with internet) and connect your band, it will work fine for 1 month.
After that, it is not possible to use the band without connecting to the Mi Account again.