text:
Can I still use HTC Sync (OSX) software if I root my One S?
I have run out of app space so am thinking of rooting my phone (HTC One S) to be able get rid of the many unremovable preinstalled apps that I never use.
I was wondering if the HTC Sync software on my Mac will still recognise the phone once it's rooted?
The software is a bit crap but I would like to be able to get photos off the phone via USB still.

Yes, it should work. I don't have a HTC, but are you sure you actually have to use that software ? It should be possible to connect it in mtp or Mass Storage device mode, and avoid the software.

NB: Getting rid of pre-installed apps won't usually give you any usable space for new apps. System apps are on a completely separate partition, so you'd have to either alter your device's partition table (risky) or move other apps into the "system" app space.

@eldarerathis thanks for the info!  if I install eg cyanogen does that replace entirely the existing partitions, system apps etc?  otherwise I found some apps in Play store that can move user apps to the SD card, that would solve it for me, but not sure if they work with all phones

Custom ROMs typically don't alter your partition structure. Having said that, I do recall some situations where ROMs did things like that to try to create more usable space for apps. You may need to check the ROM developer's information (assuming they post some) for accurate details. CyanogenMod, to my knowledge, will not alter your partition table.


text:
Using ADB shell, How I can disable hotspot / tethering on lollipop Nexus 5
My screen got broken and I've been using my phone with a VNC Server installed on it, but this morning i'd the stupid idea of enable hotspot just to see if I can use my mobile data plan on my laptop, but when I did this, the wi-fi got disconnected from my router and now i only have access to my phone using adb shell.
I need to disable hotspot from ADB, already searched on google but didn't find anything, i also tried disable and enabling wi-fi, doesn't works.

A cleaner way to do it is by calling "service call" command.
For example on my phone I could call
# Start Wifi tethering
adb shell service call connectivity 24 i32 0
# Stop Wifi tethering
adb shell service call connectivity 25 i32 0

Service call will call the function number 24 in connectivity service (which happened to be the function that turn on tethering) and pass it 0 as argument (0 would be wi-fi tethering, 1 would be usb tethering and 2 would be bluetooth).
Sadly service functions code change from one android version to another. This stackoverflow reply explain how to get the right function code for your current android version.
https://stackoverflow.com/questions/20227326/where-to-find-info-on-androids-service-call-shell-command
Also this is the functions list for connectivity service for the android version I am using (Nougat)
https://android.googlesource.com/platform/frameworks/base/+/android-7.1.2_r1/core/java/android/net/IConnectivityManager.aidl

Looks like I'm missing some permissions, can see that in the parcel-log i get when executing the command

Yes, I forgot to say that you need to be rooted to be able to do this so you need to execute the "su"  command before running any of these.

Is it possible to set ap band through this method, please let me know how

I tried to do quick check but in modern android, the IConnectivityManager.aidl file is not there anymore to check. I don't know which file replaces it unfortunately
I'd suggest asking new question instead.

  adb shell input keyevent 3 # home

  adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings

  adb shell input keyevent 20 # down

  adb shell input keyevent 20 # down

  adb shell input keyevent 20 # down

  adb shell input keyevent 66 # enter

  adb shell input keyevent 20 # down

  adb shell input keyevent 20 # down

  adb shell input keyevent 66 # enter

  adb shell input keyevent 20 # down

  adb shell input keyevent 66 # enter

+1. This is helpful though in my CM12 I had to add some more keyevent 20 and 66 but it works well. Good!

By using this question,  the solution can be decreased to just three steps :- adb shell am start -n com.android.settings/.TetherSettings -> adb shell input keyevent 20 -> adb shell input keyevent 66 . Done!

This worked for my Nexus 6 on Android 5.0 to enable WifiTether but I had to add one more keyevent 20. Seems 5.0+ has borked the ability to enable WifiTether from a Tasker plugin or from Tasker itself. There's really no am start command that will start hotspot directly?

source: Stack Exchange

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

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

sort: votes


text:
How to flash TAB 900 Android Tablet
I have Sunstech TAB 900 tablet, and it ships with Android 4.0. I want to install Android Lollipop on it.
I have tried to use "apply update from external storage", but it gives me "E: Short write of /tmp/sideload/package.zip (No space left on device)" error, even if I have 1GB available. and Lollipop needs only 800MB.
I also tried to install CWM, but the device is not supported, also tried the fastboot method but again it can't detect my device, and there is no drivers provided by the company, but adb detects it.
So, is there any way to install Lollipop, or it's a dead end?

There has to be a custom recovery for your device first that will allow you to do a backup of your current stock ROM. Second Lollipop has to be released for your tablet. There could be a custom recovery for the Sunstech TAB 900 from TWRP. Look into it. Go to the Play Store or do a search for custom recovs for your device.

I see, so it can't run on all devices! Thanks for the informations man!

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


text:
"System has been modified please contact the manufacturer, thank you!" message appears on the lock screen of SKK Mobile Prime
My phone is an SKK Mobile Prime on Android 4.2.2. I accidentally deleted my Android device manager and other folders on my phone that I thought were not useful at all. After that, this message appeared on my lock screen:

System has been modified please contact the manufacturer, thank you!

I can't unlock my phone without having to touch the upper portion of the screen where it will show you the time, date, and the setting icon for your phone. So, after doing so, I tap the "back" button or "home" just to see the phone menu and do stuff. I know something on those deleted folders has something to do with this.
This has been my problem for 4 months already. I've been to different technicians, but all they do is charge me overprice.
Can somebody help me?

Tip, in the future, don't delete system files. Especially when you don't know what they are.  I'm not sure based on your question how bad it is, but a factory reset will probably fix it.

@TristanWiley a factory reset never brings back system files, sorry. Please check our factory-reset tag-wiki for details.

Ah right, forgot about that Izzy. Although, reflashing the OS may work?

There are only two ways out of this:

