text:
Protecting phone from the FREAK bug
How can I protect my phone from the FREAK bug?
Phone is a Samsung GT-S5830 running Gingerbread.

tl;dr
Use browsers (e.g. FireFox) that are proven to be not vulnerable to FREAK bug and try to avoid these sites until they've fixed their server. The bug is not device-dependant nor Android version-dependant.
From FreakAttack.com,

Who is vulnerable?
The FREAK attack is possible when a vulnerable browser connects to a susceptible web server—a server that accepts "export-grade" encryption.
Clients
Update (Mar. 5):   Browsers are vulnerable to the FREAK attack because of bugs that allow an attacker to force them to use weak, export-grade encryption. One example is the OpenSSL bug described in CVE-2015-0204, but some other TLS libraries have similar problems. Far more browsers are vulnerable to the FREAK attack than was initially thought when the attack was announced, including:

...
Chrome on Android
Stock Android Browser
...

You can check whether your browser is vulnerable using our FREAK Client Test Tool.
Chrome for Windows and all versions of Firefox are known to be safe. However, even if your browser is safe, certain third-party software, including some anti-virus products and adware programs, can expose you to the attack by intercepting TLS connections from the browser. If you are using a safe browser but our client test says you’re vulnerable, this is a likely cause.
What should I do?
If you use a browser …
Make sure you have the most recent version of your browser installed, and check for updates frequently.   Updates that fix the FREAK attack should be available for all major browsers soon.

Feel free to update the answer, since the info might change rapidly.

The list has the name axisbank.com and Axis Bank has an app in Playstore. The vulnerability has to be at both Server and Client in order to be exploitable. I'm hoping AxisBank will definitely fix it, but what about other apps who don't use HTTP? Care to help here.


text:
Samsung (Galaxy S4) does not show Authorize USB debugging dialog box
I am trying to follow the instructions here, but my phone never displays the "Authorize USB Debugging" option.
On the PC side, adb devices shows that the PC see the device, but it is listed as "offline" and I cannot use adb shell to talk to it.
Moreoever, if I unplug the device, adb devices does not list it at all, so I assume that the adb server is able to see the phone and simply cannot talk to it.
How can I force the "Allow USB Debugging" to appear on the phone?
I have already tried restarting both devices and disabling and enabling USB debugging on the phone.

@Firelord, Yes, I tried three machines but they were all Linux. Haven't tried Windows or Mac.

You might have a faulty cable or one that isn't a data cable.

It seems like turning off AutoPlay can help on Windows.

I have had this happen multiple times on multiple Android devices. Solved every time by putting the device in Photo transfer (PTP) mode.
ADB will not work for me when my device is in MTP or any other mode.

This should be accepted answer. Same issue I had with Nexus 6P, which I could debug with no issues on Win10, but on Ubuntu 18 did not popup "Allow USB Debugging" dialog box. I've found this answer, tried it and worked out like a charm.

MTP was selected for me. Switched to PTP and worked. Thank you.

My device only shows up in Chrome's remove debugging when "Install Driver" is selected, but disappears for MTP or PTP. Still will not currently ask for authorization.

My Nexus 5x somehow switched to "charging" mode after accepting usb debugging. Setting it back to MTP fixed it for me.

This should be the accepted answer. This problem still occurs in 2019 on a Oneplus 6 / Android 9, and the solution is the only thing that worked.

This solution doesn't work for every case, I've tried every options and it doesn't show the dialog box

My SAMSUNG Galaxy S4 sometimes bothers me with this annoying offline status message too.
I always fix it by trying options below:

Try to revoke the USB Debugging authorization on Developer Options menu.
Try using adb kill-server and the adb usb commands.
Try to replug your device if none of above works.
Try Restarting your device.
Turn USB Debugging OFF and ON again.
Try to Turn Developer Options OFF and ON again.

hope it hepls.

I was just providing general solutions for others didn't try them :)

Idea 2 (kill-server, then usb) worked for me on my S6 when nothing else would! Thank you!

BTW, I also had my phone in PTP mode (Due to Chuck's answer below), not MTP. Not sure if that's related, but if none of these options work for you in MTP try switching it into PTP and trying again.

Using 'adb usb' is something new I never did when I got this issue :D Thank you, it worked this time ;)

adb kill-server and then sudo adb start-server made it show up for me.

I am not sure if you ever solved this problem, but I ran into this problem, and tried out many many different procedures, each of which might have helped others, but this is 2016 and a summary might help.
A brand new phone bought in 2016 didn't work when I installed Android Studio on Linux. A phone bought in 2015 worked without a problem. A new phone didn't work with the exact same configuration.
When I have Android Studio open, the AVD manager didn't show the new phone, but showed the old one.   The old phone, when connected on the USB plug, threw a dialog asking me to confirm the fingerprint of the RSA key, but the new phone didn't show the same dialog when connected.
I found a tip at
https://stackoverflow.com/questions/18011685/cant-connect-nexus-4-to-adb-unauthorized
and tried it out and it worked for me.
I removed two files adbkey and adbkey.pub from ~/.android.  Apparently android-studio detects this and creates the keys immediately. As soon as this occurs, the new phone threw the dialog open and started working. I am able to see the phone on the Android-Studio's AVD menu and start running the applications.
adb version 1.0.31, BUT, if I try to run 'adb devices' on the command line, Android-Studio stops showing this phone on the AVD menu.
I still don't see the phone (but that does not bother me as I am able to see the phone from the AVD menu). adb command line utility only showed an emulator that was running, but not the phone connected in debugging mode, one that was seen on the AVD menu, up until the command was run.
$ adb devices
adb server is out of date.  killing...
* daemon started successfully *
List of devices attached
emulator-5554   device

At this point, reconnecting the phone does not help. AVD menu only showed the emulator that was still running on my computer.
You have to run 'adb kill-server'.  Once that is done, and if you open up the AVD menu,  Android Studio initializes its own ADB and the phone shows up on the AVD menu.
adb version 1.0.31
Android Studio 2.1
So in summary: two things.

Delete adbkey and adbkey.pub from ~/.android while Android Studio is open.
Do not run command line utility adb. It messes with the server instance run by Android Studio. The server instance from commandline works for some phones  but not all.  Android-Studio works with all the phones I have.

All the above is of course after making sure:

you tap the 'build number' thing 7 times and enabling the USB debugging mode...
tried 'revoking the debug permissions' many times
tried rebooting the phone a few times
enable/disable/enable usb debugging mode,

All the above steps seemed like voodoo things to try, but essentially they didn't work, except the ones I listed above.
(Update: Adding this line that was originally a comment, but belongs in the answer).
I also had to add the new phone's vendor ID to /etc/udev/rules.d/51-android.rules file to help identify the new phone and to set the permissions.

removing ~/.android completely worked for me

I just had this happen to me. Debugging was working fine at the office, but broken at home.
Turned out to be my usb cable. Everytime I plugged it in, it would charge but I never received the Allow USB Debugging prompt.
I tried a second cable, same thing.
Third cable was the charm, worked fine with a better cable.

I required "Default USB configuration" to be set to "MIDI"
Windows 10, current as of 24 June 2019.
Samsung Galaxy S8 plus.
After 6 months of trying random things and being frustrated I figured it out today!
Of course I had done the obviously necessary steps:
a. On the phone, enable USB Debugging through Developer Options:
https://stackoverflow.com/questions/18103117/how-to-enable-usb-debugging-in-android
b. On the computer, install the appropriate "OEM USB driver" for your phone manufacturer:
https://developer.android.com/studio/run/oem-usb.html#Drivers
I did those a long time ago, but only recently managed to get the following two things right:
1. Important to choose the right USB cable
A cable might work wonderfully for charging your phone from your laptop, but not work for data transfer (because different pins are used for these purposes). An easy way to check that you have the right cable, set your phone's "Default USB Configuration" in Developer Settings to "Transferring files".
You should be able to see your phone and its contents in Windows File Explorer.
2. Set your phone's "Default USB Configuration" to "MIDI"
Over the last few months' annoyance, I never tried this. Why the hell would that be right?! Today by chance I tried it. I got the "Allow USB debugging?" prompt rather than the "Allow access to phone data?" that we get when connecting with the other USB configurations.
On the Chrome Dev Tools "Remote Devices" panel, within 1 or 2 seconds the phone shows up. Hooray!
This is reproducible, i.e. when you keep computer and phone connected, and flick between the settings of "Default USB configuration", the phone appears and disappears from Chrome Dev Tools Remote Devices, within a second or two. Only appears when phone is set to "MIDI".
On the Chrome Dev Tools "Remote Devices" panel, within 1 or 2 seconds the phone shows up. Hooray!
[edit] 3. You might have to set it away from MIDI and then back to MIDI
I have found a few times that it stops working inexplicably, but it can be fixed by going to Developer Options, setting to something other than MIDI, waiting for the "pling plong" sound from your Windows computer, and then set it back to MIDI.

If it shows Unauthorized but if you do not see the RSA prompt on the phone, do the following.
Linux
which adb

Windows
where adb

Identify all the duplicate entries in the path. Remove duplicates.
Now do
adb kill-server
adb start-server

I had to delete the adbkey from /data/misc/adb on the phone and then
In adb shell type > adb kill-server
In adb shell type > adb start-server
Now connecting the USB cable brought back the options.
For some strange reason I revoked the authorization and been spending hours to get it back..
Thanks..

I've had the same issue and it turned out that having the USB mode set to file transfer instead of charging caused my issue. As soon as I set it to charging mode, it fixed my problem and I was prompted for debugging.

My problem came down to that I did not have the ADB (Android Debug Bridge) installed on my computer.
I followed the instructions here, and actually downloaded it here. Once I installed the ADB onto my computer, I ran the commands:
adb kill-server and then adb start-server.
After doing all this, my root finally worked! I'm not sure if the adb steps are necessary, but I went ahead and performed them. Then when I reconnected my phone, the dialog for giving my computer permissions actually popped up and I was able to root.

This answer is for anyone currently facing this horrendously annoying problem (2019+)
Here are some general stuff to try out:

Restart your device(I know, but just try it out)
Enable USB Debugging through Developer Options - How to enable USB Debug Developer Options on an Android Device
Don't play with ADB until necessary since I've heard it can do more bad than good if you're not totally comfortable using the utility

If you've tried and failed for about 5 hours with the above techniques, you can work your way to a custom solution that helped me. Or you can take a look at the question I asked directly.

