text:
Samsung Galaxy SHV-160k won't get signal
I bought on ebay a refurbish Galaxy Note N-7000. Once I received it I put my chip and for my surprise there was no signal. After checking It I noticed it has on the back of the phone N-7000 but when I see on the software it says SHV-160K.
Right now, I don't know what else to do with this phone because it simply doesn't recognize any network, it just displays a NO SyMBOL where it should display the carrier signal bars.
I'm posting to see if there is any way this phone can be use or IF I should ditch it.
This is what It lists on the about device page
Model: SHV-E160K
Android Version: 4.1.2
Band Base: E160KKKJLL6
Kernel version: 3.0.31 - 10034927
se.infra@SEP-93 #1
SMP PREEMPT Fri Mar 22 12:43:28 KST 2013
Compilation: JZO54K.E160KKKJMC3

The SHV-160K is a version of the phone only made for the South Korean market. It works in the US, but only on GSM, not 3G or LTE, because the US cell networks use different frequencies to South Korea. (The Western half of S America uses the same frequencies as the US.)
This tells me that it should work as a 2G phone for you, but perhaps there's no GSM coverage where you are, only LTE? In that case, you're screwed and you should sell your phone to a Korean on eBay.


text:
How can I update my rooted Moto G to 4.4.2
Every time I try the OTA download it gives me an error while installing, which I presume is because I've rooted the phone.
It's a European model if it matters.

Yeah, rooting breaks OTA updates because you have to change /system to do it. The easiest thing to do is to flash the new ROM manually (instead of OTA), but I'm afraid I don't know the procedure for flashing Motorola phones. Maybe this advice will help you find the answer, though.

You might have to (re-) flash the complete (stock) ROM. Rooting involves changing things on the /system partition, which changes its checksum. Some OTA updates use the checksum to see whether the update "fits", and thus will refuse to install if not. Looks like your Moto falls into this category.

you can unroot it by using framaroot before that put a superuser in your storage and then you can have the option of unrooting your phone,and the other way is use cyanogenmod

I don't really know what you mean with the first part. As for Cyanogenmod, would installing that not wipe all my data?

well just google it framroot it's an apk file which will help you to unroot your device,and for cyanogenmod use a titanium backup,after installing it will restore all your data

I see. It was the "put a superuser in your storage" I didn't get. Is that something I have to do myself before running framaroot?

yeah download a superuser.zip,and put it on your storage ..

Moto G isn't listed as a device supported by Framaroot

okay..So I hope you have to go to the xda forum there might you get some solution..

-1, this answer is nonsense. "Put a superuser in your storage" doesn't make any sense, and it's ridiculous to suggest the questioner use a custom ROM when an official update is available.

Thanks for the clear words, Dan! The whole thing looks weird. And especially for someone without experience, looks like just causing additional trouble.

source: Stack Exchange

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

sort: votes


text:
Device stuck in bootloop after enabling ART
I activated the Android Runtime (ART) instead of Dalvik and after that my phone rebooted but it seems that it's stuck in a bootloop.
Will the first bot after choosing ART take some extra time? How can I tell if it's stuck in a bootloop rather than just booting slowly?
My device is an HTC Explorer running CM 11 beta 4 build.

Try to wipe the cache partition.

Possible duplicate of Moto E Not Starting Properly After Changing runtime to ART

The first boot after swapping to ART generally takes a little longer to boot. After that it then recompiles every app using the new runtime before you can actually use the device. During this stage the device actually displays a message with it's current progress. If it never gets to that stage then there is a decent chance that Android is stuck trying to boot.
If it's stuck in a bootloop, you should see your phone continually swap from the HTC boot logo to the CM boot logo and back again. If it's stuck on just the CM boot logo then there is a chance that it is actually booting and just taking a long time.

it's stuck in CM logo but

Follow the steps below:

adb pull /data/property/persist.sys.dalvik.vm.lib
Open the file and replace the libart.so with libdvm.so.
adb push persist.sys.dalvik.vm.lib  /data/property/.
Reboot your device.

Source: Phone in boot loop after turning on ART (didn't completely uninstall XPosed).

Not everyone can understand these commands. Please mention (edit) what each of these steps does and the reason they should be followed. That said, this does not answers this : How can I tell if it's stuck in a bootloop rather than just booting slowly? Not to mention,  the answer assumes that  adb is already enabled in Developer Settings which OP didn't mention at all.

@Firelord You should understand this if you tried to change Dalvik to ART in the first place.

I'm not using your device but doing a quick search i found this:

Before using ART, you have to enable expanding memory in Settings ->
  Extras!

You might want to do that before enabling ART next time.
You can get more infos on
here

Try draining the battery, then put it on a charger and try to boot. The same thing happened here on a Motorola Moto G 2nd generation.

I did the same thing. As the memory space was less in my Moto e, it went to boot loop. First it showed around 169 apps installation figure but after completing that it showed lower nos. in successive boots. After a while when I rebooted it forcefully many times, it started but now with lesser space remaining than Dalvik.

I know that this thread is old, but this may help others in the same situation. My mobile is a LG G2 Mini (D618) rooted with Kingo. After I changed it from Dalvik to ART, it took a long time to reboot, while optimizing all the apps. But then, when the UI showed up, I couldn't do anything because several error messages appeared in sequence. After a while touching OK for each message, the mobile would reboot and start it all over again. In fact it rebooted even if left alone.
I re-flashed it with the stock ROM (with the no-data-loss option) but nothing changed other than it becoming unrooted again. Also tried to access it with an ADB Shell but I kept getting an authorization error. Then, after rebooting it around 30 times, it reverted back to Dalvik by itself, and everything was fine again!

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


text:
Sign in to WhatsApp account on old number without old SIM card
I want to restore my phone to factory settings, which means WhatsApp will be deleted. I use my old number on WhatsApp, and I don't have the SIM card. If I downloaded WhatsApp again and tried to sign in with my old number, can I do that?
Example:

Old no. 555-1234 - WhatsApp
New no. 555-9876 - no WhatsApp

Can I use the old one once again?

Nope I can't anyway, it seems to send an SMS, and register the SIM not the device.

The way WhatsApp authentication works is that it sends an SMS to the number for verification. This means that you won't be able to re-authenticate to that account without access to the phone number (as you have said in your comment)
A possible workaround is if you root your device, you can back up the WhatsApp data using something like Titanium Backup and then restore it on the fresh install. Depending on how their authentication keys work, you may trick the app into still using your old account.

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


text:
How do I transfer media from a Mac to Android?
Please help me with this problem, thanks

This depends on your device. Sometimes your phone may come with software or you can use ADB. http://developer.android.com/tools/help/adb.html

More details would definately be nice. I can think of a few very nice options that would work over wifi.
Airdroid2 would let you upload and download files over your browser pretty handily, though a web interface. It does a load of other things too (like act as a filemanager, and let you do things on your phone like send texts from a webui)

Another alternative would be pushbullet - it lets you send and recieve files up to 25 mb. Like airdroid, it uses a webui on the PC side (or extentions, which are well worth getting IMO) , and an app on the phone
You could also use a sync tool like dropbox or (my current favourite) bitorrent sync to expose a folder and download files from there.

You can use an app called Android File Transfer, where you connect you device to your computer through USB and then you can just drag the files into the application. They will be transfered in a matter of seconds!

There are plenty solutions for that. Unfortunately, you didn't specify the options: WiFi? Bluetooth? USB only? Other means?
A first check should bring you to our nice file-transfer tag-wiki, linking to questions already having answers on this topic:

How can I send a file wirelessly without bluetooth or a Wi-Fi network in ICS?
How can I transfer photos to my Android Jelly Bean device while preserving the original timestamp?

Also, the "Related" section of your question (to the right, if you use a web browser) has some pointers. And of course there are already several questions tagged file-transfer (just click on the tag): Is there a way to copy files directly between two Android devices on the same wifi network? would be one example.
If WiFi is an option, you might want to take a look at Airdroid. That's an app you install on your Android device, start it, and it gives you an URL to type into your browser on your Mac. From there, you can manage your device easily: copy files to and from, check the call log, write an SMS, and much more.
If your device (which you did not mention) has an SDCard, you could also unmount that, put it into a card reader, and attach that to your Mac. Then copy the files to the card, safely unmount, and put it back into your Android device.
For more/other options, please follow the links above – or use the search box :)

Yep if you don't want to use a USB use Dropbox. Online file sharing from computer to whatever device:
Make an account then sign in on the computer. Upload the desired files.
When that is done simply download the app aptly named dropbox. Sign in the download the file on your device.
This only takes a few minutes and you could do this with any file. From music to video. From a word document to an APK. Even files that your computer doesnt understand (maybe a file only compatible with macs or phones)
If you dont have an internet connection via 3g then use your home or friends WiFi. You get something like 5 GB extra for doing simple tasks like linking your accounts.
All of your legal illegal files are completely safe. Only you and a peeping tom over your shoulder can see your files. There is no file size limit. This is better than usb because your files will forever be backed up on drop box unless you delete them.

Common..Google it lol. Ergh make an account then sign in on the computer. "Upload" the desired files. When that is done simply download the app aptly named dropbox. Sign in the download the file on your device. This only takes a few minutes and you could do this with any file. From music to video. From a word document to an APK. Even files that your computer doesnt understand (maybe a file only compatible with macs or iphones)

...and from 0 to 2 GB. Don't forget the limits. With that little details given, how can you tell OP even has a data connection on the Android device? Or WiFi for that? And what the limits of the data plan are? How much data should be transfered? Or whether there's a firewall blocking access to Dropbox? Or whether it's sensitive data ("media" could involve very personal photos) OP wouldn't want to trust to the cloud? With the device next to my computer, why should I use a cloud service at all? What's the pros, the cons? We like some quality answers here, common :)

If you dont have an internet connection via 3g then use your home or friends wifi. You get something like 5 extra gig for doing simple tasks like linking your accounts. All of your legal / illegal files are completely safe. Only you and a peeping tom over your shoulder can see your files. There is no file size limit. This is better than usb because your files will forever be backed up on drop box unless you delete them

