text:
Can't access my old files after switching ROM from AOKP to CM, even though they're still there
Initially I thought this was a problem with Google Play / Apollo, but I realize now that when I plug in my phone via USB, I can't see any of the many, many folders and files present on /sdcard that I could see previously.
If I copy a "new" mp3 onto my Galaxy Nexus, it's recognized just fine by both Google Play and Apollo. However, none of my old mp3s are recognized. They were placed in /sdcard/Music, a folder that I cannot see when I plug in my phone, only from the file manager running on the phone. The issue persists if I move an "old" mp3 from my music folder out into the sdcard root, it's still not recognized. This makes me think this might be permission related, but the file manager says that all files are readable and writable.
I've tried running "fix permissions" in both ROM manager and the CWM recovery, but it makes no difference. Any idea what has happened, and how to fix it so that I can use all my old files again? :)
edit If it's any help, I just ran ls -al in a terminal emulator and I can't see any difference at all between folders I can and cannot see. Example: I can see /sdcard/media just fine, because I created that folder from Explorer in Windows. Music in that directory works. I cannot see /sdcard/music. Here's the permissions:
drwxrwxr-x root sdcard_rw 2012-09-18 media
drwxrwxr-x root sdcard_rw 2012-09-16 music

This is a bit confusing.
edit2 When I try pulling and pushing a file with adb like so:
adb pull file.tar
adb push file.tar file2.tar

I get
failed to copy 'file.tar' to 'file2.tar': Read-only file system

As bk201doesntexist on the XDA forums pointed out, this is because you have to use an absolute path. However, when I do adb push file.tar /sdcard/file.tar the file gets transferred, shows up when i run ls, but it's invisible in the "Galaxy Nexus" unit in My Computer in Windows.
tl;dr When I push files with adb push they get transferred but don't show up in the "Galaxy Nexus" unit in My Computer. "Old" files from before ROM-switching do not show up. New files that I put in now work fine.

Can you check to see if there's a file called .nomedia inside either the /sdcard/Music directory or on the root of the card? An older version of CWM used to mistakenly create that file, which would prevent media from being properly scanned.

I've checked, and there's not. Remember that a lot of other folders also have "disappeared", such as DCIM, Download etc. (these I can also see just fine from my phone)

Also, try SDrescan app to manually launch the media scanner process to see if it picks up older media.

What happens if you adb pull an "old" mp3 to your PC and then adb push it back to either /sdcard/Music or /sdcard/media?

My initial adb pull/push test was incorrect, updated with new info now.

As a final resort, I tried doing a full wipe and reinstalling CM10 M1 completely, without restoring any settings or apps from any old installations. The issue still persists! Any files created with my now "old" CM10 installation no longer appear, even when they are moved within a folder where other "new" files are shown and working. Switching back to AOKP also did not solve the issue, so the issue does not only persist over reinstalls of CM but also across ROMs.
What finally solved this issue for me was reformatting my /sdcard partition with the newest version of CWM Recovery. This might not be a very clean solution, but in my case I needed to clean up the sdcard anyway.
If formatting isn't an option, try the other answer posted here regarding .nomedia files, I had no success with it as I was unable to find those files.

A few things that will do you good before you start resolving this issue.

This issue has been around since CM 9 and has been inherited by CM 10.
While ROM Manager (and not CWM) was the culprit some time ago, the issue has since been resolved by them.
The .nomedia file you are looking for should be inside /sdcard/Android/data. It may not be there but can't hurt to look for it.
Have a good file manager with root access installed and have it set up to search for hidden files. I recommend Root Explorer.

Okay, enough info. Let's get cracking. Follow this and let me know if it resolved your issue. Follow everything to the T. Do not leapfrog over steps or try to do anything else before you have gone through the entire process. All the best!

I don't understand. How can a .nomedia file in directory X cause directory Y to not show up? Also, with root mode on and "show hidden files" on, ES File Explorer reports no files matching when I search for .nomedia and *nomedia*. I'd also like to report that when I snap a picture, they show up as a black rectangle in Gallery, as opposed to not at all as the old files do. I'm sorry, but I don't see how your answer applies to my problem.

I don't know either but this did solve my problem which is exactly your problem except with a CM 10-based ROM called Paranoid Android on two separate devices, namely, the HTC Desire HD and the Galaxy Nexus GSM (codenamed maguro). Did you give it a shot anyway?

I did try to look for "nomedia"-files as I said, but didn't find any on my SD card whatsoever. No idea why, but reformatting the sdcard worked anyway so I'm satisfied, I needed to clean it up anyway.

Cool. Glad it worked out for you. :)

FWIW, I had a similar problem. After installing CM10, I could see the photos from my previous stock ROM on the phone, but not from my PC when plugged in via USB.
What I did was I used AirDroid to download the files to my PC, delete them using ES File Explorer, and then re-upload using AirDroid.

That is one way to solve the issue :) Still strange why this happens to begin with, as the files are obviously "there".


text:
Is there a user accessible font size preference?
I would like to change the font size throughout the entire operating system, not just in one app or on one screen. Is there a way to do this?
Searching the internet brought up someone saying the Spare Parts app on the Market can do this, but that was incorrect. Its font size preference only affects the app itself.
The developer documentation does seem to imply there is a user font size preference. From http://developer.android.com/intl/fr/guide/topics/resources/more-resources.html :

sp
  Scale-independent Pixels - this is like the dp unit, but it
  is also scaled by the user's font size preference.

But it does not say anything about how a user is supposed to set this. I don't see it in the settings on the phones I have.

There is now a setting for this, though I'm not sure if it is in stock Android and since which version it is available. It was definitely there in Sony's Gingerbread and ICS ROMs (Xperia Neo V) and Cyanogenmod 9/10.
In Cyanogenmod 9+, it's in the "System" submenu below the "Interface" caption.

I know HTC's ICS has an option for Font Size as well, in Settings then Display. Yay for progress.

Take a look at "Font Size (for root users)" in the market.  It costs $1.36 and only works with rooted phones but it claims to:

"globally enlarges/decreases text size in all apps (Email, SMS, Maps, Home, Weather, Calendar, Widgets, ...)"

The reviews aren't so good but it's worth a try.

Another option ( very restricted, because involves changes in the platform ) is to change the
./frameworks/base/core/java/android/content/res/Configuration.java

file.
There you must:
-Create a setter/getter pair to obtain the font value
-Change the point where the file obtain the value. I changed the method
public void setToDefaults(){
  //I set the class member to the desired value trough my getter ( getFontScale )
  fontScale= this.getFontScale();
  ...
  ...
}

-Initialize the class member to the stored value:
   //This is the class member ( previouslly not initialized. Now i set it´s value trough my getter )
   public float fontScale= this.getFontScale();

This way every app will initially have it´s font setted to the stored value.
ps: You should create an interface in the Android Settings apk too, otherwise your font would only start with a fixed value.
I can give more details if needed.

The Spare Parts Plus app (free) does work on my Honeycomb tablet (Asus Transformer) across all apps.
However, as is noted in your question, it only works if the developer has used a specific technique of specifying font-sizes in their application. The sizes need to be specified in "sp" units for this technique to be effective.

source: Stack Exchange

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

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

sort: votes


text:
Does Android USB host mode depend on an OTG cable?
In order to take advantage of USB host Mode on the Nexus 7 (Android 4.1.1) is it necessary to have an OTG cable? Can I do it using the standard micro to male cable, then use a female to female adapter?

See also this question for more info on testing Host mode and getting it working How can I determine if my device has USB Host Mode (OTG) support?

Yes, you need a specific OTG cable, or you need to modify your cable. An OTG cable has pins 4 and 5 shorted, which is how Android knows it needs to switch over to host mode. You can manually short (cross) the wires on a standard cable, then use a f-f adapter.
For my Nook Simple Touch, a kernel patch is needed to be able to use OTG. I also need to manually activate Host mode while using a OTG cable, so I know the grounding of pins 4 and 5 do more than simply tell Android to go into host mode.

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