It seems like the profile of the computer(perhaps the RSA key
  fingerprint) was automatically recognized by the android device and so
  it didn't ask for any permissions. From there, I'm still kind of
  trying to understand it. But basically, as soon as I reset(factory
  reset) my computer, it started prompting me for authorization again.
  I'm sure the factory reset was on the extreme end of options, but it
  worked in the end.

This is what worked for me:

Delete adbkey and adbkey.pub files from ~/.android folder
run adb kill-server
run adb usb

Dont't forget to install adb for this to work.
For Debian/Ubuntu it's as simple as:
sudo apt install adb

Try  to install Android USB Driver for your OS. Here is the Samsung one for Windows machines:
https://developer.samsung.com/mobile/android-usb-driver.html

source: Stack Exchange

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

authors: Prīñçëss Ârēèshä

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

sort: votes


text:
How can I prevent apps being killed prematurely on my Moto G 4G?
I have a Moto G 4G (XT1039, Android 4.4.4, non rooted) which aggressively kills apps, even while they are in use. Apparently one of the few Motorola 'enhacements' (read bloatware) compared to stock.
When driving, the only apps which matter to me are the app playing music and the app giving me directions, yet every 20 minutes or so, either Play Music, or Maps (or sometimes both) will get killed. I have to find a place to stop, pull over, set the apps going again (and often Maps has forgotten my previous destination) and set off again. It gets very irritating.
I have tried looking at Settings, Developer Options, Process Stats, but the apps which show as 100% running time cover only 250MB of the devices 1GB of memory, so it must be a non 100% running time background app waking up and pushing my running apps out of memory.
A similar thing happens with both Netflix and Ingress. Every time I watch a Netflix show longer than 20 minutes, when I open the app it reloads and I have to disconnect and reconnect to my Chromecast so that I can control the stream. Similarly whenever I switch to Ingress, even if I've just looked at the home screen, I find that it has been killed and it has to reload. I have already tried uninstalling all background apps I don't absolutely need, but I still have a problem.
Is there any way to configure the task killing behaviour without root access? Or prevent specific apps from being killed?

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


text:
Link2SD error- "mount: Operation not supported on transparent endpoint"
So I just rooted my Concord II, and installed Link2SD. I partitioned my SD card with MiniTool, and made a Fat32 and a ext2, both primary. But when after opening Link2SD and giving it root access, it gives me a popup saying select the file system of your SD card's second partition (see first screenshot below), and I select ext2 and press ok. But then a mount script error popup comes up saying mount script could not be created (see second screenshot). The error is "mount: Operation not supported on transparent endpoint". How can I fix this? These screenshots illustrate what's happening:

Try with an ext4 partition.

From www.link2sd.info/faq. I had the same issue and this fixed it.

Install SDFix: KitKat Writable MicroSD from the Google Play Store.
Then, using the latest Link2SD, format your flash in ext4.

Thanks, but will this work even if I'm on android 4.3(Jellybean)? SDFix seems to be to fix an issue introduced from Android 4.4 and up, so what effect would it have on my Concord?

@MikeyS Probably not. That Kitkat issue wasn't there before Kitkat, so a fix for it wouldn't find anything to fix. It either wouldn't run at all, or change nothing relevant.

@Izzy Yeah, thats what happens, after pressing run, I get an error saying "Update failed, platform.xml file could not be updated" :(   Is there another solution to this problem?

No idea. I have you tried to google it and find many posts for exactly this device – but all of them must be yours. Is there any forum you missed? ;)

Lol, well I really want to get this fixed :p


text:
How to securely root g2 phone (AT&T LGE LG-D800)?
I've been looking to root my phone, only all methods require installing binaries from little-known (by me) sites with no Web of Trust rating. I feel hesitant to do that.
Here are some rooting links I found for my phone:

http://forum.xda-developers.com/showthread.php?t=2448887
http://theunlockr.com/2013/10/25/root-lg-g2-versions-video/
http://wiki.cyanogenmod.org/w/Install_CM_for_d800
requires ioroot: http://forum.xda-developers.com/showpost.php?p=48709232&postcount=869
The latter one refers to Kingo Android Root (its Web of Trust says XDA does not recommend it until it goes open source due to some suspicious activities such as sending IMEI to the server)

Which of them are safer than others?
Also, there was a manual way to root via ADB, or if there was source code, or if there was a reputable trustworthy site to download from, I'd be feeling much more secure.
I am a Java developer, new to Android development, but it' something I want to learn, so programmatic solutions welcome.

Both XDA developers and Cyanogenmod point to ioroot, and both sources I'd generally consider trustworthy. That being said, afaik there are no hard restrictions for some malicious person to post misleading information on either site. The best you can do is to read through all the comments and trust that if something fishy is happening, someone will find out. Also be aware that you can never be 100% secure when letting some third-party software fiddle with your hardware. – I can't find the reference to Kingo on the ioroot page btw.

Have you contacted the maintainers of ioroot or Towelroot or Framaroot and asked them if they could please post their source code on GitHub?

Personally I consider "secure" and "rooted" to be contradictory goals, unless you are an extremely careful sysop.

I used towelroot to root my phone when I was still on a stock ROM. It worked well. There are many other alternatives available as well. I've had no problems with it, and it seems to be what I would consider to be the "safest" as it was designed by geohot, and I've used many of his products in the past.


text:
Abnormally high battery drain
My battery drains extremely quickly, it can deplete completely in just over 1 hour.  It can even drain faster than the charger can supply.
Here is the battery graph after less than 60 minutes of load (this was playing candy crush saga).
Is this normal behaviour or is there something wrong with my phone?
The numbers in the usage stats don't add up to 100% either, it just says Screen 13%, facebook 8%, candy crush 4%, android system 2%, and a few other little 1% apps.
1 year old Nexus 5 with android version 5.0, kernel 3.4.0-g88fbc66

Is your device rooted? If yes, have you installed any custom ROM? If yes, then ROM could be a possible reason. Try another ROM/flash stock ROM back in your device. If this does not help/phone is not rooted, then it could be a hardware issue. (I faced the same issue with my SGS2, and buying a new battery solved it.)

Hi!  The device is rooted, but I don't have any custom ROM installed

My guess is a malware app. A little torrent server?

Definitely not normal. It could be that you need to re calibrate/replace your battery. This is the ultimate solution if nothing else you try works. Otherwise I would suggest either trying different versions of Android, or switching over to a custom ROM and see if that helps.


text:
Cloud Services for Android Phones
I own an RugGear 702 Android phone. All of my apps get downloaded to my phone storage and not the SD card,  even when I select the SD card option form the phone settings. Is it possible to somehow treat apps like cloud services, where all the tasks of applications (or apps) downloading, executing apps, messaging (and other communication services) can be executed from the cloud?

You could install the Android emulator on a server and remote into it.  I also seem to recall the ability to test apps from the Amazon Appstore on their website but I can't find that at the moment.
Android apps aren't built on X-Windowing or anything like that, though, so there's no efficient way to locally display a remote app.  VNC/RDP/etc. is going to be pretty data-intensive, probably slow, and difficult to navigate and control input.


text:
Does Android have a terminal like Window's Run?
I have often hated the idea of looking for apps among tons of glossy icons and running them that way. I wonder if there is a terminal capability in Android like that of Linux or Windows (Run window) for faster and more seasoned app access. Is such a thing in Android inherently?

Depends on your Android version & launcher, you can type the name of the app in Google Search Omnibox on the launcher. You have to allow Google to search apps when doing phone search though (on "Google Settings" app).

@AndrewT. I am using KitKat

It doesn't have a terminal built-in.  I use the same app that sameer linked.

Does it need root access?

Yep there is this
You can use the following command to run apps
am start -a android.intent.action.MAIN -n package/class_fullname

Where should I enter the command?

Open the terminal emulator app and you can run the command

SecurityException: Permission Denial

@JasonStack, you need root access to launch apps using am command unless you're running Android 5.1.1 then only ADB would be fine too.

Saw this post accidentally three years after I asked the original question. I knew nothing of adb at the time.

I recommend using Termux. You can find it on Play Store. I find it better than Terminal Emulator because it has a rich repository from which you can download a lot of useful programs.
I had no idea what Bash Script, Unix, Linux commands were or how to use them.
After playing with Termux for 1-2 years (in my own rithm and just with stuff I want curious about plus experimenting), I saw some advanced bash scripting videos on YouTube and I was like : Hey I knew that! Thank you Termux :)
Mainly you need root for a lot of the things (playing with system files), but you can do a lot of other things as well, without it. Finding duplicate files, listening to online radio, downloading videos, you can even play some text based games :)
If you know terminal commands well (linux, unix, Android) you will soon discover that you know a bit of coding as well :D

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


text:
"There is insufficient space on the device"--This is not duplicate
My mobile is Micromax Canvas HD Plus .It has 4 GB inbuilt memory and 16 GB external memory card.I have selected SD Card as default location to install apps but still when I try to install app from Play Store it shows above error.My SD Card is nearly empty.
I searched a lot .Uninstalling Play store updates,Clearing Cache nothing worked.

Can't edit the previous comment so...
I am certain the question I link is the same issue. Your phone comes with really low memory for modern phones. What phone is it anyway? Keep in mind that cache can be recreated by apps, and apps seems to always try installing on internal memory instead of SD card. Moving them over doesn't always help either, as some data can remain on the internal memory. Phones can have a limit too to when they deny installing more, as they need some space for temp files. Just like on a PC.

Can't we modify behavior of apps

No, as apps prefer to me on internal as SD cards can be slower, and if unmounted wrong, can cause issues like crashes and hang-ups. Usually the app only lets you transfer things like their own cache or "extras". You can root the phone to achieve full transfer, but this is quite advanced step. Also, some phones MAY support the full-app transfer to SD card, tho I am not sure what phones actually do.

It's not about how internal memory you have, it's about how big your /data partition is. Apps can only install to this partition, and even if you had your internal memory empty, apps wouldn't be able to fill this memory because they are only stored in /data. To fix this, you can try to resize partitions, but it's not simple, so be sure to know what you're doing before you corrupt your partitions.

I want to do that.I am not so new to this.But new in android stuffs