You can't say "your files are completely safe," given Dropbox's poor security record. This is the company that once set up the site so that any password would work to log into any account.

I wouldn't trust them with sensitive data either. AFAIK there's no end-to-end encryption; though Dropbox claims to store your data encrypted, they could always read it (and so could anybody with the necessary "power", if you know what I mean (you've read the news the past 7 months, I guess)).


text:
Change the Samsung Galaxy Note 3 white dial pad to another color
I just got a black Galaxy Note 3 from an att store with my upgrade. I saw that the phone dial pad was white when I got it, but I thought I could change it later. WRONG!
I have been on lots of Android websites but can't find an answer. I am already an Android central member where I get most of the answers to my Android questions. There are a lot of people with the same issue.
It looks like the US got the white keypad and background and Canada got black on black. This is way too bright for me. I have eye issues. I know I can use a third party app if I have to. Any help would be great. Thank you.

You can always try a different dialer like GO Contacts Ex, and have it replace the stock dialer. It lets you change themes / colors.


text:
rescale data usage graph
The 'Data Usage' screen is scaled to 100GB . My data plan is limited after the first month to 500MB because I am somewhat Scots. How do I rescale that graph? My Samsung Meta has Android 4.2.2

Click on the handle (a solid dot) on the right side of the red horizontal line above the orange line, and drag it down to 500MB. That adjusts the scale of the graph.
Look for the lime green arrow at right to see the handle.

authors: วันฮาซัน แวซู


text:
Custom Alarm sounds removed?
This is what I am currently running:
Verizon Motorola Droid 4
Android Version 4.1.2
System Version 98.72.189.XT894.Verizon.en.US
Last update Nov 21 2013

Prior to this Nov 21st update, I was able to set a custom ringtone, notification, and alarm on my phone. Custom meaning I can upload a sound file of my choice and have my phone play it.
After the update, I am still allowed to set a custom ringtone and notification, however I am prohibited from setting a custom alarm sound.
Is it possible to still choose my own alarm sound without rooting or installing an app?'
Note: Previous question/answers don't concern this update or suggest installing a third party app.
EDIT: To change alarms, I go to: Apps -> Clock -> Set Alarm -> Settings. When choosing an alarm sound, I am only allowed the default selection from the phone, whereas with ringtones and notifications (in System Settings -> Sound), I am able to select from my custom made sound files.

How is it "prohibited"? What steps did you follow, and what happened?

I've tried two approaches. Apps, Clock, Set Alarm, Settings, Default alarm tone: Only has the default selections available. In System settings -> Sounds, I have all my default sounds set to my custom sounds. But these don't apply to the alarm.

I used the word prohibited because I have created a calendar/alarm app a while back, where I was allowed to code the selection of ringtone, alert notifications, and alarm sounds. However, even when I use my app to change the alarm sound to my custom ones, it doesn't work. Regardless, I don't want to require an app for this. It seems silly that people can have custom ringtones and notifications, but not alarms.

Hey try downling Zedge from the Play Store: https://play.google.com/store/apps/details?id=net.zedge.android&hl=en_GB  Then download a custom alarm sound (any really) and then go to your alarm settings. When you go to choose an alarm it should ask what you want to open "Media Storaga" that's the usual one or "Zedge". Try Zedge and see if you have some custom alarms. It's not ideal but it might just solve it. Let me know how you get on!

The folder Media is the where all the Sound files are actually stored. Inside Media, it has its own Alarms, Notifications, and Ringtones folder. These are the folders where each respective sound file belongs.
In my case, I wanted to create a custom alarm. I thought it would be as simple as dropping a sound file in there, but it wasn't. THERE'S A TRICK. In order for the Android phone to recognize your file as an actual alarm, the file must have Alarm appended to its name.
Example : If your song/file name is Unwell.mp3, then you have to rename it to Unwell Alarm.mp3.
Only after you include the Alarm in the name will it become an Alarm.

If anyone has a better alternative that doesn't require file name changing, I'll gladly accept that as an answer.

To change my alarms I use the ES File explorer app:
When I go to change the alarm it asks which app you want to change it with (if you have not set a default). I am able to chose between the built in media app and ES file explorer. If I chose ES File Explorer then I will be able to chose a file without having to shuffle around media files.

I was looking for a solution that didn't require an app.

I am sorry but you are out of luck in that case. I personally love ES File Explorer.
If you ever change your mind it is ~8 MB and it is free with no advertisements.

There is a way around which I was able to use. Convert your favorite Alarm tone to .ogg format using any online tool. Following is a link to one of them -
audio.online-convert.com/convert-to-ogg
Now go to your \Systems folder and find the \Ringtones or \Alarms folder. There you can paste the converted .ogg file. Try to keep the file size below 200KB.
Now, go to your alarms and you can find the Alarm tone in the Default Alarm-tone list.

Simply rename the file; right click and rename, at the end of the file name, remove the old file extension type, (ie .mp3) and change it to .ogg and it will be available to use. It will say it may become unstable, but in my experience it works just fine.

There is a folder called "Alarms" in your SD card. Just paste the sounds/songs you want to set there and it should appear when selecting sounds for the alarm.

I don't think that this is what the Alarm folder is for...


text:
Where is the temp file of recorder in Android?
Galaxy Note2 4.3 Samsung firmware.
Recording for 1 hour with the highest quality, accidentally pressed "back" button, nothing saved.
Usually the file would be saved automatically even if "back" is pressed. But maybe 1 hour is too big for the simple recorder app.
Any chance that there is a tmp file somewhere?
Or recorder just stores everything in DRAM before hitting save button?(that would be too naive..)
Thank you

It's on main drive of your phone (at lest it was in my case), named something like .voice.3ga
Just plug in your phone to PC, an run search for .3ga file type.
Hope this helps.


text:
the games on my sony ericsson live (ics) keeps on crashing
two days ago my phone was alright ,but now when i open any game it loads and crashes .im not able to play any game.would be appreciated if solution was for root users without clearing game data or factory reset.

There might be insufficient working memory.. (memory is being used by other application that you are not using..). to fix it go to Setting>Applications>Manage Applications, Click on the Runnning Tab. now Force close applications or games that are running but not needed. And dont forget to force close the games/apps that has this issues. I hope this helps.


text:
Nexus 5 touch response is slow while charging
My problem is simple. Touch response of my Nexus 5 is very slow while charging. I can't even unlock the pattern while charging. I need to draw it very slowly. My OS is Android 4.4.2.
I have been charging from Laptop USB port. I am seeing this issue for the first time on my mobile. I have used it while charging before.
I am charging with original USB cable that comes with phone. I also tried USB cable of my old nokia C5. Both responds similarly. (Earlier both worked fine).
I checked it in safe mode and problem still exists.
UPDATE 12-Feb-2014:

The above-mentioned problem occured when I connected my phone to laptop USB via stock USB cable in my college lab. After reaching home, the phone works fine, both in USB charging and AC charging.
I tried charging with both USB and AC power in my lab. And the problem exists. I even tried them with Debugging mode turned off and problem is still there.

So I strongly suspect some problem with AC power supply in my lab. Anyway to check it?
Does anyone face this issue? Any fixes?

Can you switch on "Show touch points" in Developer Options ? Check if there are any phantom touches when the charger is fixed, it could explain your touch being lost

@AadiDroid : I did as you said and I couldn't find any phantom touches.

Please try on AC Power, this is a known issue with quite a few phones! In fact I had this issue with my N7000 running CM10, the phone is just lying around now.
Just to be sure, is USB debugging off ?

phone damaged? USB debugging is on. I will check on AC and comment later.

switch off debugging and try !

I updated my question. Regarding debugging, i will try it from my lab.

problem exists in my lab power supply with debugging off. So I think some problem with lab power supply.

Just to see if that is the issue for me, I tried different sockets at home with my old phone! It varies based on the power supply :) All I can say is stop charging through these faulty places

[Moving from comments to answer]
This could be an issue with either debugging mode switched on or the power source itself!
Please try on AC Power, this is a known issue with quite a few phones! In fact I had this issue with my N7000 running CM10, the phone is just lying around now. Just to be sure, is USB debugging off ? Just to see if that is the issue for me, I tried different sockets at home with my old phone! It varies based on the power supply. All I can say is stop charging through these faulty places


text:
How do I back up Google Authenticator?
I'm starting to use Google Authenticator for more and more things now, but I've just realized that if I lose my phone, or if I need to wipe and restore it to install new firmware, I will lose all of my codes.
Is there anyway to back them up please? Or some kind of fallback that means I can restore it to a new device?

If you need a code to log-in while your phone is lost, you can use one of the backup method (SMS, Call, printed codes...). It is highly recommended to setup at least one of these alternative method to overcome this kind of situation :)

I've always wanted to fork Google Authenticator to add this feature. I'm hoping somebody will do it before I have the time.

This kind of half-assed security thinking is why every company in the United States has been broken into in the past five years.  For every security measure, there is someone who wants to break those measures to make them "easier to use."  Those authenticator codes are designed to be hard to copy.  If you lose your phone, you lose your codes, and you of course go to your backup authentication scheme that you've carefully put into place to regenerate those codes.

Am I confused or are you guys,  The point of the Authenticator is that it generates dynamic codes that change, about once a minute.  What's the point of backing them up?

@RohitGupta we’re talking about the codes used to generate those codes :)

Switch to Microsoft Authenticator which does save and restore your codes by simply logging on with your Hotmail account.

You don't need to back up the Google Authenticator app/data as you can create a list of 'Backup codes' which you can use to log in without requiring a authentication code on the same page that you configure 2-step authentication.

Why print or download backup codes?
Backup codes are especially useful for people who travel, have problems receiving SMS or voice calls, or cannot use the Google Authenticator mobile app.
Recommendation: You should print or download backup codes

Store these in a safe place (or print them out) and if you lose your phone you can use one of these codes to log into your account and set up a new device with the Authenticator app.
Whilst this applies to Google's 2-step-authentication, any other sites you have configured to use the Google Authenticator app should offer a similar option, or another way to receive codes (e.g. Facebook supports Google Authenticator, their own app and sms as methods to receive codes).