text:
How do I enter twrp recovery?
I unlocked (not rooted) my HTC One XL using official HTC method. Then I install goomanger and installed latest open recovery script TWRP 2.3.0.0 evita. goomanager said that it was installed. Then I tried to boot into recovery from goomanger (there was a note that root access will be acquired and if this doesn't happen I have to go to recovery manually). Nothing happened I was still in goomanager.
From  TWRP website -->You must be S-OFF or have taken HTC's unlock to use a recovery on your device!
So I booted into fastboot and then selected recovery and pressed power button. See the screenshot for what happened. I got the 'briliant' screen then black screen with mobile and green something above it and then black screen with mobile and red triangle. The red one stays there for 2-3 minutes and then mobile restarts into normal mode.

I want to run twrp to install cm10

(not rooted) yet, there was a note that root access will be acquired and if this doesn't happen I have to go to recovery manually - Have you actually tried rooting first before doing that?

From TWRP website: You must be S-OFF or have taken HTC's unlock to use a recovery on your device! - I did the second one.

Installing a recovery and flashing your rom

Download your recovery.img or wahtever the name is to your fastboot folder.
adb reboot bootloader
fastboot flash recovery recovery.img
fastboot reboot recovery
Now use your recovery to flash your rom.

At this point you may not be able boot into your rom if you do not have S-OFF.But give it a try. If it works then forget the next few lines.

Copy the boot.img file from inside your rom and copy it to your fasboot folder.
adb reboot bootloader
fastboot flash boot boot.img.

Now you can reboot to boot into your rom.

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:
Formatting (or reinstalling) Samsung Galaxy S2
I have some experience about Android phones (but i'm not an expert) .
I have problems with my Samsung Galaxy S2 (GT-I9100) . Its battery heating too much, there are a lots of applications, sometimes phone freezing and not responsing, it's battery consumption is too much and it's a little slow. And sometimes restarting itself.
In shortly, i'm using it for long time, i installed too many apps and uninstall some of them. Now i want to clear everything (except SD card datas) , delete all datas / apps . And start from origin, again. I'll my (really needed) applications from Google Play, later.
In computer knowledge, it's mean format , i think.
But for mobile phones, I'm not sure, it's called as "formatting" or "firmware reinstalling" .
I plugged my phone to computer and launch Samsung Kies but there isn't reinstall firmware option.
Notes

Android version : 4.0.3
My phone isn't rooted. (and i won't do that)
I'm worring about warranty. So, please just legal methods.
I don't want to lose my datas (music, etc) on my SD CARD.
I don't want to send my phone to technical service for this. It'll take at least 4-5 days.

What you are most likely look for is called "factory reset". As the name suggests, a "factory reset" is supposed to reset the device to its original state, as it was delivered by the factory. What in fact is done by a factory reset is to wipe all user-installed apps and all user data (for the latter, except data stored on sdcard).
This can be done either from within the system menu (look for the entry with the "fence" symbol, it's labeled something with "Privacy") -- or using the hardware buttons, as described at Hard-Reset.Com:

switch off your phone
press and hold volume-up and home buttons
press the power button for 2-3 seconds
release only power button, but KEEP pressing Volume up + Home Buttons
with Volume down select wipe data/factory reset (3rd) > Press Power

There's no need to re-install any firmware. The system resides on its own (read-only) partition, which is not touched by this process. Having followed above steps, your phone should then boot in a clean state. Don't worry if the first boot after that takes a bit longer -- that is fully normal. Also this does not void your warranty, as these steps would also be recommended by the service hotline if your device went nuts, and they want to eliminate the cause of misconfiguration or misbehaving (user-installed) apps.
For a reference, you might also want to take a look at the question Do a total wipe of my device.

This won't touch to my external SD CARD , right ? Should i remove it before formatting?

It should not touch your SD card, that's right. It might do so for Apps2SD data (i.e. apps you installed on/moved to your SD card using the Apps2SD feature). To be sure, you could of course remove your SD card before doing the factory reset. In case you had some apps moved to the card, you might need to remove them manually (mount the card to your PC, and remove the .android_secure folder) to avoid problems when you try to re-install them.


text:
Sony Xperia Tipo not recognizing SD memory card
I have installed an 8GB SD memory card in my Sony Xperia Tipo, but the memory card is not being recognized. Has anyone else had this problem with the Sony Xperia Tipo? If so, how did you solve it?

I used Link2SD apps. List2SD apps list out storage device such as internal, SD Card, External SD Card. I try to create location in External card. But I got following failure information.
"Link2SD could not obtain root access. If you have root access make sure you respond 'allow' or 'grant' to the superuser request."

sony unfortunately divided the phone into two drives BEFORE the microsd slot. So the internal drive and the sd drive are already assigned. the external card then formats itself as "ext_card" on the root folder.
i managed to redirect some folders from the internal to the external card via the program "directory bind" (search for it on google, it is not available on the play store). for this to work you need a ROOTED phone. the phone is fairly easy to root via a script (windows). you need to install adb drivers first (if you install sony compagnion, this will install the adb drivers and you have to enable usb debug mode on your tipo before you run the script to root your tipo).
overall this is a little complicated, so i advise you to be an expert user to try this, especially the configuration of "directory bind" is tricky. it would be best if sony "bundled both cards that are installed on the device internally to be just one and then the microsdcard slot would work as desired and could be used to install programs and other stuff much easier.
links:
directory bind: http://forum.xda-developers.com/showthread.php?t=1410262
root tool for tipo: http://forum.xda-developers.com/showthread.php?t=1886460

Actually you can move apps via any dir manager without rooting the phone. The trick is to get the larger apps to work, but you can always move app data to the SD card and leave the app to find it itself. That is just what I discovered. It doesn't work with all the apps, you'll have to modify the app itself to make it work.

I have the same phone, I didn't have any problems.
A few possibilities:

Make sure the card is completely inside the SD card slot.
Format the card.
Turn off the phone, take out the battery and pull the SD card out, turn on the phone without the SD card (wait for it to completely load), again turn off the phone, put the SD
card back in, turn on the phone (wait for it to completely load).
Remove any widgets that access the card on boot (like gallery widget,
etc), reboot phone.
Try another SD card.

Thanks .. Memory card now got recognized. But I have following trouble.
Setting -> Apps
In this menu I have following tab only.
Download - Internal - Running - All
But I can't see any tab like external memory card.
Then How Can I move apps Internal Memory card to External Memory card?

@ashokhein There is no external memory tab. However, you should be able to move it by selecting the app and clicking on the "move to internal storage" button.

Ya.. of course. But my question how can I move internal storage to External storage. Can I do manually when I connect to PC using USB?

Please help me :( (headbang)

I don't think it's possible with our phone, you'll have to partition the SD card to be able to store apps on it.


text:
Is there an application / ROM that allows me to set the phone to "Guest" mode which I can configure?
I would like to be able to set my phone into Guest mode so people using it will not be able to "abuse" it while I give it to them.
Example of usage:

Child mode - prevent editing settings, making calls, installing applications etc.
Friend mode - prevent viewing text/email messages etc.
etc.

I have the MIUI ROM which has a pre-defined Guest mode - I'm looking for something which is fully/partially configurable - is there something like that?

Google has already put in code for this in Jelly Bean. It's just a matter of time before it comes out.

You might want to check for "app lockers" like e.g. App Lock, which allow you to password-protect apps, or use even more restrictive child protection apps like e.g. Child App Protector, which can sandbox an environment (also called "Kiosk mode").
A somehow "special" solution would be App Locker II: Fake Crash, which in "protected mode" displays a fake force-close message so people do not get the idea you protected something.

Eventually I found "Secure Kids Lock" to be best suited for my needs :)
https://play.google.com/store/apps/details?id=a.jp.co.happymeal.kidslock&feature=search_result#?t=W251bGwsMSwxLDEsImEuanAuY28uaGFwcHltZWFsLmtpZHNsb2NrIl0.

Maybe Access control is a solution?

Guard Mode:
calls, notes, gallery, text messages will be hidden and launcher editing is disabled
Access control:
Choose what applications are password protected to run

Are you talking about apps?

@roxan He has MIUI, and I use MIUI jargon here. Guard Mode and Access control are two possibilities in MIUI to control the access to apps.


text:
Can't get Google Play after flashing firmware
I've recently rooted my phone in pursuit of freeing up the internal memory from system apps. I then tried uninstalling Gmail by deleting the file and then trying to reinstall it from the play store but the apk deletion seemed to put it in a strange state where it disappeared from the phone (after a while when the icon was first removed and replaced by the default android app icon and then once after resetting the phone, it didn't exist any more; but still the play store considers it as installed). I tried flashing my phone to the same firmware as I had earlier (XSG), and now I cant get Google play (only the outdated Google market, which doesn't allow any installs from the play store online).
My phone runs on Android 2.2 Froyo. Any idea what to do?
Thanks

I then tried uninstalling Gmail by deleting the file and then trying to reinstall it from the play store

You can't install it from the Play Store, you can only update an existing version.  This is to prevent phones that haven't met Google's official criteria from getting the core Google apps, though there are workarounds (see below).

the apk deletion seemed to put it in a strange state where it disappeared from the phone ... but still the play store considers it as installed

Deleting the .apk is akin to deleting acrobat.exe from Windows without uninstalling Adobe Acrobat.  It won't run since it doesn't exist, but the system still thinks it's installed and there may be other junk left behind.
To fix this you'd need to flash the Google Apps package; this question might help with that.  Since you're only suffering from the Market not auto-updating right now, you can either try to trigger the update or manually install the new version; see this question for that.
In the future don't delete apps you want!  Or at least back them up :P


text:
Samsung S3 i9300 rooted with Heimdall.  Am I able to unroot with ODIN?
I rooted my phone with the Samsung Galaxy S III: Full Update Guide
I stumbled when I tried to flash the CyanogenMod.  I do not get the install from zip file command while in the ClockworkMod recovery mode. So I can't seem to be able to find the zip file to install the CyanogenMod.
What I am trying to do now is to unroot my S3, but seeing that I rooted it using Heimdall rather than ODIN, is it still safe to unroot using ODIN?

Place the .zip on the internal sdcard, the try again with no ext. Sd card inserted

Thanks for the reply. I did not have any SD card inserted while attempting the flashing

Oh, mixed that up... Do you really have the cwm running. Just wondering bec. there's a stock recovery that misses this feature.

you're right, when i do the vol up + home + power button combo, it takes me to android recovery which i had thought was the CWM recovery all long. Does this mean i do not have CWM recovery on my phone at all? Though my phone status says it has been modified

What if you don't do the combo and boot regularly? The normal boot img has been replaced I think.

My stock OS is still booting. But whatever has changed, i duno other than the phone status.

will there be any issues if i were to continue to install cf-root with ODIN with my phone in its current state? Or if i were to unroot with ODIN? I can't seem to find any unrooting guides with heimdall.

CF-root should be Ok in advance. You can also check http://xray.io/dl It checks for rootibility via common exploits just to see if you could get away with the newest super1click to root. Odin/heimdall use both the same Samsung proprietary download mode to flash images. Odin is Samsung Software while heimdall is open source and runs in Win/Mac/Linux. I have used the latter so far w/o problems.

thanks for the tips, i have managed to flash cyanogenmod after installing cf root!

You don't "unroot" per se with Odin; you just flash a stock, unrooted ROM that wipes out everything currently on the phone.  It shouldn't matter whether you use Odin or Heimdall.
Note also that unrooting won't matter if you've flashed anything with Odin, since that also voids your warranty and is recorded on the device.


text:
What folders does TitaniumBackup need to survive a wipe?
I'm thinking, if I want to do a complete wipe and also format the SD card to get rid of a bunch of old crap, what do I need to extract from the phone and then put back in for TitaniumBackup to still work? Is there a single folder that contains all of TB's settings and backups that you can just copy and then put back in to restore apps and system settings? Or does TB stash settings/backups in several places on the SD card?

All you need is the TitaniumBackup folder on the SD card. This contains all your backup information.
Make sure to have the Auto-sync TB settings preference checked. Titanium Backup, ironically, won't back itself up when running a backup. This check-box ensures that your settings for the app are saved as well (such as schedules and preferences).
You can also create an update.zip file which can be used to install TB in the recovery: Go to the menu, click More, then scroll down until you see Create "update.zip". This particular file will not be stored in the TitaniumBackup folder, but rather on the root of your sd card.
After you wipe everything, just copy the TitaniumBackup folder back onto the SD card, install your rom, and install TB (either from Google Play or from the update.zip file if you created it). It should automatically pick up all its old settings and be ready to restore your apps.

I had no idea I could create an update.zip to run together with my ROMs and kernels, this will save a lot of time. Thanks!

Just to be clear, the update.zip only installs TB. You still need to restore your apps after.


text:
SD card not recognized if I create second partition
I need to create a second partition on my SD card to use Link2SD to store apps on it, but every time I make a second partition the phone says there is no SD card at all. I've tried it a few times with FAT32, ext4 and none but the phone always says "no SD card". When I delete the second partition it works fine and I can access all the data I had saved to my SD card.

I believe the order of the partitions is significant, because Android will only try to mount the first one. Are you putting the ext4 partition second or first?

Second, and the FAT32 is set as primary.

Make sure you're making the second partition primary. Both partitions need to be primary, just because it's the second one it still is primary.

I did that on a Samsung Galaxy J7 Pro 2017 (SM-J730GM) and it still won't detect the SD card. I partitioned the card on a PC using GParted and made sure to create the second one as primary.


text:
Can't install Lineage OS due to outdated bootloader on Moto G 2013 XT1034 falcon
I just bought a Moto G XT1034 and I'm trying to install Lineage OS 14.1 (lineage-14.1-20170307-nightly-falcon-signed.zip). I'm following the wiki instructions (http://wiki.lineageos.org/falcon_install.html). I successfully unlocked the bootloader and installed the custom recovery (Team Win Recovery Project) but when I try to install the new OS I get the following error message:
This package supports bootloader(s): 0x4118, 0x4119, 0x411A; this device has bootloader unknown.
Apparently my bootloader version is 4105:
$ fastboot getvar version-bootloader
version-bootloader: 4105
How can I overcome this issue? Should I update my bootloader? Is there a safe way to do so?

I ended up following these instructions to flash a newer stock ROM with a up to date bootloader and installed Lineage OS afterwards.

Use this tool to upgrade your bootloader to a compatible version.
You should also update your TWRP to the latest version, as older versions aren't compatible with the new bootloader either, and will display a moving line across the screen if you insist.
After these steps you are clear to proceed to flashing LOS 14.1.

I didn't upgraded yet. I'm using TWRP version 3.0.2-2 (seems to be the most up to date version: dl.twrp.me/falcon). However, there is already a moving line on across the screen when I enter recovery mode. When I boot the stock ROM there is no line. Do you know why I have this line with the latest TWRP?

@PeterRabbit New TWRP is incompatible with old bootloader, and old TWRP vice versa.


text:
ES File Explorer - Share by LAN
I want to use ES File Explorer's LAN share feature in the Share via options in Android to send files to my PC that you can currently only do by going into the app itself - a rather long process.
UPDATE
As mentioned below, I posted a request to the Developer about being able to send files to your PC through the "Share via" menu - this would be a shortcut/alternative to opening up the ES File Explorer app and manually copy and pasting from your phone memory to the LAN PC...
This feature is now added! Anywhere on android, click a file, picture, video or pretty much anything that can be moved or copied, click the "Share" button, then click the "ES Save to..." option, and choose your path on your PC. It will now be copied directly to your computer using the LAN feature inside the ES File Explorer app.

Enjoy :)

Well I'm not exactly writing files to the network, I'm transferring files between my Phone and PC using the home router. I prefer ES File Explorer as it uses Samba technology so I don't need any third-party software installed on my PC, just ES File Explorer on my phone is sufficient. Atm, im having to open the ES File Explorer, go to LAN, find my PC, then copy files then paste them using ES File Explorer. This is a bit long. If they added a new feature called Send to PC using LAN, it would cut so much work out. I could just select file anywhere, hit share, and send through the Send Via menu.

Set up favourites within ES File Explorer? You mean like picture 1 above? I've added my pc (named "0.4"). Is that what you mean?

Oh wow, that's neat :) Than you, works great.

Thanks mate, I got Samsung s3 so I don't have to tap the Globe button nor Slide, menu shows by hitting the Menu Softkey. :)

I've got a reply from ES File Explorer team, they said that the "Share by LAN" feature in the "Share via" is not for sending files to the PC, it is for sending files to other devices which has ES File Explorer running on them, on the same network.
I've requested a new feature that allows you to send to the PC through Share via, but if they decide to build it, it may take a while still before it's out.

Feature is now added as outlined by @jclariviere

I don't know if this was added in a recent release of ES File Explorer, but you can share to computer with:
Share via -> ES Save to... -> Click on the header (under "Choose path")

Your LAN shares should appear there.

you're correct. The feature is now added.

Even better than simply transferring files is to set up ES File Explorer's "Remote Access" in settings.
This turns the android device into an FTP file server with username and password.
Once running, you can use any FTP client (such as FileZilla) to connect to the Android device and access the android's full SD card(s) file system for transferring files back and forth.
The BIG advantage is that you are able to control all transfers using only the PC's keyboard, mouse and monitor.
Further, ES can create a desktop shortcut for the FTP server, so, any time you need to transfer files in either direction, simply tap the icon on the Android home screen, then click a FileZilla command line shortcut on your PC (filezilla -c, --site=sitenamestring)
Two "gotchas" to know about;

IP addresses change on your home or other LANs. Your best bet is to set your WiFi up to assign fixed IP addresses to your mobile devices so you can have a saved entry with username, password and starting file directory for instant connection from your PC.
file date/time stamps don't transfer. Any files copied to your Android device will bear the date/time that the file was transferred


text:
Blackberry Priv won't connect to Windows 7 for file transfer
I posted this question before but it was "protected", so I can't answer it. So I'm reposting it so that I can answer my own question.
I can't get my Blackberry Priv to connect as anything other than charging via USB. My PC isn't recognizing that a device is connected. I've downloaded and installed the Tethering and USB drivers here. I restarted after installing them. On the phone, it never gives a notification that it has connected as a charging device, and I know that's what you'd normally click on to change to file transfer. Also, in the settings options, in Storage and USB, there is only information about device storage, nothing about the USB connection type. I've enabled developer options. In there, I've turned on "USB debugging" and "Allow USB debugging in charging mode". I'm at a loss as to what else would need to be done to get file transfer working, and honestly I'm completely confused as to why it's not showing up in the Storage & USB options. I'm having a hard time finding anyone else mentioning this issue.

This was a hardware issue rather than a software issue. I had the same problem with two different Privs, so I thought it must be something to do with the Android system. But it turns out that, for some reason, my phone didn't like using a USB 3.0 port. That only charges it. Switching to a USB 2.0 port finally got me the charging notification, so I was able to switch. As a side note, setting it to "File transfers" (MTP) didn't work. I had to use "Photo transfer (PTP)" to get it to see the device. And in that case, it only sees the onboard storage, not the memory card. So it's an imperfect solution, but since my photos are on the phone storage, not the card, and I can copy from the card to the phone if I really need to, it works well enough to solve my issue.


text:
How to stop Firefox for Android from constantly displaying its Mozilla tab
Every time I let my phone display turn off, and then unlock it and return to Firefox, or just go to another app or hit my home button and then go back to Firefox, it's showing its Mozilla tab. That's the one that lists the following items: About Firefox, FAQs, Give feedback, Show product announcements, Telemetry, Crash Reporter, and Firefox Health Report.  I can hit the back button on my phone and get back to whatever page it was viewing, but then as soon as I leave and come back, that list is up again. I'm using Android version 2.3.6 and Firefox version 32.0.3 on a MyTouchQ phone.

What Firefox version is this? What phone and Android version do you have? I've never seen the behaviour you describe, so I'd like to know more.

@DanHulme I updated the question. I also have a 2013 Nexus 7 with Firefox on it and yeah, I've never had this problem on that device.

I think this question here on the Mozilla Support site is a similar problem to yours:
https://support.mozilla.org/en-US/questions/1013146
Otherwise...try uninstalling/re-installing the app. Also...you could always download a different browser.

Thanks, but that is a different issue. When I open a new tab, I get the normal top sites/history/etc page.  It's just when I click the home button on my phone or go to another app, I get that Mozilla tab overlay.  I forgot to mention in my initial question that I did try uninstalling and reinstalling.


text:
Fastboot is getting stuck while trying to flash CWM onto Nexus 4
After successfully unlocking the bootloader of my new Nexus 4 using adb and fastboot I now want to install ClockworkMod Recovery onto my device.
Sadly it is not working properly.
I am using Gnome Ubuntu 13.04 and installed adb and fastboot with apt.
While in fastboot mode my device is visible when testing with
$ sudo fastboot devices
002847af108bXXXX    fastboot

when I try to flash the ClockworkMod image recovery-clockwork-6.0.3.6-mako.img using
$ sudo fastboot flash recovery recovery-clockwork-6.0.3.6-mako.img
sending 'recovery' (7814 KB)...

it gets stuck. I already waited for 40 minutes to complete but since the size of the image is around 8Mb I suppose it cannot take that much time and something is not working correctly.
Strangely also my USB-connected keyboard and Bluetooth-connected mouse are ignoring my inputs while fastboot is running.
I also tried renaming the .img file to recovery.img with the same result.
Perhaps I am missing something obvious, but I have no idea what the problem could be.

I am not sure whether to be happy or sad, that this worked for me, too...

I'm having the same problem here, but with Xubuntu 14.04 and a Nexus 10. Unfortunately, switching USB ports didn't help, although it did cause the terminal to pause a bit longer before displaying sending 'recovery'... Any ideas or more recent experiences?

I had the same problem and I could fix it changing the usb port, it works!


text:
What happens to Crash Reports sent to Google?
Many Android applications have bugs. These include app crashing, screen flickers or failing to start altogether.
The app crashes present the well-known Unfortunately, **AppName** has stopped screen.

But sometimes actually pressing the left button and sending the report seems like a bit of a waste of time since I never get to know what happened to the report.
What does actually happen once this report is sent? Is it known what Google does with it? Does Google pass them on to the developers of the app that crashed? And do we how many crash reports Google receives per day?

Actually, I think Google won't diagnose those crashes for individual Apps, instead they only collect those reports and present to the developers responsible for the App, and it's their business to trouble shoot the problems. Please check the official document as below.
https://support.google.com/googleplay/android-developer/answer/6083203?hl=en


text:
Android sd card default folders purpose
I wonder what is the purposes of each of these extra folders that android creates on a sd card.
Edit:
.android_secure
.data
.estrongs
.showme
_nero_sync
Alarms
Albums
Android
DCIM
download
LOST.DIR
media
Movies
Music
My Documents
Notifications
OTA-Updater
Pictures
Podcasts
ppy_cross
Ringtones

Once you've found out: Please let us know. If you cannot find out, it might help to name the ones you're interested in ;)

Yeah, it would be nice if we knew the names of the folders in question.

possible duplicate of List of special Android SD card folders?

Each app on your phone with the WRITE_EXTERNAL_STORAGE permission may create files or folders there. Most of these folders have once been created by one of these apps and many of them may be deleted with a few exceptions (e.g. Android, .data, .android_secure, these contain important system or app data like a game's downloaded content). Alas, it's impossible to tell exactly which folder belongs to which app.

.android_secure: apps installed and then moved to sdcard
Android: app data/cache
data: app data
.estrongs: ES file manager
LOST.DIR: sort of trash folder (collects recovered files after phone crashes)
DCIM: phone gallery's photos and previews
OTA-update: Over The Air update service
ppy_cross: an unknown third-party app's data. info

I think you know what's in the others :)
Generally, note that uninstalling an app doesn't clean up the stuff it has created there. One needs to manually do this task but don't delete stuff if you're in doubt what it is.


text:
Restore deleted system
I have formatted the system using twrp now I can't flash the stock rom on my galaxy s3 sprint. I am getting the file_getprop: failed to stat "system/build.prop" status 7 every time I try to flash the stock rom.
Is there any possible fix for this problem.

What exactly did you do? "Formatted the system" is too vague.

@DanHulme I had wapped the system using twrp and now I am getting this message everytime I flash the rom
file_getprop: failed to stat "system/build.prop"

Error "status 7" usually means you are trying to flash a ROM intended for a different phone model.  What is your phone's exact model number, and which exact ROM are you trying to flash?

@Chahk you can check my answer :)

If you were sure that you had a correct ROM version, you could have easily avoided having to Odin back to stock by removing the first "assert" line in the updater script.  I'll post the instructions as a separate answer, for completeness sake.

@Chahk That will be useful for others but for me I have lost all my data by formatting the whole system so flashing is the only possible way for me I think.

See my answer. It should work even if you format /system partition. You can test by taking a NANDroid backup, formatting /system, modifying the ZIP as described, and flashing it.

The problem that I have faced was caused by trying to install update of android 4.4.2 for my galaxy s3 while the update requires the previous version which is MK3 (android 4.3). As I mentioned in the question, I have formatted and deleted the whole system that's why status 7 error showed up because "system/build.prop" was already deleted. The only possible solution I made was downloading and flashing the stock rom from the official site using od3n software.

Usually the "status 7" error means that the update is designed for a different phone model (could be a completely different phone, or just slightly different variant of the same device.)
This check is performed against the existing build.prop file that resides in /system partition.  Now since the file was missing due to you having formatted the phone, you are stuck in a "catch-22" situation.  The work-around is to manually remove the above mentioned check.

Open the ROM's ZIP file in your favorite archive program (WinZip, 7-Zip, etc.)
Within the ZIP, navigate to META-INF\com\google\android\ folder, and extract only the file named "updater-script".
Open this file in a text editor.  It's important to use an advanced editor that will not modify the Unix line endings on the file when you save it.  Notepad++, Programmer's Notepad, or UltraEdit are good choices, while Windows' built-in Notepad or WordPad are not recommended.
In the updater-script file, delete the first statement that begins with "assert(...".  This statement may span several lines, so delete all of them.  E.g. for Galaxy S3 it looks like so:

assert(getprop("ro.product.device") == "m0" ||
  getprop("ro.build.product") == "m0" ||
    getprop("ro.product.device") == "i9300" || getprop("ro.build.product") == "i9300" ||
    getprop("ro.product.device") == "GT-I9300" || getprop("ro.build.product") == "GT-I9300" || abort("This package is for \"m0,i9300,GT-I9300\" devices; this is a \"" +
  getprop("ro.product.device") + "\"."););

Add your edited updater-script file back into the ZIP file, overwriting the original in the same location.  Depending on the archiving software you are using, it may be as simple as dragging and dropping it in.

Now you should be able to flash the modified ZIP file without it erroring out for model number mismatch.
Note that these "assert" statements are there for your own protection. You should remove them only if you are absolutely certain that the ZIP file you downloaded matches your phone's model number.  Flashing a ROM made for a different phone (even if it's just a slightly different variant such as AT&T Galaxy S3 Vs. Verizon Galaxy S3) may render your phone inoperable.