text:
Update to 4.4.4 from 4.4.2 Kitkat, mobile data unavaliable
I hadn't updated my software since 4.4.2 on my S5 and just updated it today. However, after updating to 4.4.4, my mobile data stopped working, I can still make calls and connect to WiFi, but mobile data does not work anymore. I even tried a factory restore but that did not help. Anyone ever experience this problem?

Check your APN settings and make sure they are correct. APN settings are dependant on your carrier, but you can look at this answer here as it will show you sort of what you need to set if your APN is not in the list.

try this :

full wipe with wipe cache,

remember ;

OTA Update not recomended.

easily, download last android version from SamMobile , then with odin flash it.
check last firmware :

http://www.sammobile.com/firmwares/

goodluck.


text:
Can't change the language when phone screen locked
I am using Samsung Galaxy Core. I have given Password to my mobile in English. Today for some reason I changed my Language to TAMIL and forgot to change back to English. My Phone got locked when i try to give the password the keyboard appears in Tamil and I can't do anything. How can I change it

Press and hold the spacebar to change the keyboard language. (as shown on this instruction)

This works if the keyboard remains the default Samsung Keyboard. Other keyboards may, or typically may not, have this capability. Hackers Keyboard, my preference, specifically does NOT. YMMV.

Press the space button and hold the English language, and other languages will appear. Choose the language as you like and it will change the language.

That only works with the default keyboard (e.g Samsung). Third party keyboards usually miss this functionality.

If you have registered on Samsung. Then log in to your account using other computer. And reset Samsung mobile.
Now first tell me have enabled find my device on your mobile. If yes then log in to your account on any device and you an unlock your devices.
Hope this can solve your problem.

Get a wired keyboard and plug it into the phone using OTG. It is working for me.

I had the same issue that I was unable to login into my phone due to the default language (keyboard layout) being non-English. The bad thing is when you try to change the language preference (by pressing space and hold) it again asks you for the password. The problem repeats itself. I solved this problem in this way:

I login into "safe mode" first (follow the link to the official Samsung Support).

Then I changed the default keyboard layout into Samsung keyboard (which is English)
Then I restarted it. This time the keyboard is English.


text:
How to factory reset CyanogenMod?
We bought a used smartphone (samsung galaxy ace), and was suprised that it had a version name:
cm7-democracy final edition 2012 (2.3.7 android)

We wanted to reset it in the "Backup / reset" menu in the Settings.. but it didn't allowed us to do it.. no plus menu came up when we pressed the "reset to factory defaults"
Question: how can I reset it to factory default? (with or without leaving the CM on the phone!) - we just only want to wipe the personal data from the phone, as it is a usual thing to do when we would only have a stock android on it.

You can go to the ClockWorkMod Recovery by pressing VolumeUp+Power+home button (For devices that have physical home buttons. Yours does!) In that you have the option to do factory reset/wipe data. Also don;t forget to wipe dalvik cache. That way your phone will reset to CyanogenMod factory default. However if you want to restore to Samsung Factory default you have to download the original firmware and flash it using Odin or any other software. Detailed guides can be found online


text:
Google Play Services Battery Drain
I have sony xperia l running Android kitkat4.4.4 AKOP rom
I want to ask that my phones google play services draines my battery 60% to 80%
I tried all kind of fix but nothing sloved my problem
Thanks

its displayed in settings >> battery

How ???
I didnt understand.


text:
Grand Quattro boot loop and can't go to recovery mode
Let's keep this simple...

I root my phone using Kingo ROOT and now can't boot.
This... https://www.dropbox.com/s/8v7fbrlep05oc3y/WP_20150308_15_34_19_Pro.mp4?dl=0
Note that my phone is grand quattro and not win
Can't go to recovery mode but can access download mode.
I have Odin.

What should I do? Format or something? :/

Hopefully you made a nandroid backup... if you are able to get into download mode you should be fine. Put the device in download mode. Have the device connected to the pc. Open odin. Make sure that odin recognizes the device. There should be numbers in the first small box in odin above the ID:COM. Select your pda file by clicking pda in odin. Select the tar.md5 file that you should have downloaded. If you do not have this file you can get it by searching for a thread for rooting your phone. Once your device has been recognized and you have the md5 file selected, click start. The overall process should take 10-15 seconds. Once the process has been completed the phone should restart. You can now disconnect the phone. You should now be root.
note this will trip the Knox counter so you may not be able to claim warranty.
Now download clockworkmod recovery md5 file for your phone. Now do the previous steps up to where you select the md5 file. So when you click pda this time select the clockworkmod recovery file you just downloaded. Now you can do this next part two ways:

If you are able to boot your phone you can leave auto reboot checked in odin and then hit start.

Or:

You can uncheck autoreboot so that your phone stays powered off after you click start. Now you should be able to boot into recovery and recover your nandroid backup.

This anwser is based on not knowing if you are still able to boot into your phone or not. If this anwser does not fix your problem please post some clarification and I will try to adjust my anwser. Hope this helps


text:
How to fix installation error -504?
I'm using Moto G second generation. My device is unable to install Facebook app after completion of download from play store. I checked few solutions, even removed my google account, but didn't work. I have enough space on my device and a fair connection speed. This problem is occurring only with Facebook application.
Although, I tried to download Facebook from other sources but still there's problem in installation.

Possibly not. This error is occurring with Facebook app only.

Is it "-504" or "504"? If it's the latter, then it's a duplicate. However, I didn't find other occurrences of "error -504" on Google.


text:
Two Photo icons on Moto G following Lollipop upgrade
After upgrading my Moto G 1st gen smartphone to Lollipop I now have 2 photo icons.  Is there any other way to delete the duplicate other than a factory reset?

Screenshot (click image for larger variant)

Having a basic understanding of android I believe it is one of the many apps found in the app drawer.

Have you tried uninstalling either app?

OK, that's definitely the drawer. Please try the following: Go to your Android settings, chose Apps › All, scroll to "Photos". Is the entry duplicate here as well? If so, try opening one, and see whether you can disable it. Does the second one stay, or gets disabled along? Also worth a try: Check whether the app drawer offers to sort its entries – e.g. sort it by install-time, and then back to alphabetically. If it's really a dupe entry, that might remove it.

I was able to disable one in the app drawer while still keeping the other and it works.  To note app that is working uses 1.69MG in storage space and is version 1 while the disabled used up 32KB and is version 1.1.40301.  When I tried disabling the other app first both disappeared from the app drawer.  Even though it is only 32KB in storage space is it part of the overall storage usage?  Thanks for your help Izzy. Thanks to Andrew for your suggestion as well.

I believe that Photos app is or was an activity from the Google+ app (I didn't complete follow the conversation I saw about it) so I believe beemer5's answer is likely to help.

You need to disable and remove Google+, then reinstall it from the app store, I did this to mine this morning and now its fine.


text:
How do I use my Google account when I have a FIDO U2F Key attached?
I have recently attached a FIDO U2F Key to my Google Account to make it more secure.
How can I now actually log into my Google Account on Android again?
Whenever I try to log in, it says wrong password, even though I know it is the right password. Does anyone know what is required to get it working again?

do you try to Login in with Gmail Site on Pc ? and your account can sign in ?

@Mohsen Of course I can log into my account on PC, because I can stick the FIDO Key into my USB Port.

What is your exact FIDO U2F key? What is your phone? Which Android version are you running? - - Do you have second-step verification also on?

To log into GMail after attaching any sort of 2 Factor Auth, one has to create an Application specific password for use with your Google Account. For that, you have to to the Authorization Page in your Google Account, enter a custom name and google will create a secure password that one can use with any device. This password is only visible once after creation, so if you need to log in again, just create a new one, which is safer than writing it down.
Example:

Use a application token:
If familiar with Two Factor Auth. /Multi. Factor Auth. on Github or Bitbucket and use a ssh token essentially the  exact same thing.
May I recommend using google authenticator  ---which by default creates  10 OTPs (one time passwords) that can be used if the FIDO is not pre registered.

I am not going to remove FIDO. My Mail account is linked to various services such as Steam or Netflix and it being hacked is something I need to avoid. Only a physical device can ensure that nobody besides me or at least having access to my house can access my Account. I need a solution that does not involve removing the key and I am actually surprised there is no google article about that.

I'm not saying stop /don't use a FIDO I'm suggesting using a second factor other than the FIDO to get it properly registered and associated with all those..google authenticator actually supports FIDO "bolt on"  Noneof your business's  inset  is EXACTLY what I'm sugessting I use the same thing + seperate sane sync pass on gmail/ALL things google and  that app token  for github and all other networks / apps.

Well but you don't need it. No need to make it complicated.

authors: ภูมิพัฒน์ กะรินตา


text:
Samsung Galaxy S Plus reset automatically
My Samsung Galaxy S plus device display was damaged. Then it was replaced: it got a new display.
After that, it stopped working; instead it automatically restarts itself (up to like below image), then restarts again. It doesn't get further than to the displayed boot screen.
Any idea how to get it working again?

What you describe is called a "boot-loop". I've just added the relevant tag to it, you might wish to check its tag-wiki for first-aid. Then please come back to your question, and answer it when you've been able to solve your issue – or [edit] your question to include what you've tried and where you're stuck.

Try to put the phone into recovery mode and wipe the cache partition:

Power phone off
Look up the combination of buttons for your device model to boot into recovery. For Samsung devices it is usually hold the volume up, home, and power buttons at the same time.
In recovery mode, select wipe cache partition  (you can move up or down using the volume buttons). *This will not wipe your personal data files - only temporary system files which could be causing the boot - loop).
Try restarting the phone now

If the phone still does not start please post a reply and I will see if I can help you further.

Izzy already mentioned the possible remedy with the solution you provided.

I must have been writing the anwser as he posted the comment

You might like to check the timing for Izzy's comment. There is two hours gap between yours and his. Its good that you suggested an answer, but its kinda redundant here.

Well I suppose the OP can take it or leave it then. Look at my anwser and also check what izzy provided. Thanks for pointing that out.

https://android.stackexchange.com/tags/boot-loop/info - This is what Izzy tagged. His comment has everything you suggested (concisely) including this If the phone still does not start please post a reply and I will see if I can help you further.. But anyway, its upon Mods now. I'm out.


text:
Can I connect LG G2 to TV via USB?
I have LG G2 and a TV which has a USB port. The TV can recognise when I put a flash drive into its USB port and it plays videos like a computer, but I would like to ask:

Can I use my phone also as a flash disk? Is it safe? Could it create problems for my phone?