Many thanks, so effectively I could create my own backups then, by saving a copy of the QR code used to setup Google Authenticator for each site too?

I don't know... I expect that they are time/use limited so wouldn't work more than once or after a period of time.

Oh I see, thank you - I've just checked the sites that I've used Google Authenticator for and none of them have a backup option, so it seems like (unfortunately) my best option is to actually disable it and use stronger passwords, I guess.

For the sites that don't offer it then i'd say that your only option is to use a strong unique password without 2 step authentication. Out of interest, what sites don't offer a backup option? Dropbox, Facebook, LastPass, Wordpress all do (those are the other sites I use 2 step authentication with).

Thanks, unfortunately the sites I'm using probably aren't very popular with 2step auth and as such don't support it very well, mostly Bitcoin sites and the like

@Nick: Saving the QR code that Google or other sites provide and adding them back into Authenticator on another device does work. I have done this a few times myself. However you should make sure that the time is correct and up to date constantly on both devices (if you intend on keeping using both of them) otherwise authentication might fail.

Thanks so much Andris, I've just confirmed with one site owner that I use auth on that this works, so will go through and re-configure everything, and ensuring I have a paper print out of the QR codes etc :)

The two-factor authentication "one-time" password is generated with two things: the current time, and a secret shared between the server and the app during the initialization. In your case, the secret is the QR code. As long as another instance of the authenticator app shares the same secret and the same time (the same 30s frame), both apps will generate the same passwords.

You need to backup your Google Authenticator app because not all websites offer alternative sign in methods.

why not checkout Authenticator Plus - authenticatorplus.com ?

You might still want to back it up when you are going to reset your phone, so you don't have to spend an hour going to every site you use authenticator for, entering a backup code and resetting the authenticator setup.

This is only true for Google's 2-step authentication. Google authenticator works with many other sites, and some don't have a way to create a list of backup codes. Some use SMS, some give you a single one-time-use backup code, and some don't have any backup option at all. Even when every site has a backup option, having to restore all of the many keys when getting a new phone is a huge hassle.

Doesn't work if you're only using Authenticator for non-Google websites.  The first thing Google wants you to do when you hit the page you linked is set up 2FA on your Google account.  From what I can tell, it doesn't let you manage squat until you've done that.  Move along to one of the other answers (e.g. Titanium or manually extracting from the SQLite database).

The following method will only work rooted Android devices.
Linux:
adb pull /data/data/com.google.android.apps.authenticator2/databases/databases /AFolderOnPC
Windows:
adb pull /data/data/com.google.android.apps.authenticator2/databases/databases C:\AFolderOnPC
Note that the folder on the PC has to already exist.
This will copy the authenticator database files with the main keys, from which the One Time Passwords are generated, to the PC. The file can then be restored to the same location, on Android devices, or read with an sqlite database viewer to extract the keys.

When copying to a new device, make sure the databases folder and databases file both have 755 permissions.  I tried 700, and GA kept crashing. Kind of concerning that it requires full permissions.  Maybe that's NSA's requirement.

You need to adb root before you do this, or you will get remote object '/data/data/com.google.android.apps.authenticator2/databases' does not exist

Note that if you have SELinux enabled, even with the correct permission bits the Authenticator app can crash. To fix this, run restorecon -F /data/data/com.google.android.apps.authenticator2/databases/databases after you put back the database file. (source)

@eduncan911 660 works for me

Rooting your device makes it less secure. If you're using 2FA then presumably you want more security. For the risks: https://www.owasp.org/index.php/Projects/OWASP_Mobile_Security_Project_-_Dangers_of_Jailbreaking_and_Rooting_Mobile_Devices#Technical_Controls