Good answer @chahk actually I have done that but it didn't work. This answer would work for roms like CM but not for the stock update that requires a previous version on a formatted system partition.


text:
Frequent WiFi disconnects with my WiFi router
I recently purchased Wireless Router and When I connected Wirelessly through my mobile(Sony Xperia P, android ver: 2.3.7), keeps on connecting and disconnecting for every 2mins. Whereas from other mobile(Samsung Galaxy Y) its perfectly connecting w/o any issues. Can someone pls tell me how to resolve this issue?
Router details:
D-Link, Model No: DIR-600L, H/W ver: B1, F/W Ver: 2.00

Have you tried switching from a mixed WPA2/WPA or only WPA2 setting to WPA-PSK on the router?

Yes, tried..No luck..:( Any problem with my older version of android? And also just beside to my router, DTH set top box is kept.. Any problem with this..?

The Xperia P is upgradable to Android 4.1, by the way. This might as well fix it. It'll at least be worth a try.

But I connected to many Routers outside thru my mobile wirelessly and did not face this issue..'Galaxy Y' mobile consistently connected to my router without any issue.. Can someone pls tell me what exactly the problem here?

Can you grab the relevant wifi logs with CatLog and edit them into your question (if not too long) or create a pastie at pastebin.com and give us a link? That would boost the investigation possibilities...

Pasted @ http://pastebin.com/JnVj86f4. Please see them.

Above link does not have the logs with android device connect..Pasting the correct link, which has logs with device connect & disconnects.. http://pastebin.com/0yGyVRw6

As you said I grabbed the WiFi logs from CatLog android app & pasted @ http://pastebin.com/vHgZQc8R..Pls see them..

You have 21 of these Wifi driver reports HUNG, reloading events, seems like instable wifi driver to me. I'll suggest you upgrade your Xperia P to the latest available 4.1 software and check again if it fixes this problem for you. Maybe paying around with the router's wifi settings can help to prevent this bug too, but YMMV.

Seems my issue got resolved now.. I've checked the 'Avoid ARP attack' in Router's LAN Settings.. I don't know how it is related to the issue.. Anyways now the problem is solved w/o upgrading my mobile's android version..:)