When I watch a video on my phone on the internet via a wireless connection, can I watch the video at the same time on the TV as well?

All I have is this cable which I use for connecting my phone to the computer.

possible duplicate of Is it possible to connect a Android phone display to a TV or PC Monitor?

Q.1 is possible if your phone is rooted. For Q.2, Only if you have HDMI support in your TV, you can buy a suitable chromecast device and do it. AFAIK, you can't mirror Android Device to TV via USB.

Yes, DriveDroid is excellent at doing this. Boot the app, create a new image however big you want, format it (DriveDroid will by default make it a FAT filesystem, but if you wanted to you could use the DiskPart utility of windows to format it to NTFS.) The default will work fine though. Then when you tab the USB button and mount as a Writable USB, it will act like a flash drive to whatever you plug it into.
Depending on your type of TV and the USB interface it uses this may be possible. Using an app like TVP may be able to stream torrent videos over USB to the TV, but I'm unsure. I would suggest using DLNA to do this with apps such as LocalCast or AllCast. It can stream the video to your TV if it is a smart TV, or if it is connected to an XBox, playstation, or any DLNA compatible device (roku, chromecast). Depending on your TV model you may be able to stream directly over USB, but I have never tried to do this as my TV is not compatible.

Yes, since LG is not MHL compatible, you need to order a SlimPort adapter for LG if your TV is HDMI.
Samsung and I believe I know Samsung is run off of MHL and they make an MHL-to-HDMI Micro USB.

Are you sure about that, bobby? You're pretty generic on LG with your answer. I've used my LG with an MHL cable fine (not a G2, though, but an Optimus 4X HD).


text:
Application Installed Not Found in Android Folder?
I am not sure if i am missing something here, what i did was i installed an application and i want to batch some files inside the installed application folder. Usually all applications  installed are in the Android folder but the application i installed is not there, i even tried to see the size of the folder before and after installation and no difference.
The application installed create a shortcut and when i run it, it asks to download some data from the INTERNET, that is the nature of the application i am trying to locate.
Can anybody tell me if there is any other folder i should be looking in ?

Depends on the application. In case of applications downloading additional data, some applications create their own folder on the SD card, or they to their appropriate folder in the Android folder on the SD card (either in data or obb), or even somewhere else. Application itself (without the additional data) should normally be stored on the /data partition.

Is there a way to now where is an app is installed ?

Well, first you'll need to see what the actual name of the application is. To do this, find the app under Application menu in Settings app. Look for the name under the usual name shown (it's com.google.android.calendar for calendar app, for example). After finding out, try to search the system by that name, by either using searching engine of the file manager, or doing it manually, by looking in /data/app, /sdcard/Android (look in both internal and external SD card).