If your phone is rooted, you may simply copy this databases file somewhere using some advanced file manager, such as X-plore or like (if you don't like to mess around in console with adb).

It turns out that original tokens (usually represented to the user as QR codes) are stored in the SQLite database inside the /data/data/com.google.android.apps.authenticator2/databases folder and can be extracted from the device.
I automated and explained the recovery process here: https://github.com/dchapkine/extract-google-authenticator-credentials
This project extracts original tokens, then generates a web page with QR codes you can rescan on a new device.
Feel free to contribute.

This just saved me logging into all of my 2FA accounts and switching the phone manually. Many thanks!

This is exactly what I was looking for. A quick and easy way to re-scan all of the QR codes.

Thanks for this but my device is not rooted. Do I understand correctly that I have a "Catch 22" situation on my hand where rooting my device will wipe it clean?

Simply brilliant. Didn't work on Windows 10 Bash though.

@urig, no, rooting of some phones won't necessarily wipe apps data.

@dchapkine For devices with no root method available, is there any other method to access the .db?  Like with SetEdit with elevated permissions via ADB?  Or (assuming the allow_backup flag is enabled through manifest), any way to take an ADB backup and decompress manually (no data encryption configured)?  I'm on an SM-N950UZKATMB stock, Android 9

@Arctiic you need to be root to access app's data folder, i am not aware of any other method

@dchapkine AFAIK, when an app's manifest grants the allow_backup flag, ADB is able to access root directories to backup files from, e.g., \data\data\com.package.example\... via the backup function, even when the user doesn't have root access.  Personally, I've successfully taken backups of a game data file before to decompress and restore onto an emulator, so I'm wondering if it can be applied in a similar manner in this case.

Titanium Backup (link to Google play store) will backup any android app, including Google Authenticator.  However, you must root your phone for this to be a viable option.
I would also recommend printing the Google backup codes too.  This isn't quite backing up the Google Authenticator app, but they would allow you to reset the authenticator if necessary.  This would only help for regaining access to your Google account though.
Backing up the app with Titanium Backup is the most complete option, in my opinion.  It's saved me on a number of occasions.

Had to settle for this because I couldn't adb pull the databases directory, couldn't copy to /sdcard and take it - chmod 777 did nothing.

"Import from Google Authenticator" -- Sold! Very important migration feature.

Worth mentioning, in order not to re-root the new phone. After backup click on the backup/restore tab -> choose Authenticator app -> slide right for special features tab -> choose Explore -> choose accounts under [DATABASE]. then you'll get all the account in your app in a .csv file. use the secret column to restore the accounts to the new phone.

The easiest way to handle this is to take a screenshot of the QR code whenever you setup a new Authenticator for a site and save it in an encrypted location.
If you need to reinstall or add the Authenticator for that site to another phone, simply add the account in Authenticator by scanning the QR code in the screenshot just as if you were setting up a new site.
Before you negativoids say this won't work, yes it does, and you CAN have the same Authenticator on multiple devices.

I would like to explain why this works, both the website and your device will share a simple string of characters, "the code", set in the QR code, and they will endlessly use it to create new 6 digit codes from, based on the current date and time. Therefore, you only need to have this code to generate new codes. The website has no way of checking who or what created the 6 digit code, it only needs to be correct.

better idea: just use a better OTP app. Some do allow exporting secrets.

Try Authenticator Plus, it supports backup/restore functionality with sync across devices. If you have a phone/tablet, this app syncs all accounts between them flawlessly. It even supports Android wear. It has logos support too.

Or you could use Authy (https://www.authy.com/), which is free.

Authy looks awesome! Much better than google's, except it's not opensource. I can live with it.

Doesn't this sound like a bad idea? The whole point of the Time-based One-time pad protocol (TOTP aka rfc6238, which is what authy/google authenticator, et al implement) is that you and only you have the ability to generate the codes. If you let some 3rd party store those codes, they become a huge target for attacks, nevermind having to trust everybody that works for this service and how they've implmented it.

@antiduh of-course its matter of security vs usability,  if you are more concerned with security its not ideal for you and you should actually move away from software solutions and use hardware solutions like yubikey

Or you could use an open-source alternative that has the ability to import and export the codes: https://getaegis.app/ https://github.com/beemdevelopment/Aegis — Regardless, this answer doesn't answer the question, so I'm afraid I'm downvoting it.

You can save the QR codes when you setup or renew your 2FA. You can save the QR by making a screenshot. Or using the context menu 'save image as' but this is not always available. (Make sure to give the images a corresponding name with the account and backup in a secure location). For restoration just rescan the QR codes in Google Authenticator.

As a preface this is an approach for configuring MFA ahead of time so that it is always backed up, not recovering or backing up existing codes.
I just went through this process after my Nexus 6P stopped connecting to data and I had to setup all my MFA again on a Pixel.  I realized that if I lost my phone or did the factory data reset I'd have been totally borked.
The simplest solution I came up with is to ignore the QR code based setup and just use the token based setup itself (it's the "manual" option in most authenticator apps). Every service I've used so far allows you to opt for the token-based setup rather than QR.
Rather than going through the trouble of taking screen shots of the QR codes, labeling them appropriately and then GPG encrypting them and securely storing them somewhere I just store the tokens in an encrypted vault and setup my MFA manually.
I verified that you can setup clones of the authenticator using the same key on independent devices running simultaneously.  Thus, so long as you securely control the tokens, you can configure MFA on any device.
I'm satisfied with this result as I didn't have to do anything more than reconfigure MFA (I had to do this anyway in my circumstances) and simply add all the tokens to lastpass.  Now I'm covered in the case of phone loss and can configure other devices if need be.

There are a lot of advice for rooted phones. But it isn't recommended to root your device if you don’t want to make it vulnerable. Two-factor authentication provides an additional layer of protection and by rooting you bring it to naught since different viruses could get an access to protected memory areas.
Only small amount of services offer backup codes (particularly Google). For these services, you should save backup codes.
The best solution is to save the QR codes (or the secret keys) in the moment of token enrollment and keep them in some safe place. Then if you lose your phone you could restore tokens in Google Authenticator on your new device.
Also, you can use hardware tokens. They can be in the form of key fob or credit card.
Have a look at this article on the blog of Protectimus (the company where I work) to get more information how to backup Google Authenticator: How to Backup Google Authenticator or Transfer It to a New Phone.
* Disclosure: I work for the website linked above.

Here is a link to simple Python script on my website: http://usefree.com.ua/google-authenticator-backup/
You just paste your code and run them in Python environment.
How it works:
During setting up and configuring two-factor authentication with Google Authenticator, it is possible not only to scan QR-code, but get the code, for example, for Google Mail we get: csnji4rfndisoh323fdsioah3u2iodso.
For generating TOTP on your computer with Python IDLE your can define this function:
def totpgen ():
    import time
    import hmac
    import hashlib
    import base64

    ### TOTP-key for Google
    #secret = base64.b32decode("csnji4rfndisoh323fdsioah3u2iodso", True)
    #totp for btc-e
    #secret = base64.b32decode("DHSJHDW89E8DFUS98RIO23J390EFU234IR90WEUIF903DMSKAKDS====")
    ### Calc counter from UNIX time (see RFC6238)
    counter = long(time.time() / 30)

    ### Use counter as 8 byte array
    bytes=bytearray()
    for i in reversed(range(0, 8)):
      bytes.insert(0, counter & 0xff)
      counter >>= 8

    ### Calculate HMAC-SHA1(secret, counter)
    hs = bytearray(hmac.new(secret, bytes, hashlib.sha1).digest())

    ### Truncate result (see RFC4226)
    n = hs[-1] & 0xF
    result = (hs[n] << 24 | hs[n+1] << 16 | hs[n+2] << 8 | hs[n+3]) & 0x7fffffff

    ### Print last 6 digits
    return str(result)[-6:]

Insert into line
secret = base64.b32decode("csnji4rfndisoh323fdsioah3u2iodso", True)

your code instead of "csnji4rfndisoh323fdsioah3u2iodso"
uncomment line, and call in IDLE
totpgen ()

You will get your TOTP!)
For service btc-e try to use line
secret = base64.b32decode("DHSJHDW89E8DFUS98RIO23J390EFU234IR90WEUIF903DMSKAKDS====")

For other services - like described above.

2020.04.23†: Update the app, then go Settings > Transfer Accounts. (then breathe)
Takes me one second to scan QR codes between two phones, took us years to agree it was a feature worth coding even despite it's inherent security risks, meaning be careful, if you can scan in one second then so can someone else.
I believe https://android.stackexchange.com/a/224962/238005† first spotted there is now (after 2020) an official feature/ability to backup/export your list of accounts in a reasonable fashion, which is mentioned inconspicuously at https://support.google.com/accounts/answer/1066447 in the middle of nowhere. Sadly, am I really the first answer with this (official update) in this whole question thread? I fear for our life's data if this idea took this long to think of, and I had to learn through here. Because the option was hidden in a toolbar, and not even a Push Notification for this issue that actually matters.

(A) I mean I get Push Notifications for sports I never follow/read but not for Authenticator having its first feature improvement in a century, where are the top-down priorities/standards—for life-and-death tools like Authenticator—if this is not an important priority notification? (B) Or is the issue we programmers avoided, sensitive to talk about, the fact that this was easy for a programmer to do, but not for normal people til now, with this one update alone, & was it an issue about trusting users somewhat? It's a scary feature/ability, maybe there was hesitancy to notify of ability openly.

Originally, when this question was asked, there was no simple solution: people would need to extract the data from an internal sqlite database that wasn't available unless your phone was rooted.
Fortunately, since the first half of 2020, the Google Authenticator app was updated:

WHAT'S NEW

Added the ability to transfer accounts to a different device, e.g. when switching phones
Refreshed the look and feel of the app

How you can export the codes from your Google Authenticator

Tap on the ⋮ ellipsis at the top right (AKA overflow menu).
Tap on Transfer accounts at the menu.
Choose Export accounts.
Unlock your phone (use the pin, pattern, password, biometrics…). (Sidenote: Your phone has this protection, right? You shouln't leave your phone totally unlocked.)
Choose the accounts you wish to export. By default all accounts are already selected.
Tap Next. A QR code will be generated.

After exporting the accounts, Google Authenticator app will display a banner at the top: "Accounts were recently exported"
Additionally, it will warn the user with a notification, a few hours later.

Intermission: understanding the QR codes
When a website shows you a QR code for enabling 2FA, the code encodes a URI like this:
otpauth://totp/Example:bob@example.com?secret=…&issuer=Example&…

However, when you export the codes from Google Authenticator, the URI in the QR code is different:
otpauth-migration://offline?data=…

“The data parameter is a base64 encoded proto3 message (Google Protocol Buffers).” [citation] That message contains all the exported codes.
However, as you can see, the exported URI is formatted completely differently than the initial URI to setup 2FA. This means many 2FA apps won't be able to scan such QR code, because they won't understand the message.
How to use the exported QR code
Now that you have the QR code, you can use a second device to scan it. You have a few options.
① Import into Google Authentication on another device
At the Transfer accounts screen, choose Import accounts and scan the QR code.
② Import into another 2FA app
Aegis is an open-source 2FA app that allows importing data from multiple apps, and also allows exporting its own data (in an optionally encrypted JSON file). It can even show a standard otpauth-style QR code from any of its codes, making it trivial to export to any other app. It is available on both Google Play and F-Droid.
When using Aegis, just try to scan the QR code normally, as if you were doing a first-time 2FA setup. Aegis has native support for scanning otpauth-migration URIs from Google Authenticator.
There might be other apps with a similar feature, I'm just not aware of any of them.
③ Manually decode and extract the data
You can use a plain QR code scanner to decode the otpauth-migration URI from the QR code. Then you can use scito's tool or digitalduke's tool to extract the secrets and generate the appropriate otpauth URIs that can be imported into any app (after encoding them to QR codes).
References and acknowledgements

prosody-Gabe Vereable Context's answer showed me the newly-available Transfer accounts feature.
Related questions:

How to migrate accounts to new Google Authenticator app?
Can you use a screenshot of the "export accounts" QR Code of Google Authenticator as a backup?

Authenticator Test for a quick way to generating dummy 2FA codes.
scrcpy for the screen recording.

Google Authenticator blocks screenshots, but I could use scrcpy to record the screen anyway. (Although that seems to be blocked on newer Android versions.)

ffmpeg and gifski for converting the video into a high-quality GIF, and then GIMP to manually edit the GIF to remove redundant frames and considerably reduce the final file size.

The following method will only work on rooted Android devices. This method is more useful for the not-so tech savvy people or the people like me > who don't want to waste time installing Android SDK + JDK from scratch just to run the adb command.
So here it is:

Download and install any "Root explorer" app from Google Play store. I use the popular and free FX file explorer with its free FX root access addon. You can use others too. This app makes it possible for us to access the Android system as a root user.
Once you open the file explorer in System root > Click "data" folder > Click "data" folder (inside the other data folder) > Copy the folder named com.google.android.apps.authenticator2 > Exit System root folder > Open normal Main storage / SD storage space and Paste the Folder here.
Connect your android device to a PC and Backup the folder to a secure USB / external HDD.

That's it. Now, whenever you need to reinstall your firmware/ buy a new phone just follow the steps above and copy that folder to the exact same directory once you've installed the Google Authenticator app.
OR, you can use a free Open source SQLite GUI editor like "SQLite Database Browser Portable" to open the "databases" file inside the "com.google.android.apps.authenticator2" folder. In the "Browse Data" tab, you can see the key and name corresponding to the key so that you can manually enter the key into the Google Authenticator app.

@Izzy Edited out the subjective part and thanks for the help :) The method just looks big but is the most time saving for normal people who wouldn't be android devs. I actually looked at this thread before finding out a solution on my own.
Backup codes - not available for most services (only works on google).
Authenticator Plus is a paid app.
Titanium backup can have compatibility issues.
ADB pull command needs you to install Android SDK+JDK.
My method is as "easy" as copy-pasting a folder.

Thanks for the edit, Pavin! On your comment, I've got to partly disagree: I've never ever installed the SDK+JDK, but still use a bunch of ADB features (especially with my own tool "Adebar" for device documentation, backup/restore scripts and more). On Linux, I just need the adb executable for that (on Windows, two .dll files are required additionally). For details, see Is there a minimal installation of ADB?

PS: Have there ever been any permission issues? Copying the data directory of an app manually to another device might bring up such. Remember, to correctly access files the permissions and ownership must match. On installation, each app is assigned a unique UID/GID pair. File permissions have flags for owner/group/others. Usually, app data has at max -rw-rw-- (owner and group read/write, others nothing). So if there's a mismatch in ownership, you might be in trouble (and the app might misbehave).

Yeah, it works most of the time. But if it doesn't you can use any SQLite editor to open and view the secret key from the databases file; then proceed to add the account in Google Authenticator using the key.

Ah. Better solution: If it does not work, check and adjust permissions. Before overwriting /data/data/com.google.android.apps.authenticator2, do an ls -l on it and check ownership/permissions. After copying, use chown and chmod to fix it back.

On a rooted phone, you can use the Amaze File Manager app.

Go to the root /data/data/com.google.android.apps.authenticator2/database directory.  Open the database file as a database.
Select accounts.  You will have 3 columns _id, email, and secret.
Copy the secret value.
When you need to restore just add, select "Enter a provided key", give it a name, and paste in the value.

As I have experienced same just some time before. When you would be signing in to your account you will get page for key to put 6 digit code. At this place you can change second key and get in phone number if you have any number verified already. And for more backup you can choose an other computers as trusted. So, they won't ask second step code on those computers.

Fast forward to April 2023, Google Authenticator now allows the user to sync the entries to their Google Account.
As reported on Google Security Blog - Google Authenticator now supports Google Account synchronization,

We are excited to announce an update to Google Authenticator, across both iOS and Android, which adds the ability to safely backup your one-time codes (also known as one-time passwords or OTPs) to your Google Account.
[...]
One major piece of feedback we’ve heard from users over the years was the complexity in dealing with lost or stolen devices that had Google Authenticator installed. Since one time codes in Authenticator were only stored on a single device, a loss of that device meant that users lost their ability to sign in to any service on which they’d set up 2FA using Authenticator.
With this update we’re rolling out a solution to this problem, making one time codes more durable by storing them safely in users’ Google Account. This change means users are better protected from lockout and that services can rely on users retaining access, increasing both convenience and security.
[...]
To try the new Authenticator with Google Account synchronization, simply update the app and follow the prompts.

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


text:
Stop SD card from constantly unmounting due to underpowered
I had problems with constant unmounting of my SD card from phone when it was not on charger. The problem was with powering off some power when disabling display to save energy, but this power was needed to keep SD card mounted.
My phone is LG Optimus L1 II E410, but from what I found during my long search for solution, it is not the only phone affected.
How can I stop this from happening?

So what's your actual question?

How to prevent SD card from unmounting? LOL. Maybe you didn't notice I made it QandA style question, just because I lost like 5 hours to find the solution and thought it would be helpful to have it in some place where people would look for it.

So why is that wakelock app needed at all? What's causing the unmount to happen? I never encountered that on any device. Did you apply some "freaky" power-saving stuff?

What is this bit "problem was with powering off some power when disabling display to save energy"? Have you set it to disable other components when the screen turns off, or is this just something that you've spotted happening?

It is original, not rooted system with no special settings, so this is just something that I found out that was the problem.

The solution is to install program Wake Lock and set the setting to PARTIAL_WAKE_LOCK. This keep necessary power for SD card even if of charger and with disabled display. It obviously cause a bit more battery consumption, but far less then constant SD card remounting. No root needed.

I had the same problem on Alcatel POP C5 with Kingston 8GB micro SD class-10 card. First, I thought that the problem was with the phone. After replacing with another, borrowed card, the phone was working normal again, so I concluded that it was the bad SD card.
Using Wake Lock - PowerManager with PARTIAL_WAKE_LOCK enabled did solve the problem, partialy. I wanted the permanent solution so I keep trying to solve the problem.
The first time I realized the card was unmounting, when phone was on standby, was this summer when outside temperatures exceeded 35°C. I thought if hot temperature caused the problem, it might be also the solution to it.
First, I took my soldering iron and heat all MicroSD card metal contacts for approximately 10 seconds. After that, the phone was not unmounting the card for 20-30 minutes, but then it started showing error messages again. Then, I heated each contact, once more, for 2 minutes. The card was too hot to touch it with my hand, and I was worried not to melt the plastic. After that intervention, the card did not melt, all of the data was still on it and the card is working in my phone for 2 days now, without unmounting.
I hope that this is a permanent solution and that will help someone else too.
Just to say that I am not responsible if someone damage their card or data attempting to do this. DO IT AT YOUR OWN RISK!


text:
Phone restarting nonstop
My phone started rebooting all by itself all the time after I did 2 things with it. Installed Snapdragon BatteryGuru and put it on learning mode (for an estimated 3 days I guess) so that I could start saving battery by the app learning my behavior, and cleaned RAM with CleanMaster. These were the only changes I've done, I don't remember which was first but soon my phone started rebooting whether I was handling it or not at random intervals.
I've also noticed the phone was hot all the time, the Note 3 runs into some hot period with some frequency but not with that frequency. I've uninstalled both apps and it didn't work, wiped cache and it didn't work. The phone was still rebooting even on safe mode. After I wiped Dalvik with the help of TWRP, I thought the problem went away but when I hit the power button to turn the screen off, the phone rebooted and it will now always reboot when the screen turns off, even if it's just from the phone being inactive. It doesn't boot-loops, it just reboots, then after a random time, can be seconds, can be half an hour, it will reboot again. Note 3 SM-N9003 VJUBMI6.

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

Solution 1
This may be a dumb question but have you tried a factory restore?
I had the same issue happen on my HTC Inspire a long time ago.  Even after I uninstalled an app, the random reboots would still happen.  It wasn't until I did a factory restore did the issue finally go away.
Not sure what exactly in the factory restore would have fixed the issue for me, but you may want to give that a shot.
Solution 2
Have you uninstalled the Snapdragon BatteryGuru? I know you uninstalled CleanMaster. The battery running hot could be due to BatteryGuru running the phone at MAX (fastest possible processor speed, etc) and causes the overheating.  Internal safeguards then causes the phone to shut down or reboot.

I'm avoid this like I avoid Satan. I'm by far the heaviest user I personally know, I use like 5000mAh of this phone every single day and I don't even use social networks. Resetting this phone is probably gonna cost me like a full day to leave all the settings customized the way I like them to be. This phone practically reads my thoughts as it is

Are you rooted? If so, it would not be difficult to back things up and restore everything.

Boot loops can be a hardware issue (like this one). If you did not change your firmware or alternate boot partition and it's looping from the alt partition then it's likely hardware. Changes to Android don't affect the alt partition (recovery) that's why it's there.

It sounds like your issue could be caused by your power key, If you fixed the issue and the power key causes a crash then you can see by process of elimination that it's caused by either the sleep settings, Deep sleep, CPU power down, etc.. or the actual button itself is getting stuck every so often.   ..
It sounds to me like most likely the BatteryGuru app has changed the method of sleep on your device, this means it uses less power while the screen is off, this causes issues like notifications, messages, calls not being received while the screen is off, because the sleep method is set to totally power off the CPU.. I feel like BatteryGuru has added an unsupported method on your device that's causing a crash on sleep mode.


text:
Do not Disturb Mode with some special conditions
I am looking for a way to establish a "Do not Disturb" Mode (like on iOS) that does at least the following (on an unrooted phone):

Switches ringer and notifications to Silent (disable vibrate, vol = 0) during a special time
Lets repeated calls through (if anyone really wants to phone me)
Still allows the alarm clock to ring
Is disabled when phone is in use (e.g. display is active)
Manually enableable/disableable (for a specific time)

Cool would also be:

Enables only when I put the phone in the charger during the specific time
Does not enable when connected with my car via Bluetooth

Is there any way to achieve this? If not natively, maybe by using some application? My phone and tablet are unrooted.

Its a nice question. The solution would be useful to me.

@SachinShekhar Is already pending to be re-opened. Just two more votes needed.

CyanogenMod has the feature of Audio profiles....?

@t0mm13b Audio profile won't be the solution. There are many apps in Play Store for that.

Perhaps, Tasker (combined with Profile apps) can help... I am looking into it.

@SachinShekhar Ahhh... was referring to the inbuilt profiles that comes with the ROM, it may as well also be in Sammy's touchwiz interface as well... incidentally have a Acer Z130 Dual sim, and its built in, could be JB 4.2 feature, just a matter of Tasker, and switching between custom profiles..

After I sent in my Phone 'cause of a software malfunction rooting (and so Tasker) is not longer an option.
I already did that with tasker exactly as I wanted it but one feature I have used was only available on a rooted phone.

It sounds like Agent fits the bill for you. Specifically, the Sleep Agent.
I do use the Agent app, though I don't use the Sleep Agent itself, so this list of features is just me going through the setup options in the app.

Set Days & Times for it to activate. (defaults to 11:00 PM through 7:00 the next morning, Sunday through Thursday nights.)
Selectable whether it does 'Silence' or 'Vibrate'.
Has a whitelist of callers that are allowed to get through. (And selectable whether unknown callers get through or not.)
Can wait until plugged in before starting.
Can auto-respond with a text saying "I'm sleeping, text 'urgent' to wake me up."
Right off your request list, it can allow repeated calls to get through.

(I use Agent mostly for the Meeting Agent: It links to the Google Calendar on my work account, and auto-silences the phone for the duration of the meeting.)

Llama is a great tool! It receives GSM tower ID and learns your locations (home, work, school) so you can set which profile to turn at specific location at specific time.
Best feature is that it's NOT a battery drainer.


text:
How can I disable my voicemail so that my caller ringtone is longer?
How can I disable my voicemail so that my caller ringtone is longer? My phone is the Samsung Galaxy Ace Plus GT S7500.

You could try dialing ##002#. This should disable all call redirects (on busy, when missed, etc.), including those to the voicemail. It's a device independent code. Please report back if it worked for you, as I'm not sure whether it's provider dependent.

The number of rings before going to voicemail is generally set by your carrier. You should get in touch with them.

Older phones had Ring quantity settings for this , after the setting was made the "cell tower" (carrier) would be sent the information. There are no such settings in my phone for this either, even though voicemail forewarding is still sent out to the tower.  If anyone got thier carrier to adjust the time or ring quantity please still answer this question.


text:
Unlocking Bootloader
Recently I've unlocked my sony xperia p boot loader. I am sure that it is unlocked. But is there any option to find out that is it unlocked?

Enter *#*#7378423#*#* to access the service menu.
Tap Service info > Configuration
If unlocked, it says, Bootloader unlock done under Rooting Status


text:
Speaker went off - Xperia L
The loud speaker of my phone, Xperia L is off. I guess the headset plugged in event is triggered and so mutes the loud speaker. Can I do anything about it. I can't even answer or makes calls... have to put it on loudspeaker or plug in the headphones. I don't think it's a hardware issue.

Why don't you think it's a hardware issue? That's the most likely cause.

That's because, it plays all the notifications and as I said, when I speak on the phone, when I turn on the loudspeaker, it plays. My guess is though I unplug the headset, the unplugged event is not triggered.

Does it work after a reboot (and before you plug in your headset)? Have you checked your volume settings for the specific channels (could be the "headset plugged" simply overrides some "mute" here, and restores it on "unplug")?

@Izzy, I have rebooted many times and still the problem persisted. And the volume settings, I have used Perist+ app to check the volumes. No use. :|

Was worth a check, though. If there's no sound at all (except for the "loud speakers"), I tend to go with @DanHulme then, assuming a hardware problem. Two thing left to try: safe-mode and factory-reset.


text:
Unlocked bootloader but cant root. (Mac)
A few months ago I rooted my android phone which went all fine. I then accidently uninstalled my operating system. Finally I managed to flash omniROM on my device which  was as good as it got for me. The only problem is that I am not rooted anymore. My boot loader is unlocked but no root. When I run the usual commands on my computer (Mac) it just says access denied at the finish. Any help would be greatly appreciated. Thanks.
Also when I go on root checker on my phone it says. ACCESS DENIED. not rooted properly

You should be able to download the latest SuperSU from Chainfire and push it to your SD card and reboot into recovery mode -> install zip from SD -> select SuperSU.zip and it should install the SU binaries.  You should be good from there.

everyone is suggesting that therse must be a custom recovery installed before installing su binary. but i want to root so that i can take a backup of the stock(original) recovey. i dont want to install the custome recovery. is there any way if we can root the device without installing custom TWRP

I tried installing the su binary from the stock recovery, it says, installation failed :(


text:
How do I remove a custom MIUI lockscreen via adb or other means?
So I downloaded a lockscreen for MIUI from the themes app but apparently it doesn't go well with my phone and it just displays the wallpaper without the actual lockscreen. The problem is, now, I can't unlock the phone as there is nothing to drag on the screen. My phone is also secured by a pattern. How do I remove this problematic custom lockscreen and revert to the stock one?
Obviously I'd either have to do it via ADB or something. Can anyone help me out? I can restart the phone and all but that's really all I can do since everything else is behind the lockscreen.

Fist you need to know MIUI package name
adb shell pm list package -3

This command will display all the third party installed apps. If MIUI lockscreen does not show up here use :
adb shell pm list package -s

OR
adb shell pm list package -f

then copy the package name and use this command :
adb shell pm uninstall <your app package>

Okay, the answer was, actually simpler than I thought. As it turns out, MIUI has a built in fallback for these kinds of problems. The solution is to press Volume Up + Back Button and it should do unlock the phone for you. I found this out by posting this same question on the MIUI forums.

Besides the solution by Propeller, I would tell the method to do that by ADB (just for knowledge say)...
MIUI lockscreen is the ROM's built in lockscreen which you really dont want to uninstall. Simply removing the theme would do the job.

Boot your phone to recovery by pressing and holding volume up + power button (going into recovery isnt necessary. But recommended if you haven't enabled USB Debugging or didn't yet add that PC's RSA Fingerprint to phone in which case ADB wont work if your phone is Powered On. Otherwise there's no need to go into recovery).
Connect your phone to PC and run these commands for ADB:

adb shell
mount -o rw,remount /data
cp /data/system/theme/lockscreen /sdcard/
rm -r /data/system/theme/lockscreen
reboot
Or
If you have a recovery with built in terminal emulator such as TWRP, you dont even need to use ADB. Just boot your phone to recovery and go to Mounts in recovery and make sure /data is selected.
Then open terminal emulator inside your recovery and run these commands->
cp /data/system/theme/lockscreen /sdcard/
rm -r /data/system/theme/lockscreen
reboot
Both these methods will backup your lockscreen theme to sdcard and also remove it from system and your default lockscreen would be used at next restart.


text:
How to delete ROOT APPS from Andoid jelly beans?
I am using Galaxy s3 dous, Whenever I turn on my wifi my phone itself start downloading google apps, and I am unable to uninstall them, In application manager there is no option to remove but to update only. And same in playstore>>My Apps. Any suggestions??

That's not possible on stock ROMs. And it's not possible on other ROMs either when you want Google Apps. As long as Google Apps are installed (and a network connection is available), they will update automatically.


text:
Why is my lock screen scrambled sometimes?
Occasionally my phone (specs below) will awake to the dots on the lock screen being all the way up in the corner. I can't unlock it because the other 6 dots are cut off and turning the phone or sleep/awaking it doesn't change the layout. My only option, annoyingly, is to restart.
Here's an image of it doing it this morning:

Screenshot (click for larger variant)
The white chunk is an ICE number I've hidden. How do I stop this?
My phone is:

A Samsung Galaxy S2X SGH-T989D on Koodo
Running Android version 4.0.4
Kernel Version 3.0.8-perf-T989DTLLG2-CL836160 se.infra@SEP-89#1 SMP PREEMPT Fri Jul 13 23:39:44 KST 2012
Build Number IMM76D.TLLG2
Using a stock lock screen

Thanks for any assistance.

After enough frustration with this issue I actually moved to a custom ROM. This mainly happens due to rotation as mentioned by Colin
I used to face this issue when I had the phone in landscape mode, in an app and then locked the phone! When it came back on there was major juggling and it used to end up this way!
Software Fix:

Pray that samsung fixes it! or
Get a custom rom!

Temporary fix:
1) Dont lock your phone without exiting an app in landscape mode
Sorry but this was what I used to do, given S2 is a pretty old phone I highly doubt an official fix for it.

My best guess would be an issue that is causing part of the render process of slide lock to take place in landscape mode. I have no idea why that would happen although I have had some strange screen rotation issues with my nexus 7 and a factory reset did indeed fix it.
But since you don't want to turn to that here are some suggestions:
-Try locking rotation on your phone (unlocking when needed)
-Switch your lock screen to PIN or password (there error could be isolated to the slide password).
-Upgrade to a new version of android using kies (it should be available)
Let me know if any of those work out

Even PIN lock has this issue, locking the rotation is a good fix though :)

Factory reset is the only solution. At the very least it will exclude software issues.

To check that out, one also could boot into safe-mode first (without losing any data).

This occurs way too infrequently to consider nuking everything for, and doesn't explain how I can avoid this from happening in the future


text:
How do I add bookmark on Android (Firefox or Chrome) so it appears on PC
Both Firefox and Chrome has sync features, but they dont seem to work the way I want. Both Firefox and Chrome is having a top level grouping of the bookmarks, "bookmarks on PC" and "bookmarks on Android". And from Android the PC bookmarks are read-only. I can see them and visit them but not edit them or extend the collection with more bookmarks.
How do I add a bookmark from my Android device (in Firefox or Chrome) to my PC (Firefox or Chrome)?

At least my version of Chrome (32.0.1700.107) on OS X has a menu called Mobile Bookmarks under Bookmarks, where I can see my phone's bookmarks. And I can add bookmarks to my desktop Chrome from Android from Menu -> Favorite (the star) -> Folder -> Desktop bookmarks.
Try using Chrome Beta for Android if yours doesn't have that feature.

That works for me, thanks =) Same solution works on Firefox. The Android-bookmarks are editable from Firefox and Chrome on PC. I'll just use the Android folder on my PC (in stead of the PC folder) and I'll have the same set of bookmarks on all devices.