I figured out the exact solution & not the above one(checking the 'Avoid ARP attack' in Router's LAN Settings).. Solution is  unchecking the option in my android mobile --> "Use wireless networks" in "Location & security settings"..

You can by the way answer your own question, too! THanks for sharing this helpful information :-)

Problem was solved by unchecking the option in my android mobile --> "Use wireless networks" in "Location & security settings".


text:
Recover account difficulty
Context
An acquaintance has a strange problem with her Google Account.  I'm a developer (not Android specialist) while she's just a plain user.
She forgot her Google account password, but her old tablet still has it and she can send and receive e-mail using both e-mail and gmail apps.
We tried recovery from old and new tablet.
Google offered to send an SMS to her phone (Google displayed only last 3 digits, which match), nothing received on her phone.  Same for automated voice message.
When recovering from another computer, Google asked for the complete phone number, we typed it and got a reply that it was wrong, which suggests it was changed.
The e-mail address for recovery is wrong (Google displays first 3 letters which don't match).
At this point we suspect her account was hacked by someone who changed the contact options to prevent password recovery.
We also tried the option to answer questions but she does not know exactly the last login date and creation date of the account.  We tried anyway but Google replied it didn't match.  At this point I understand that it is difficult for Google to tell if our request is legitimate or not (after all our exact behavior might be the behavior of an attacker).
Questions

(1) I'm wondering if it is possible to recover the password by digging (even through adb if needed) in the e-mail app config (Gmail add and e-mail app have the password).
(2) What else can we do?

Try this, open Gmail app - Help and feedback - change password for detailed steps.

Thanks @Lucky for this hint. On my personal device this leads to a URL opening in the browser, not an option in the app (which I would expect to request old password anyway). I'll check with the affected user since she has a different version.

I just found this, which does not work on my personal device (permission denied, not rooted).  Will try again on the affected user's device.
This gives a path: http://forum.xda-developers.com/showpost.php?s=36bdbe78a049f9e358a0421113d922c2&p=54912072&postcount=7

Browse to /data/user/0/com.android.email/databases and copy EmailProvider.db to your computer. Other phones might have their database in a different location. Download and install Sqlite Database Browser from sourceforge.net if you haven't, and then skip down to the sqlitebrowser instructions here:

This gives instructions and a different path (presumably because of different Android version): http://ubuntu42.blogspot.fr/2011/11/android-recover-mail-password.html
Summarized:

adb pull /data/data/com.android.email ~/email_of_phone
sudo apt-get install sqlitebrowser
sqlitebrowser

Why the downvote? Is the answer really not useful?


text:
Getting unwanted message "There are trespassing signs. Check it in Observer Settings screen."

There are trespassing signs. Check it in Observer Settings screen.

I am getting the above message whenever I open a new app on my Android 4.1.2 Samsung Galaxy Grand DUOS. This has started suddenly when my child was just playing a simple ABC kind of rhymes.
Following things have been tried by me, in the given order, but without success:

Check out which was the last 3-apps installed and uninstalled them
Cleared App-cache
Did a restart

Any pointers or solution is welcome.

That could very well be a misbehaving app (or rather malware), as you already guessed. Trying a malware scanner might reveal the culprit. From the message, it could also be some "security app" (a true one or one posing as such). Have you installed something like that? // BTW: Googling the message, I found it here, so it belongs to a specific app. Does "RedzMax" ring a bell?

It is caused by the app Smart App Protector that maybe you installed and activated an option called Observer. Just check the observer and watch who wanted to enter your apps.
Good luck.

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


text:
Can I emulate a Bluetooth keyboard with my Android device?
I'd like to use an Android phone for controlling presentations. I know there are some WiFi approaches, but often times the computer running the slideshow isn't owned by me and is not comfortable installing and running other software, especially stuff designed for remote control.
So I'm specifically looking for some way to do this using the Bluetooth HID profile, as it requires very little set-up on the PC side. Basically, I'm looking for the Android equivalent to BlueMaemo.
Is there a way to do this?

Just saw this: AndroidSpin: Turn your Android Into a Keyboard and Mouse for Your Playstation 3 or PC

Another reason we all love technology, thanks to some clever development by XDA member berserker_devel, you can now use your rooted Android device as a keyboard or mouse on your Playstation 3. The app, BlueputDroid, has been released in beta form and allows your phone’s screen to be used as a cursor and virtual or physical keyboard to input text. This app could also be used for your PC, for those that really want the most from there device(s). Either way it could save you quite a bit of money on buying wireless input devices for your toys (provided they have bluetooth and are supported).

A limited number of devices are supported at present, but it's being actively developed, so something to keep an eye on even if it doesn't cover your device right now.

Promising, but the reviews are not looking good. https://market.android.com/details?id=berserker.android.apps.blueputdroid

A good comment on there today ;) Current lack of Windows support will be a problem for most, but this is the one to watch.