text:
Turn off ALL Daylight Savings Features in Android's calendar?
Thanks to Daylight Savings Time (DST) I have run into an issue. I live in Arizona where we don't participate in DST. I'm using the default calendar app that came with my phone. I have an outlook.com calendar that I sync between my phone, my desktop (Outlook 2007), outlook.com (the cloud) and my wife's phone. It has been working great until DST hit yesterday. Now all the Outlook appointments have shifted one hour.
In reading up on the issue it seems that Outlook relies on the computer's time setting to handle the time zone and creates its appointments with GMT +/- your time zone (so for AZ, it's GMT-7) rather than specifying the time zone explicitly (i.e. Mountain Standard Time - AZ). When another computer gets it, it looks at their time zone information on the recipient computer and adjusts accordingly (oh, AZ computer that's GMT-7 and NO DST adjustment). The problem is that the calendar app on the phone (and the new Google calendar app) just read the GMT-7 and then make the DST adjustment, but never factor in that we're AZ which get's no adjustment. So, it changes it to GMT-8 rather than leaving it at GMT-7. If I create the appointment on the phone, I can set the appointment to be GMT-7 (AZ) which then will display correctly across all devices, however I don't always create on the phone.
Is there any way to have the calendar(s)/the phone stop using DST altogether? DST doesn't apply to any of the calendars I have on my phone and I don't see it applying anytime in the future either. (I tried the new Outlook App for Android, but it's still beta - really beta).
I have an Motorola Moto G with Android 4.4.4

On Both my Android devices, the Timezone list has an intentional TZ for Arizona, along with a Mountain TZ. Is the proper one selected? Do you have 'Auto Timezone' selected as an option? If this is the case, it is not the device in error, but the interpretation of the TZ Broadcast you are picking up. Windows, your computer, also has an intentional Az TZ. Is the correct one selected there?

On the phone under setting, Date and Time, there is a setting for "Automatic time zone". If I deselect this option, I can select 'Arizona' which selects GMT-7, Mountain Standard Time. I did this when I first got the phone and it still behaves incorrectly. Windows is also set correctly on the desktop.

Which calendar app are you using - if you are using the Google calendar app, perhaps it is syncing back to Google and screwing up the settings - so check your Google account. Also in the Google Calendar app there is a setting for device time zone which is another thing to look at.

I tried the default Android calendar app as well as the Google calendar app. Both of which display the same behavior. Changing any of the settings I've found for time zone hasn't helped.

The answer I finally settled on was to use a different calendar app. The Android app (even after an OS update to Android 5.1, and an update to a new version of the Android Calendar app) still has this issue. I'm currently using the Microsoft Outlook app and have had no issues with DST changes. My recommendation for people with the issue is to get a different calendar app. This has been a know issue for several years and Google hasn't addressed a solution for it.

I had the same issue on my S4 and finally got it fixed. This is what I did:

Delete account credentials from phone
Delete all data from calendar and email app
Reconfigure account credentials
Sync calendar and emails

After that all calendar events were showing up correct for AZ time zone.

Set the timezone manually irrespective of DST. Go to Settings -> General settings. Enable "Use home time zone". At the Home time zone setting, type "GMT-X" where X is your timezone, scroll to the bottom, select the desired timezone.
Just remember to change the timezone for DST.
EDIT: Also changes the current time perceived by the calendar application, so this does not work.

Turning off daylight saving handling likely will just makes things worse. You don't want that.
For calendar calculations to work, you need to have these things set up correctly:

The computer's system timezone is set up to the correct local time zone and has an up to date timezone database
The phone's system timezone is set up to the correct local time zone and has an up to date timezone database
You created the events with the correct time zone
The format conversions during calendar synchronization are implemented correctly

Now all the Outlook appointments have shifted one hour. ... If I create the appointment on the phone, I can set the appointment to be GMT-7 (AZ) which then will display correctly across all devices

That is indicative that your events are created in the wrong time zone. You should fix the timezones used in the events and fix the settings of the program that created the incorrect events. Giving the timezone might mean that you'll have to shift your existing events en masse.

Outlook doesn't create it with a specific time zone, rather with GMT+/-X. This is kind of where the problem lies. The outlook App for android will get the appointments right on the phone, it's the other calendar apps that are shifting the appointments (android default and Google calendar) despite the phone being set to AZ time zone, they see the appointment with GMT-7 as Mountain Standard Time and then apply DST rather than seeing I'm in Mountain Standard Time, but with AZ applied (as the phone is set) and NOT shifting for DST.

Can you check and describe the exact system timezone settings on all your computers and devices? Also, describe the steps that you usually took when setting up an event in Outlook when setting the timezone and/or what your settings are for Outlook's default timezone settings. If Outlook really creates the event with UTC offsets, then timezones would never have been applied in the receiving side. It's either the converter doing that or your events aren't actually being created with UTC offsets.

Desktop computer: Date and time settings for Time zone: (UTC-07:00) Arizona
On the Phone: On the phone under Settings -> Date and Time -> there is a setting for "Automatic time zone". I unchecked this this option and selected 'Arizona' which selects "GMT-7, Mountain Standard Time."
Default Android Calendar AND the Google Calendar available on Google Play: Any appointment created before DST started gets shifted.
Microsoft's Outlook App (Beta): appointments display correctly.(Id just use this, but it REALLY is beta)
It seems that this configuration would show it's an issue with the calendar app.

I had the same issue on my Samsung Galaxy S4 which started at the onset of DST. Here's what I did and it seems to work. I turned off the Automatic Date and Time feature, as well as the Automatic Time Zone. Then set my own date and time, which for all intents and purposes was already set, and reviewed the effect on my calendar. Things before today were still off by an hour, but who cares! Things today and in the future I just deleted, then re-entered. Now it looks okay!

Device info: Nexus 6p/Android N beta
Issue: Calendar sync off by one hour. Desktop Outlook correct/phone calendar one hour later.  GMT seems to be set correctly and device getting its time from the network.
Solution: 3rd Party app 9 by 9Folders.   My preference is simplicity and sticking with the minimum number of 3rd party apps but guessing if my calendar has gone rogue is not an option

Could you add a link to the app you're recommending? How exactly did it solve the problem?

I used the official Microsoft Outlook app for Android. It's more mature now and working well, they have most of the kinks worked out, and from day one, the calendar didn't have the DST problem. We have several people here at work that we support and they've had the same problem with DST causing issues. In all instances that we've tried it, using the Outlook application alleviated the problem.

I found that all of my calendar entries before the time change stayed with the time zone when they were created. So, I had to go in and change the time zone on each of my entries to Phoenix time.


text:
How to get the installation date and time of application?
I want to find the installation date and time of the applications in my mobile. Where is it stored? In Ubuntu it can be found from the /var/log/dpkg.log. What about Android? I am using Android 4.1.2.

possible duplicate of Where can I find out when I installed an app?

There are several apps to use, but I like using App Detective.
It's easy, concise, and fully detailed. This will tell installation time plus a lot more.

Thanks @Andrew for pic edit, for some reason earlier wrong screenshot got uploaded when posting

http://stackoverflow.com/questions/7470314/receiving-package-install-and-uninstall-events . http://stackoverflow.com/questions/11246326/how-to-receiving-broadcast-when-application-installed-or-removed . http://stackoverflow.com/questions/10888768/package-added-broadcastreceiver-doesnt-work . These are added to comments, because it would make the answer off-topic according to scope of Android Enthusiast. I included these links because they are relevant and useful, but not for end-user.

Thanks. App detective is the best. It was able to determine the date of installation of all apps even the apps installed prior to the installation of app detectives

When every application is installed you get a Package_Added broadcast. You can save that instance of time and date when you receive the broadcast and store it locally and retrieve it. Hope this helps.

I think some sort of log files will be there ..right ?

I have never come across any Api to access these information. I have posted the solution as one of a probable solution.

What method are you using for obtaining Package_Added broadcast? What steps are taken?......this way anybody reading this would be able follow along and duplicate the results. Thanks

You can add a receiver intent: "android.intent.action.PACKAGE_ADDED" in your manifest file and write a broadcast receiver for this receiver. Catch action "Intent.ACTION_PACKAGE_ADDED" ij your receiver and fetch the application installed name by : intent.getData() . Save this as string in database and fetch date as well and save . This way you can get the application installed name and date. I have also a link to show how to create the broadcast for this in my github: https://github.com/kodered/Application-Monitor

Changelog Droid is an app that catches the Package_Added broadcast and logs all installations and updates of packages.  This only works for apps added/updated after it was installed.
You could also look at the creation times of the directories in .../sdcard0/Android/data - though not all apps appear to create a directory there, and I'm not sure if it's done at install time, or first run, etc.


text:
When will my device get the Android 5.1 update (Lollipop)?
Android 5.1 (Lollipop) was officially announced on March 9th, 2015.
You can review the high-level changes at the announcement on the official Android blog.
Of course, not all devices will get this update right away and others won't get it at all. Each manufacturer and carrier often choose to add their custom modifications which tend to delay the official release.
When will each device get Android 5.1, either officially or unofficially, if ever?
See also:

When will my device get the Android 5.0 update (Lollipop)?
When will my device get the Android 6.0 update (Marshmallow)?

This community wiki will list all of the known and rumored dates for devices. If you have an update make sure to follow the format that's been established, and the following guidelines:

Keep devices in alphabetical order listing the manufacturer and model
Specify if the date is confirmed or rumored and link to the source
If there is an unofficial release, link to the site where it can be downloaded

Phones
HTC

One M9: 2015-07 (confirmed)

LG

Nexus 4: 2015-03-09 (official)
Nexus 5: 2015-03-09 (official)

Motorola

DROID Turbo: 2015-07-01 (confirmed)
Nexus 6: 2015-03-09 (official)

OnePlus
Samsung

Galaxy S II: unofficial (Cyanogenmod)  (via | Cyanogenmod Download)

Sony
Tablets
Asus

Nexus 7 (2012 & 2013): 2015-03-09 (official)

HTC

Nexus 6: 2015-03-09 (official)

LG
Motorola

Xoom: unofficial (OmniROM) (via | Official XDA thread)

Nvidia

Shield Tablet (WiFi and LTE): 2015-05-22 (Android Police)

Samsung

Nexus 10: 2015-03-09 (official)

Sony
Other

Nexus 4   Android 5.1.1
Nexus 5     Android 5.1.1
Nexus 6     Android 5.1.1
Nexus 7     Android 5.1.1
Nexus 9     Android 5.1.1
Nexus 10    Android 5.1.1
Samsung Galaxy S6   Android 5.1.1
Samsung Galaxy S6 Edge  Android 5.1.1
Samsung Galaxy Note Edge    Android 5.1.1
LG G2   Android 5.1
LG G2 Mini  Android 5.1
LG G3   Android 5.1
LG G Flex 2     Android 5.1.1
Sony Xperia Z series    Android 5.1
Sony Xperia Z3  Android 5.1.1
Xperia M2   Android 5.1
Xperia M2 Aqua  Android 5.1
Huawei Ascend Mate 7    Android 5.1
MOTO X (1st Gen)    Android 5.1
MOTO X (2nd Gen)    Android 5.1
MOTO G (1st Gen)    Android 5.1
MOTO G (2nd Gen)    Android 5.1
MOTO E (1st Gen)    Android 5.1
MOTO E (2nd Gen)    Android 5.1
MOTO Droid Turbo    Android 5.1
HTC One M7          Android 5.1
HTC One M8          Android 5.1
HTC One M9          Android 5.1
HTC One Max         Android 5.1
And if your device is not among the listed devices then you need to wait for an update and most of the mobiles wont get updated even though you wait.
if you are an android enthusiast then its better to switch on to latest devices.


text:
How to send and reply to SMS shortcodes using Google Hangouts on Android 5.0.1?
I am on a Nexus 4 running Android 5.0.1 and using Hangouts. I cannot figure out how to send an SMS to a shortcode and how to reply to it. I have tried adding a "+" to the shortcode, and it lets me send it. However, the response comes in a different thread and does not let me reply. Has anyone gotten short codes to work with Android 5.0.1 and Hangouts? If so, then how?

On my phone, or maybe carrier (blau.de), it will let me sent to a short code with or without the prepending the + (which shows it sending as +4955555 or +55555 respectively), but neither are received.


text:
How do I turn off the Google Voice typing on htc desire 510
I'm having a problem I change my oil changed I guess D card in my phone and now to send a text message all I got is Google Voice typing and I don't want it how do i turn it off

Try to open Settings - Language & Input (or similar), then see if there are other input types. Otherwise, download some keyboards.

My HTC Sense Input in the apps was disabled. Hope this helped.

In your phone's settings, look for Input settings. It might come under Languages or Text Input. Look for the list of keyboards, and de-select Google Voice Typing. Note that your phone should have another keyboard installed for you to be able to switch to something else.

I caused the same problem to my Desrie 510 as I disabled some apps.
Go to phone settings, scroll down to Apps, go down to make sure HTC SENSE INPUT is enabled.


text:
Android Bootloop No recovery mode - only viberation
Phone: Huawei honor 3c
I downloaded Emotion UI 3.0 for "probably" the wrong set form here offical site.But it was installed properly. Then there was an update of same emotion UI, which on installation put the phone in bootloop on restart. This is what phone does

On pressing power button, it vibrates without going into recovery mode or showing logo - just a black screen
The phone vibrates after every 15-20 seconds, which is probably an indication that it is restarting again and agian
Pressing Power button/volume up/down keeps does not make any difference
Partition is not shown in my computer (when connected to laptop)
Using ADB: Command adb devices or adb wait-for-device do not list any device
Windows device manager shows "MediaTek PreLoader USB VCOM(Android)(COM5)" under Ports (COM & LPT) which indicates that phone is detected but before anything happens it reboots

I've gone through several threads on this topic and nothing helped.
Please help.

The proper way to browse Chinese/Russian sites is this: Instead of browsing the url directly, you put the url in the Google search, then click that small link called "Translate this page" besides that link in the result! You would have not made a mistake and selected the proper ROM for your device.
Coming back to the topic, I've flashed stock ROM on two MediaTek based phones recently and based on the symptoms (VCOM USB Driver appearing and disappearing), I can suggest you to first download the correct ROM for your device from here (Look down in the section called SP Flash Tool Flashable ROM) and then use the SPFlash Tool to flash it.
If you keep the SPFlash Tool open before inserting the USB cable, the tool will detect the phone and start communicating on the VCOM port and the connection will be stable. After that, you can flash the ROM back to your device.
Note: This is going to wipe your phone completely and erase any existing data on it. If your phone is totally hard-bricked, I can't think of any way of recovering the data unless you take it to the service center.

Try USB JIG:
Had a issue like yours. I have heard of USB jig but couldn't find any all around Nepal. I tired by myself (finding easy guides via internet). At this first attempt I could n't. Maybe I wasn't that good. But Maybe you can find around to buy or (ebay/amazon). I think it would most probably work for your case.

Take out your battery for 15 seconds and then try booting it into recovery (power + vol down or power + home + vol down) Hope this helps

did that already .. no , its not working

You might want to check out riff JTAG box


text:
Reasonable way to copy files to a new SD card using a Mac
I have a Mac and want to transfer about 30 GB of data to a larger SD card for use with a new Android phone.
The phone in question is a Galaxy Stratosphere II.
There doesn't seem to be a straightforward way to do this.
So far I have tried

Copying using Android File Transfer, with the phone connected via USB.  This seemed to work, running at about 10MB/s, but didn't retain the file timestamps, which is unacceptable to me.  Since the app seems to only provide access via a drag-and-drop interface, I don't think there's a way to use it to copy files while retaining timestamps.
Copying using scp -pr via SSHDroid running on the phone, via another wifi network.  This also worked, retaining timestamp information, but was painfully slow (<1 MB/s).
Plugging the SDCard into my MacBook Pro.  This doesn't work: it is not a recognized filesystem.  I tried using a third-party SD Card reader also, with the same result.
Using adb push to copy files over a USB connection.  This also doesn't work, even when I add /. to the end as suggested by this answer.

simple-mtpfs might be an option, but the given build instructions reference non-existent executables.
Alt Mounter also sounds like it does what I want, but is indicated as being "***EXTREMELY BETA***" and thus is not something I'd prefer to trust with my important files.
When I upgraded a different SD card, I experimented with copying files to the SD card in a connected reader via a Linux VM.  This seemed to work but would mysteriously cut out after copying a fraction of the data.  I think that time I ended up just using scp and leaving it to run for a day or two.
I'm continuing to dig into this, but perhaps someone can save me some time.  Is there an easy way to do this?

Both OSX and Android provide basic POSIX utilities, so I ended up going old school on this one:
$ tar czv "$PATH_TO_ORIGINAL_SDCARD" | split -b 2048m - sdcard-

This command creates 2GB-sized chunks of an archive of the sdcard contents, with names like sdcard-aa, sdcard-ab, and so on.  The 2GB split is necessary because Android File Transfer can only copy files of 4GB or less in size.
Then I copied the files over to the phone using (surprise!) Android File Transfer and recombined and unarchived them in Terminal Emulator* using this command:
$ cat sdcard-* | tar xzv

*: it was actually a  bit more complicated than this.  Gory details:
So actually Android doesn't really come with basic POSIX utilities, or at least if it does, they are not readily available to the Terminal Emulator app.
I thought that it did because SSHDroid provides these utilities via busybox.  I suspect that Android doesn't allow processes to execute files that their user does not own; this would explain why there is no app available that installs busybox for non-rooted phones.
busybox is a utility that can execute any of a large number of POSIX commands, depending on what name it is called with.  People arrange for it to be called with names other than busybox by creating symbolic links to it with names like, for example, tar.
However, it turns out that it is possible to install busybox in your own Terminal Emulator app home directory.  So that's what I did.  Steps:

Grab the file busybox-android from the eponymous github project.
Get it onto your device (see above!).  Put it somewhere public that you'll have access to from a Terminal Emulator session.  Just call it busybox.
Start a Terminal Emulator session.  Make a directory ~/bin and copy the busybox file from the public place you put it to that new directory.

Since the cp command is not available in a Terminal Emulator session (!) do it this way: cat $PATH_TO_BUSYBOX/busybox > ~/bin/busybox

Now cd ~/bin and create a symbolic link: ln -s busybox tar.
Now you should be able to cd /storage/extSdCard/ and concatenate and extract the contents of your archive files to it using cat $PATH_TO_ARCHIVE/sdcard-* | ~/bin/tar xzv.
It will be extracted with whatever prefix directories were the path to the sdcard contents when you created the archive set, e.g. /Volumes/oldphone/.  So now move everything from that subdirectory (we'll call it $OLD_SDCARD_CONTENTS) to the root of your current SD card.

sh (the shell used by Terminal Emulator) doesn't seem to have any way to select all the hidden files in a directory, so I ran bash to do this.  Under bash, mv $PATH_TO_FILES/.[^.]* $DEST will move all hidden files.  Remember that you have to access bash via a symlink to busybox, or just do this part via ssh (which is actually what I did).

Whew!  Glad that's over.  I really hope I don't end up accepting this answer; there should be a much easier way to do all of this.
Of course, I could have just untarred the archive in an ssh session from my computer, but this would have required me to run my computer for however long it was going to take.  Plus, like, of course busybox should be available in Terminal Emulator.


text:
Repartitioning Android phone's internal memory
I have a Micromax Unite 2 on Android 4.4.2 KitKat. The original internal memory was 8 GB, but now it shows me only 1.67 GB.
I used a third-party app to see what happened. It shows me unallocated space in 4 different partitions, each one is 700 MB. Other partitions are system, userdata, cache, etc.
Is there any command to do that from the terminal? How to allocate that space?

I'd better keep my fingers off that unless I'm very firm with the topic (and then I'd not have to ask for "how-to" ;). Changing that partitioning might break future system updates which expect it to be as it is now. Better check with our insufficient-memory tag-wiki for alternatives.

Do not attempt to correct this, mine is having the same problem. So, I've started using an SD card. Once I tried to correct this, my phone went dead. Luckily it was under warranty.
If it is partially serviceable, the service centre will figure out that you have used third-party software. Be careful.


text:
Which is faster '1GB RAM with 64 bit' or '2GB RAM with 32 bit'
I planed to purchase new mobile. I confused with processor and RAM.

Quad-core 1.2 GHz Cortex-A53 (64 Bit) 1GB RAM
Quad-core 1.6 GHz Cortex-A7 (32 Bit) 2GB RAM

Which one will be faster?

The second one has more RAM and a faster processor (and a newer model one too). The 32/64 bit isn't really a factor IMHO in the decision. If a device had over 4Gb of RAM then a 64 bit version may be useful, but only in certain circumstances. Since Android is Linux it's really even less of a concern again. A full answer to this would be far too long, and broad for this site. The second one is better, but there is a degree of opinion in that too.

Given the size of RAM you are talking about here, 32-bit 2Gb would potentially lead to better performance assuming a well set up and tuned operating system is installed on it. The advantages of 64-bit are that it can handle more computational values in memory, but if you have less memory to work with your advantage is diminished. Also bear in mind that if an application is not designed to take advantage of the 64-bit architecture then the whole arguement is moot as it would still behave in a 32-bit manner, once again in this instance more RAM would prove more advantageous.


text:
How does my tablet know when I open the cover?
I've recently bought a magnetic cover for my tablet (a bamboo smart cover for Asus Transformer Pad TF303CL). What puzzles me is that whenever I open the cover, the screen turns on. How does the tablet know when I open the cover?
The cover isn't connected in any way to the tablet, AFAIK. The only way that I could think of is if the tablet is using the light sensor, but then why doesn't it turn on the screen when I use my finger to cover the sensor? Or when I turn the light off and then on again?

Also, related: http://android.stackexchange.com/questions/64721/how-does-samsung-s-view-flip-cover-work

@AndrewT. The questions are related but not exact duplicates. Before reading the answer I didn't know the tablet had a magnetic sensor (or other kind of sensors) at all, while that question is all about how that sensor work (given that it exists).

No worries, it is just for a general pointer for devices that support this. I don't know if there are other method, but most of them are using magnet, albeit might have different position on each model.

Your device will have a little magnetic sensor hidden under the display that can trigger the display to turn on.
A small magnet lies embedded directly under the surface of the smart cover and lines up with the corresponding spot on the device. The device detects the removal of this magnet when opening the cover and turns the screen on, and can also put the device into sleep mode when the cover closes.


text:
Is there a way to resize text in Firefox for Android similar to the Text Resizer addon in Dolphin?
Does anyone know if there is a way to resize text in Firefox for Android similar to the Text Resizer addon in Dolphin?
Cheers,
Sean

Help us help you. You should describe what the Text Resize add-on does and what aspect of the add-on that you want to replicate. Not everyone here had used Dolphin and the add-on or had the time and willingness to install them just to answer your question.

With that said, did you try "Settings > Display > Text Size"?


text:
How to safely activate LTE on S4 mini (GT-i9195) running 4.2.2?
I'd like to activate LTE on my device: S4 mini with LTE (GT-i9195). There seems to be ways of doing this, but they seem rather "scary" and experimental at best:

http://www.androidauthority.com/community/threads/how-to-activate-4g-lte.16160/
Do you know other Android keypad commands (dialer codes)?
http://forum.xda-developers.com/showthread.php?t=2734094

Is there are a better or "official" way of activating LTE on this device??

Call the Service Menu : with *#0011# and then hit (menu) Back and then (menu) Key Input and enter Q0000 and wait.
Select UMTS -> Debug Screen -> Phone Control -> Network Control -> Band Selection -> Automatic Done.
May be restart the phone.

This worked for me, but I had to power off and on again.

Worked for me after I had accidentally clobbered my settings on my S4 mini.  I didn't have to restart the phone - as soon as I completed the last step SMS messages started to arrive.  My phone is a refurbished unit that seems to have started life as an AT&T (possibly locked) phone.  As a result I can't update android (it keeps trying to get the update from an AT&T server and fails), and there are some cells it won't work in.

This worked for me - i can see the 4G icon when not on wifi. However, in Settings > More networks > Mobile networks > Network mode, there is no new item like 4G or LTE,..it is still selected at 3G/2G (atuo connect).

Here's what I did in my dual sim J1, trial and error...I entered Q and numbers and it didn't bring up DEBUG MODE so I went in Menu > Select> I entered row number 1 and it brought up the Debug mode.
So I followed it up to Debug Screen -> Phone Control -> Network Control -> Band Selection.
It had for sim slot 1 and 2, I selected sim 1 and it had LTE 1 and 2.
Activated LTE ALL for 1 and LTE40 for 2 (LTE 40 was the only option for LTE 2).
Sim 1 went out of service so I waited, then restarted phone then both sims wouldn't work anymore. I didn't tamper with SIM 2 by the way.
So be careful...looks like phone is bricked or something now.

Not a brick. in theory, you can just bring DEBUG MODE back up and undo the changes to the bands. +1 For experimenting

There's nothing scary about that, as long as you keep track of what you're doing and not pushing the wrong buttons. Are you sure your provider even offers LTE? Also, I don't think the 4636 works on that model. You probably need to navigate through the Service Menus with *#0011# and then hit (menu) Back and then (menu) Key Input and enter Q0000 and wait...
Now, depending on where you bought you phone (EU, US etc), you'll have full access to hundreds of ways to mess up your phone settings and even brick your phone. So I can't tell you how to find the LTE specific menu. But there are several LTE related items in the CDMA sub-menus.

EDIT: 2015-03-12
For a more technical hack for enabling LTE bands, please see the following two XDA posts (and threads) here and here. Please note that this involves using Qualcomm QPST and QXDM diagnostics tools.
EDIT: 2015-09-21
You need to be rooted. The easiest way to do this, is by these 2 steps:
1) from a root command line (shell).
$ su
# setprop persist.radio.lteon true

2) Then go to the Samsung Service Mode menu, by dialing the shortcut *#2263# (BAND). There you select LTE Band Preference and then LTE ALL. (To undo, either select "Automatic" or "WCDMA Band Preferences" -> "WCDMA ALL".) Finally reboot your phone.
If these doesn't work you may also try dialing *#58366#* (LTEON).

It's scary. Fear of bricking or breaking your (subjectively) expensive device can be a dealbreaker for experimentation. If $$ weren't a limiting factor and hence devices were ample in supply: no fear of course...

What is more concerning is why you think you have to activate LTE, if you already bought an LTE enabled phone? I still think this is a problem of your network provider not having it activated. You might need to get an updated SIM card from them. Do ask them about this.

I use *#0011#
Then press menu -then press back
Then press menu- then press key input
Type Q1187245 and enter to activate lte only
Or
Type Q1187211 and enter to set automatic
It takes a few seconds to respond


text:
How to know which Gapps version is installed?
How to know which Gapps version is installed in official Roms. I've a Archos 45b Helium with Android 4.4.4 installed.

If they work then they are most likely the 4.4 Gapps, any further app updates will be done via the app store.

I need to reinstall play store. May be I've to uninstall the package but the structure of the directories seems not the same following the version you use. There is a delete-list.txt in the Gapps package. Is this list handled by any script or I've to remove manually?

You could (usually) just install the Play Store via APK. Android Police host the latest updates, and I've used them for years. Or you could just reflash the 4.4 gapps package...I feel like there's more to this question though, other than just installing the store?

Thanks for comment : Play store installed via APK crashes all the times. I tried to flash the 4.4 gapps from version pa_gapps-modular-pico-4.4.4-20141103 to  pa_gapps-modular-pico-4.4.4-20150308-signed.zip all the I've got the same error : failed to verify whole-file signature

In SDK package of Android, there's a little tools called "aapt" which gives you information about the version:
#~:./aapt dump badging GoogleServicesFramework.apk
package: name='com.google.android.gsf' versionCode='19' versionName='4.4.4-1288895'
sdkVersion:'19'
targetSdkVersion:'19'

#~:/aapt dump badging GoogleLoginService.apk
package: name='com.google.android.gsf.login' versionCode='19' versionName='4.4.4-1227136'
sdkVersion:'8'
targetSdkVersion:'17'

#~:/aapt dump badging GmsCore.apk
package: name='com.google.android.gms' versionCode='5089038' versionName='5.0.89 (1307510-038)'
sdkVersion:'9'
targetSdkVersion:'19'

I did these commands in a terminal on my linux workstation, after exported the APK files from my /system/priv-app folder was in my phone.


text:
Wi-fi turns on when I boot my phone
For the past few days the wi-fi on my phone has been automatically turning on whenever I boot up my phone (Samsung Galaxy Light, SGH-T399) when it's fully turned off or restarted. To address the last time someone asked, I have tried turning on wi-fi then restarting my phone, and it still loads with wi-fi turned on. I also don't have any automation apps installed. I have only installed one new app recently, about a week before this started (GroupMe), I have any wi-fi settings turned off for the app, and the issue continues with the app uninstalled.
Is there a way to keep my phone from turning on wi-fi when it boots?

This seem to be a typical Samsung crap-ware issue. Are you sure it even worked before? Perhaps you never really noticed it before.


text:
Media sync (MTP) not working on LG G2 LS980
I recently did whatever possible to run "Google Now" on my LG G2 LS980. I updated Google App, installed Google Now, fiddled with don't-remember-how-many settings.
I made it (but not as expected). But as a side effect, the Media Sync (MTP) is not working on the phone. Means, whenever I connect my phone to a PC / laptop, my phone doesn't show up in the Windows Explorer.
Just in case, the settings are as under :
Settings > PC Connection > Select USB Connection  Method > Media Sync (MTP)
My phone is a rooted one, running on Android 4.4.2 custom ROM.
Any help please.

Uninstall LGE Mobile USB Composite Driver (don't forget tick Delete driver software).
Plugin your LG Phone via USB then click "scan check for hardware changes"
Then,,,enjoy ;)


text:
My Wi-Fi & mobile network location is horribly wrong!
I have enabled network location to use features of google now on my phone- here's what happens, once or twice a week: instead of my location, which is Milan, Italy, I see myself (and get advice for restaurants, museums, currency exchange) in Belgrade, Serbia.
If I turn on my GPS, then I "get back" home. If, with only network location active, I try to find my phone, it is always at the same address, over 2000 miles away, in a different country.
How does this happen? Should I worry about this? I find no possible way to ask Google if it is their problem- any advice?
Thank you!
Simona

It may be your wifi proxy, some wifi routers connect to a network from another country, meaning your GPS thinks your'e in another country due to the connection.


text:
Install Samsung Galaxy S5 system on Star Note 3 (Samsung device clone)
I had bought a Japanese phone that seems to be rooted, but the Android version of the root is very buggy. So, I wanted to change it to the system of the Galaxy S5. I was wondering was it possible? I believe the phone is a Star N9800 Note 3 Style running on Android 4.4

You can load a custom rom (if the bootloader is unlocked).  What have you tried?  What are you looking for from us?

I just realized that your phone is not Samsung Galaxy Note 3, but Star Note 3, a Samsung clone. Edited to clarify the issue.

The system of the s5, also it is a note 3?
Boot your phone into recovery mode (youtube how to do this for your specific model)
Assuming there is no custom recovery installed, wipe the phone to factory settings and it should remove the root and revert the phone to stock.
Alternatively, you could add a custom recovery to it, and flash a new ROM


text:
How to find the list of servers accessed by a webpage on android?
On my desktop Firefox I can view the list of servers any given web page accesses either by checking with Firebug or by pressing "Ctrl-i" Page Info > Media. Out of the two Firebug is of course much better, it gives a detailed list in the Network panel.
How would I do something similar on android? I don't mind using another browser either, so far I haven't found anything similar on Dolphin or Firefox.
What I'm really after is getting a list of ad servers for my frequently viewed web pages so that I can block them (I rooted my phone so I can edit /etc/hosts). So if I need to use another browser is not a problem, I'd just use it once, get a list of ad servers, block them, and then go back to Dolphin (which is what I use normally).
It just seems odd that even though this feature is present in all desktop browsers it is completely missing in android browsers.

That seems like a lot of manual work. Why won't you use one of the published hosts files to block ads? Try mvps.org, or similar.

If you've just opened a single tab, that should be the same as "list of servers an app accesses" (Firefox). In that case then: How to listen which URLs an app tries to connect might be interesting for you.

@wbogacz: it's not that much work actually. I regularly read about 2-3 news sites, each usually uses about 8-10 ad servers, so we are talking about cataloging about 20-30 domain names. And the published hosts files usually contain a lot more which seems like an overkill.

@Izzy: it looks like to me the thread you quoted only gives tips on how to obtain the IP addresses and I need the domain names.

For blocking the servers that should be sufficient as well – an entry like 1.2.3.4 127.0.0.1 blocks the server as efficiently ;) But yes, that app goes by IP.

you need sniff packets when open one URL on browser,
so, use Burp Suite

(with setting proxy between android device and burp proxy)

also you can use Wireshark for sniff packets and receive send/receive packet between Client/Server, and ,
finally receive ip's.
i hope, this help you.

I guess this method gives you the IPs only but I need the domain names exactly because in /etc/hosts I'll associate the IP 127.0.0.1 with these names.

i think this is help you : play.google.com/store/apps/details?id=com.eolwral.osmonitor but with wireshark you can get server ip.and for your job os monitor is good.but if you have any question about this scenario, reply to me.goodluck

You do not need to get a list of servers, you can use  Adblock Plus. And you are using Firefox on your desktop,  and  Dolphin and Firefox on Android, just like I do.    Adblock Plus works a lot better because on hosts file you need the exact domain name (one with www, without www, a different country etc).
The Hosts file provides additional protection on your desktop system and is checked before anything else.  (Blocking Unwanted Connections with a Hosts File)
Since your goal is to block ads install "Adblock Plus" APP on your Android from adblockplus.org;     Adblock Plus for Android removed from Google Play store, but use the first link to get it directly from adblockplus.org
To use the hosts file from mvps.org  you would need to be rooted.    Since you are rooted you would not need to use a proxy server.
For those of you, and like myself who are not rooted, you don't have access to change the hosts file, but you can use a proxy server,  the directions are within Adblock Plus, and you can check status of whether Ad blocking is active by dragging down from the top of your Android.   That is different from the color of the ABP icon on the status bar at the top, which indicates whether you have turned it ON or OFF.
The good news: on the Android version, the APP  applies to all of your browsers; whereas, the "Adblock Plus" Firefox extension only works on Firefox desktop, and you have to install other versions or different apps on other desktop browsers.
The bad news: on Android  there is no supplementary Element Hiding Helper for Adblock Plus,  and it would probably not be possible to make the necessary selections with access to widen/narrow a selection.
//  David McRitchie


text:
Phone stolen, got new phone & phone number, need old whatsapp CONTACTS back
so I have NO way to get my old sim card, my phone was stolen and I can't get my old contacts either. How can I change my new sim card number to my old one, within whatsapp? all I want is for my old Whatsapp contacts to be able to find me. I have a very important person that I need to contact and the only way is by that person seeing my profile back.
Help please,
Thanks.

Nothing of that is specific to Android, so you're much better off with WhatsApp support for that. Apart from which: Have you considered using our search function before asking? 77 related questions, 30 having answers.

Contact your provider to get the old number back. You can let them send a new simcard to you with the old number and block the old simcard. You don't have to buy a new one.


text:
What is this notification icon with a square and 2 hills? It won't go away
I have an icon on the top bar of my phone that looks like a square with 2 hills. It won't go away when I clear it.
It looks like the first icon on the top in this image:

It looks like the screenshot icon, if you expand you notification drawer do you see anything related to having taken a screenshot?

No not in my gallery either. It's just there and wont clear lol

Yes, is the screenshot icon

As stated in the comments, this is the screenshot icon.
If you pull down the notification bar, you should see a notification that says "Screenshot is being saved" (it's not "Screenshot was saved" because you can't swipe it away and it's not "Couldn't have screenshot" because it doesn't have an ! in it).
It's possible you accidentally hit the key combination to take a screenshot (like Power + Volume Down) and that made the notification.

Hold the icon for a couple of seconds and enter the application manager.. Find out which icon it is.. And force stop it .

Although I can't see the image, it sounds like the NFC icon.  This was added as default on in lollipop but you can turn it off via settings.


text:
Centrally managing large number of android tablets
I'm involved in a project that will deploy approximately 400 android tablets. All the devices are on the same network. Is there an easy way to centrally manage the following:
Creating and updating policies to restrict users from launching apps or updates
Update a custom written application
Set device into kiosk mode and auto start an app
Any help would be appreciated.

I've just put the correct tag on your question. You might wish to check other questions using the same. Probably relevant as well is the tag remote-control. Related question: centrally manage corporate android devices (and the ones linked to it).

VNC server + shell script or try some thing like air_droid etc
Install in each tablet
enjoy :)

Welcome to [android.se]! Could you expand this answer, like example of how to use shell script, and why and how Airdroid could help this problem? On Stack Exchange, answers are not only for the asker, but also for future readers. Not all people know how to use them (well, I don't). Thank you.

If you have the resources to write the policy code yourself, to achieve this, Android has an API for affiliation to become device administrator.
If you want an out of the box solution, there are a number of applications on the Play Store that does this. You should evaluate the balances between cost, ease of use, and required functionalities.


text:
How can I reset my device without losing images on it?
I know I can backup and restore. But I just don't want the images to be deleted (either phone memory or sd card). Meaning, have the folder of the images remain, so that Gallery can read all the images from it after reset.
I want to reset because after an upgrade to Lollipop, com.android.phone doesn't work. So I tried several options, but could not solve this, so now I'm looking to reset

Depending on the device and ROM: either all data stored on your "media storage" (i.e. internal and external SD card) stays untouched, or all storage will be pruned. You can play Russian Roulette trying to find out. But the safer way is to backup at least internal storage/SDCard, and take the external SDCard out. B'Hazlacha :)

Factory reset does NOT erase any user data. It just erases system/data/data folder and cache. This is the reason why sometimes problems doesn't get fix after all: Because is not so low level as we'd like.

I don't think that's correct. I believe a factory reset WILL erase user data on the device itself. It won't affect the SD card though. If there are files/photos/etc. stored on the device itself these will be lost when doing a factory reset.

@bmdixon You're wrong. The internal storage has, let's say, two parts: The one needed for the system and the usable by the user. Last one, usable is treated by Android as an SD too, exactly as it does with the physical removable SD card. Factory reset only erases the first one, and not absolutely, because in that case you'd get no operative system. It just erases data and cache folders.

The [tag:factory-reset] tag wiki and many other questions on this site appear to be saying that a factory reset will wipe user data. If there is a /internalsd partition then this won't be wiped but /data is wiped AFAIK. Which on a device such like a Nexus 5 would result in all user data being deleted.

By data you must understand applications and its corresponding files like Shared Preferences, Databases and Cache. And NOT user files like Photos or Videos stored on DCIM folder, as sample. Even Whatsapp backups will resist a Factory Reset. You really should try it first before discussing.

I factory reset my Nexus 4 before selling it. ALL user data (apps, settings, photos, videos etc) was deleted. I was simply trying to highlight a potential issue with your answer. As Izzy said in his comment on the question it may vary between devices so you may be correct for non Nexus devices. I was simply trying to highlight a potential issue with your answer, I'm not going to argue any further...


text:
"Unfortunately the process com.android.phone has stopped" after upgrade to Lollipop on my S5
I upgraded (over the air) to Lollipop and now the phone process keeps crashing. I tried to wipe its data (actually, in Application manager there are 3 'Phone' apps), tried turning off (including taking out the battery), tried deleting the cache.
Is there something more I can do except reset?

This kind of behavior appears whenever I upgrade or downgrade to a certain Android version. All I do after OTA/flashing is Boot into Recovery, clear the Cache and the Dalvik/Art Cache. That's it. It works usually. I don't know about lollipop though. Worked for Jellybean-Kitkat and Kitkat-Kitkat. If you ever find the reason for such beheviour, do post it here.

how do i delete the dalvik cache (my phone is not rooted)?

Boot into Recovery, depending upon your model there must be some power+Vol Up type of key combination to boot into Recovery. Once you're there, you will see the option to clear Cache as well as Dalvik/Art cache.

There is no option for Dalvik cache in my recovery (the stock one)

Then go ahead with the simple cache.

Supposedly L is no longer using Dalvik, but Art, so just try it or run the upgrade again.

how do i run an upgrade again?

@IttayD you can reinstall it by using your computer.

I had the same problem when I updated on 2015-04-09. I also had three "phone" apps in Application manager and an error was appearing every minute. Stopping phone app did not help, erasing the cache did not help. But I was able to do a backup and then factory reset (Settings -> Backup -> Factory reset). Then I restored from backup and I had to manually put all the programs on the home screen.

You can reinstall Lollipop by installing ODIN onto your computer.
and then you download lollipop, that is compatible with odin, for your S5 HERE.
Your model number for your S5 on the phone underneath the battery. You search that on the website.
These are the steps you do next

Turn off phone.
Hold the Volume Down Button, Home button, and Power button.
Ignore the warning message and press the volume up button to continue.
Connect Phone to Computer
Allow computer to install drivers.
Extract the ZIP file of Lollipop into the ODIN FOLDER.
Open ODIN
Click on the PDA button.
Select the extracted *tar.md5 file.
Click Start!
You should be running Lollipop before you know it!

I tried this already. Didn't solve my issue.


text:
How to tell what's restarting my phone?
I have Cyanogenmod 11 on a Samsung s3 and sometimes the phone restarts itself. It doesn't do so "stably" enough for me to notice what causes it, but there should be logs of what happened right before restarting (and what caused it).
Where can I find it?

I'm unable to understand the meaning of stabely and couldn't find it in my Oxford Dictionary. Is it a typo or a real word?

@Firelord I think he means stably (from stable), so it's definitely a typo.

Found this info from other forums, hope it helps.  Possibly a bad app design, water damage or a bad battery.
"Restarts are kernel panics. It happens regularly and at random in Android 2.x but is hardly seen in versions 4.x and is caused by many things. One is a full dalvik cache and other times 3G can cause it via a corrupted PRL list update that crashes the modem and takes the kernel with it. (Turning off 3g or if running a custom ROM like CyanogenMod turning force 2G networks on and see if this cures it). I haven't had random restarts on 4.x but deal with them at least twice a week in Gingerbread. I always blamed it on Gingerbread having poor task management built in while 4.x patched it. On one device the 3G auto-PRL GSM mode caused it, while using EDGE and no auto-PRL fixed it but at the expense of speed."
  From: http://www.helpbuildweb.com/post-2072506-My-Android-phone-get-automaticaly-restart..-whats-the-problem-and-how-to-fix-it
Also this seem to be good http://vinner.hubpages.com/hub/Android-phone-is-restarting-How-to-solve

Can you post the link of the forums you visited as a source here, that will be great.

I can't find it right now, I'll look a bit more later, or edit the answer.

If CM has implemented it correctly, dmesg should have 2 copies. One current and one from last reboot. You'll have to find where your dmesg copies are located. Try with:
find / -iname "*dmesg*"

Being root when using find is always an advantage.
EDIT: The other option is to look at the kernel messages. They are called "kmsg" and can be found in:
/proc/last_kmsg
/proc/kmsg

But these are special files, so in order not to block your terminal when reading you have to use cat like this:
cat /proc/last_kmsg |less

and you probably need to be root. This is not always present or updated, so you may need to change the contents of this file /sys/module/printk/parameters/always_kmsg_dump from "N" to "Y".

One is in /system/bin and the other is in /system/xbin


text:
adb backup non-rooted before changing android version
I am planning to change from Lollipop to KitKat on my non-rooted Nexus 5.  I'd like to keep as much data and settings as possible.
I've used adb to back up my sdcard.
I'd like to use adb to backup apps and settings. One adb option is system.  I would guess that I should not back up system if I'm planning to switch Android versions, but am not sure what system means to adb.  What, exactly, does the system option do?
If I don't need data (because I've already pulled data from /sdcard/) and system would not be wise under the circumstances, would
adb backup -apk -noshared -all -nosystem

be appropriate? If not, what should I use?
I've read a fair number of threads here, including Full Backup of non-rooted devices, so if I've missed something, please link to the thread answering this.
Or should I rely on Google backup and restore (turned on in settings) for this?

You're good to go with this command. This command will take the backup of all User Installed Apps Apk's and its data which involves Apps custom settings too. Go ahead. To Adb system means backup system apps apk's and the system's app data. You don't need it here.

If you're ever unsure or curious to know what exactly ADB backup through the command you executed, download android_backup_extractor from Sourceforge to extract backup and see it. Its always safe, just a bit time consuming.

possible duplicate of Full Backup of non-rooted devices

@Firelord system apps are parts of the OS rather than user apps, such as gmail?

@RyanConrad It does not appear to cover two issues: whether system should be included if I'm changing android os and whether google backup and restore covers everything not on sdcard.

@foosion : Gmail is a system's app for most of the Stock Roms. The command you mentioned won't backup anything that is included in popularly known as gapps aka Google Apps. I couldn't understand what you meant in your last comment to me.

@Firelord You answered my comment, which is whether gapps are system apps. It would seem I do want to save them. My other question is how Android backup & restore compares to adb to back up apks and settings.

There is a command - adb shell pm list packages which will list all the installed (System+User) apps package name. You can take an individual backup of them too, but my experience never yielded positive results whenever I tried a system app, but always worked for individual user app. Give it a try like this :adb backup -apk packages com.google.android.apps.plus. It will backup Google Plus into backup.ab file. Besides, in your original command, add -obb as well to backup obb files, if any.

@Firelord Oddly, the -obb backup is slightly smaller than without that switch.  I'll start a separate thread on backup & reset compared to adb, as it seems distinct.  Thanks for the help here!


text:
Is there a way to export Google bookmarks to another app?
I currently switched to firefox and would like to keep my Chrome bookmarks, but I can't find a way. Also I'm looking for a bookmarks editor/organizer. Are there any practical solution? I can't find any on the net easily.

Are your Chrome bookmarks synced to Google?  It might be easier to do this on a PC.  Start Firefox, run the import wizard to import Chrome bookmarks, set up Firefox Sync on both desktop and mobile app, and you should be good to go.


text:
adb v backup & restore
Two ways to back up apps are adb (for example, adb -apk -noshared -all) and backup/restore (settings - backup % reset - Backup my data, also known as google backup).
What's the difference? Is one preferable to the other if you want to backup and restore all apps and settings?
Full Backup of non-rooted devices contains a lot of information on what you can backup with adb, but only links to info on google backup.
What info does Google backup? is linked, but seems out of date.  Claims I've read for google backup range from it does a good job of backing up settings, apps and related data to it does very little and is not reliable.


text:
Nexus S won't turn on HELP!
i got issues with my Samsung Galaxy Nexus S i9023. It's new mobile. After 2 months i was msg's with my friends,then my phone just restart and its was fine for 1 min. then it turn off. And when i try to turn it on it's showing NEXUS Logo (https://www.youtube.com/watch?v=lWA6WFi3-RM) like in this video. And its can take hours but its will never turn on. I tried to use bootsettings (http://nexusshacks.com/wp-content/uploads/2011/02/nexus-s-root-6.jpg) recovery. But it wont help at all same way.
Thanks and answer soon.

Mine is an I9023XXKI1 - but it's not new. I bought that in Dec 2011. I'm running it with CM11 and it hangs now and then, too. Taking out akku and putting it in again fixes it.

@ott
Hey,can you be more specific.Taking out akku ? you mean battery? I already tried it and replace it with other.

Not replacing. Just taking it out, then putting it in again and boot. The classic hard boot like on a desktop.

@ott-- Did it for like 10 minutes,nothing. My Computer doesent recigonize when i USB it. Can i somehow install a new OS ? And i tried everything in boot menu. Nothing helps.

Safe Mode or Hard Reset. What about them? Did none of them worked? A Similar question where the screen is stuck at boot logo was asked here - https://android.stackexchange.com/questions/64248/android-tablet-stuck-at-boot-screen

Hello its worked,one last question my speaker is stopped working.

You need the binary image of recovery and ROM
Now start in fastboot mode
Flash the recovery
Then flash the ROM

The recovery and ROM can found on manufacturer's website. However, it is a good idea to try to claim the warranty as it's still 2 months, though I think they will not fix it as you have rooted your device.
Issue the following commands on the terminal:
fastboot devices
fastboot flash recovery recovery.img
fastboot flash system rom.img
fastboot flash reboot