text:
Uploaded songs to Google Play don't show up on Android device
I'm sure this one is just a PEBKAC error, so please bear with me since I am new to Android.
I've uploaded all of my music to Google Play Music and I can see all of my songs via their web interface.  However, on my Moto X, there's at least one song missing.  I have tried refreshing the Google Play app on the phone to no avail.  I haven't had time yet to go through all of my hundreds of albums to see if any others are missing songs, as well.  Any thoughts?

Did you use the "Refresh" option in the google play music app? You can find it in the  action bar menu. Another possibility is a wrong file type. Here is a list of supported file types: https://support.google.com/googleplay/answer/1100462?hl=en

Yes, as I stated in my question, I have tried refreshing several times in the app without success.  In addition, all of the songs on the album were ripped to MP3 from the CD with the exact same settings.  Besides, if it weren't a compatible file type, it would never have been uploaded to Google Play Music at all.  I can find and play the song via the web interface; just not from the Android app interface.

And I even tried a quick fix:  I removed the album from Google Music, redirected the Music Manager to scan a different folder, then redirected it back again to my iTunes library so that it could re-scan my music and upload that album again.  I figured something went wrong during the initial upload, see, and having it re-upload that album might help.
Get this:  The song that was previously missing is now there, but another song in that album is now missing from my Moto X!  What gives!?