There's an app project on Google code that does this: AndroHID.
It doesn't offer you a full keyboard, it's meant more as a remote for wireless presenting or audio/video controls, etc. (much like older SonyEricsson feature phones, e.g. the K- or W-series did). You need root.
It seems inactive at the moment (last release from 2010) and it is not in the Play Store.

Native support for BT HID is going to appear in Android P.

Android P adds support for the Bluetooth HID device profile, which allows Android smartphones to be used as a Bluetooth keyboard or mouse for connected devices.

The Bluetooth Keyboard & Mouse app emulates a real Bluetooth keyboard that you can connect with every device that accepts Bluetooth keyboard.
This is possible because, since Android 9, Bluetooth HID became available to apps.

You could download TeamViewer for Android and then download TeamViewer Portable (scroll down some).  This way, you could run TeamViewer from your USB drive without having to install it and then connect with TeamViewer for Android.  I have used it to connect to my home computer and download some files - it works great on my EVO.
I couldn't wait to try it so I gave it a shot.  It works pretty well but you can only access the main display (can't point things out with the mouse on a secondary display).  Also, I needed to enable the "Presenter View" so that I could click the "Next" arrow since the presentation was on the secondary display. The computer I tried it on was on WiFi and my EVO was on 3G.

Works very well, and has impressive support for Linux (Fedora 19 + Android 4) - it was used to type  this comment :-) - including this link to the best Android on-screen jeybaord, which was also used for this. i now just need to work out how to scroll...

authors: p̻̻̥r̥̻̥o̻j̤͛ec͔t̞dp

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


text:
How do I manage CalDAV-provided tasks?
On my phone, I have a calendar synchronized via CalDAV-Sync on a server of mine. On the desktop, I edit them with Thunderbird, and since Thunderbird can associate tasks to a calendar, I was wondering, if is there a way to see those tasks on Android too, since I can already see (and edit) the calendar itself?

CalDAV-Sync provides another app, OpenTasks to support task. From its description,

To get task support, please install this task app https://play.google.com/store/apps/details?id=org.dmfs.tasks

The following YouTube video is a demo of the task app in progress: Preview of task sync in CalDAV-Sync for Android


text:
How to disable Xperia Z2 burst mode?
Almost every time I take a picture by camera hardkey, burst mode is activated automatically although I released the key immediately. I don't expect such a short press to activate burst mode. Therefore, a new folder for the burst series is created. Most of those folders have only 1 photo and those photos even have the same name. All of that make photo managing and syncing really frustrated.
How can I disable that feature? I don't want to disable burst mode completely.

Is using another Camera app not an option?

@Firelord other camera apps may start slower or can't be set as the default app to start with camera hard key

Well, you can disable the default camera app, and use Tasker to bind your new camera app to hard key, though I get it that you're not inclined to have this solution.

Go to your Camera settings(three dots) and turn on  the "Burst with longpress" option. This will let you shoot b ursts of photos simply by holding down the shutter key by long pressing. This way you can diable multiple burst photos at single click.

yes but this will disable burst completely. Maybe I want a longer press for burst, otherwise a single shot is enough

@LưuVĩnhPhúc No it won't disable burst mode completely. If you long press then  it switches to burst mode and otherwise a single click leaves you with single shot.

No, it never switches to burst mode. I've tried that before

Which button are you using to capture photos? The physical hardware button or the softkey capture button?

As I said, I'm using the hardkey. But regardless of the soft or hard key, the burst mode never turns on if I select Burst with longpress to OFF.


text:
How to upload HDR videos to Facebook?
Facebook already supported HDR video months ago

https://engineering.fb.com/2023/07/17/video-engineering/hdr-video-reels-meta/
https://about.fb.com/news/2023/07/facebook-video-keeps-getting-better/

I'm using a Pixel 7 Pro and can view HDR videos on Facebook without problem. However when I upload HDR videos captured with my P7P it always result in an SDR output even though the above articles seem to claim that Android can upload HDR. I've also tried on Z Fold 5 and the same thing happens
So how can I upload HDR videos from my Android phone?