restore the backup you (probably didn't) make before tampering with system files
try to backup what you still can, and flash the system (either with the stock ROM for your device, or with any matching custom ROM, whatever you prefer. If you don't know where to get that, take a look at Where can I find stock or custom ROMs for my Android device?

For the future please note that everything you delete in /system will be gone for good. Always make a backup before you play there – and make yourself familiar first with what you're up to do ;)

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


text:
The SU binary must be updated
Xiaomi redmi 2 runs MIUI 6.2.4.0(KHJCNBK)
I ran a zip file in CWM, and had a success done!:

Then installed SuperSU from google play, it wanted to update binary, so I clicked normal. It said failed and wanted me to reboot. I did, tried the second option (CWM). It says SuperSu will attempt to reboot. I click ok and nothing happens. What's the way out?

In the second option, the app is supposed to reboot into Recovery and do some flashing on its own. Try using that CWM/TWRP option again and if it doesn't reboot then reboot into recovery manually , find the option to update su binaries and execute it. Usually a modern recovery will give you this option when you try to reboot the device from it. This app (though great) is sometimes a mess. I'm aware of this issue. Also, could you share the link where you read this rooting technique? I need to see something.

Reboot into recovery after copying this file into root of your SD card. Flash this file using a custom recovery like CWM . Reboot phone. Check for SuperSu in your app drawer.
SuperSu 2.46


text:
Nexus 10. The device cannot start. Code 10.
I had some problem with my Nexus 10. Died on me and then came back from the dead.
Since then it refuses to connect to my PC.
In the Device Manager I get "The device cannot start. Code 10."
I have uninstalled/reinstalled the USB and ADB drivers to no avail.
Even did a factory-reset to the tablet (was nothing real important on it).
I am totally stuck. I need to use it for development and it is totally useless to me like this.

So you have to get the android sdk and install adb and the relevant Google drivers for your device. Uninstall any current ones you have. Not from the control panel but device manager
This guy had the same problem as yours but he had a i9250
http://forum.xda-developers.com/galaxy-nexus/general/howto-install-google-sdk-adb-drivers-t1830108


text:
Updated Galaxy s3 and SD isn't recognized
I recently updated the software on my phone and it works great!! It's lollipop 5.1.1 , the problem is that the phone doesn't recognize the sd card anymore and my computer doesn't recognize as a removable drive anymore. I just want to know with that being the problem is there a way to downgrade back the the old software? and how if I cant use the sd card?

I also have a Galaxy S3 and it has "eaten" two SD cards! The phone won't recognize the cards anymore and my computer doesn't recognize them either. Did you find any solution for this or are the cards just fried?

There could be simple fixes that will allow you to keep your upgrade. With each new "flavor" of Android new APIs are released with relation to enhancements to the OS. Have you tried a brand new SD card? or backup and format for the current one?  Also a reinstall of the USB drivers may help. I hope you backed up your previous stock ROM because if not you will need to find one online(if possible). It will help if your device is rooted.  Good Luck!

There is lack of info from OP, but reinstalling drivers wouldn't make an SD card popup in my computer as removable drive since 4.4+ and 5.0+ devices doesn't have "USB Mass storage" support.

I was under the impression that the host device (computer) was not recognizing the tablet. Suggested the reinstall of drivers as maybe a way to get to MTP due to the upgrade.


text:
Log into WiFi network on Android Wear
Android Wear has a new feature where you can connect to WiFi and get notifications even while away from your phone.  If the WiFi network is secure, then it uses the login credentials last used on your phone. However, some WiFi networks aren't secure, but before you use the network, you must log in from a browser, such as at public places like cafes or hotels.
How can I do this from my watch, since these credentials are not saved for use on wear?

Since the login process isn't something the phone can "teach" the watch, you probably won't be able to use those networks.

This limitation has been discussed in reviews, and is mentioned directly in Google's Help page about it

Note: Your watch cannot connect to Wi-Fi networks that take you to a page before you can connect (for example, Wi-Fi networks at places like hotels or coffee shops).

It is simply not possible at this time with standard Android Wear.
XDA Developers does detail a way that they claim works, if rooted, to achieve this, but it's a lot of extra steps, and won't work for devices such as the Moto 360 that don't give you access to ADB. Presumably custom ROMs could build something in to support this as well, but I've seen none at this time.


text:
Backlight on Samsung Galaxy Tab Pro 10.1 is not working after dropping it
My Samsung Galaxy Tab Pro 10.1 tablet was dropped. It comes on and the screen is fine, however, the screen is black. I can see the screen with a flashlight, though. Can this be fixed, and if so, how?

The hard thing to say about this issue is what else may have been damaged in the fall? Obviously the screen, but what other hardware/ribbons/connectors etc? It is hard to depend on a visual inspection because there are many times where chipsets look fine but aren't running properly. Replacing screen alone is tricky. I suggest you instead go to service center or some repair shop. In my guess its the digitizer that might be damaged but I am no pro in field of hardware repairing.


text:
I was recording and video on my phone when the battery died, how can I recover the video file?
I read the other questions I could find. This is completely different. My question is NOT about finding the file.
The file is on my phone. It is the correct size. It shows as an mp4 with the right icon on windows. It has an mp4 suffix. It's 22+MB so it's there. It will not play in MS Media Player or with VLC player. It doesn't show up on the phone itself in the gallery, but it's there when I connect the phone to my laptop.
I was recording the video, my battery died, the phone shut off while I was recording.
There are many programs on the internet that claim to fix video files, but I'm afraid to download any of them because I do not want to get a virus.
My phone is an HTC EVO 3D. My carrier is Sprint. My laptop is a Samsung running Windows 7. I recorded it regular mode not in 3D mode.
How do I play this file? How do I fix it? What should I do? If there's a piece of software I should download to my laptop to fix it, what is a good reputable site where I won't get malware/virus?

About the malware(virus) part, you can use VMware/VirtualBox to contain the software in an isolated environment. Then download anything in it from any site and test it on a copy of video file. No worries; I use it a lot. // Does the file show up in MX Player? Could it be possible to share this video file if there are no privacy concerns?

@Firelord Thanks for the quick response. I didn't know about those pieces of software to create a virtual space. Where can i download a copy and not have to worry about malware/virus/etc.? What is MX Player? I've never heard of it. I've actually got a bunch of other files like this, but I never could figure out why they were "corrupted"(for lack of a better word). I'm not sure which are of more of a "private" nature, lol. Thanks again for the quick response.

Virtualbox(Free) or Vmware Player(You may use the Workstation as well.). MX Player is a powerful media player for Android. I suggested it in hopes that it might be able to decode  and play the file somehow.

@Firelord My phone is such a piece of garbage, lol. I wouldn't dare install anything on it. I took it to sprint and they said it couldn't be fixed. This is my 4th one, mind you, and I got this phone the day it came out in 2011. I've had a free upgrade due me for two years but just nevered bothered cause I didn't like the new phones. They said this one couldn't be fixed and offered me a new model free phone, but I told them I couldn't just leave it with them as I needed my data. They told me I couldn't get it off cause the port was bad, but I told them I could connect it to laptop still -cont'd

Also, [SU] has lots of questions related to Virtualbox and Vmware. It is possible you may stuck at some point where you want explanation or help. Try searching on [SU], it will definitely help.

@Firelord plus I can connect to the Internet(albeit super slow). Anyway I took the phone home only to find out that she didn't put all the screws back in it, lol. So it falls apart, etc. It's really messed up. I should probably go exchange it in tomorrow, I just haven't found the time to get everything I need off of it. It'd probably blow up if I tried to install something on it.

Let us continue this discussion in chat.

I had the same promblem. A solution which worked for me was an app "MP4Fix", which you can get in google play for free. It repaired my video in a few sec and placed it in different folder (it kept corrupted video in the same place and also created new repaired one).
I know this info might be too late for you but it might help some others.

Welcome to Android Enthusiasts! This answer might be more helpful if you add a link to the app you're recommending.

To expand on Martin's answer, yes you can use MP4Fix.  However it is very strict what the video is made with.
I found I needed to set the recording settings in order for the mp4 video to be in a supported format and not get error 'Not Supported'
Video Encoder H264
Recorder Format MPEG_4
File Format MP4
Audio Encoder AAC
Additionally I set video resolution, framerate, and bitrate.
I was then able to recover video.
FYI:  The Recording App is SVR but others are named the same.
Found using: secret video recorder (free) tristan
https://play.google.com/store/apps/details?id=com.tristan.enhanced_camera

You'd better disclose your relationship with that app.

My relationship with that app is end user.

authors: Юра Бірковіч


text:
Can't get my new phone synced with data from old one
My data (contacts, etc) were synced from my old phone running Android v4.2.1. And now I'm trying to store my data to my new phone with Android 5.0. I've set up my account there, verified that sync is turned on and pressed "sync now". However, absolutely no data appears on the new phone. What am I doing wrong?

try going to contacts app and check in its settings if it has some "import" option to import from google synced fonts?

@Jaskaranbir Singh, I don't see any import option. It has "show contacts from Google" menu, but it's empty.


text:
Rooting the Micromax Canvas Spark
How can I root a Micromax Canvas Spark?
I have found many procedures on the Internet, but I am not sure whether they will work or not.

Which methods did you find? Have you tried any of them? Have you looked at the "generic" methods listed in How do I root my Android device?

If you are afraid of trying long root proceduers.
Try Root Apps because generally micromax devices are Mediatek and can be rooted with apps like Root Master, iRoot etc.

If you're uncomfortable with this method involving some super-root.apk then use SP Flash Tool to flash recovery with a custom one. I see that this is a new device and custom recoveries aren't available yet. However, there is a guide here which claims to make CWM recovery for your device in few simple steps. Check it out.


text:
ADB disconnects frequently while moving in a car
I filed this as an Android bug (AOSP Issue #175555) and somebody recommended posting here. I'm actually not sure it's appropriate to post this here but I'll give it a shot.

Get into a car a passenger.
Open your laptop and plug in your phone.
Watch logcat
Ask the driver to make their way to the freeway using a route that take more than 5 minutes.

Roughly, after about 5 minutes the phone will disconnect from ADB. Unplugging the phone and plugging it back in, the phone will reconnect but disconnect. Maybe it's an illusion but it seems the faster the car is driving, the quicker it will disconnect.
I've tested this with an HTC One M7 and a OnePlus One. If the OnePlus is not involved, the HTC always seems to be able to reconnected. However, once the OnePlus can't connect enough times, nothing can connect, not even the HTC One. The OnePlus seems to "poison the well" as it were.
I've tried several different USB cables and ports on two computers, a Macbook Pro and a Lenovo Yoga. I'll be on a road trip this summer and can debugging more with a third phone.
If there are any tools that I can use or commands I can run to help debug this issue, please advise and I'll use them the next time I'm debugging my app in the car.
Lastly, sometimes my OnePlus disconnects while on my desk but it's far less frequent and usually only after a long period of not being used.

We don't really accept bug report since we can't do anything to fix the cause, but perhaps this is not a bug but a hardware issue, which is on-topic here. I still doubt if the "inside the car" is related and intensifies the issue, but I never try that, so I can't comment. If it's related, then it makes this issue very interesting though. I'd suspect loose USB host, but it doesn't seem to explain why "the faster the car is driving, the quicker it will disconnect".

Which CM version are you running on OnePlus One? I've this seen this irritating problem in CM12?

@Firelord, I experienced this on CM11 and have not had the opportunity to reproduce on CM12, yet.

Since you are sure that its not a port/USB wire issue and since ADB does detect phone, its not a driver issue either. Hence saying what the real problem is likely not really possible to be accurately predicted. ADB is a very "delicate" stuff. A slight connection problem causes disconnects... My best bet here would be loose connections. You should certainly try with other computers if you can.
For timebeing, there is one thing you can try if you debug while phone is on (and not in recovery or fastboot mode), ADB through wireless. Like using your wifi for adb. The adb client will be on your laptop and you can issue commands just like normal to phone through your laptop. Although modern ROMs have inbuilt option for this called ADB over wireless which you can find under settings->developer options. But in case you dont have that option, you can also use third party apps that allow you to do so like ADB Konnect.
Just install and open any such app and it should give you an address according to wifi/network you are connected to. Lets say it gives you 123.456.7.8.
Then open CMD/Terminal in laptop and use the command adb connect 123.456.7.8 to get connected to adb. Then you can issue all your commands as normal.
The downside is that your phone Has to be on. So in recovery/fastboot etc, you cant work using this.

I did try with other computers and different cables, but the issue persists with OnePlus One only. Ultimately, I ended up using SSH shell to access my device.

I updated the question. I forgot that I tried this on two different computers.


text:
Mute button greyed out - Any app replacement
All,
I have a redmi 1s which I have flashed with cyanogen mod 12.1. All is well except, when I am in a call, mute button is greyed out.
This is a pain for me as I am a part of various conference calls for hours during any weekday and I cant stay without muting always.
Any solution to this in terms of replacement or tweaking my cyanogenmod?
It would be really helpful

Have you tried clearing the cache and data of the Dialler app. If not find the Dialler app under Setting > All apps > Dialler > Clear Cache and Clear Data. Restart you phone and check.
If the problem persists, then you can try a third party app like Muted Conference Calls


text:
Is there a way I can prevent the back button from going to the home screen?
One of my pet hates about Android is the back button. It is fairly unpredictable what it will do.
Depending on where you are, it can do one of three things:

take the user up a page in the same app
take the user back to a previous app
take the user back to the home screen

Normally, I think the 1st and 2nd scenarios generally work pretty well. Even through I'm not sure where it's going to go, 90% of the time, it'll take me to where I want to go.
The last scenario is very frustrating and happens exclusively when I didn't realise that I was already on the first page of my app. It just dumps me on the home screen and I have to figure out how to open the app again. As far as I'm concerned I can't see any good reason for ever taking the user to the home screen when they hit the back screen - especially since there is a home button right next to the back button for that purpose.
Anyway, I want a solution to this. So is there some sort of app or some sort way I can program Tasker or another automation app to either

override and cancel the Back button action if it'll take me to the Home screen. Either have it do nothing or display a message
just disable the back button altogether if clicking it will take me to the home page.

I'm on Lollipop and unrooted.
However, although I want an actual solution for myself, I'd be interested in hearing of any solutions that are rooted or on other versions too.

@lucky - it's very unintuitive to me. The user doesn't always know when they're on the main screen, especially if they've come in from another app, and then hit back to go up the stack of the new app. I don't want to have to memorise the entry point of every app. Given there is already a home button - I would much rather just use that instead of the back button.

Can you mention an app as an example which just dumps you to home screen, rather than to a previous app? Please provide a practical use-case here. I'm making a solution for days but every time I check this question I get bit confused. // I can provide a solution where, if the app dumps you to home screen then it will be relaunched (optional: with the same parameters, like text or music). But I want to know, do you want this feature only in regard of Home Laucher, or  for  other previous apps too (I mean do you not want to be dumped (by your running app) to your previous app as well).

@firelord - I don't think an app will ever dump you to the home screen instead of a previous screen. My request is for an app that if there is no previous app, it won't kick me out to the home screen

I still need a demo app. All my apps (that are launched from a previous app) returns back to the previous app when pressed back button at main screen of them. None of them goes to home screen unless directly launched from launcher or from home screen. I know I'm close to the solution but I need specifics.

@firelord - I don't think you'll find an app that'll do that unless the developer has deliberately overridden the back button to do so. But the behavior I'm after I'd to not go to the home screen even if that's the only screen left to go to. I actually what's most frustrating is when you open an app from a notification and you hit the back button taking you back to the home screen and the icon go back to the app isn't even there

I haven't heard from you on my new answer, kinda discouraging. :) Is there something that is not in sync with the question?

@firelord - thanks sounds like you spent a lot of effort here. Unfortunately I don't actually have a rooted phone so can't try out the solution but it does sound very interesting reading about it

Thanks Diskdrive. But did you mistakenly accept my old answer? My new answer is here. :)

Ah weird I didn't realize you can post more than one answer here

Note that, usually, returning to the Home screen via the Home key vs. the Back key are actually different operations. When the Back key takes you to the Home screen, it means the app treated the Back key as a close request; the Home key tells the app to stay running. It is for this reason that many battery-saving guides tell you to always use the Back key enough times to get you to the Home screen when you're done using an app, rather than simply pressing Home; leaving all your apps open until the memory manager claims them tends toward higher power drain.

Well, this is still (after investing so many hours) a half-baked (aka partial) solution. You want a message, you'll get a message. :) We need root access for the solution.
Note: Tested the solution on Android 4.2.1 but works on 5.0 as well.

At this point of time, the message will be received as a Toast and it has no effect on Back key.
For the purpose of example I'm using ES File Explorer and BetterBatteryStats to display a message on their default screen.

Fire up Tasker and enable it.
Go to VARS and create a variable as +→ %Catch (you can use a different name but keep the first letter capital (global variable)). Similarly, create another one with name %Any.
Create a profile with application context and select ES File Explorer.
Create a task under the above profile and then an action inside this task as +→ Code→ Run Shell and enter these details:

Command: dumpsys activity | grep mFocusedActivity | cut -d ' ' -f 6 | cut -d '}' -f 1 -- this command will output the focused  activity (current app launched with its activity).
Check Use Root.
Store Output In: %Catch.
Save this action.

Create another profile with application context inverse of ES File Explorer.
Create a task under the above profile and then an action inside this task as + → Variables → Variable Set, and enter these details:

Name: %Catch
To: The (you can put any word)

This step will make sure that the variable %Catch doesn't hold the value (provided in during execution of step 4) after the profile in step 3 becomes inactive.
Create a last profile under Event → New Window and choose Full Screen under Window Type -- I earlier had Toasts even for dialogs on Main activity. Full Screen option will avoid it.
Create a task under the above profile and then an action inside this task as +→ Code→ Run Shell, and enter these details:

Command: dumpsys activity | grep mFocusedActivity | cut -d ' ' -f 6 | cut -d '}' -f 1 -- this command will output the focused activity (current app launched with its activity).
Check Use Root.
Store Output In: %Any.
Save this action.

Create another action in the same task as + → Alert → Flash, and enter these details:

Text: Don't back Disk :/ -- this is the message that will be displayed in the Toast. Choose wisely!
Tap + corresponding to If and enter %Any eq %Catch -- we're comparing the main activity name for our selected app with any window Android will open. If it matches, you'll see the Toast. Now you can see why we needed an extra "inverse app context" profile in step 5.

Save everything and enable all three profiles.
Note that I had to shift my Superuser app's root access Notifications from Toasts into Status bar notifications because the third profile will need root access every time Android will launch a window. Make sure you either disable your Superuser client's Toasts or change them into Status bar notifications. It was an invasive stream for me!
Anyhow, launch ES File Explorer and see the magic. The default screen of this app will show a Toast to you. You open any other activity and it won't bother you. Come back to main screen of it and see the Toast again.
You can have this behavior for multiple apps. Just choose your app in the profile we made in step 3 and 5. They are supposed to be added in OR context like ES File Explorer or BetterBettaryStats and Not BetterBatteryStats or ES File Explorer.

Some screenshots:
(Click any image for its larger variant)

                     →                                  →
(No toast for any other app)                                                (Default screen for BetterBatteryStats)

                    →                                    →
(No toast on dialog on same screen)                                      (Dialog closed and toast came back on main screen)

                    →                                     →
(Toast on Default screen of ES File Explorer)                            (No toast on dialog of the same screen)

(Toast came back as soon as dialog disappeared)

Commentary

The aforesaid solution didn't work on my device satisfactorily if the app remained in recent list (but OP is not concerned with it) and you happen to open it again.
You can get rid of app (and inverse) context based profiles if you use a string in  step 9 in place of %Catch like com.estrongs.android.pop/.view.FileExplorerActivity (Main activity of ES File Explorer). The solution will be reduced to two steps. :D
However, I would like things to be automated here, so why bother especially when you want to select multiple apps for the toast!

What else?

Every device more or less has a keylayout under /system/usr/keylayout. In my device the generic layout is named as Generic.kl. The relevant key is mentioned at
key 158 BACK    WAKE_DROPPED

If you put # in front of it and restart the device then the back key would be disabled. To remain at safe side, I swapped it with Meny key (key 139).
This swapping can be very beneficial in Tasker. Unfortuntaley, the changes take effect only at next reboot which is very counterproductive for our goal. Let me know if it can be done without a reboot!
Xposed Additions(requires Xposed Framework) can remap or disable the Back key et al, but it has no explicitly callable activities (relevant to the goal) which can be utilized by other apps. Also, it doesn't even seem to store a database or a preference file. So I couldn't use it with Tasker to achieve the goal.
Secure Settings (another Xposed module) has an option named Kill back button but it seems to be available for Custom ROMs and so, I couldn't test it. Some folks say it does work and I too saw the plugin useful for the goal. Check it out if you've a custom ROM.

I'm open to Ideas here!

I could not figure out the way to find out when an app would dump you to home screen if you press the Back key unless you launched the app from App Launcher. But, I can make sure that the Back key gets disabled if only your app is showing its main/first page. We need Tasker and AutoInput to do the job. The latter gives 7 day trial (full access).
Note: Root access is required for the following method.
First, we need to  find out the name of main activity of your app. You can try an app like QuickShortcutMaker to show the main activity of an app.
(Click image to enlarge)

The format is <PKG_NAME>/<MAIN_ACTIVITY_NAME> like com.android.chrome/com.google.android.apps.chrome.MAIN
Alternatively, you can use adb to do the job (Busybox required) provided that you know the package name (PKG_NAME) of the app,
adb shell
dumpsys package PKG_NAME | grep -A1 "android.intent.action.MAIN:" | awk '{print $2}' | tail -n 1 | tr -d '/'
Now that we've got the main activity let's proceed towards Tasker.
Instructions for Tasker and AutoInput

Enable Accessibility service for both apps from Setings → Accessibility.
Go to Tasker → Tasks and create a task named Disable Back Key.
Create following actions inside it:

Code → Run Shell,

Command: dumpsys window | grep "mCurrentFocus" | rev | cut -d '/' -f 1 | tr -d '}' | rev
Check Use Root
Store Output in: %CurrentFocus

We are simply storing the activity currently in focus.
Task → If,

%CurrentFocus eq MAIN_ACTIVITY_NAME

Change MAIN_ACTIVITY_NAME with the activity name you noted earlier.
Plugin → AutoInput → Modes,

Configuration:

Key Suppress: Enable
Keys: Back

Timeout (Seconds): None

Task → Else → repeat last step but change Key Suppress: Disable.

Create an event based profile from Event → UI → New Window,

Window Type: Full Screen
Priority: Highest

Link the task Disable Back Key in it.
Rename the profile to AutoInput disable Back Key.
Create a separate new task named Enable Profile.
Create action 3 of step 3.
Create another action from Tasker → Profile Status:

Name: choose AutoInput disable Back Key
Set: On

Create one more task named Disable Profile.
Repeat step 9 but change Set: Off.
Create action 3 of step 3 but change Key Suppress: Disable.
Create an application based profile from Application → YOUR_APP,

Add Enable Profile as Enter Task
Add Disable Profile as Exit Task

Deactivate  AutoInput disable Back Key profile because we don't  want to use CPU all the time in processing this profile on every new window formation by Android.

This is it. Launch the app you selected earlier and you would find that the Back key doesn't work when the main activity of your app is opened. Go to any other activity of the app like preferences or settings and Back key would come back to normal usage.

There is somewhat good news and bad news for owners of non-rooted Lollipop devices.
Good news: The said method can work without root access  as well. adb running in wireless mode and connected in loopback can do the job.
Bad news: There are too many booby traps in using it and I cannot (read: don't have time) work on to take care of them.
Do post an answer if you get rid of issues with adb.

The third scenario is the case where you hit the back button when you are the main screen of an app. Some app or games confirms the exit of the app with yes or no option..some do not have that..it will bring you back to the menu drawer or the home screen if you have launched it from the home screen or notification bar. So thats normal. If you are in the main activity screen of an app I would expect to show the home screen if i press the back button. Thats seems intuitive for me. And if back button exits an app without any confirmation you can still find it in the recents tab.
However in Lollipop you have Screen Pinning option available under Settings-> Security which allows you to stay in that particular app and back button will be disabled until you unpin the application. And you wont be able to come back to the home screen on pressing the back button from that application. But you can't switch from one application to another application without unpinning the current app.
If you feel you dont require the default back button actions anymore, Here is a related app in PlayStore. Back Button(No Root). You can turn off/disable the virtual or navigation bar back button completely if you want to using this app. The floating bar back button work fine in Lollipop but I was not able to enable the Navigation bar since it doesnot work on android versions 4.4.4 or later.

Screenshot (Click to enlarge)

Hi Lucky! How do you use Back Button app to completely disable back button (service turned on already)?  All I could see is it shows a soft key for back button. The reviews tends to say the same.

You have to turn off the back button option in that app..it will open the virtual navigation bar with  no back button..only recent and home key will be displayed..

Would you mind sending the screenshots of the settings?

You can see it in the application menu under the floating bar and the navigation bar tabs..just uncheck the back button and you will not be able to see it after activating..but the navigation bar doesnot work in kitkat and lollipop..only the floating bar i can able to hide the back button..


text:
How to change the date of network
in android social apps such as Twitter,Instagram...etc, is it possible to post with fake date on timeline as it allows in Facebook ?
note: my phone is rooted
Please help, Thanks! :')


text:
Paid apps when using 2 Google accounts on a same device?
I have seen here that we can use paid apps on several devices because play store apps are saved on a Google account (not on one device).
I have one android device but it will be connected depending on the days to 2 different Google accounts. Some paid apps will be on the first Google account and some others (not the same apps) on the second G. account.
● Will I be able to have all my paid apps on my device all the time?

Let say Day 1, I buy 2 apps (A and B) with my G. account 1 and install them on my device.
Day 2 I switch my device to the G. Account 2 and buy 2 more apps (C and D) and install them on my device.
Day 3, I connect back my device to the G. Account 1. At this point, will I still have on my device the 4 apps (A,B,C,D) that I have paid for?

● Will there be issues occurring from this process during backup, update,...?

I would test the theory first but I think they stay with the device after you sign off. You can also have two accounts signed on the same phone at the same time so your not logging in and out. You toggle them on all the google apps by clicking on your profile pic very much like the PC. If your good with file managing I have only had a few apps that I have paid for that I was not able to just import the file APK and actually share it with other user profiles and they worked just fine, in case you ever just wanted to have all paid on one account. Hope this helps some!


text:
Decrypting full disk encryption
I have latest nightly of cm12 (Android 5.x, Android M). Can I decrypt full disk encryption (which I know code of)? I have twrp and root, they should add support for that

Have you got cyanogenmod android M???

If I understand correctly, full disk encryption is a one way process, you will need to do a factory reset to get rid of it (assuming the cm guys took stock functionality, because that's how it works on stock).

I mean, that there should be some way to reverse it with root, but I might be wrong

To my knowledge, neither twrp nor clockwork mod actually support this functionality. There was a bug in cm for a while where you could not update the rom if you did full disk encryption,as twrp couldn't unlock it, (feature missing). You might have more luck sending an email out to the devs, maybe they will enlighten you further

CM is open-source :P


text:
Bluetooth issues on note 2 when paired to speaker
Problem : After pairing Galaxy note 2 (Android 4.4.2) with my Bluetooth speaker ( Jbl flip 2) i get a lot of fluctuation in sound while playing any song.
Even when i slightly move the device or the speaker, then i notice following changes:

Sound fluctuation
pauses while playing
finally speaker gets disconnected.

The problem is only noticeable when i pair it with Galaxy note 2. My Bluetooth speaker doesn't have any problem when pairing with other devices.
What have i tried:

I have tried to disconnect and reconnect the Bluetooth device.
Restarted my device and then again paired.
I have even formatted my device.

Please help me to fix this error!

When you say slightly move, how much do you mean exactly? There's a range Bluetooth devices work in. Are you sure you're not moving out of range?
If that's not the issue, try updating your phone, or installing a custom ROM. Another possibility is that there is a problem with your Bluetooth driver, but an upgrade in your phone might solve it. Note at this point it's like threading a needle in the dark and the issue seems rare, so it might not actually solve the problem.

No, the problem is not in range. Even if i keep those devices tied together, and move my phone then i get that same fluctuation.

Try updating your firmware or updating your phone , installing a custom rom might also solve the problem but this is all threading a needle in the dark.

I think this is the only solution left for me, i will give it a try.


text:
Upload video to another device during filming?
Here is the problem I am facing. If filming with a smartphone that doesn't come with a microsd card, you are severely limited by storage, especially if you want it shoot full HD video (on my phone that's 2.1-2.2 MB per second of footage). While it doesn't sound like much, I don't want to start deleting my apps and other pictures to fit the video footage (I have, at best, with stock apps only, about 10 GB of space, and I can't go around removing all my applications every time I need to video).
With that problem, I was wondering whether there is any way to transfer the video footage on the go to another computer (via Bluetooth or WiFi or even USB). Having searched all over the app store and other forums, I have not been able to find a solution, if it exists.
Tl Dr - is there an app / service that can transfer video files on the go to a secondary device, such that I am not limited to internal storage on a smartphone that does not have expansion options.
I have looked into other camera apps, xposed modules and even custom Roms but have not found anything that works just yet

Related: Transferring continuous Android camera feed to PC through USB (in a background app/service), Is it possible to write video directly to external device while recording(not answered yet), Record video and send it to server.


text:
Factory reset Samsung Galaxy S3 without screen
The screen on my Samsung Galaxy S3 has bitten the dust, and is now remains completely black. The phone otherwise seems to be working, however (sounds play, the notification lights light, the touch screen seems to respond, etc.)
I think I'll give it away to anyone who wants it for parts. But first I want to wipe my data off it. Unfortunately, since I can't see the screen, instructions such as "Scroll down to 'Factory reset'" won't work.
Can anyone tell me the exact sequence of button presses to do a factory reset from the bootloader, without seeing the screen?
(Unfortunately, the phone isn't set up with Android Device Manager.)

You should be able to wipe from recovery mode. Just search Google for a few screenshots and you know how to do it. And you haven't got any warranty more?

Or You can use ADB

@Ash-Ishh..: I think I need to allow or set up a debug connection on the phone before I can use ADB, don't I?

@SuperThomasLab: Yes, that's what I want to do, but since I can't see what I'm doing at all, I haven't had any success. I could use some more information on timing, when the phone vibrates, the order of the yes/no prompt, and that sort of thing.

@kundor ADB is default enabled in Recovery (at least in custom ones, don't know about your stock Recovery). You just need to somehow boot into Recovery using key combinations and then take care of rest using ADB. Can you boot into fastboot mode? You can erase/flash userdata using fastboot commands. I don't know about Samsung but I guess some tools that I hear most of the time like Odin, Heimdall and similar ones may help here. Good luck!

You could use recovery mode and guess the controls from resources available online or you could use adb if u had developer options enabled and type:
adb shell
--wipe_data

EDIT: I read the comments on your question and it looks like if u wanted to reset it you can go into recovery (Home+VolumeUp+Power) and then press volume down twice and then press power and then press volume down 6 times and then press power again.

Well, I've tried the button presses at least a dozen times with no success. When I turn it on with Home+Volume Up+Power, it buzzes, then a couple of seconds after I let go of the buttons, it buzzes again. Does it matter if I press volume down before or after this second buzz? Is there a delay before the second menu loads (when I press volume down six times)? Does the indicator LED light up at any point?

Keep the VolUp+Home+Power button combination held for 7 seconds then release Power and keep holding VolUp+Home for another 7 seconds then perform the VolDown twice then Power then VolDown six times then Power button presses.

No Problem, glad I could be of assistance! :D

This link shows the exact clicks for factory reset without a screen:
http://visihow.com/Is_there_a_way_to_reset_a_Samsung_Galaxy_Note_3_without_the_screen

Welcome to Android Enthusiasts! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Otherwise, your answer becomes useless in case the link dies. For further hints, please see: How do I write a good answer.


text:
Unlocking the Nexus 9 bootloader
I'm trying to flash the Android M Developer Preview onto my Nexus 9 (volantis) following the steps from Google.
However, when executing the unlock command, I get an error that permission is denied:
$ fastboot oem unlock
...
(bootloader) ability is 0
(bootloader) Permission denied for this command!
OKAY [  0.006s]
finished. total time: 0.006s

What have I done wrong?

The instructions don't make mention of the setting in the device's developer options.
Make sure to enable the "OEM unlocking" setting there:


text:
Connecting Android Phone to computer without USB
Is there a way to connect my Android phone to my computer in the way a USB connection works without actually using USB?
I mean that it at least registers as an external drive and hopefully I'm also able to install programs when developing via Eclipse.

If you have WiFi, there are possibilities:

you can use ADB over TCP (also called "wireless ADB"), see e.g. my list of ADB solutions
you can use WebDAV or Samba to share your "drives from the device" to your computer (note, however, that with Windows that would require your Android device to be rooted, as Windows cannot deal with Samba shares on "unusual ports")

I don't about Samba but I had to follow many steps to setup WebDAV on my Windows 7. To avoid it, I propose using an FTP server on Android and mount it on Windows using NetDrive (also has an Android app here) as an external drive. This works flawlessly and easily in my system.
You can also host an SSH server on Android and mount it using win-sshfs.
I still favor the first solution for  easy job.


text:
How to select a set of contiguous images in the stock Gallery app?
I am running Android 4.4 KitKat on a Samsung Galaxy SIII Neo.
I would like to know whether there is a way to select to select a set of contiguous images in the stock Gallery app. I took a lot of pictures in a flower shop with each pic displaying each flower together with its name, and there are now about 120 pics altogether. I need to select a contiguous set of pictures (by somehow selecting only the first and last pics in the whole range to select the whole range, and move the selected pics to a separate album.
How can I accomplish this on my Android phone?

if you are ready to accept anything except stock Gallery app then you must check QuickPic   https://play.google.com/store/apps/details?id=com.alensw.PicFolder


text:
Android not loading JPG files
Using Nexus 6 on Android 5.1, I downloaded a JPG file from androidwalls.net.
When I try to open the file via Download manager, it doesn't let me open it as it says 'Can't Open File'.
Why does Android not support this?

Do other JPGs work? It may have been corrupted during download, or even during upload. You really should not be having problems opening JPG files given this is the standard photo format!

I've downloaded an APK, and it won't be installed via Download manager. However, you can open File Manager, then locate the APK and install it.
Using a similar approach, you may open File Manager to see the pic.
But I'm sorry I can't explain why that doesn't work.


text:
How can I unlock bootloader of LG Vortex (VS660)
I'm trying to flash CyanogenMod to an old LG Vortex. I believe the first step is to unlock the bootloader. (I have successfully done this to a Nexus 7). I have adb and fastboot installed on LM17. Most guides (e.g. http://wiki.cyanogenmod.org/w/Template:Unlock_Bootloader) say that the process is:
adb reboot bootloader
fastboot oem unloack

However, the first command does not reboot to the bootloader. It just does a full boot to the phone's regular Android OS.
I have also tried booting to the bootloader using various key combinations (Volume Down + Power and Home + Power; I tried Volume Down + Home + Power, but that did a factory reset). I tried installing the QuickBoot app, which gives you a menu with Reboot/Bootloader/Recovery, but selecting Bootloader again just did a full boot to Android OS.
Note: phone is currently not rooted. I don't know if that is necessary for this phone, but I do know that I did not have to root when unlocked the bootloader on my Nexus 7.

Exactly the same problem in one device of mine, but I'm at least able to boot into Fastboot mode using key combinations. Do you not see the option to choose Recovery or Fastboot using key combinations?

@Firelord What key combinations are you using which would give the option Recovery or Fastboot?

It's a Chinese device and the combinations are "Vol. Up + Vol. Down + Power", I see two options: 1) Recovery Mode 2) Factory Mode. I Choose 1. and then I see three options from which I choose "Fastboot Mode" (Vol. Up selects the entry and Vol. Down executes the entry here).

That key combo did not work for me.


text:
How can I change the order of suggested contacts in GMail app?
I regularly send email to a specific contact with the same first name as nearly a dozen other contacts, and he's always at the VERY BOTTOM of the list, which is annoying. Is there something I can do to get him to rise higher up the list so that he's the first suggestion instead of near the bottom?

Gmail automatically sorts all the contacts based on your most frequent uses. But if you don't find that name at top, then you might consider saving a new contact.
To view a complete list of your most frequently mailed contacts, click Gmail at the top-left corner of your Gmail page, then choose Contacts. Next, click Most Contacted.
When you’re composing or replying to a message, hover over a contact’s name to see the email address associated with it, and double-click a contact’s name to edit it. If you have multiple email addresses linked to a contact, you’ll see your contact’s email address as well as name.

This seems to work on the web, but I'm looking for a change in the order in Android's GMail app.

If contact sharing is enabled, the contacts listed in your domain’s Google Apps Directory appear in the autocomplete. Refer https://support.google.com/a/answer/60218


text:
How to reboot a frozen Android device?
When an Android device locks up, and does not respond to holding down the power button, is there anything you can do to reboot the device besides removing the battery?
What do you do if the battery is not removable?
Although it does not always work, Windows has the three finger salute (Ctrl+Alt+Delete) which helps get around this situation.  Is there anything similar in Android?
I did find this question, but it does not refer to a device that is frozen.

If your device is frozen by a software glitch, and unresponsive to any button presses, and the battery cannot be removed, all you can do is wait for the battery to exhaust. This will release the lock when the device dies for lack of power. Plug in and power up the battery to restart.

@wbogacz Wow! It's amazing how many devices don't have removable batteries.  With the screen off, the battery can stay charged for days, sometimes even over a week.  Not being able to use the device as one waits for the battery to discharge is really bad design.  I generally tell people to avoid buying any device without a removable battery.  Based on your comment, I think it would be good if that advice was more widespread.

if the device has enabled Wifi, but you are aware of a wifi that it has not connected to, you might hurry the battery to exhaustion by having it scan Wifi repeatedly in that new area. In my house, I can guarantee mine will try to scan and connect to my neighbor's protected wifi, if I place it on that side of the house.

Different Android devices may have different force-reboot methods, so you should refer to your device’s documentation. To reboot frozen device you should usually press and hold the Power button + Volume Down button (or Volume Up button - it depends on device) for at least 7~10 seconds and stop holding those buttons once it’s started the reboot process. You could try to press and hold just the Power button itself for at least 30~45 seconds.

If you want to reboot your system without using the power button (the power button hold down trick doesn't work on some devices) then you can use Alt + Print Screen and type REISUB on a USB keyboard (connected with OTG cable / converter) since Android uses the Linux kernel. This should work if you Android has not kernel panicked
Connect USB keyboard via OTG (I could not test a Bluetooth keyboard)
Press down the ALT and Print Screen keys on the keyboard
Type REISUB. Your phone / tablet should reboot
Tested on Nexus 9 running Marshmallow (should work on phones too)

Try holding Power + Volume up button.. might help

Troubleshooting is done via comments only. Please use comment section below the question. Thanks!


text:
Clicking Android's Back button launches a previously running app
Sometimes, when users click Android's Back button to exit an app, the app exits, but a previously loaded app will suddenly start running (even though the user launched the current app directly from the launcher).
Is there a solution to fix this?
In the comments below, a specific example was requested...
Here is a specific example from a friend's device: He is running Lightning Launcher on Android KitKat.  He will play Sky Force 2014 and then after playing for a while, will launch another app to do something else.  When he exits the other app (happens with various apps) by pressing Android's Back button, Sky Force 2014 loads up again.

Does it happen with a custom launcher or with a particular app? Could you mention the names of them? I would like to test them out.

Happens with me occasionally when pressing home - what Android version/device do you have?

@Firelord Per your request, I added an example above.

@JoshHolland Per your request, I specified the Android version in the question.  I'm not sure exactly what device he is using.  It's very interesting that it happens to you sometimes when pressing Android's Home button.

I have now personally seen this issue happening on multiple Android devices.


text:
Chrome crash/close immediately on Android 4.0.4, Android x86
Chrome version 42.0.2311 running on Android 4.0.4 on Asus Eee PC 701 x86. Browser crashes and closes immediately.
I have already uninstalled/reinstalled it. Cleared the data, force stop, reboot. Everything I can think of.
I've also done the obligatory google search. Can't see anything, which leads me to believe I'm just stuck with the stock browser.
Is there any way to troubleshoot/fix it?

The chrome crashing you are facing is the bug in app itself. You can wait for updates, eventually it will be fixed. But unfortunately, we cant do much when it comes to a single app having problems in android. The number of android devices and their types is vast, it is entirely normal that an app wont be compatible with some version due to whatever reason.
Meantime, you can try the following alternatives so you aren't stuck with stock (referenced from xda).

Chrome Beta: As the name suggests, this is another version of chrome with additional features. This was released by google as a testing for new features before they implement them to final chrome. The UI and speed is very much in par with original chrome. So along with a high chance of having to test additional features that have not yet been implemented in chrome, it is entirely possible that this will work. Head over to play store to install it.
Dolphin: Dolphin has a very traditional interface, including a desktop format with tabs at the top by default. Having them at the top of the screen is great for navigation, as you can quickly access an extra tab – and not just quick switch, as in non-tabulated browsers – without the need for a full tab overview. The side effect of this is the its a memory hogger, both RAM and space. So if you are not that conscious about ram, head over to play store to install it. Since otherwise its a great browser with built-in flash support as well. Play Store link.
Next: Unlike other apps from GO which are ver ram intensive, next is quite minimal, and it resembles older Chrome versions in a way. Its got clean aesthetics and the animations of the UI are rather good, among the nicest in this list. The best part of the UI is that its got a very small search bar, and that you can hide the notification bar. The UI and performance are quite good too. Play Store link.
Firefox: Firefox has an interesting UI. It is very rounded and adds a gradient to your now-grey notification bar, which makes it rather aesthetically pleasing. It’s got a similar menu to chrome, that slides out displaying options in rows. Then you’ve got a tab switcher at the top which lowers the interface to reveal your tabs. This is one of best browsers in java performance as well as quite decent with speeds as well. Play Store link.
Javelin: It is one of the few browsers that have adopted Material Design, and it did a good job at that. The default color palette is a little wild at first, but it is aesthetic enough to grow on you, especially given that it changes your status bar accordingly… something Chrome is still missing. It is great in performance, both in hardware as well as speeds. Play Store link.
Opera: It features gradients that look a little dated on our more flat interfaces of today, but it is still to-the-point and simple to have charm. The top sees a tab switcher, which is conveniently spawned at the bottom for easy thumb reach. So without saying, it has quite a convenient UI. Besides UI, its very performance friendly compared to chrome and similar. Play Store link.

Any of these browsers is fairly good in speeds and performance and with UIs not too awkward to someone adjusted to chrome. So in meantime you can try one of these. Personally, I prefer chrome beta. On side note, you can also search the internet for some older version of chrome as well. Hope this helps.

I got version 39 to install, but still crashes. Everything from 39 to 44 said it required above 4.0. Looks like I'm stuck with no chrome until the update.

did you try chrome beta?

Chrome beta not compatible with android 4.0.4. It's too old.

But I'm installed on x86.  So in waiting for the smart guys to do a later port for my machine.  Highly unlikely bc it's such and old device.


text:
accidently i enable mp3 play from server in Opera, how can i disable it.?
While downloading a song from song website i marked it as "Play from Opera" Now instead of downloading the song, it plays from server. How can i disable it in m
y Samsung Galaxy Y duos. Andro 2.3

Clear data for both Opera browser and the app you tried to download the song from. Launch again - it should work fine.

Clear Defaults, not data.


text:
Android phone starts freezing when hot
I have a strange issue with my phone.
It's an octa core 1.7 Ghz running Android 4.4.2.
When I go outside and it's too hot, the touchscreen starts to not respond when woken from sleep (or in other words, unlocked). If I put it in sleep mode and let it rest for a while, it starts working fine again after some time.
When I return home, the phone isn't so hot and it functions normally. This problem is quite rare, though.
Is this a software or hardware problem? What can I do?

Use the app Cpu Temp to record and monitor CPU temperatures. If this issue happens again, it will note the temp. and then you can post us the screenshot of corresponding apps with high temperature. Also, as Jaskaranbir noted, it seems to be throttling. But let's see what's causing this?

Since there is no specification of How hot, I would answer based on some assumptions.
The phenomenon you face is quite normal. Whenever the temperatures of the components in the device get hot, to the point of possible hardware damage, the phone CPU goes into throttling. Have a look at this post about thermal throttling.
Basically, thermal throttling is when the CPU of the device reduces its power (clock speed and voltage). And due to this the device starts to cool down.
When its too hot (like well around 70 degrees Celsius). This will cause the device to throttle and slow the clock speed. Which in turn causes lag (or dropped frames) this affects the whole of the device (touch screen, GPU e.c.t.) and will speed back up once normal safe operating temperatures are reached.
Thermal throttling is controlled by the kernel. SO by using a modified kernel throttling can be turned off, but is defiantly Not recommended. This is a feature to prevent permanent hardware damage to the device.
This also explains why your phone functions normally when it cools down since that is when the processor returns to its "normal" mode.

Ok , but why  before I didn't have this problem ? So what has changed ? Is this similar to computer CPU that may have this problem when the cooler is damaged ? Is there anything I can do ? Because when I'm out my phone is useless .

This feature was always present in your phone. You are taking it as Problem, but its actually a *Feature. This is happening because your phone gets too hot and to avoid further damage from heating, system turns off some features to let it have rest and cool down. So nothing in phone has changed, its just high temperatures that are causing this. This is similar to computers (especially modern) when processor goes too hot (doesn't necessarily have to be a missing/damaged fan/cooler, they can go way hot even if the fan/cooler is working). Every processor has thermal throttling feature these days.

Ok , my wife has another phone with the same parameters , the same android system. but doesn't have any problem when we are at the same place (out of house) , so at the same environment's temperature. And just to clarify , I don't know if the cpu temperature is to high , but I feel too hot on the back side of the phone , so I'm supposing this.

This doesn't necessarily have to be same. Does not mean that if my android phone heats, all other similar models in my area should heat the same way too. It depends on a lot of factors including background apps and tasks as well as the material of clothing the phone is lying under (for example some clothing materials absorb more heat then others). Besides that, there could be many other countless factors. So its not necessary that your wife's phone has to go the same way as well. As I already said, it all depends on when kernel decides that its time to throttle.

Ok , but I had this phone the previous summer , even with more applications than today and I had no problems. Today I have done a factory reset with only the minimal system and applications and I'm facing this problem.And the strange is that if some time the phone it's not freezing after sleep, is not freezing after even if I try with hard operations like watching a video. But if he goes to sleep , after he can repeat the freezing.

this is technically correct, but almost certainly not the reason for the symptoms he's experiencing. @tiku, do you have any apps that are using an abnormal amount of battery life/that are keeping the phone awake all the time? you can use GSAM battery monitor to check this, or the built in battery stats.

@bennnnn I've explained that I've done a factory reset . So I have only the minimal application that android 4.4.2 has by default. I have tested and no application that use abnormal amount of battery.

It can very well be caused by some default application draining power, perhaps after some update. Or it can be hardware-related - some moist might have  gotten inside the phone making it more susceptible to heat. Also having the same model as your wife doesn't mean that you have the same SoC on it - each chip is unique and what one chip can't handle, the second one in the factory row can. The sleep-wake timing can just be related to what the chip actually does when it wakes up - it's a specific process changing it's internal state. Just keep your phone cool, things should be all right.

@mikky  How can I keep it cool , when I'm out ? It's summer now and out is very hot. And after 2-3 minutes when I'm out the problem begin. But there's something that anyone from you didn't explain to me  : What is changed in the phone sine last summer ? Last summer it was ok with the same applications and almost the same environment temperatures. Does the cellphone's CPU has some special material ( like for example thermal grease on PC's CPU ?) that may be damaged ? Or something else ? Can I do something if I open the cellphone ?

And , is there any way or software to configure the Android system just to turn off the screen but not to sleep ?

I did tell you at least two possible causes, one software one hardware. If it's really as bad as you say, your phone may very well be damaged. If you open the phone then of course you may be able to spot a problem but unless you have some kind of specialised equipment (a microscope, electronic tester, and such), you may easily miss something. Look for loose contacts, corrosion marks and moisture ingress marks (those white stickers that turn red when moisted). Also check your battery consumption, it may just give away the troubled app.

I did the temperature test , and I think there's no problem with temperature. When the phone start freezing , the CPU temperature is about 38 (Celsius).  Is there any possibility that the android 4.4.2 may have any issue that can cause my problem ?


text:
Want to increase my utorrent android speed
I am using Galaxy A7 . My downloading speed is very worse 2kbbs it takes several weeks for a movie download.I am fed up really. Now a movie with 0/101 peers and seed 5/8 is downloading in 2 kbbs with my wify which has the capacity of max 60kbbs around. Please  I need a solution for this ..

Wifi devices usually have capacity in MBps. What kind of wifi device do you have? Did you mean your connection speed is 60kbps max? Try a torrent like this and tell us the maximum speed you're able to reach.

if you really sure the blame is on the wi-fi speed, you can actually download with your PC and transfer to your device by cable

Your download speed is quite slow and the number of seeders are few.This is the main reason that it takes lot of time for you to download. Check the ratio, seeder should seed until at least 1.000 Ratio.
Along with those see whether this can help. Go to
Preferences --> Bandwidth --> "Disable the "Apply rate limit to uTP connections" option.

The torrent lacks peers (and even seeds are too low). Find yourself another alternative torrent.
On side note, you can try some other torrent application, since sometimes that has greatly worked for me. For example, using aTorrent I was able to download a movie trailer with just 2 seeds with significant speeds.


text:
When I connect via USB (Android to PC), it automatically starts charging. How do I transfer files?
When I connect via USB (Android to PC), it automatically starts charging.
According to what I've read, a 'File Transfer' window should open.  Mine just says, 'slow charging'.
How do I transfer files?

1. First, check your USB cable
a. Your cable could be a "charging only" cable (i.e. only has wires to carry power and no data wires)
This cable could be a charging-only cable, which doesn't include the D+ & D- cable streams. If you're unsure of the type of cable, try using a different cable that you're sure works.
b. If you are using USB 3.0, it could be "bad"
USB 2.0 minimum cable requirements were easier to manufacture because of the lower data rate requirements. Ever since USB 3.0, lots of USB 3.0 cables don't meet "spec" and therefore can not work or damage your phone. Make sure you have a brand that you know is good.
2. After checking the cable, you need to check your phone's settings. Make sure it is in "File transfer" mode and NOT "Charging only".
From Android 6.0 onwards, file transfer is disabled by default when a cable is connected to the device, mainly due to malicious USB hubs which pretend to be normal charging ports, but instead copy data from your device whilst charging.
To enable File Transfer Mode

Turn on your device and connect it to your computer (using a cable which supports data transfer)

Unlock your device and open the notification labeled "USB charging this device" - you may need to swipe down from the notification bar

Select "Transfer Files" from the menu that appears.

You should be able to access your device on your computer.

3. Try a different USB port on the PC
I tried a bunch of cables on one USB port but nothing was working. So I tried a different USB port and it all worked again!
4. Lastly, try restarting the phone and restarting the computer.
Some might say this is the first thing to try.

Is there any way to get to the window on your screenshot? i have to go to developer options to change this setting @samdd

I have two notifications: one is 'cable charging' and the other is 'transfering media files'. Clicking the last one show something like your screenshot. But android file transfer is not seeing the phone.

@myself: android file transfer started seeing the phone after I enabled developer options and set 'usb configuration to 'MTP''

Make sure your wire supports both charging and data.
If it does, then on the phone go to Settings -> Storage -> Overflow menu (3 dots) -> USB Computer Connection -> Change the mode from Charging Only to MTP or USB Mass Storage.
If neither of these works, then make sure you have drivers installed for your device on your computer.

Generally, whenever you connect the USB, the phone is in USB charging mode by default.
To change to any other mode (File Transfer Mode in your case), go to the notification pane where a notification will tell you that USB is connected and charging. Tap on it and select the MTP or File Transfer Mode.

This works for Pixel 3 on Android 12.
Settings > System > Developer Options > Default USB Configuration > File Transfer / Android Auto

Also the lock screen has to be unlocked.

Pick down the taskbar and tap phone charge, and in the new window, select the MTP or flash option.

Try removing your SIM card(s).  I had a similar issue and it worked fine again after restarting without them.  I have checked now and it does work/transfer-files again, also with the SIMs in too.


text:
LG G2 "Fastboot mode started"
Hello guys I have flashed Lollipop zip via TWRP successfully (LG G2 D802) but now phone is only booting in "fastboot mode started". I have also tried to repair download mode by following xda forum but still same screen. LG logo appears and then fastboot mode started, Can anyone help me? Can I flash system, data, etc via fastboot? If yes please provide me the link.
Thanks in advance. I am waiting eagerly for your reply.
Regards,
Ashar

You can flash from fastboot rather easily but could you link the tutorial (from XDA) that you followed? And, yeah, please do link the tutorial that you followed for TWRP.

Thanks for your response I have installed TWRP via AutoRec. I have followed "http://forum.xda-developers.com/showthread.php?t=2477595" this tutorial. Also TWRP is working fine before this now I have no Download Mode, No recovery, only Fastboot mode. Can you please give detailed instructions on how to flash via fastboot (and links possible).

A similar question was asked here. Did you try the solution there?

I want to tell you that I am able to go to recovery mode. Should I flash the Rom which was working now via TWRP. Sorry for late response.

You can flash any flashable .zip (ROM) from Recovery as long as it is meant for your device. Go ahead and make backup if there is something important you don't want to lose. But, how did you succeed in getting into Recovery mode. Earlier, you had trouble getting into it. Please write an answer so that others can benefit in future. Good Luck!

OK, I have pressed all three buttons which take it into some Chinese/or like it screen. Then I press the first option (everything in Chinese or like it). It enters into fastboot mode. Then I turn off and press power on and volume up which takes me to recovery. Now please help me; I have flashed Optimus G3 Rom.zip which work perfectly before but now it shows boot certification error after successful install. Is this due to that lfg.img which I have flahed earlier by xda thread. Please help...

Anyone to help?

Make [edit] in your question and it will bump in active questions. In this way, more users will be able to see the question. At this point of time, it is buried somewhere, so no point in saying "Anyone to help?". Besides, this boot certification error seems to be only related to LG devices only, so you may to do a bit more research. // Anyhow, did you try flashing a custom Recovery as I said. Do it and boot into it directly from fastboot and tell us the result.


text:
is it possible to install a different camera unit in the nexus 5?
I am able to take the device apart - and keen to get a better camera. I know it's possible to buy another phone, but I am not pursuing that option.


text:
Use Android fully independent from Google products
*I would like to note that English is not my native language and understanding about Android system structure is little.
My question: is it possible to make Android to run without Google apps (Play Services and account manager etc.), and make it more alike Linux (different package system?). AFAIK, Android is using modified Linux kernel and is  emulated by Java(?). I would like to keep some of applications from Android and take power from regular Linux distribution without feeling that I am being monitored all the time.

There are DEB, RPM, TGZ, ubuntu's upcoming native pkg system, and what not. I see no coherency in packages (pkg management) when it comes to Linux distros. Linux universally doesn't seem to have any package system. It's upon a developer group to decide. Debian took kernel and made it DEB compliant. RedHat made it RPM style, Slackware made it TGZ style, and  Android made it apk style (though a general file from other "type" package can usually be used in Linux).  I guess you need to be precise here for what you want. I may be wrong here, but the answer as Jaskaranbir stated would be no!

@Firelord: From Jaskaranbir's answer I understood that it is possible to seperate Google applications from Android, but it is not possible to. make Android work with, for example, Debian package manager. I guess, I didn't stated my question correctly.

Yes. It is possible to have an Android OS without anything remotely related to Google.
First approach would be to root your phone. Then next step would be to install a custom ROM which is by default free of Google like Cyanogenmod.
Head over to XDA and find the forums corresponding to your phone which will have necessary tutorials and possibly even built roms like Cyanogenmod like I mentioned above.
Now there would be two steps for installing a custom ROM such as Cyanogenmod/Paranoid etc.

First step is to flash the ROM via recovery. We will follow this step and flash the ROM zip.
Second step would be to flash GAPPS (short for Google Apps). This is the Google apps package (i.e Play Store and other Google services/framework etc). You can skip flashing this and you will have a phone which won't have any Google apps.

Of course, you will need a third party market to install apps. Some common examples of this are: Mobogenie, F-Droid, Amazon etc.
In case you decide not to install custom ROM for whatever reason, then your only choice would be to root and manually remove Google apps and framework using App Managers like Root Uninstaller.
Although I didn't quite get what you meant here:

take power from regular Linux distribution

If you mean install packages like we do in usual Linux, that won't work in Android. Yes, Android is Linux-based but only at core. The rest is Google's own proprietary code smali. The apps run with Dalvik as VM which is a type of interpreter that executes files in Dex format. So although it's Linux at core, package installation and execution is somewhat different due to which you can't use Linux packages directly.

Your welcome :)

This is a great answer. I'd like to add that the reason you can't install the exact same packages that you find on most native distributions is because the chip architecture, and therefore instruction set is different. The same package would have to be recompiled to run on the new instruction set (like ARM instead of x86) before you can even try to execute it.

Sure Firelord :) Although my activity hasnt been much since past few days because of me working on some project, but I'll check it out regularly ;)


text:
If I choose the Original option in Google Photos will only photos above 16 MP be counted against my quota?
I have some photos that are higher than 16 mp and some photos taken on my phone that are less.
I want to back it all up to Google Photos but I don't want to select High Quality as I don't want the photos above 16 mp to be compressed.
If I select original, will only the photos exceeding 16 MP be counted toward my 15GB quota? That is if I select Original, and I never upload anything above 16MP, will all my photos be part of the unlimited storage?

If you choose the original option, every photo and video you upload will count towards your quota. As stated in the Google Photos help article, using the "original" setting counts against your free storage, regardless of your photo size.

Whether there's a cost depends on your settings. You can choose between 2 storage sizes for backing up your photos and videos:
High quality: Unlimited free storage for photos and videos that might be reduced in size or resolution.
Original: Counts against your Google account's 15 GB of free storage for photos and videos that are stored exactly as you captured them.

Google help also points out that

If the camera takes photos with 16 megapixels (MP) resolution or lower, most stored photos will essentially look the same using either storage option.

You can also change your mind at any time, however -

Changing the setting will affect storage sizes going forward and won't resize items you've already stored.

Sources: https://support.google.com/photos/answer/6220791 and https://support.google.com/photos/answer/6193313


text:
800MB free RAM yet home screen redraws?
my lowest priority app-kill min-free level engages at 64MB.
if I have 800MB of free RAM as reported in OSMonitor, why is the garbage collecting Nova Launcher assets? I can't even.
BTW, I have noticed this behavior in Android for many years, across launchers, across phones. I don't think it ever really got fixed-- remedied perhaps; I think people just gave up fussing. From the user's perspective, nothing should be cleared from RAM unless RAM is needed.

It might also be possible that Nova Launcher itself invalidates the view every so often so a redraw is invoked.

@ChromoZoneX this seems to be dependent on my use of ZRAM frontswap and Kernel Same-Page Merge in the custom kernel I run, two kernel-level features that 'add' about 500MB more RAM to my device by 'more efficiently' using it-- in other words, this behavior appears to be RAM dependent. Does that change anything? Further thought on this matter inspired me to write this question: http://android.stackexchange.com/questions/113245/how-can-i-control-when-onpause-runs-on-android-apps

This is a rather old question but Nova Launcher has an option to stop (most) redraws.
It can be found in Nova Settings > Advanced (at the bottom of the list).
It reads:

Aggressive desktop
Persistence, caching, and preloading to reduce redraws. Comparable to Keep in Memory option of Android 2.x launchers.

It's not a good idea for phones with low RAM (<=1GB), but if you have 800MB free (so, assumingly, your phone has 1.5 or 2GB), it should be just fine.
There should also be (persistent) next to the app name in Android Settings > Developer options > Process stats after changing that option.


text:
Communicating offline between different android devices
I have multiple android devices that need to operate in areas with limited network connectivity. At the same there, I need the data capture on one of them to be immediately available on another device in the vicinity. The different devices can connect to one host device which can host the wi-fi and hence be in the same LAN. Then, what are some good ways to use the host device as a server that can persist and expose data?

What kind of data do you want to capture? You can run a server locally very easily on Android.  I use Servers Ultimate Pro but take a look at the lists here compiled by user Izzy.

This is fairly simple actually. With "ssh server" (ice cold apps is a good one), you can install it on each android device, and then connect from one device to another across your Lan. Of course if you have no network connectivity you won't be able access the Web, but it should be possible to push pull data using rsync (you will need busy box and root to gain full functionality), but it is certainly very possible.
Although, depending on what you actually want to achieve, some easier options are available - eg for simple file sync, you can use bittorrent sync, even without an Internet connection

You can in fact use SFTP to copy to-and -from the device. SFTP can be mounted as a drive/folder on both Windows/Linux easily.


text:
Problem trying to root Moto G LTE x1040 'E: failed to copy su binary to /system/bin (...) is read only'
I've been trying all I can too root my phone but I have problems when installing the SU to the /system/bin (or xbin, don't really remember).
I used TWR in recovery mode to install the 'superuser' and it shows a blue 'Successful' message, then it asks to install the 'SuperUS' to gain root access, I obviously swipe yes and it just reboots but just when it does that it shows for a split of a second a message in red saying 'E: failed to copy su binary to /system/bin (...) is read only' (couldn't read all the message since it reboots immediately)
I tried searching about this problem but it seems the only way to change the internal memory to read/write is by having root... But I can't even root because I have this problem... Using the 'fix permissions' on TWR doesn't help either.
Any help? Do I have to wait for a specific exploit or something?
Here's some info about my phone

Moto G LTE x1040
System version 21.31.1.peregrine.retla.retla.en.01 entcl
Build: KXB21.14-L1.56-1
OS: KitKat 4.4.4
Unlocked Bootloader

I don't really want to install a custom ROM (they have root by default I think) since I just want root access since this is the first time I try to root so I fear that I could brick my device.

You should boot phone to fastboot, connect to PC and use adb to mount system rewritable and then sideload the zip.

The thing is, right now I tried using the adb command while in fastboot but it doesn't recognize the device being attached (error: device not found), but checking with 'fastboot devices' it properly shows my phone connected...
adb detects my device but just when I'm not in fastboot mode x_x, I reinstalled the drivers but it still doesn't recognize the device in fastboot. As soon I get this fixed I will try your solution (mount /system to rewritable and sideload the .zip)

EDIT: Can't fix this new problem :( I reinstalled the drivers but it still won't show the device on recovery mode to start adb sideload. EDIT 2: I managed to get adb to recognize my device when in recovery mode but when I choose ADB Sideload on TWRP I can't do the 'adb sideload SuperSU.zip' command because it says 'error: device not found' again :(.
EDIT 3: Managed to make adb to recognize sideload on cmd but when I try to 'adb sideload SuperSU.zip' it returns the following message * failed to write data 'protocol fault ' *


text:
Store webpage as PDF using tasker
I am sending a post request to a site.
The output site should be saved as PDF (similar to printing the page), so that I can download many online pages as PDF and store.
No authentication.
Example:-
www.website.com/test.php
post params: link=test&test=true

Can you mention your post query as an example? Does the site requires authentication of some kind?

As far as I know, tasker can't convert any web page (or any document) to pdf. An alternative approach can be letting a third party site to make the pdf and then downloading it with tasker.
After a little googling, I found  http://www.web2pdfconvert.com.  This may serve your need.


text:
Pictures gone after Nandroid backup restored
Recently, I made a TWRP Recovery Nandroid backup of my current ROM, and I had just taken some personal pictures. In the backup, it included the /data partition. When I went to restore it, I opened the Photos app, and nothing was there. I checked the file system, and the camera and DCIM folders are empty. Is there any way to get the pictures back?
I am on HTC One M8 GPe Android 5.1.

That is the way nandroid works. Its NOT some bug.
Yes, it does include /data partition but your data is stored in /data/media/0 which it skips during backup as this would lead it to backup everything inside internal memory increasing backup size significantly.
In other simple words, nandroid backup's /data option includes only apps and their data, not your personal data on internal or external sd.
As for restore, there are a bunch of apps that claim to be able to recover deleted/formatted data such as Undelete (you need to be Rooted for this one) but I have never personally tried one so can't say about the performance. So you will have to test those yourself.
Hope this helps.

Thanks, though I doubt Undelete would work, as I flashed a ROM and a kernel over after the initial backup.

Well, I stand corrected... I tried out the app, it got everything back for me, even found pictures from weeks ago... The even more amazing thing is, I flashed at least 5 different ROMS and did factory resets.

So basically Nandroid doesn't back up your media and personal data to decrease backup size significantly? That makes no sense. Why even bother to do a backup? In that case I can reduce the backup size to 0 and just not do anything.

I would have expected a Nandroid being a complete backup. Originally, it was even a partition dump. Have you any backing for that? // /data/media/0 corresponds to the "internal SD card", so it somehow even makes sense (Nandroid doesn't backup the external card either). So one must be aware to backup SD cards separately it seems?


text:
How to make ringtone ring at high volume right from the begining in moto e?
My Moto E rings at low volume in the beginning of the ringing and slowly increases to high volume after some 4 or 5 seconds.
I want the ringtone to be at high volume from the start?
Is that possible??

On many devices there is a setting that can control this. It is also included in many custom ROMs.
In Settings > Sounds there should be an option for Increasing ring volume
If you turn this off, the ringtone will start at the volume you have set, rather than starting at a lower volume and increasing over the duration of the ringtone.

There is no  such options in moto E (gen 1),

Noted. I have changed my answer accordingly


text:
How to mute notification sounds during a call on Samsung Galaxy 6 Edge?
While on a call, if I receive a text message, the notification sound for text message plays during the call. How do I mute the notification sounds for text messages while I'm on a phone call? My device is Samsung Galaxy 6 Edge.

This action in the Samsung Galaxy is controlled by the setting 'Alerts on call'.
It is set from within the default Phone app. After you have opened the Dialer, open Call Settings > Call Alerts > Alerts on call.
Deselect this setting to turn it off.


text:
Will I get OTA updates if I reflash official rom after modifying a Samsung device?
I have a S5 duos on custom rom, Now if I reflaah the official firmware from samfirmware and flash it and then select Check for updates will I be able to receive updates of will it show 'Your device have been modified'?
P.s knox counter is now on 0×1 (4)

Is your stock ROM rooted?

I rooted my stock ROM then flashed TWRP recovery and then flashed custom ROM

But I have downloaded the official stock rom will i be able to update if i flash it?

You should be able to get updates, but just in case make a full backup in TWRP so you can go back.

I flashed CM12 to my Moto G2, then flashed Stock ROM (5.0.2), haven't got the OTA update. What do I do?


text:
How to find missing application?
I have a new phone. The old one died. I want to install all application that I had on old phone. I am 100% I miss one application in google play-my apps.
I may be uninstall it on the old phone due to the lack of space but I want to find it back.
I do not remember name and I am not able to find it on the google play (may be it was removed).
It was application for training brain, there was a few categories of games: at least 3 version of memory matrix, some games to match previous, 2 version of the of the follow number sequence. (All brain training application are really similar.) For some unknow reasons I have it associated with cat (It must be in name or there was a cat icon on main screen or something like that).
Please give me a tip how I can find this missing application.

Have you looked into "Your app" section in Google play?

Yes I look there. I was not able to find it there. I am using same google account. I was told that google play shows only the application that can be install on current phone so I check it both from my phone and from website on my laptop.

Try finding it here: Playboard: Brain Training. And search by screenshot here: Appbrain: Brain training.

It was https://play.google.com/store/apps/details?id=bpi.master.coach.memory&hl=cs Its old icon was http://www.avgo.com/images/best-free-mind-game-app/mind-game-app-5.png

Sign into playstore webversion(https://play.google.com) with the same account that you have configured in the old phone and visit the apps page https://play.google.com/apps. This will list all the apps that you have installed using the old phone. Once you configure your new phone with the same account you device will be listed in the list of devices and you can select the new device and install it to install the app on your new phone. Read More..

I try this and I do not find it there.

Are you signed in with the same google account you have configured in your old phone?

Yes I am using same google account

Do you see your apps listed in My Apps list under the Play store app with the email id configured in the new phone same account as your old phone?

If you use the same google-account on your new device as you did on the old one, you should find all the apps you installed in the past at the following website:
https://play.google.com/apps
If you don't use the same account, log into the old one before you visit that website.

I try this and I do not find it there.


text:
Connect TV to mobile via HDMI port
I have LG TV which has a HDMI port only. How to connect my mobile Micromax Nitro 311 via HDMI port?

I think your device does not support MHL Out. Check this first. Anyway, you can try to use an adapter (I use an micro-USB to HDMI for my device).

If your mobile can support HDMI, you can buy an USB MHL to HDMI, or SlimPort to HDMI.
The last option is to try the Google Miracast which allows you ton display 1080p content wirelessly.


text:
Moto g 2 Battery is draining within 3 hours
My motog 2 is draining the battery drastically as fast as it can. Please help me. I couldn't carry a charger all the tym. I have consulted the customer care service they provided me two links to reboot and reset the settings. But it doesn't works. Help me
thank you.

Have a look at What can I do to increase battery life on my Android device?.

Welcome to Android Enthusiasts! You didn't provide enough details to enable us helping you. The device certainly doesn't drain the battery by itself while being switched off (oops). So what are you doing within those 3 hours? Have you installed a lot of apps? Changed some settings? And, most importantly, have you checked what the top consumers are (you can do so in Settings › Battery; a screenshot of that would be helpful here)?

Battery draining is common problem and there are various solutions and guides found by little searching I can give a few pointers that may help.
Disable location from Google Settings, disable all connections you are not using(Bluetooth, GPS, NFC etc.)
Check from battery monitor(Settings) which application or service is draining the battery most. Disable unnecessary aplications from Settings>Applications>All>Select an app>Disable. Also disable unused account synchronizations under Settings -> Accounts -> Turn off Sync.
There are also good third-party applications for monitoring battery statistics as for example GSam battery monitor
and for saving battery use Greenify
Further information can be found on XDA.

I would add one more thing, do not forget to calibrate the battery. All of the suggestions in the answer worked well only after calibration in my case.