Strange! Exceeded the limit of "20000 songs"?

Less than half of that.

Okay, tried another refresh, and for some odd reason, it works today.  No idea why it didn't work yesterday.  Thanks for the help, @thomasb.

I think the sad but true answer is that sometimes, it just takes time. I've seen the album show up within a minute or so, but I've also had occasions where I've waited over 15 minutes, even rebooting my phone, without getting the new uploads to show up. In that case, I went to bed and the uploads were there the next morning.
I'm guessing there's something on Google's side separating the web player from the Android player, and that the sync between those nodes take different amount of time depending on when you do it.
If it still hasn't showed up in 24 hours, I would try and create a ticket with Google, but for most people, you just need patience.


text:
Google Play Error - could not be downloaded due to an error(403)
Today I got brand new Cubot GT-99, added my Google acc but when I try to install any app it throws error:
"Some App Name" could not be downloaded due to an error(403)

Also app update throws a bunch of errors:
Update for "Some App Name" could not be downloaded due to an error(403)

I tried factory reset, and even another Google account and it still doesn't work.
Also, I tried clearing proxy settings, and still no results.
This is the only problem with this phone, everything other works excellent.
Any help, please? Thank in advance.

I am having the same issue. Got a new Phone today (Moto G) and cant install any Apps. Internet-Connection is up, factory-reset does not help. I use the same SIM as in my previous phone and (Browser-)Google seemingly doesn't know that I upgraded, yet. Although my new Phone is mentioned in the market (on the web), the "installed" and "install"-buttons still refer to my previous phone. Is that the same on your end?

It's not the same, but the problem is definitely is.
Maybe some temporary problem with Google Play for newly added phones.

@Omphaloskopie That's supposed to happen.

It seems there is a problem with Google play.
Please take a look at the issue tracker.

From twitter feed now, saw that a few are experiencing the issue as of right now. It is nothing to do with devices, there's something b0rk3d on their end....

That's so true. After reseting options to default in APN settings it works. But sometimes a problem occurs again.

Got it!! (just had the same problem after updating from 4.3.2 to 4.4.2)

go to settings - Apps - All - and open Google Play Store
Click on "force Stop" then "clear data" then "clear cache"
Go Back to settings - Accounts - and remove account and add it back again (available for KK) or change it to the same actual password
Open market place and install a brand new app (never used before) and then install and update every thing you need :)

i9100 - CM11 KK 4.4.2
gapps- kk- 20140105

Won't work for the OP, as a factory-reset should already have done this :(