text:
Simulate menu button in older app (Android 2.x) on Android 4.x tablet
I've got a new Android 4.1 tablet. I am trying to run an old app which was created for Android 2.1 and relies on the menu button.
Can somebody points me to a ready-made application which returns the new menu button? Any idea?

I don't think this is something you can do with an app. A custom ROM might work, but apps (to my knowledge) can't alter the menu bar on a system-wide basis. You'd either need a ROM that supports this as a configuration option (or a modified framework for your current version of Android, possibly) or you'd have to alter the original app to properly support newer Android versions, most likely.

When a newer device loads an app that targets an old Android version, it displays a menu button on the system bar, near the home, recents, and back buttons. It has the same "three dots" icon that you see on newer Android apps. Pressing this has the same effect as pressing the menu key on a device that has one.

Thanks for pointing me in the right direction! The three dots were so tiny I couldn't see them.

On my S6 Edge plus (just upgraded from an S4), I found a long press on the back button solved it.

Yeap back button worked for me on Samsung S2


text:
How do Android tablets use magnet to auto-lock the device?
Can someone explain how tablets like Nexus 7 detects a magnetic cover closing? I have tried putting magnets over the spots where the magnets in the cover are, but it will not lock. How does the tablet know if it is a cover?

It's widely believed that the Nexus 7's magnetic sensor works in an almost-identical fashion to iPads' smart cover; I couldn't find direct information about the N7, but iFixit has a great teardown of the iPad smart cover that goes into detail of how it works.
The Nexus 7 has a magnetic sensor that can tell when a magnet of sufficient pull force is nearby. The sensor is located under the screen near the pogo plug on the bottom-lefthand corner, estimated to be 45mm up from the bottom left corner and 15mm in from the left side.

Your magnets are probably in the wrong place. The Nexus 7's magnetic cover sensor is not along the right-hand edge, where the magnets that hold the cover closed are. It's in the bottom-left corner of the screen, about 2 cm from the left-hand rim of the device, and 4 cm from the bottom rim. Put another way: with the device in the "camera-uppermost" orientation, with the stock home screen displayed, the icon at the left-hand end of the tray is in the right place.
You also need a pretty strong magnet. Most fridge magnets aren't strong enough to trip the reed switch, but a Buckyball will do it (if you can still buy those where you are).


text:
How to play YouTube audio in background/minimised?
The official YouTube app stops playing when I minimized, switched to another application, or even when I lock the phone. And when I resume, it restarts downloading the clip from the beginning.
Is there any way that I can play YouTube clips in the background? Note, I only want the audio to continue playing.

Possible duplicate: Play audio of flash video while screen is off?

Here's a solution using entirely free and open source software. The basic idea is that although YouTube can't play clips in the background, VLC for Android can play clips in the background, so all we need to do is pipe the clip to VLC where we can listen to it minimised.
That sounds complicated, but luckily there is software that does it for us.

Install NewPipe (either from APK or from the Fossdroid app).
Install VLC Android.
Open NewPipe, and in Settings, make sure that Use External Player has a checkmark.
Open VLC, and in Preferences, make sure that Play videos in background has a checkmark.
Now, when you play a video in NewPipe, on the dialog that appears select VLC player. It will play in VLC and you can do other things while it plays.

+1 for the new pipe! It is a shame that Android version of vlc player does not open the media from the network stream like it's desktop counterpart does.

Recent NewPipe versions don't require external player for background playback.

With all settings, it starts in opera instead of vlc.

Download MX Player
Play YouTube video using MX Player.
Press Menu button (or the 3 dot icon), and then select Play
Make sure "Background Play" is checked
Now, you can press Home Button and listen in lock screen.
There is also a shortcut for enabling Background Play, which is tapping and holding the Play button, instead of just tapping it to play a video

Update :
Now MX player is not allowing to play  youtube videos directly as mentioned by narayanan.
Solution :

You need to download UC browser .
Now play the youtube video through UC browser

(The other browsers redirect to youtube app but it wont since it has its own built in player)

Now you have to select option called Play With in top of video player and select MX player.
Thats it.

Update #2:

Only For Rooted: You can install Xposed Modules Installer and use Repository called Youtube Background Play

Update #3:
Try YouTube Vanced
For non-rooted phone:

Install the MicroG APK if you want to log in with your YouTube
account.
Find the YouTube Vanced APK that you want and download it.
Install the APK like you normally would.

For rooted phone:

Download the official installer found in downloads above
Select a suitable apk for your device (check your architecture using an app such as CPU-Z) and the secondary theme you want to. (All apks include the white theme)
Place the downloaded apk into /sdcard/Downloads or inside the installation zip
Uninstall all YouTube updates and disable auto-update in the playstore (If you are able to completely uninstall the youtube app do so)
Flash the installer in TWRP

Seems to be a very good idea and +1 from me to make me discover mx players okay from network stream feature. Unfortunately, when tried few video URLs all I get is an error can't play this link . Does it work for YouTube and if so I have a doubt that it will violate YouTube's terms and conditions.

Thanks for bringing issue to attention..I have just updated answer now it shoud work..

TubeMate YouTube Downloader is a great app that will let you download either the audio or the video from a YouTube file and save it to your device. When it is on your device, you are then able to use a media player (such as DoubleTwist) to play either in the background. But as for straight background music from YouTube, that's a no-go :/

It's not currently possible but it should be soon. According to AndroidPolice background audio is coming in a future release of the YouTube app.

Fast forward to now, it's possible, but only for YouTube Premium users.

You can use Firefox and request the desktop site. You can change tabs, open other apps, or turn off the screen. However, the desktop site layout is not optimal for mobile Firefox. This does not work in Chrome or the default ("Standard") browser and it will not play videos that require Flash (Vevo).

It is possible with the Xposed Framework (Android 4.0+), and the module YouTube Background Playback:

Download Xposed Installer
From that app, install Xposed Framework
Then in the download section find the YouTube Background Playback module, activate it, and then reboot.
Enjoy!

But beware if your device runs stock ROM, there is a big chance to get bootloop after installing Xposed Framework.

Select a video and start playing. Press the home button (of course, the YouTube app will close/minimize). With headphones plugged in, stay on the home screen, and press the play/pause button on the headphone itself. Works for me every time, but only for playing from the browser not from the YouTube app.

Instead of the YouTube app, open YouTube in your standard browser. Then, the video won't pause or stop when you turn your screen off. It will still pause when you go home or minimize, though.

Firefox for Android had that feature.
YouTube blocked it so now you need an extension for that.
https://addons.mozilla.org/en-US/firefox/addon/video-background-play-fix/

I'll share 4 methods to play YouTube in the background and with the screen lock.

Install Brave browser, enable media play background option in site settings, and visit https://m.youtube.com

Use the YouTube Vanced app

Use YMusic app

Use NewPipe app