it's all about the procedure!!! It worked for me, have you try it?.... because i re-downloaded and reflashed my phone without success... but this process did work!!!

Why (and how) should I try it? I don't even have that problem. As to your steps: 2) a factory-reset clears data+cache, sure. 3) a f-r removes the account (user has to set it up after next boot). 4) is the only thing that could have triggered anything – so that might be something @xZero might wish to try.

dude, if you dont have the problem just stand down... this is a validation problem regarding time format and handshankes. If you reset it you will be forced to go trough the wizard that will set up your phone and eventually will generate you this problem.

If only people having the problem are allowed to answer, we'd probably drown in unanswered questions. No more discussions here, and check what you "suggest" (and whom ;)

Izzy, It ain't like that mate! I understand your tech perspective and that's why didn't agree with your disapproval .I've tried you suggestion and i didn't worked. I think that every one is entitled to help out with a valid suggestion. What I don't think is correct is you contesting my confirmed solution without being able to test it.. or even worst.. you are not even aware of the actual problem that is already being chased by Google.

Don't get me wrong. I just cannot see what steps 1-3 should do that a factory-reset didn't. I give you a big point for step 4: It wouldn't be the first time downloading a completely unrelated app triggers something on Google's end (think of the country-restriction when you move to a different country, changed creditcard+address in Wallet, and it still requires to buy some app to have those changes "applied"). True, 1-3 do no harm, but might be unnecessary hazzle in case a factory-reset had just been done.

never mind dude...

I tried this solution without step 3 and it worked for me. I tried a number of different things that I found on the Web before trying this one and they didn't work. It seems that downloading an unrelated app reset something on Google's end. Thanks!

Download .apk file of google play from here. If your device has the option, first select 'Uninstall updates' from your app manager for google play app. Then install this .apk file and then try using it. (You should also remove your google acc before uninstall/install).
Let me know if this worked!

Just a note to help someone else with this on a Samsung S5 LTE

could not be downloaded due to an error. (403)

Everything was going great with my brand new S5, until I turned on the Download Turbo.
Note, prior to turning on the booster, I was installing apps successfully over a WiFi connection.
I turned on Download Booster hoping to install apps from previous phone quicker.
Natural enough thing to do when you have 30 apps to get through, wouldn't you think?
All of a sudden I couldn't download anything from Google the Play Store.
Oddly, The Galaxystore (a wierd extra Play Store that comes with Galaxy Phones) worked, but most of my apps were not there, and those that were did not know I had purchased them.
After perusing the web, and resetting things and changing Google accounts, etc., I finally tried turning of my WiFi connection, and switching to only 4G mobile data.
Of course the S5's Download Booster was off now.
As if by magic, everything in Google Play Store started working again!
Okay, so maybe something in the Download Booster tries to make multiple connections to the Google Play Store server, and it doesn't like that.
So I turned off Download Booster, and turned on the WiFi, and turned off the 4G mobile data connection. Back to plain WiFi, as per the data connectivity configuration that was working in the beginning...
Alas, Google Play Store would not work again (same error), even with only WiFi on now.
Back to 4G, switch off WiFi, everything works on Google Play Store again. Consternation!
In summary:
If you have an S5 and you turn on the Samsung 4G + WiFi Booster and connect to Google Play Store, kiss your connectivity to Google Play Store via WiFi goodbye forever.
You can still connect with just 4G Mobile Data (as long as WiFi is off).
It's almost as if the Google Play Store server remembers indefinitely that you once tried to connect with WiFi and 4G together, and forbids your WiFi connectivity henceforth.

Remove google play store from the multitasking menu and try again

An error "403" is the response code of the server (access denied). So as t0mm13b wrote, it's an issue at Google's end. Nothing you could fix from your device. As the OP did a factory-reset (read the question again), there's no logic in your suggestion, sorry.


text:
Maps app crashing
I have a Google play edition of the S4. Lately, I keep getting the window telling me that unfortunately maps has stopped working. The problem is I'm not actively using the app, but it does run through Google Now. I cleared its cache, data and even forced stopped it to see if anything would change but nothing. Help?

Can you disable it (Settings→Apps, Maps: is there a "disable" button)? If so, does that help?

Ill give it a shot. I'm sure it does but I use google now a lot just to view traffic/driving times and wouldnt want to lose that

Um, that contradicts the I'm not even using the app. But in that case, if disabling does the trick, Greenify might be worth a second shot. Might need either root, the donation package, or both, though.

I have a mac and Ive tried to root my phone but it never works. The free Greenify wont even locate the map app

Just go to Settings - Apps - Maps and uninstall updates. It may be that the new updates are the reason it crashes.
It would be good if you can switch off location setting in Google Now because every time you use Google now it starts locating via network or gps and starts up the map application in the background.


text:
How to root a S4 google play edition on mac?
I have been cracking my head open trying to find a good guide to root my Google Play Edition Samsung. I have sought out YouTube videos that utilize motochopper and terminal and while I manage to get Superuser installed, I don't have root access. I've also tried forums but most of them just use Windows. Is there anyone who's done this and can instruct me on how to do it?

Do you have adb set up on your computer?

No. There is an adb file on the folder but i have no idea what its for or how to set it up

I've posted an answer below that will hoepfully help. I would encourage you to read up on ADB, recoveries, firmware etc in the meantime. I said it below, but the feeling of bricking a device is horrible! Sorry had to delete the whole answer, I misrad, I didn't realise it was Google Play edition. That's far less easy.

It seems like you would be better off getting to a Windows PC and using ODIN and CFAutoRoot. Heimdall is the equivalent of ODIN for mac, but it seems like the Google Edition / CfAutoRoot / Heimdall do not work together.

Before You Root Android on Mac OS X

Make sure you backup all your data.
Backup MMS/SMS
Backup Call details & restore app
Backup other stuff with my most recommended Titanium Backup & MyBackup Root
Also make sure that your phone is charged at least 90% so that it does not goes of in the middle of the Root Android on Mac OS X process. Also be sure that your computer is set of with the antivirus and firewalls, the cable with the specific drivers must be ready

Please Download Droid Easy Root v7d.zip Now Extract this Zip Folder to specific destination.
Set USB debugging Enabled for your Phone, To do so go to Settings-Applications-Development, and check the box for “USB debugging”.
Connect your Phone with The PC.
Don’t select file sharing or tethering mode.Just be in the Charging Only State.
Open terminal and change the path to the folder we just extracted that is “Droid Easy Root v7d”.
Now execute the “run_to_root_your_droid3.sh” present there to open the one click root tool.
Its Almost Done, Now just follow the On screen Instructions and wait for the rooting process to take place.
Also during this the Phone will Reboot many times so just keep calm and let Root your android device.
You have Rooted Your Android.

OR
Please Download Droid Easy Root v7d.zip. . Now Extract this Zip Folder to specific destination.
After Download if the Zip File doesn’t unzips itself then double click and open it, A folder of same name will be opened.
Find the path of the new folder, To get it Right Click on the File and then File Info, the file path appears on the left side.
Open Terminal (applications>utilities>terminal)
Change directory to the new folder (the file path you found earlier) the following file path is an example:cd /Users/yourname/Downloads/droid_easy_root_v7
Press enter now the terminal will change to the new directory.
Remember always entering these commands – These Commands are case sensitive and you need to take care of your Caps Lock.
On your DX, be sure USB debugging is turned on, If not So then enable it by going settings>applications>development>USB debugging and tick mark the check box.
Now Connect the DX to your Mac and select Charge Only from the notification bar. Don’t Go For tethering or File Sharing Mode.
While still in terminal and now in the proper directory type :./run_to_root_your_droid3.sh
Now Press Enter. And Keep Upper Case and Lower case Letters in Consideration.
Now Just Follow The On screen Instructions And In this process the Phone will Reboot for 3 times.
Enjoy Your Rooted Android Through Mac OS X.

Downloads Droid easy root v7d


text:
Samsung Galaxy Ace S5830M CyanogenMod 7.2: Google Play gives error 492 after factory reset
I have a Samsung Galaxy Ace S5830M from Telcel, Mexico running CyanogenMod 7.2. Per a previous thread I managed to install Google Play from the Google Apps package from the CyanogenMod Wiki for CM 7.2 by explicitly mounting /system from ClockworkMod (since I was wrongfully assuming it mounted automatically) and already added my account to the phone, but now I can't download anything from Google Play due to error 492. I already did a factory reset from ClockworkMod and it didn't work.

lel nevermind, I found the answer on this 492 fixer package that fixes Google Play right from ClockworkMod. http://forum.xda-developers.com/showthread.php?t=2531392

Would you mind posting the answer here and mark the question as answered?

And while doing so, please add some lines of explanation (e.g. how to install, what it does). Thanks alot!

This problem can be solved with the 492 Error fixer package from this thread here on XDA Developers. You just put it on the SD Card, reboot to ClockworkMod (which I'll assume you already know how to do), go to Install zip from sdcard, and install the fixer package.
Once you install it, you should be good to go.

i need a method without rooting


text:
Disable screen lock on samsung galaxy pocket gt s5300
i have forgotten the screen lock on my galaxy pocket. Right now my phone its unlock, but i want to disable or change screen lock pin and i cant remember the pin a.set before. Please help how to remove it complete it, I have setted up the screen display up to 30 minutes so the screen doesnt lock.

You should be able change your PIN (or change the lock mechanism) under Settings > Security.

Simple way to remove the screenlock : No Lock
If you have forgotten your screenlock, there is an option on the loack screen for it where youc an verify your google ID that was used to setup the phone and your google id password! It will take you to reset from there. Just remember you need internet for this.
UPDATE: I realised it doesnt answer your question on how to disable it!
To disable it you would need to enter current pattern!


text:
How to exit fullscreen in android chrome?
I've added one of my regular news websites to my homescreen in android chrome (android 4.4, phone). This works great, it now even opens the site fullscreen to give an 'app experience'.
How can I exit this fullscreen mode? For instance so I get access to the menu so I can share articles.
The 'add to home screen' feature is described here

Is this on a tablet (and not a phone)?

This is on a phone (nexus 5)

I'm not very familiar with the fullscreen mode. But I've played around around with Chrome on my S4, and it goes into fullscreen mode if I scroll to the bottom of page (the address bar disappears). If I scroll to the top, it shows the address bar again. To exit, I just quit as usual, by pressing the back button key on my phone. Is this what you are talking about?

I've made the title more clear so it reflects the question. It is about exiting full screen, not exiting the app.

The fullscreen is just a matter of scrolling to top or to bottom. This is the way Chrome for Android implements "fullscreen". Have you observed the behavior?

The behavior is different when starting a site from a link from the homescreen, the scrolling up doesn't show anything, the browser actually starts in a different mode or something.

http://android.stackexchange.com/questions/55659/how-do-i-disable-full-screen-mode-in-chrome-for-android

I don't think you can. The site is supporting the mobile-web-app-capable view which means Chrome displays it like an app, hides the address bar and it integrates into the recent apps menu as though it was a 'normal' app.
I don't believe there is a way to exit fullscreen when using a bookmark to a site like this.
For those who are unsure what the OP is referring to, http://weight.aerotwist.com/ is a site that supports this 'app' mode. If you browse to the site in Chrome and chose the menu option "Add to home screen" this adds a 'bookmark' to your home screen which when used launches the site in Chrome in app mode.
See here for more details.


text:
Connecting to PC's localhost without wifi via USB
I have a local server (XAMPP) on my PC. I'd like to test a local mobile site on that server. I do not have tethering as an option. At home, I can just use my local IP address and all works fine, but at work, that doesn't work. Somehow I'm on a separate subnet, and even if I force my device on the correct subnet, it still doesn't work, even though from my PC I can ping my droid.
So is there a way on my ICS tablet to plug into my computer via USB and through some setup, preferably without additional software, get to my localhost server?
Note: I also tried activating my mobile hotspot, and that didn't work either.

Just for clarification: you try to access your machine at home while being at work? And use the local address for that? I hope I got that wrong, as this cannot work.

@Izzy No, both devices are at work.

Presumably at work your phone is on a wifi network and your PC is on a wired network? You might want to check with your network admins whether the wifi network is fully trusted by wired devices, and if there's a firewall and/or NAT-ing happening between the two, as they might be blocking/preventing what you're trying.

@GAThrawn Tablet is on wifi. PC is on wifi. I work at a hotel, so no configurations are going to be changed. That's why I want to find a way to just do it without internet.

@David This bit "Somehow I'm on a separate subnet" sounds like known/trusted devices are being segregated from unknown/untrusted devices. We do this with our company wifi so that trusted devices can access the internal network and servers and untrusted ones can only access the internet. Someone in IT would need to add the phone to the trusted group to get round that, just changing your IP won't do anything useful, as the router knows which devices are which.

In the meantime, it sounds like you're trying to "reverse-tether" over USB, so you might find the answer looking through some of our previous questions on that.

@GAThrawn there are no trusted devices on this network. As I said in my last post, I work at a hotel. I came across reverse tethering while searching for the answer to this before posting here, but, as I said in my original post, I don't have tethering as an option for my device.

@David your "mobile hotspot" is tethering (where a device gets internet connection through your phone) Reverse Tethering goes the other way,  your phone gets internet connection from another device, this is what you want. There are questions in the [tag:reverse-tether] where developers are trying to view websites hosted on a PC from an Android phone, my link in the comment above also cross-referenced that with the USB tag as reverse-tethering over a USB cable sounds like the easiest way for you to connect the two devices.


text:
Sony Xperia P bricked!
I was trying to root my phone. But unfortunately my phone is bricked. I tried to switch on but failed. Even the notification light is not coming. When I connect it with PC using fast boot mood my PC says to me USB device not recognized.
Details on what I did:

I have downloaded this file from Mediafire
I've unzipped it and there was an .elf file
Copied that .elf file in a folder that I've downloaded from this link
Copied SuperUser from here to the device's internal storage
switched off my phone and started the cmd there
Then executed fastboot flash boot keiran-recovery-st25.elf

That brought up my issue then.

For us to help, you need to [edit] your question to say exactly what steps you took when trying to root your phone. That's the only way to know what's gone wrong.

@Dan Hulme. I have downloaded a file from this link. unzipped it and there was a elf file. And I paste this elf file in a folder that I've downloaded from this [link] (http://hackmyandroid.com/use-adb-fastboot-commands-without-installing-android-sdk/2479). then I switched off my phone and started the cmd there. then i wrote fastboot flash boot keiran-recovery-st25.elf. and here is the wrong.

I've just integrated the facts from your comment into your question. What looks really strange to me is flashing a Linux .elf binary, which is named recovery, to your boot partition. Looks double-wrong (boot != recovery, .elf != image). So as you obviously borked your /boot partition, this explains your situation. Have you tried booting into recovery, fastboot, upload modes?

@Izzy, No, I haven't tried booting into recovery.

@Izzy I missed one thing. Before turning off my phone I have downloaded this app. and i paste it on my internal storage.

Not really related to your issue (though that fills the missing gap on how it's related to rooting). Please, put additional informations into the question itself (using the [edit] link). I've done that for you again. // Try booting into recovery/... and flash a clean "boot-image" (not an .elf binary). See Where can I find stock or custom ROMs for my Android device? for where you can find one.

@izzy, my phone is not connecting with with pc. When i tried to connect it with PC, red led is blinking!!

Sorry, from here on I've got to pass that to someone else. I've got no Xperia device, so I cannot even say whether it has an LED, even less what its blinking might mean. Good luck nevertheless! Hope someone with Xperience is picking up.

@Izzy, Thank you for helping me in this situation. And sorry, I annoyed you a lot :)

Nobody forces me to answer, so you didn't annoy me. Instead, you always provided the details asked for, which is how this site works. Just remember you can [edit] your question anytime to add more details/hints/feedback of what you've tried meanwhile ;)

I will keep in mind it from next time. :)

Just followed step 3 from this link. This helps to recover my Xperia P.

How to install the newest Android 4.1.2 for Sony XPERIA P LT22i

First of all, check your firmware version (if you already have the newest one, you do not need this tutorial)
Download and install latest Flashtool from Google Drive,
  Ulozto or
  Mega
Download also latest Android 4.1.2
  (mirror)
  for Sony XPERIA P LT22i
Paste the .ftf file downloaded in step 3 to folder /Firmware included in the XPERIA Flashtool
Open the XPERIA Flashtool, click on flash and choose downloaded firmware, then click OK.
Important - if you do not want to delete any data of your phone, just
  uncheck flashing userdata.sin file. All data will remain in your
  phone, but sometimes it can cause additional troubles. So it is better
  (and I recommend that) to do the backup of your personal data, than
  proceed with clean instalation and then restore your personal data.
Turn off your phone and when Flashtool shows pop up window, connect phone to PC with holding volume down button
After few minutes all is done and your phone gets the new firmware

(Demonstration video can be seen inside the link)

Can you elaborate a bit more to prevent link rot, a link only answer is not a good answer.

I added the relevant quote. Feel free to improve it.


text:
Kies stuck on "connecting" on Mac+Samsung Galaxy S2
I have the latest version of Kies, OS X, and a Samsung Galaxy s2 with CM10 on it.
It is set to MTP with USB debugging off (if it's on USB storage rather than MTP, Kies crashes).
I tried playing with many parameters but none of them seem to work - when I plug in my Galaxy, Kies shows "connecting" and nothing happens.. (the program itself is not stuck).
Someone suggested launching phone util (7284) and changing the PDA/modem stuff, but it doesn't launch on my phone, I guess it's because of my CM10.
I also tried rebooting the phone/Mac several times.
What else can I do?

You can't use Kies with custom ROMs (like CM), only with Samsung ROMs.


text:
How to install 'Google play services' over an android phone samsung galaxy Y S5306 using my PC?
How to install 'Google play services' over an android phone samsung galaxy Y S5360 using my PC? Will it require kies?I am facing the similar issue as faced by this gentleman (Can't install Google Play Services). The resolution has been provided in the link but I dont know how to install apps over my phone via a PC. Pls

Open your browser and log-in to https://play.google.com/ using your Google account. Then, open this link on your browser: https://play.google.com/store/apps/details?id=com.google.android.gms
It might ask you to open the link in Google Play. Don't do it. Choose to open the browser instead. You should see an Install button in the page. Click it, and the app will be pushed to your phone.
Let me know if it works.

If installing it directly from the play store doesn't work for you you can try downloading the file from other websites that host it and then transferring it to your phone using a USB cable.
http://www.xda-developers.com/android/apk-compendium-google-play-services-4-4-52-for-all-densities-and-the-rest-of-this-weeks-updates/
Here's a link to the latest version.


text:
PHone rebooting when screen turns off
My phone started rebooting all by itself all the time after I did 2 things with it. Installed Snapdragon BatteryGuru and put it on learning mode (for an estimated 3 days I guess) so that I could start saving battery by the app learning my behavior, and cleaned RAM with CleanMaster. These were the only changes I've done, I don't remember which was first but soon my phone started rebooting whether I was handling it or not at random intervals. I've also noticed the phone was hot all the time, the Note 3 runs into some hot period with some frequency but not with that frequency.
I've uninstalled both apps and it didn't work, wiped cache and it didn't work. The phone was still rebooting even on safe mode. After I wiped Dalvik with the help of TWRP, I thought the problem went away but when I hit the power button to turn the screen off, the phone rebooted and it will now always reboot when the screen turns off, even if it's just from the phone being inactive. Note 3 SM-N9003 VJUBMI6

Rather than creating a new question, you should edit your previous question to add salient details.

Yes, it is, I warned about that on the thread, thought it was best. Sorry, should I just delete this and copypaste it to the old one? I thought this one should be cleaner and better for future reference but I'm aware that might not be best practice in here

You should definitely copy/paste and update your original question. Try apllying some good formatting as well, to make it better readable :) This post will be closed as duplicate soon, and then might serve as a "pointer" to the other one in search results.

I'll just delete this one then if you approve the changes made to the original one.