+1 for YMusic, which can play in background (while a different app is is use, e.g. while the user is browsing internet) and with the screen off (some tools that I've used could do the latter but not the former). A similar app is Firetube.

YMusic (https://ymusic.io) is quite usable, but it doesn't integrate smoothly with YouTube. (for some reason it requires you to create the channel in order to use playlists) Youtube Vanced is much better in this respect.

Simplest way to play YouTube video or playlist in background:

Play a YouTube video in Google Chrome.
Switch to Desktop Mode (Options ~> Request Desktop Site).
Hit the Home button to push Google Chrome into background.
Pull down notification to find Google Chrome media control. Play the video from here.

There's no thumbs down of it as you can still open new tabs in Google Chrome to do another thing.
Enjoy listening YouTube podcasts and song playlists while doing other things in smartphone or real world!


text:
Android - Exchange encryption - SD card 'damaged'
Mrs has a HTC One S, asked me to set up her work email on exchange.  No problem.  Got to the device admin-security policy part; a little bit surprised by requesting encryption & pin lock but what the heck hit OK.  Never used it before, never expected problems.
Upon further reading it looks like this process is supposed to take an hour, after hitting OK it went straight to the mailbox and failed to sync.  Rechecked pass & server settings, no go so removed account, administrator, cleared saved credentials and rebooted.

First surprise, PIN lock is still enabled.
Second surprise, "SD Card is damaged."

Did some research, my understanding security policies cannot be removed while SD card is encrypted.  Storage shows phone storage as encrypted and SD as not mounted.  Tried a few tricks like re-adding account and then then attempting to remove encryption without success.  VPN settings are nill.
This is not removable storage, so left with options in phone.
At a loss so here I am at 'phone a friend' if anybody has any idea.  Would really like to recover media from SD if at all possible.
Cheers.


text:
Cannot mount SD card, with error "SD card safe to remove"
I have an HTC Desire S, which my cousin bought for me from China.
Android version: 4.0.4; HTC Sense version: 3.6; Software number: 1.0.0.S510e
The MicroSD card no longer works. Whenever I reinsert it, I get the message, after a few seconds, "SD card safe to remove". I've tried reformatting it and have run fsck on it.
I think the card used to mount read-only before, as it used to unmount whenever I took a picture; this started happening after the most recent update. I kept trying to take pictures and reinserting the card would fix it but it seems now it won't mount.
How can I fix the MicroSD card so it'll mount?

Same thing happening to me.   After updating my Galaxy Grand to 4.2.2 i can no longer use the phone to format ANY MicroSD cards...   Very strange.   I need to format to Fat32 on PC and then it will work.  Even if i format to extFAT on PC the phone will reject it.
As an experiment, I deleted the partition on the MicroSD card with my PC. I then placed it into my phone. It prompted me that the card was unformated.  When i formatted it with the phone all i got was "SD Card safe to remove".
I removed the card from the phone and checked it with my PC. The phone did format the partition, but it was set as "Other" type..
Don't know what to make of this...

I had that problem with Dual USB flash, for PC and Mobile, it is 64gb so I couldn't format is with FAT32. I did the exFAT and NTFS but same thing happened. But then I found the solution on SanDisc website, it says that some mobile phones don't recognize exFAT, but FAT32 only.
They provided few third party softwares for FAT32 formating of 64gb:
HP USB Disk Format Tool , 2Tware Fat32Format , and miniAide Fat32 Formatter
I did it with second one and it works! My phone finally can recognize the USB flash.
I googled it few hours and except this solution didn't find absolutely nothing that works...


text:
How can I use Flash Player now that it's no longer supported?
I know that Adobe Flash Player is discontinued for Android devices, but is there an alternative way to continue using Flash on an Android device?
I have the APK of Flash Player 10, but I would like to use the most recent version.

If the Play Store won't play ball, you can download the Flash Player APK from Adobe here.
Direct download links:

For Android 2.x and 3.x: Flash Player 11.1 for Android 2.x and 3.x (11.1.111.73)
For Android 4.0+: Flash Player 11.1 for Android 4.0 (11.1.115.81)

Warning: Those versions are pretty old (2013) and are no longer supported by Adobe. Therefore installing it may make your device vulnerable to attacks from the Internet.


text:
Framaroot is not a permanent root app
framaroot is not a permanent root method, what does it mean?
My phone is no longer receiving updates, so root won't cause problems I think

I haven't used Framaroot, but based on its FAQ on the same thread: "Because framaroot exploit security holes present in several devices which has been patched with update you have done, so exploits can't root your device anymore. Framaroot's exploits have a very short life to keep your device "less exposed" to others malicious application." If the device is updated and the exploit is fixed, I'd assume that the root will fail, and thus, not a permanent root.

This could possibly mean that your device is rooted until the next reboot ie. temporarily rooted.
Also you can try another app/method of rooting which might be permanent so oyu don't have to root again.


text:
Corrupt ROM file at CyanogenMod server
I am trying to install CyanogenMod in my N7000 issue is the file I am downloading cm-10.1.3-n7000.zip from here seems to be corrupted as when I try to install it from sdcard through install zip from sdcard. it gives me similar unable to read error. cant open cm-10.1.3-n7000.zip (bad)
Plus I also tried extracting it manually on my PC same happens and the zip seems to be corrected I have tried downloading couple of time using download managers but still no changes.
Is there any other link/server from where I can get the latest ROM for my phone or any other ways to solve the issues?

This could easily be a permission issue. Does the md5 check correctly? You can download an md5 checker and compare it to that string of numbers on the cyanogen site. If your download is good the numbers will match. Edit: Which recovery are you using?

I am following (this) tutorial [http://wiki.cyanogenmod.org/w/Install_CM_for_n7000] so i am probably using Heimdall recovery.

Is the ROM on your external or internal storage? Sounds like it needs to be on the root of your internal. I've had this issue before with CWM, and just had to move the ROM. Hopefully it's that simple.

i copied it through adb push cm-10.1.3-n7000.zip /sdcard/ this commands, i think thats the root?

Can you mount the USB storage? If you can get to it with your PC, try moving the ROM to your internal storage and trying again.

If you're following that tutorial, then you're using ClockWorkMod Recovery. Heimdall is the software you're using to install CWM. =)

well it was the corrupt file, downloaded the other version, repeated the process and everything is fine now.

Head over to http://get.cm/?device=n7000 and note the MD5sum of the download (take care that build name / date match, of course).
You can then check it on your phone against what was downloaded using FileSums together with any File Explorer app (filesums acts as possible target for the "send to" share button when you long press the .zip file). Open the file explorer, navigate to
/storage/emulated/legacy/cmupdater/

and then long press the file you want to calculate the MD5sum to "send  it to" filesums.
Or you can download it from your phone using your computer (via MTP or a SD card reader in case your phone has a removable one). Then check the file's MD5sum locally using the commandline tool md5sum (on Linux) or any Windows MD5sum utility (looks like http://www.md5summer.org has a decent one, or just google it).


text:
HTC Desire randomly wakes up
I have an HTC desire, which switches on randomly. To get to the source of the problem, I waited for the phone to wake up (screen turned on), then grabbed the system log and mailed it to myself. These are the last few seconds, from when the screen turned on: EDIT: on request, I included from the log, about 8 minutes:
10-22 15:20:34.111 D/dalvikvm(  566): GC_EXPLICIT freed 3609 objects / 197928 bytes in 104ms
10-22 15:20:40.287 D/dalvikvm(  456): GC_EXPLICIT freed 1971 objects / 170600 bytes in 92ms
10-22 15:20:45.807 D/dalvikvm( 4668): GC_EXPLICIT freed 11540 objects / 845064 bytes in 93ms
10-22 15:20:50.817 D/dalvikvm(  251): GC_EXPLICIT freed 3563 objects / 228536 bytes in 82ms
10-22 15:20:50.817 D/NativeCrypto(  251): Freeing OpenSSL session
10-22 15:20:55.797 D/dalvikvm( 4315): GC_EXPLICIT freed 2928 objects / 165840 bytes in 68ms
10-22 15:21:05.724 D/dalvikvm( 2488): GC_EXPLICIT freed 2030 objects / 76504 bytes in 250ms
10-22 15:21:47.999 V/AlarmManager(   92): Alarm triggering: Alarm{46875928 type 0 com.levelup.touiteur}
10-22 15:21:48.059 D/Plume_54205( 4668): No network connection found! interfaces:[NetworkInfo: type: mobile[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: false, if: eth0, NetworkInfo: type: mobile_mms[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_supl[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_dun[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_hipri[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_wapgateway[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_httpproxy[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_fota[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_admin[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_internet[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_mobilemarket[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true]
10-22 15:21:48.059 V/Plume_54205( 4668): start the outbox service in 2 minutes
10-22 15:21:48.059 V/AlarmManager(   92): Adding Alarm{46578f40 type 0 com.levelup.touiteur} okt. 22 03:23:48 PM
10-22 15:23:29.651 D/HtcLockScreen(   92): onRefreshBatteryInfo showBatteryInfo:truepluggedIn:falsebatteryLevel:11
10-22 15:23:29.651 D/HtcLockScreen(   92): onRefreshBatteryInfo currentData mPluggedIn:falsemBatteryLevel:12
10-22 15:23:29.651 I/HtcLockScreen(   92): updateStatusViewByPriority, mIsSimCheckView = false, mIsBatteryInfo = true, mIsMusicPlaying = false, mIsAirPlaneMode = false
10-22 15:23:29.691 I/global  (   92): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
10-22 15:23:29.691 I/global  (   92): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
10-22 15:23:29.691 D/BatteryService(   92): isUsbConnected() = false
10-22 15:23:29.691 D/BatteryService(   92): mPlugType = 0
10-22 15:23:29.721 E/Tethering(   92): attempting to remove unknown iface (usb0), ignoring
10-22 15:23:29.721 D/UsbConnectedReceiver( 2308): action = psclient.intent.action.usb_status
10-22 15:23:29.721 D/UsbConnectedReceiver( 2308): ACTION_BATTERY_CHANGED
10-22 15:23:29.721 D/UsbConnectedReceiver( 2308): usbCurrentType = 0
10-22 15:23:29.721 D/UsbConnectedReceiver( 2308): Current type is same as previous, return!
10-22 15:23:47.999 V/AlarmManager(   92): Alarm triggering: Alarm{46578f40 type 0 com.levelup.touiteur}
10-22 15:23:48.057 D/Plume_54205( 4668): No network connection found! interfaces:[NetworkInfo: type: mobile[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: false, if: eth0, NetworkInfo: type: mobile_mms[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_supl[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_dun[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_hipri[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_wapgateway[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_httpproxy[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_fota[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_admin[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_internet[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_mobilemarket[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true]
10-22 15:23:48.057 V/Plume_54205( 4668): start the outbox service in 2 minutes
10-22 15:23:48.057 V/AlarmManager(   92): Adding Alarm{468dc160 type 0 com.levelup.touiteur} okt. 22 03:25:48 PM
10-22 15:24:11.092 D/dalvikvm(  566): GC_EXPLICIT freed 962 objects / 59664 bytes in 37ms
10-22 15:24:21.543 D/dalvikvm( 4668): GC_EXPLICIT freed 8216 objects / 559912 bytes in 305ms
10-22 15:25:47.999 V/AlarmManager(   92): Alarm triggering: Alarm{468dc160 type 0 com.levelup.touiteur}
10-22 15:25:48.044 D/Plume_54205( 4668): No network connection found! interfaces:[NetworkInfo: type: mobile[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: false, if: eth0, NetworkInfo: type: mobile_mms[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_supl[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_dun[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_hipri[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_wapgateway[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_httpproxy[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_fota[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_admin[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_internet[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_mobilemarket[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true]
10-22 15:25:48.054 V/Plume_54205( 4668): start the outbox service in 2 minutes
10-22 15:25:48.054 V/AlarmManager(   92): Adding Alarm{467017a8 type 0 com.levelup.touiteur} okt. 22 03:27:48 PM
10-22 15:27:48.000 V/AlarmManager(   92): Alarm triggering: Alarm{467017a8 type 0 com.levelup.touiteur}
10-22 15:27:48.058 D/Plume_54205( 4668): No network connection found! interfaces:[NetworkInfo: type: mobile[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: false, if: eth0, NetworkInfo: type: mobile_mms[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_supl[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_dun[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_hipri[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_wapgateway[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_httpproxy[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_fota[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_admin[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_internet[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, NetworkInfo: type: mobile_mobilemarket[UNKNOWN], state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true]
10-22 15:27:48.058 V/Plume_54205( 4668): start the outbox service in 2 minutes
10-22 15:27:48.058 V/AlarmManager(   92): Adding Alarm{46910018 type 0 com.levelup.touiteur} okt. 22 03:29:48 PM
10-22 15:28:15.453 D/dalvikvm(  566): GC_EXPLICIT freed 3 objects / 72 bytes in 39ms
10-22 15:28:39.586 W/Vold    (   62): Ignoring unknown switch 'dock'
10-22 15:28:39.596 I/power   (   92): *** set_screen_state 1
10-22 15:28:39.606 I/HtcLockScreen(   92): HtcLockScreen:onResume
10-22 15:28:39.606 D/AK8973  (   72): Compass Start
10-22 15:28:39.606 D/Sensors (   92): open_akm, fd=124
10-22 15:28:39.616 D/BluetoothService(   92): FileNotFoundException while trying to read dock address
10-22 15:28:39.616 I/DockObserver(   92): Dock state changed: 0
10-22 15:28:39.736 D/Sensors (   92): close_akm, fd=124
10-22 15:28:39.736 V/BluetoothService(   92): Received ACTION_DOCK_EVENT with State:0
10-22 15:28:39.746 D/SurfaceFlinger(   92): Screen about to return, flinger = 0x15bc38
10-22 15:28:39.766 D/ConnectivityService(   92): getMobileDataEnabled returning false
10-22 15:28:39.786 D/ConnectivityService(   92): getMobileDataEnabled returning false
10-22 15:28:39.786 D/ConnectivityService(   92): getMobileDataEnabled returning false
10-22 15:28:39.846 D/browser ( 4164): screen intent received: android.intent.action.SCREEN_ON
10-22 15:28:39.846 D/browser ( 4164): mActivityInPause=true toggleAutorestart=true
10-22 15:28:39.846 D/browser ( 4164): restartFlag=false restartPowerLock=WakeLock{46355778 held=false, refCount=0}
10-22 15:28:40.266 D/AK8973  (   72): Compass CLOSE
10-22 15:28:40.306 W/Vold    (   62): Ignoring unknown switch 'dock'
10-22 15:28:40.316 D/BluetoothService(   92): FileNotFoundException while trying to read dock address
10-22 15:28:40.316 I/DockObserver(   92): Dock state changed: 2
10-22 15:28:40.336 D/AK8973  (   72): Compass Start
10-22 15:28:40.336 D/Sensors (   92): open_akm, fd=124
10-22 15:28:40.346 V/BluetoothService(   92): Received ACTION_DOCK_EVENT with State:2
10-22 15:28:40.346 E/ApplicationContext(   92): Couldn't create directory for SharedPreferences file shared_prefs/bluetooth_service_settings.xml
10-22 15:28:40.696 D/PowerManagerService(   92): New lightsensor value:160, lcdValue:160
10-22 15:28:42.756 D/PowerManagerService(   92): New lightsensor value:90, lcdValue:160
10-22 15:28:43.179 I/HtcLockScreen(   92): touch ACTION_DOWN
10-22 15:28:43.179 I/HtcLockScreen(   92): stopPhoneAnimation
10-22 15:28:43.286 I/HtcLockScreen(   92): touch ACTION_UP
10-22 15:28:43.286 D/HtcLockScreen(   92): unlock a

My guess is that it thinks it is docked in a car dock, since I had trouble with the phone randomly going into car mode earlier (I switched off car mode to avoid that). The dock state changes twice in this log, once to 0 and once to 2. A value of 2 means it's in a car dock, and a value of 0 means it's undocked.
What is the cause of this problem? Is this something I can fix (or get fixed cheaply), or is it time to start looking for a new phone?
UPDATE: I am not connected to wifi, mobile data, bluetooth or anything.

Do you have a few more lines preceding the ones you posted? The 2nd line already is a reaction on the event in question (set_screen_state 1 suggests the trigger already had occured, and the only preceding line is not really explaining things).

I also see a line near the middle of his paste that reads screen intent received: android.intent.action.SCREEN_ON and  V/BluetoothService(   92): Received ACTION_DOCK_EVENT with State:0 and a few other Bluetooth/Dock messages immediately before SCREEN_ON. Daan, are you linked to any Bluetooth devices when this happens? Either way, I agree that more of the log may be helpful

Updated the question with more information: I extended the log to the last 10 minutes or so, and added information about wireless status (wifi, mobile data and bluetooth all off).


text:
Nexus 7 (2012) no longer connecting via USB Mac OS X
I plugged my original Nexus 7 into my Mac earlier today to build an application onto it for testing. It failed, and then I realized that the tablet did not appear to actually be connected to the computer.
Symptoms: Tablet charges, but no notification about being connected. Tablet does not appear in ./adb devices (nor in ./fastboot devices when device is in bootloader), and Android File Transfer will not find it.
Tried: Rebooted both tablet and computer, tried different USB cables and USB ports. Tried MTP, PTP, and neither. Tried USB Debugging on and off.
My Nexus 4 connects to the computer just fine. Both N4 and N7 are running Android 4.4.2
UPDATE: Tested my roommate's Nexus 7 (same model) on my computer, and it connected fine. Tested my Nexus 7 on his computer and saw the same lack of connection
EDIT: now fairly convinced that it's a faulty hardware USB port on the tablet. Wiggling the cable will cause the device to show "USB Debugging Enabled" and "Connected as Media Device" notifications, though the computer still doesn't recognize it

You can try another way: wireless connection via Wifi. Some apps such as Airdroid, Web PC Suite can help you transfer files by Wifi. Connect the two devices by scanning a QR code, then you can send files between the two devices easily.

Welcome to Android Enthusiasts, Esther! You might have missed an important point here: OP is not asking for "file transfer", but explicitly wants a USB connection (in this case, for debugging apps using ADB). While there's also the possibility of using "ADB via TCP" with a WiFi connection, that is at best a work-around, not solving the OPs USB issue.


text:
Can I tether iPhone 3G to EEE Pad Transformer?
This is somewhat simmilar to Can I Bluetooth tether my Android to iPhone?, but since it is 7 months old and belongs to different Android version, I will ask again.
I want to buy EEE Pad Transformer (which comes with Honeycomb) and I want to tether it with my iPhone 3G, which supports only Bluetooth tethering. Will that be possible? (I will clarify - I want to tether the 3G connection, that I have on iPhone, to EEE Pad)
I know that the question is half about iPhone, but I think it is more about Android, since I know bluetooth tethering works on iPhone 3G end, I just want to know if it will work on recieving end on EEE Pad Transformer.

Tethering an iOS device to an android device will cause a wormhole to open and suck them both in. I don't recommend it.
the non-sarcastic response to bt tethering on honeycomb


text:
Gingerbread upgrade for Samsung Galaxy Gio?

Possible Duplicate:
When will my phone get the Android 2.3 update (Gingerbread)?

A few days ago I bought the Samsung Galaxy Gio, an Android phone that ships with Froyo. My regional Samsung site implies that a Gingerbread upgrade is available to me.
I then installed Samsung Kies to see if I could upgrade the firmware, but it said that currently no update was available for my device. (Related discussion about the cryptic update message.)

How do I find out whether Samsung plans to release an official Gingerbread upgrade for my device?
Are there any unofficial firmware upgrades available that work with my device? Would you recommend them? What about security?

Everything I can find suggests that a Gingerbread update is assumed because firmware has been leaked.  So you can't (yet) get it through something official like Kies.  This guide shows how to install the leaked version if you're so inclined.

So an official update appears to be on its way? In that case I'll wait for Samsung to release the upgrade.


text:
How to install apps which are targeted for another country?

Possible Duplicate:
How can I circumvent regional restrictions in the Android Market?

I'd like to install an app from the Market which is limited to the USA (specifically Google Music). When I search for the app myself in the Market app on my phone, it does not find the app; it seems to be filtered.
So how do I install apps which are not meant for my country?

Before we got paid apps in the Android Market in Denmark, I used to use Market Enabler (requires root). This allowed me to pretend that I was a resident in another country, and thus buy paid apps from the Market.
Perhaps you can use the same solution, faking the market to believe you are from the US?

works like a charm!

Perfect, and good to know. :)

If that's the case then maybe you can connect via VPN or Proxy. Though I'm not sure as to how.