text:
How do I fully back up an Xperia Z2 phone?
I'm thinking about moving onto a custom ROM, but I don't want to permanently lose any DRM keys. How do I go about fully backing up the contents of the phone before mucking around with it?

I don't know whether those DRM keys would be backed up, but this is the popular and seems to be the only choice to backup non-rooted devices: Full Backup of non-rooted devices

@Firelord that's helpful, but I don't think any of those methods can backup the partition that contains the DRM keys.

I figured it out eventually. It's not easy, because you need to get root before wiping anything (or unlocking the bootloader, which would wipe everything).

Download a copy of the old firmware, which you can find at the XDA forums. You will need to downgrade to this old firmware so that you can take advantage of an old root exploit (vulnerability). I used version 17.1.2.A.0.314 from the UK, but anything from 4.4.2 should work.
Obtain root and install a custom recovery so that we can use it upgrade the firmware. XZDualRecovery is popular. I used Z2-lockeddualrecovery2.8.21-RELEASE.installer.zip. This includes a root exploit so that it can install the recovery.
You can use the custom recovery (TWRP) to create a backup of the TA partition that includes the DRM keys.
Use the recovery to upgrade back to an up-to-date official firmware version. You need a pre-rooted firmware (PRF) zip file. The best place to look for one is on XDA's Xperia forums. Here's an example for version 23.4.A.1.232. Don't forget to clear the Dalvik cache.

This process does not require you to unlock the bootloader, so the DRM keys are never wiped.

To backup your phone, first you have to root it. Depends on your Android version, root method is different.
After you root your device, you can backup your DRM keys in TA partition with this app.
After you backup your TA partition, you are good to unlock BL. If you want to use your DRM keys again, relock BL and restore TA partition.
 (Unlocking BL delete ALL data on your device internal storage. Remeber to backup your data first)

Thanks for the overview. Can you elaborate on how to root, and how to unlock the bootloader?

What android version are you on?

23.4.A.0.546, Lollipop


text:
adb backup hangs and never finishes (Linux)
Whenever I run adb backup for a full backup, it never finishes. In Terminal, the command hangs indefinitely, and on the device, the backup cycles through a few apps before hanging on one (more about that at the end of this question).
After executing adb backup, the backup file on the PC slowly increases in size, but after a while it stops growing. I've let it sit at this point for an hour without any change in the size of the file.
I've tried running adb backup 3 different ways ($ab is just the name of the backup file):
adb backup -f "${ab}" -apk -obb -noshared -all -system
adb backup -f "${ab}" -apk -obb -shared -all -system
adb backup -f "${ab}" -noapk -noobb -noshared -all

Not even the last one works. I also tried setting up a desktop backup password under here:
Settings > Developer Options > Desktop backup password

This didn't help either.
This problem occurs with two different devices, both rooted. Both devices run on Android 5.1.1, so maybe it's a bug with this version of Android? It didn't work on 5.1 either. One of the devices is a Nexus 6 using the official Android 5.1.1 image, so it's not a bug with a custom ROM.
The last few times I tried running adb backup on the Nexus 6, I noticed that it started hanging on the same app each time: Titanium Backup. I don't know if this has always been the case; I just noticed it recently.
Does anyone have any suggestions? Also, do any other Linux users have this problem too? If so, it's likely a bug within the adb package.
EDIT
After running adb backup again, it worked! I'm guessing it's because I upgraded my Nexus device's firmware to a slightly newer version: from LMY47Z to LMY48I (both are Android 5.1.1). Maybe it was a bug with the earlier 5.1.1 build, the one before the "Stagefright" fix was added.

Is there a reason you don't want to consider a Nandroid backup or apps backup using Titanium Backup?

Green i am running 5.1.1 om ny samsung tab and tried your method. I can't even get into the device. I get the now unlock your device message and then the process dies/exits. Trying the same in recovery is the same. I am running kali. It's a toss-up between the distro's adb source/implementation and i am guessing selinux, maybe?

@Firelord Yeah those are great alternatives so it's not terrible that adb backup isn't working. I'm just curious to find out why exactly it doesn't work so I don't have to run adb pull on Nandroid or Titanium Backup backups.

@moonbutt74 I'm using Arch. One of my devices is a Samsung tablet too, the Galaxy Note 10.1 2014 edition. I just had an idea--maybe running it as root would help. (Nice name btw lol)

GreenRaccoon23, hi , sorry i should have mentioned the root aspect, i was rooted and running as root. I would say it's likely specific to Samsung devices but I don't have a device from another manufacturer to put that against.

One of mine is a Motorola Nexus 6, so it doesn't look like just a Samsung problem.

Settings → Apps → Titanium Backup → Force Stop may allow the ADB backup to continue and finish.

Why was this downvoted?

I had by backup hang on a different app, and killing it in this manner worked for me to allow the backup to continue.

source: Stack Exchange

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

sort: votes


text:
copying all files from android to microSD

Phone = moto g
OS = Android 4.4.4

I was going to back up all files on phone to microSD card using EZ file explorer. However, I have been reading that latest 4.4 will not allow this due to new security.

Is it possible to copy all files from phone internal to external micro SD?
Will this capture People, Chats, Photos, etc and be restore-able?

Hover the android tag for important info

if you have rooted your device, of course it is possible. application data lies in /data, also backup your /storage/emulated/0 I think
if you have rooted the device, then you could also boot up a custom recovery like twrp and do a nandroid backup, afterwards move it to the external sdcard
if you don't have rooted the device you only backup your internal sdcard. this also means that you may loose very much
if you don't have rooted the device, there is also the possibility of using adb backup from a pc.

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


text:
Access image file from home screen
I have Nexus 4 on Android 5.1.1, and I also have an image file with screenshot of my timetable. I'm trying to create a shortcut to it from the home screen.
I've tried 4 separate apps that claim to be able to do this, but all of them crashed.
Is there any way I can create this shortcut?

Are you trying to create the shortcut on the home screen? If that's the case then which launcher are you using? Could you mention the name or link of the four apps that you tried, so that the users don't end up suggesting them to you?

So, I bought a new phone (Nexus 5x) and Shortcut Image now works for me.

Using Google Drive:

Upload the photo to Google Drive
Open the Drive app and open the photo
Open the triple dots menu in the top right
Scroll down
Select "Add to Home screen"

Optionally, set the photo in Drive to be available offline. (Thanks @nealmcb!)

Strangely, I don't see "Add to home screen" when opening the three dots.
Samsung S10e with ADW launcher and Android 12.

This worked for me on a Pixel device. I guess Samsungs it might not work.

Still works on Google devices like a Pixel 7 pro. I also specified in the same menu that the file be available offline. Thanks!

If you have a Samsung device, go to Files and find the picture. Then long press to select it, click "More" on the bottom, then click "Add to home screen".

As commented above by Firelord, the launcher is important.
In Apex Launcher, if I add a widget for Gallery app, I can select a single image and the selected will be displayed as a 3x3 widget.

To add a shortcut of a picture to your home screen, there's no app needed on the Samsung Android:
Go to 'My Files' (not Gallery).  Find the picture you want to add to your home screen.   Long Press on that picture (a checkmark will appear over it).  On the top right of your screen click on the 3 dots icon.  Select "Add to Home Screen".
This method is similar to that listed in an earlier post, but some minor things have been changed in the OS to create this shortcut (probably due to a software update).  This is current as of May 2021

For people who are searching to display all pictures from an images folder, there is also this app : Nice Simple Photo Widget

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


text:
Where are the lollipop OTA system upgrade files stored?
Android devices automatically download OTA system update files and store them on your device until you install them.
Then you get a notification that the file has been downloaded.
I do not want to update using this OTA file.
I just would like to delete the OTA file but cannot find where it is stored.
In the past they were stored in the /cache directory, but with lollipop that no longer seems to be the case.


text:
My launcher got deleted. I can't turn debugging on neither can I turn on the bluetooth. What to do?
I am using Lenovo A7000. I was facing some problems related to the touch in my phone, so I did a factory reset without backing up the data. But because of this my only launcher also got deleted. I cant access the notification bar as nothing is happening if I pull it down. I can't even turn the USB debugging on. Is there a way to fix this ?

Can you access the notification bar from the lockscreen?

No I can't else I would have turned the bluetooth on and would have recieved the .apk

Since your device has been factory reset, you should go through the set up steps which will prompt you to sign in with your Google account.
Once you are successfully signed in, you will be able to install a launcher from the Google Play Store from your PC, and this will prompt the application to be installed on your device.
If the launcher doesn't get installed for whatever reason, you should be able to access the notification bar now, and get into Settings from there (rather than using a launcher) which should allow you to enable ADB or bluetooth and you can push the apk from there.

Hope your device is connected to your google account. if so you can install you can install third-party launcher from play store from any system you have access to. just login on web using same google account and it will display your device when you try to install an app from play store. you may additionally like to install something like quick setting.

I did a factory reset so all the linked accounts got deleted.

Have you completed the setup steps after the factory reset? This should allow you to sign in with your Google account, right?

I wasnt completing the whole sign in process. Worked.
Thanks @1990clb

No problem, I've posted as an answer for the next guy :)


text:
How can I track cause of "Android System" and "Android OS" battery usage
I've got a Samsung Galaxy SIII which quite suddenly, though it was in airplane mode the whole time, started to drain the battery in less than 6 hours.  Updates to several bits of Samsung bloatware were accepted roughly at this time.
The battery monitor built into settings shows 60% of the usage is either "Android System" or "Android OS".
So the question: How can I determine what application or process is behind  "Android System" or "Android OS" calls?  Is there a way to count process wakeups? Will this require root access?

You can easily view processor wake-ups without root access.

If you’re running Android L, processor stats can be viewed by going to Settings > Battery and select an application from the list. Look at the overall percentage of battery used by every app. Watch for apps that have a long ‘Stay awake’ duration that were running in the background. Watch for long GPS durations and lots of mobile data. Long connection times can also bad – if the app was running in the background and didn’t have a reason for being connected. All of these actions consume extra battery power.
If you're running Android 4.3 or earlier, Wakelock Detector (WLD) is a great way to identify processor sleep problems. Look at the duration and number of wake locks. Trepn Profiler also shows wake-locks and allows you to view overall system power consumption. Check the power of your device idle and running various apps.
If you want to view processor wake ups on Android L, use Google’s Battery Historian. I use it to look at apps that keep the processor awake (e.g. wake_locks), the rate of discharge of the battery (e.g. battery level) and app syncing (it's line 5 in the chart). If you’d like to try it, there are installation and usage instructions below:

One-time setup in order to run Battery Historian

Download and install Python 2.7 (if it’s not already installed)
Download battery-historian from GitHub here
Extract historian.py from the .zip file and copy it to the Python2.7 directory

Running Battery Historian
Type the following into the Command Prompt after connecting to an Android 5.x device:
C:\>cd python27
C:\Python27>adb shell dumpsys batterystats --enable full-wake-history
C:\Python27>adb bugreport > bugreport.txt
C:\Python27>historian.py -a bugreport.txt > batterystats.html

Let me know if any of these things help you.

Consider not signing your posts with your name. If you want to mention your real name then you may add it in your display name or about me including your rick**..**@gmail.com. :)

Thanks. I appreciate this feedback. I'm relatively new here and won't do this again.

For KitKat, which I have, WakeLock detector requires root.

In that case, you may have to go with Battery Historian -- unless you want to root.


text:
How does the communication between Smartwatch and Smartphone work over the same Wifi?
I'm building a test setup, where I want to load some data from a server, which is based in my local wifi network. I already wrote every piece of code I need, but one question came up on which I couldn't find an answer so far.
When I have connected my phone and my smartwatch to the same Wifi, will the watch communicate directly over the wifi with the phone OR will the watch talk to the phone over the google servers?
This is a crucial question, because my test wifi doensn't have access to the internet and therefore communication with the google server is impossible. I can't test it myself because I don't have a smartwatch that supports wifi so far.
I know this is a very technical question, but I don't think this question belongs to stackoverflow.com. This is why I ask here.
Thank's in advance!

With GPS and offline music support, you can already leave your phone
  at home, then go jogging and jamming like normal. Now Android Wear
  supports watches with built-in Wi-Fi. As long as your watch is
  connected to a Wi-Fi network, and your phone has a data connection
  (wherever it is), you’ll be able to get notifications, send messages,
  and use all your favorite apps. And if you really do forget your
  phone, you can always ask your watch where it is.

From this link.
I hope this text answers your question.

Hi and thank's for your answer. No, this doesn't answer my question. My qeustion is (as mentioned in my post): When I have connected my phone and my smartwatch to the same Wifi, will the watch communicate directly over the wifi with the phone OR will the watch talk to the phone over the google servers?

They "talk" over the cloud... Not by connecting on the same Wi-Fi.

So this is always the case, even if there are on the same Wi-Fi? Any links?

Here you go. The exception is Bluetooth.


text:
Cannot update to Lollipop version in moto G(2nd Generation)
I didn't get any notification about the OS upgrade, Also I tried from my phone's Settings(Settings->About phone->System update). It resulted same there.
Kindly help me to upgrade to Lollipop version.

Look at When will my device get the Android 5.0 update (Lollipop)?

As instructed in the Moto G (2nd Generation) - Android™ 5.0  Lollipop - Release Notes :

INSTRUCTIONS
For a successful installation, we recommend installing this update
  when the battery in your phone is at least 50% charged and you are
  connected to a Wi-Fi network.
If you have received a notification
  message for this update:

Select "Yes, I’m in".
After the software is downloaded, select "Install now".
After the software is installed, your phone will re-start automatically.
Your phone is now updated with 22.21.25

If you have not received a notification message for this update,
  follow the steps below to manually update your phone:

Select the Settings icon in the apps menu.
Select "About phone".
Select "System updates".
Select "Yes, I’m in". After the software is downloaded, select "Install now".
After the software is installed, your phone will re-start automatically.
Your phone is now updated to 22.21.25

Additional Information
If you have difficulty with this upgrade, visit us at
  www.motorola.com/mymotog.


text:
Is Restoring a previous backup results to happen bug again
I am using Xiaomi phone, in which I have got a hardware error(sound problem), which may be a bug. Then I serviced my phone. Now it functions well.
If I restore my previous backups, should it result a hardware error again?
Thanks in advance.

No backups are not connected to hardware problems. Hardware means physical part/s of the device. The backup is software, by that I mean the non-physical part (or correctly data).
If you want detailed, please write us what was the problem with you phone. What did the service sad about the problem.

On updating a developer version of android os, it may contain bugs. For example, camera app, while opening it, it  suddenly closes. So, installing the same version again can cause the same app error.

And again it's software bug,not hardware.
By the way, if it's newest bug, there should be an update in short period of time, if it's reported by users.
If your device is rooted, I would suggest to install a ROM with best reviews and ratings.


text:
how can I transfer nokia lumia 8 data to samsung galaxy 3
how can I transfer nokia lumia 8 data to samsung galaxy 3
I tried Transgo the usb cables would not connect to the PC even after I bought good quality cables.

What data specifically do you expect to transfer from Lumia to Samsung?

You can Use this app to share your contacts.
http://www.windowsphone.com/en-in/store/app/qontact/e3404be4-324f-46e3-b47d-5561c676cad6
You Can Also Sync your Contacts between Lumia 820 & Galaxy S4 using your Hotmail ID. Just login your Hotmail ID to your galaxy S4 and Sync.
You Can Export Your Contact from https://people.live.com using your hotmail id in *.csv format then import in your Phone or Google Account Which you are using in Galaxy S4.
From Microsoft Answers

Android Contacts has no support for .csv format. Instead .vcf files are imported into the contacts list. So if there is an option to export vcf format please update you question. Else suggest another option for importing the data. Also please explain on "How to" part of importing/exporting the contacts.

Follow the instructions:

Download an app which can make a backup of your Contacts in a .vcf file.
Copy this file and paste it into your Android phone storage.
Click this file from your Android phone. It will automatically export the contacts to your contact list.

Alternatively, download SHAREit app in both phones. Then send your contacts from one phone to another.

No. Android won't automatically import .vcf files when opened. You need to import them in your Contacts app manually by selecting Import option. And OP asks for data transfer and not specifically just for contact. So this only partly answers the question.

its not necessary  or it depends on android version . in kitkat & upper it will automatically restore your contacts when you click on it.


text:
HTC one m7 serious problem
Hi all I want you to help me with my htc one m7 international sense 6 android 4.4.3 version of the image 6.15.599.101
  S-ON HR
Tampered UNLOCKED
 I actually rooter phone and I have TWRP Version 2.6.3.0 I wanted to install HTC One HD 50.0.0.zip Maximus and firmware unsigned_7.15.401.1, my problem lies in the installation unsigned firmware file here are the errors that appear:
Skipping check MD5: MD5 no file found
Error flashing zip '/ sdcard / firmware_unsigned ...
Then when I install the ROM htc one Maximus everything goes well in the end we wonder REBOOT SYSTEM NOW when I say YES turns off the phone and comes back in the recovery menu
I download HTC One Maximus 53.0.0.zip when I try to copy by ADB sideload the control file says CAN NOT READ sideload, I also download Sprint_HTC_One_m7wls_1.29.651.10_RUU when I try to install it at the is terminated me wrong signature
I REALLY AM TROUBLE HELP ME PLEASE THANKS IN ADVANCE

Have you tried disabling verification in recovery? It may let you install it then :)

Don't use adb sideload...instead I use the following method ;

Don't use adb sideload...instead, I use the following method ;

Open recovery (latest version of twrp recommended) but do not enter fastboot mode, stay  in main recovery screen
run cmd and enter the following codes under fastboot folder > adb push rom.zip /data/media/0   with this code we copy rom.zip into main folder in phone storage.

!!! You can rename your ROM.zip whatever you want, but in this case you should use its new name in command.

Flash your rom.zip by using your recovery


text:
Want to keep video display off on my HTC1X
While playing videos on my HDTV big screen through my cell phone HTC1X using MHL-HDMI adapter, I want to keep display off on my cell to conserve battery and avoid cell getting heated up as it is happening now. I set the brightness to minimum level but it helped only marginally. Can any one suggest a way out please. Regards,
Colonel Narender Singh

I think that depends on you video player app. MXPlayer has a background play toggle in settings that permits screen powering off without stopping playback.

As explained above, though I have a Chromecast but some how ES File Explorer through which I used to view my stored videos, used to take about 15-20 minutes to recognise Chromecast in LAN which was very irritating. So I went for HDMI cable and MHL to HDMI Adapter. Though it started working fine but the problem was that the cell phone used to get heated up very soon and battery consumption was much on the higher side. I was not very comfortable with the situation. Though I found an application 'Allcast' which sorted out the problem of heating up to a great extent by switching off the screen while playing the video in the background, but still the heating up problem was there though only 50% now. So I thought of trying 'Allcast' with Chromecast and it immediately recognised it and now there was no problem at all playing all my stored videos. The display also could be put off and video continued to run in the background. No heating up of phone at all was noticed and battery consumption was also minimum. Happy situation. I removed HDMI cable and the adopter with its charger as nothing was required now. One more thing happened which I don't know how, ever since I switched over from ES File Explorer to 'Allcast' app in Chromecast, even ES File Explorer suddenly started behaving now and for the last 2-3 days, it is recognising my Chromecast instantly without any delay. Had this happened before, I would have saved about INR 2700/- on purchase of good quality HDMI cable, Adapter and Sony charger of 2.1 amp. But still very happy and satisfied now with the performance of Chromecast through either of the two applications 'ES File Explorer' or 'Allcast'. Nothing can beat Chromecast. It is superb. Any one wants to play stored as well as live videos, go for Chromecast and don't get involved with cables and Adapter.  I thought of sharing my experience with you all. Thanks for the patience of reading my thesis. Regards. Col. Narender


text:
Android browsers blocking Youtube preroll ads natively
I was wondering if anyone else noticed that Youtube preroll ads are automatically blocked when browsing on Android Chrome or Android Firefox. This is without any adblocking features enabled (no Adblock Plus installed, no Adblock installed in Firefox, no Firefox tracking protection enabled, etc.). I'm not complaining by any means, because I do everything I can to block ads, but I was wondering if anyone knew why this happens (I'm curious from a technical/networking standpoint).

I guess you can't simply add ads to a <video> tag for mobile users; media players will try to play a file as they can't handle chunked streams (as in YouTube's HTML5 player).

Can you clarify and explain a little more?  I don't understand.

Imagine you want to display ads, but the media player (stock one, no special features) only supports playing plain video files. Now you have no chance to add any (skippable) pre-rolls, mid-rolls or small banners. It's literally impossible to rerender a video for every user to fit ads for that single view. Thus YouTube simply doesn't implement a way to gain minimal revenue from a small amount of views (most of the views come from TVs/Smartphone apps that feature usual ads).

So when a video is played in Chrome Android or Firefox Android, you're saying it's actually using a media player?  Because the videos I'm talking about are being played within the browser.  But maybe they're using a media player.  Is that what you're saying?

Yes, they are using an inline media player. And that one is not able to display pre-/mid-rolls or banners.


text:
How to root MTK based mobile devices using a Linux PC?
It is easy to root an MTK device in MS Windows using powerful tool like SP Flash Tools, or a one-click root solution. Can it be done (especially with that flash tool) using a Linux machine?
I've  Lenovo P780 (Chipset: Mediatek MT6589) and a Linux machine running Ubuntu 14.04.

Hi! I overhauled your question. I know you want this post to be a guide but we try to maintain a question as a question and an answer as an answer so that the structure of Q/A is always preserved. I moved that ADB and Fastboot link into the answer. I believe that's fine with you! :)

Rooting MTK based 'China' phones using SP Flash Tool.
I've tested this on my Ubuntu 14.04 laptop by rooting a Lenovo P780.
@Paul Mahieu tested on Huawei Ascend Y221 using Ubuntu 16.04 and reports that it works.
First of all, install libusb-dev pacakage:
apt-get install libusb-dev

Now you need to download SP Flash Tool v5 from here.
Assuming it is downloaded to your Downloads directory extract it's content:
cd Downloads
unzip SP_Flash_Tool_*.zip

Enter the extracted directory,  and run it with root privileges:
cd SP_Flash_Tool_*
sudo ./flash_tool.sh

Pretty simple, right?
Now you have flashtool setup on your Linux box. There are plenty of guides for rooting, flashing recovery and so on for doing whatever you intend to do. The tool will dump important debugging information to the terminal from which you ran it. This is very useful if you ever get stuck.
The only error I got is this:
S_BROM_CMD_JUMP_DA_FAIL

The reason and its solution is mentioned in this XDA thread:

This is because the 'modemmanager` package integrated by default within Linux Ubuntu 14.04 and later is not compatible with the MTK Flash Tool.

We can solve this issue by creating a udev rule blacklisting modemmanager for MediaTek devices. Create a file sudo gedit /etc/udev/rules.d/20-mm-blacklist-mtk.rules with the following contents:
ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"

Restart udev for the changes to take effect:
service udev restart

If you run into more errors, you could get a hint about what is wrong from here: Flashtools errors and their solutions! - MIUI
Here is a guide on installing adb and fastboot on Ubuntu.

I've not tested the solution but it would be really great if it work on other Linux machines. I've two MTK devices and I have to use MS Windows just to use that tool. Thanks for the info!

@Firelord Which version of flashtool do you use on windows? If it's v5.x, this should work. Say, one of your devices can be flashed only with Flashtool v3, I could not find v3 for linux.

if you do not want to run flashtool using sudo/root  you have to add your user to the groups dialout and uucp


text:
mount in /data/local/userinit.sh is not working
I want to map /sdcard/DCIM to /storage/sdcard1/DCIM
using CM 12.1 on a I9100
I wrote those few lines to /data/local/userinit.sh:
#!/system/bin/sh
log -p i -t userinit "userinit start";
mount -o bind /storage/sdcard1/DCIM /sdcard/DCIM;
log -p i -t userinit "userinit end";

If I execute it the script via adb shell the folder gets mapped perfectly.
But if I reboot the device the folder is not mapped.
In the log I cloud see the userinit start and the userinit end so userinit.sh is called during startup.
I also tried
su root mount -o bind /storage/sdcard1/DCIM /sdcard/DCIM;

Any suggestions?

Same problem here, but app below won't fix.

Found a workaround:
init.d script invocation by app
https://play.google.com/store/apps/details?id=com.ryosoftware.initd


text:
Move apps automatically to SD card
I have samsung A5, android 5.0.2, not rooted. it supports moving to SD card from application manager. Every time I update an app, it is moved to storage and i have to move it to sd card again.
Is there an app that move other apps to SD automatically after updates? I had link2sd and purchased the paid version long ago for a rooted s3 mini, but i don't find link2sd useful anymore. App2SD is just an interface for moving apps, it can't move apps automatically.
If you want to know why I don't want to root, here, actually I want to root but there are no rooting safe rooting tools for my phone right now.

Hi! Questions asking us app suggestion/recommendation are off-topic here. See [help/on-topic] to know more. However, [softwarerecs.se] is the fitting place for such questions, provided that you follow their guidelines.

@Firelord alright, flagged it for migration

Don't know if this will help, but in Link2Sd there is a setting that can automaticaly move apps to the SD using the Native App2SD Method on android phones.
You can use this to automaticly move apps2sd nativly and have it show notifications when this is available.

is your phone rooted? cause I can't select auto link

Yes, but try enabling USB debugging because most of the time LInk2SD needs this to be on to work.

I did that, still cant tick auto link apps from link2sd settings

I would say root your phone, but as stated above your unable to, so try looking on Google Play for an app that can do this.
One more thing Under install location did you select external?

if I click on install location it says failure could not obtain root access

I upvoted your answer because you tried to help and I'm thankful, can't accept it unless my issue is solved, I don't think link2sd is a solution, and didn't find any good app on playstore

Hope you'll fix this problem, for the moment you'll just have to do it manually.

authors: ريبال القيسي


text:
How to copy and paste an event in Samsung Galaxy A7 S-Planner running KitKat?
I've just bought a Samsung Galaxy A7 running on Android 4.4.4. How do I copy and paste calendar event in S-Planner app?

It would be great if this function was added again... sooooo frustrating.
It existed before:
here's a print screen from my galaxy S2 running android 4.1.2 (Jelly Bean)

Now on my galaxy S4 running android 5.0.1 (Lollipop) it isn't available anymore:

For Kit Kat I don't know... don't have any device using it unfortunately. But if it doesn't appear in the popup menu when keeping finger on the event, it's likely that it has been removed since that version.
Hope this helps and that this function will be added again in the future.

Have you tried the "share via" item, and send it to the planner again?

You can't. Functionality has been removed. Time to use a different app!

It is better if you back your claim using sources. If you cannot, then find screenshots for the earlier version where the functionality or the option is visible and then the newer version where it is missing so that we can verify the credibility of your answer.


text:
Overheating While Screen Locked
I have a Nexus 5 running stock Lollipop and lately I have noticed that when I lock the screen, but leave an app (or multiple apps) open (e.g. Chrome, Facebook, Youtube) the phone gets very hot and the battery drains like crazy. It's like the phone is acting as if the screen is still on.
Has anyone encountered this problem? Can anyone suggest a solution?

Next time the phone gets hot, like how you were describing. When you turn it on. Go to Settings > Battery > And see what is at the top of the list. It sounds like an app is keeping the device awake, even with the screen off. This should at least tell you what app it is then we can do from there.

I have done that, and nothing is jumping out - Android OS and Google Services top the list but are only like 3-5% each.

I had similar kind of issue with initial Lollipop version 5.0. I had clean master installed in my phone which showed that nearly 60-70% of RAM and CPU usage even though no apps were running, which end up heating my phone.
When checked in Settings-->Apps-->Running application mostly were services from android os. But they have now improved it in newer version of lollipop...currently my phone has version 5.1.1. In this it drop from 60-70% to 40% RAM and CPU usage.
Also lollipop has lot of bugs you can find a consolidated list here - https://www.androidpit.com/android-5-0-lollipop-problems-and-solutions


text:
How to connect to multiple devices at the same time using adb?
Things I'm using:

PC: MacBook Pro (Late 2013), OS X Yosemite version 10.10.4
USB: ORICO H7928-U2/U3 USB 3.0
Smartphones: LG G4, Samsung Galaxy Note 2
ADB version: 1.0.32

I'm trying to connect multiple devices and run at the same time under Eclipse IDE by using ADB, but when I connect two devices, one device status is offline or not listed.

Connection status:
pc right usb port ---------- usb hub ---------------- LG G4
                            └--------------------- galgaxy note2
Command line in terminal:
nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb devices
adb server is out of date.  killing...
* daemon started successfully *
List of devices attached
LGxxxxxxxxxxxxxx    device

Output when disconnecting all devices from USB hub and reconnecting them:
nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb kill-server
nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
Galaxyxxxxxxxxxxx    device

or
nice7285@SJLIMsMacBook13:/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools$ ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
LGxxxxxxxxxxxxxx    offline
Galaxyxxxxxxxxxx    offline

What is best way to connect to multiple devices simultaneously?

okay check this out, http://android.stackexchange.com/questions/26130/4-android-devices-on-a-usb-hub

This is one example, you have to make the split, it's doesn't seem to be an option,
root@kali:# adb devices
List of devices attached
4fddcdd8054fc421        device
5cf4b0890675d95c        device

root@kali:# export DEVA=4fddcdd8054fc421 && export DEVB=5cf4b0890675d95c

root@kali:# adb -s $DEVA shell uname -a && adb -s $DEVB shell uname -a

Linux localhost 3.4.0-Mina-my-love-53x--gae7828f #1 SMP PREEMPT Sun May 31 00:41:26 EDT 2015 armv7l GNU/Linux
Linux kali 3.4.0-Mina-my-love-33x--gdba1771-dirty #1 SMP PREEMPT Thu Aug 6 18:05:16 EDT 2015 armv7l GNU/Linux
root@kali:#

Export a variable for each device serial.
adb -s $VAR1 shell <command> <options> && adb -s $VAR2 shell <command> <options>

Note this is done without a hub. It might be the hub throwing things off?
Also apparently you dont need to && when exporting/echoing variables
root@kali:# export DEVA=4fddcdd8054fc421 DEVB=5cf4b0890675d95c
root@kali:# echo $DEVA $DEVB
4fddcdd8054fc421 5cf4b0890675d95c

Thanks moonbutt74 for your answer, but I 'd like to connect muti devices by using the hub and I think that problem can be solved without export command.

I have tested multi connection with another device (Samsung Galaxy Note4), then it works... :d
I think that the solution may be compatibility between devices or device connection sequence.


text:
Tired of having no data despite having plenty of bars
I'm on T-Mobile US with a Google Galaxy Nexus, I don't use WiFi, and I've grown to be very tired of very often having some spots around town where I get great (or sometimes even excellent) HSPA+ reception, yet, nonetheless, get basically no data working at all -- even phone calls don't connect.
Going into the *#*#INFO#*#* Testing menu, Phone info screen, and selecting GSM only in place of WCDMA preferred, and then, after the phone connects onto EDGE, then manually selecting to go back to the WCDMA preference as above, generally fixes the issue, and data starts flowing again.  I also recently noticed that every time this has happened, the Location CID value when in UMTS/HSPAP, is different between the working and non-working states, and, in a given geographical location, some CIDs always appear to not work, and some to always work.
Why is this happening?  Why is the phone/baseband not smart enough to abandon the broken cell towers, and automatically connect to working ones, if that's actually what happens once you force it into EDGE, and then back to WCDMA?  (I guess the better question would be -- why isn't TMUS monitoring these broken cells, but that'd be for a different SE property.)

If the device is rooted, you can change the network mode easily (in fact with just one touch) or based on location. So, is the device rooted?

Also sometimes from updates and whatnot the modem/radio files need to be refreshed. You could try flashing new/updated modem/radio files for your device. You can find the files needed in the factory images, found on Google's nexus page. https://developers.google.com/android/nexus/images?hl=en

Alternatively, that interface where you change the network mode can also be launched based on touch, gesture or location. Point is, what would you like to have as a solution? @jer3my also has a good alternative.

Also another thing to try and look into. Make sure you are using the correct APN settings for your network. Once again from time to time. Updating your device could change and or mess with the settings. Not sure on your device but the APN settings on my Nexus 6 are located in Settings > More(under mobile data) / Cellular settings > Access Point Names.

One more thing: does activating airplane mode and then inactivating it helps? Since you go from WCDMA pref -> GSM (Edge) -> back to WCDMA pref, Airplane mode should help.

@Firelord, airplane mode sometimes help, sometimes not; it's annoying that it also disables the hotspot, so, my tethered devices drop the wifi connection

@jer3my, but why would it be APN if the data works just fine at least half of the time?

@cnst You could be using older APN settings. But now that I think about it. Tmobile uses sim cards. So when you put in the sim card and turn on the device. It should of pulled the correct APN settings then. Just wondering too. How long has this been going on? Just recently or off and on since you had the device? Maybe Tmobile is doing maintenance in your area.

@jer3my, I don't recall this happening too often with T-Mobile US HSPA+ before, would usually only happen when on EDGE in some hard-to-reach places, but maybe I was just paying less attention.  How would it be acceptable to be doing maintenance like that for days?  Why not shutdown the HSPA+ cell if it's malfunctioning like that?

@cnst no idea but I can tell you carriers do it. At least Sprint did. They were redoing the entire network here in Chicago-land area. Text would be hours late. Phone calls wouldn't come through. Data wasn't working. It was a rough time. Lol

@jer3my, that's Sprint!  lol.

@cnst Oh I know. But I am sure the other carriers do it to a degree also. =p


text:
Device won't connect via USB
I have a HTC G2 running Android 2.3.4 that I've recently tried to root using the guide at the XDA developer's site.  After step 3.3, the USB connection stopped working.  More precisely, when I plug the USB cable into the PC and the phone, the PC does not detect the phone (for instance, it is not in the devices manager) and the phone does not get a USB notification (though it does charge).  I've tried all the basic trouble shooting steps as outlined here, but I haven't had any luck fixing the problem.
As I see it, either one of two things has happened.  The phone's USB port needs to be replaced or I've introduced a glitch that prevents the phone from communicating with the computer.  Is there a way to find out which case I'm facing and if it's the second case, how to diagnose and fix the glitch?  Thanks

I assume since you had it working at one point, You have Dev options enabled. Try revoking USB authorizations and then plug in the device and see if it prompts you to allow the connection. Assuming your android version has it. and if not, what android version are you running?

It is version 2.3.4, which does not (as far as I know) have USB authorizations.  I did try turning off USB debugging, but that didn't help.

I understand your problem,Your device may not have supported  Drive and  check is it connect mass storage(memory card) or not .if you may change the setting in USB debugging,

You didn't answer the question...


text:
CWM - Can I make CWM mount a different External SD Card Partition - LG e400f
As stated in the title I want to be able to mount my SD cards 3rd Partition, this is because that is were all my files are and I would like to be able to backup to this partition.
Phone: LG e400f
Rooted: Yes
Recovery: CWM
ROM: Stock
I am using Link2SD becuse my phone doesn't have much memory for apps and as such I had to partion my sd card, and for some reason my phone would only mount the last partion Not the First Partion so to combat this problem I partition my SD card the way shown below
SD Card Partion Layout:
1st: 7mb fat
2nd: 1.45GB Ext2
3rd: 13.45GB(around that) Fat (My main area were i want to backup my phone and were my music and photos go)
The Problem arises when I try to do a NANDroid Backup as CWM mounts the first partition and since it is so small it can not backup the phone.
I would like to be able to backup on the 3rd partition so
a) Is there a recovery that could do this
OR
b) If  Not how can I modifiy my recovery so I can

Matt it just looks complicated, just pay attention to detail and process and, always triple check. Here is LG Optimus L3 forum at XDA http://forum.xda-developers.com/optimus-l3-l5-l7

@moonbutt74 I have already checked on XDA for this problem and have come up unsuccessful. The problem is that I want to do a NANDroid backup to my SD card but as told above I am unable to as I need the backup go to the second partition.

You have root and a custom recovery don't you? Dump the recovery.img , unpack it, make the edits, repack it.

Matt, how old is this phone? I am looking at the device=tree in cyanogenmod git and kernel source as well. I'll make a try at a philz build but we need to move to xda, stack isn't the place for this. Oh and the answer below does work, an upvote would be helpful. M xD

This phone is an Telstra Pre-Paid  LG Optimus L3, Running stock Gingerbread 2.3.6, I got it last year, Website: http://www.lg.com/au/support-mobile/lg-Optimus-L3-E400F
Release Dtae: 11/03/2013
And it has a officle cyangon nightly biuld created for it (Luck for users who use this phone)

okay link me to your custom recovery, or if you have it unpacked already you should just need to change the mmcblk1p# in you recovery.fstab to match the partition you want to back up to on your external sd card, so instead of the fstab entry being /dev/block/mmcblk1p1 it would be 1p3

I used Rasher to get a backup of my recover image. Link: https://drive.google.com/file/d/0B_5mtquWAP3MbTZUX05Qa2RMWlU/view?usp=sharing

Matt try this out, https://www.androidfilehost.com/?fid=24052804347794982 Don't lose your original, changed mmcblk1p1 to mmcblk1p3

If you just changed this "mmcblk1p1 " then why is it half its original size? I want to know before I use this as i don't want to skrew up my phone.

Matt , when you dump an image, unless specifying count the entire block get's dumped, so for example my boot.img is 8.9mb roughly but if i dump it using dd with specifying the proper count, I end up with a 10.1mb image, roughly, which is padding. When i unpack it and repack it i lose the padding and the image is again 8.9mb roughly , depending on modifications. You are certainly welcome to do as i suggested for yourself. If you have some question about my work, goto XDA. That being said, i did make it a point to tell you to keep your working img handy just in case. M.

Thanks for doing this for me. I was just wondering why it had gone done. As I nowhere at your skill level I obliviously didn't know that some of the space is 'padding'. Thanks.

The actual size of your ramdisk is roughly 2.2mb uncompressed and your kernel binary is rough 4.6mb in size - correction_ your kernel binary is 3.2mb

No prob, if you want to learn more goto XDA and setup an account and pm me by my user name I'll run you through the drill.

Okay that makes sense why it is so small. Am I able to use [Rasher] (http://forum.xda-developers.com/showthread.php?t=2334554) so if it doesn't work I can just reflash my original recovery?
And what did you use to unpack, edit and repack the recovery??

That i don't know, i do everything by the command line, just check out rashr's help menu or visit developer site, the image is in the same format. I've never used rashr so find out if there is a proper naming convention for the new image or not. Yes you can reflash your original recovery the same way you did the first time. Goto XDA and look up AIK by osm0sis

The answer is yes,no,maybe. You might hit a snag with the fat/ext/fat scheme on your card but here goes,
I have a debian chroot <ext4> set up in

/dev/block/mmcblk1p2 --> my extSdCard 2nd partition.

So i edit the following in my recovery ramdisk --> Philz Adv CWM

init.rc --> add a directory export

under the on init section
export DEBIAN_ROOT /debian

in etc/recovery.fstab of recovery ramdisk
/dev/block/platform/msm_sdcc.2/by-num/p2              /debian      ext4    rw,errors=panic    wait

Remember this is cwm fstab format, adjust for twrp if needed! Your own device in regular operation will show you the right layout. Remember to set correct <type>for partition.
After you have all that done and have repacked and reflashed your recovery,
root@kali:/storage/tempus# adb reboot recovery
root@kali:/storage/tempus# adb shell mount /debian && adb shell mount | grep debian
/dev/block/platform/msm_sdcc.2/by-num/p2 on /debian type ext4 (rw,seclabel,relatime,data=ordered)

    root@kali:/storage/tempus# adb shell
    ~ # uname -a
    Linux localhost 3.4.0-Carmilla-mb74- #1 SMP PREEMPT Sat Dec 27 22:41:40 EST 2014 armv7l GNU/Linux
    ~ # ls /debian
    AIK         etc         lost+found  policy-k    sbin        t-src
    bin         home        media       proc        selinux     tmp
    boot        images      mnt         root        srv         usr
    dev         lib         opt         run         sys         var
    ~ #

I won't be going into the unpacking/repacking part of the procedure as i am sure that is covered elsewhere.
For a treat, i am still in recovery but exit back out to linux term because it's easier to mount system,
root@kali:/storage/tempus# adb shell mount /system
root@kali:/storage/tempus# adb shell
~ # go-deb
root@localhost:/# ls
AIK   dev   images      media  policy-k  run      srv    tmp
bin   etc   lib         mnt    proc      sbin     sys    usr
boot  home  lost+found  opt    root      selinux  t-src  var
root@localhost:/#

And after running my go-deb script after mounting /system i am now in my chroot while in recovery. No wifi though, i forgot to square away the modules.

This looks a little bit complicated but I will give it a try, but before that, your using PhilZ Touch and doing it with the terminal emulator right?
But my problem is I think there is no PhilZ Touch that can work on my Lg e400f unless you know were I can find it.


text:
Language and input made foreced stopped,how to change keyboard on android device?
I have phone named Micro max A091(Android 4.4.2), I had rooted my phone a long ago.There is a problem that when ever I tried to open the language and input in setting, but that makes stopped the whole setting.
Is there any way to change the default keyboard without flashing or repairing this issue.

Which keyboard are you trying to get rid of? If it isn't Google Keyboard, go download it from the Play Store, open the app and follow the steps. See if that fixes your issue. If you already use Google Keyboard, try downloading another keyboard like SwiftKey.

And when you follow the steps on Google Keyboard or Swiftkey, you get "Unfortunately, Settings has stopped" on the step "Enable Keyboard"


text:
My Samsung galaxy tab 2 does not switch on
I am using Samsung galaxy tab 2 gt p3100. It freezes when showing Samsung galaxy tab 2 gtp3100. I cannot switch on my tablet neither switch off.

What has happened before? Did you try to install a new rom/recovery/rooted your tablet before this has happened? Can you access the "download mode"  ( long press POWER+Volume UP ) ? If so, you can download a Stock Firmware from sammobile.com and flash this firmware via Odin from your PC.

Apart from the details asked by Benjamin (which might give us other options), can you boot into safe-mode or recovery-mode? If so, flashing the firmware again could possibly be avoided.

@benjaminS should be easy, since the GTP3110 and the GTP3100 are identical. I think the only difference is a never used sensor.


text:
Make an IAP in a Restricted Profile
My boy is playing Scribblenauts on an Android 5.0 tablet, under the control of a restricted profile.
He's done all the levels, and there is an IAP required to purchase the rest of the levels.
Can't do the IAP from within the restricted profile, because no play store access.
I've purchased the levels on the parent account, but they don't show up in his restricted profile.
How can I get the new levels for him?

Have you tried to contact the developers of the game in which you want to do the IAP? Maybe they can provide you with some ideas or advice that we at Android.SE have not thought of yet. If they give you any suggestion which works, please post another answer below.

You could try temporarily unrestricting the account. Your phone must be rooted. I haven't tried doing this and have no idea whether or not it'll work. It's just idle speculation.

Make a full backup of the entire device, including all priceless user data such as documents, photos, and home videos. Store the backup on your home computer, or on a MicroSD card kept in a safe place.
Root the device. This carries risks, which I shall not list here.
Install SuperSU.
Temporarily convert the restricted profile into a non-restricted profile. Right now, I'm too tired to prepare a full set of instructions on how to do this. Instead, for now, you can pay a technician to look at this post. Upon seeing the post, she'll be able to figure out what to do.
Try to make your in-app purchase.
Set the profile to be restricted again.

I wonder if the in-app purchase would work, though. Would the temporarily-unrestricted profile have a Google account associated with it? If not, could it still make in-app purchases?
Maybe you'd have to add a Google account to the temporarily-unrestricted profile then remove it from that profile after making your in-app purchase?
Please leave me some comments about whether or not this worked for you.

You could try creating an almost-restricted account and letting your son use that account.
For instructions, follow this link.
I haven't tried doing this and have no idea whether or not it'll work for your situation. It's just idle speculation.
Please leave me some comments about whether or not this worked out for you.

Check into which third-party ROMs work on your device.
Pick one.
Contact fellow users of this ROM. Tell them what you'd like to do. Ask them whether or not the ROM allows it.
If the ROM doesn't allow it, contact the ROM developer(s) in their preferred way (maybe through their issue-tracking system) and ask if they could please make it possible.
Please leave me some comments about whether or not this worked for you.

You can create a kids account though Google play
and while you setting it up there's an option called ask a parent. Active that and make a password then if your child to the last free level of a game it will pop up on the screen, ask a parent. Then just put your password in and buy more levels. Hope this helps

I read on a site that the updates may be higher (e.g. PG) than the rating you have set (e.g. G) in the restricted profile.
Try the following: either turn the Parent controls off to allow updates, or adjust the maturity rating (temporarily) so the game can update. Once updated, turn controls back on/or adjust maturity rating back to the previous choice.

Linking the site adds credibility to your answer. Please do that by editing your answer.

I've never had the parental controls enabled, the restricted profile still cannot seem to access IAP from the main account.

@AaronMcMillin: Please try one or more of my new answers, and please leave me a comment saying whether or they worked. If none work, perhaps we should convert both all the non-working answers into comments on the question, or edit them into the question post itself as "things which we've tried and didn't help".


text:
Protect ADB access via network?
I have several Android devices in a local network. (Android Set Top Boxes from Geniatech, running 4.2 Jelly-Bean)
If these boxes have problems or need debugging, I simply connect to them via
adb connect ip-address

there I have full access to the (rooted) devices.
Unfortunately everybody in the network has this possibility. I understand that it is the responsibility of the network admin, to protect it against hackers and stuff, but I would like to add additional security. So my question is:
Can I somehow protect the adb-connection to the Android with a password?  (or a Certificate or something) Or does anybody of you know alternatives?
ADB must remain open, so I can access the devices from the network, e.g. to directly make apk-updates, or read the logfiles.
Best regards

I've not really worked with ADB over TCP recently; but with Android 4.2+ on USB, any new computer trying to connect must be "approved" on first access ("trusted device"). Is that not the case for ADB via TCP? There are several ADB Tools offering kind of protection (e.g. turning ADB off when the screen is locked), but I've never heard of PIN/password protection in this context. Only thing I could think of then are firewall rules for the given port, blocking all connections except from "trusted devices".

Thank you. Unfortunately, this "approval-mechanism" is not working over TCP. I never approved anything and I can access the devices from every PC. The screens of those devices are always on, so no protection there ;) The firewall-idea sounds interesting, however.

For details on the firewall setup, if you have issues there, better ask at an SE site more specific to that then, as that's not an Android-specific issue :) [SU] might be suited for that (but better check their /help/on-topic first). Firewall is probably the best approach in your case. And while directly asking for how to do that is off-topic here, be welcome to answer your own question with that solution then. Good luck!

Why are you using adb if you can already run an SSH server?

There are lots of adb commands which aren't adb shell

As suggested by @Izzy I am going for the "firewall-solution":
Block all connections for the adb-port (5555), except from my trusted devices.
Thanks again!

although it's open in your lan, it is still adb. it's the same as over usb. you have to acknowledge every device which want to connect once before it can connect. if you think, there is a acknowledged device which should not be there, you could reset that list in developer settings.

you can also add a firewall blocking port 5555 and start both adb over tcp and an ssh server, then auth with a ssh key and tunnel 5555 to a local port eg 55555. then use adb connect localhost 55555


text:
Downgrade android version from higher to lower?
Mostly, android devices get updates through OTA to higher versions. I had upgraded to Kitkat(MIUI6) version, on my Redmi 1S using OTA. I have downloaded complete ROM of Jelly bean(MIUI5). But, I cannot install directly, it shows error and failed. That means an upgraded device cannot downgrade by direct installation. What should be done? (Unrooted device)

It depends on the manufacturer and the android version most likely. When there are new system updates, there are also often new bootloader versions available. Those are automatically updated to run on the newest software and provide support for the new android version. The installation of older software packages is often restricted by the newer bootloader. Some phones can be downgraded to older software versions of android by flashing a zip file via recovery or fastboot. But in the end it depends on which phone you have got and which android version you want to downgrade to.

Your bootloader needs to be unlocked for you to install a custom OS. Keep in mind, unlocking bootloader will most-likely void your warrenty. And I think you also will stop receiving any future OS upgrades from your manufactures/carrier.


text:
Error `ssh not found` in terminal Android
I'm trying to use ssh in the app Terminal Emulator in Android, but it gives me the error /system/bin/sh: ssh: not found.
This is strange to me, since I also use ssh in the apps AndFTP and SSH Server and they work just fine.
When I then try find -name *ssh* in the root directory in an attempt to find the ssh program I get the error /system/bin/sh: find: not found.
Are perhaps all the symbolic links to these standard programs missing?

Most likely those apps bring their own implementation of ssh along. AFAIK there is no SSH installed on Android by default – though for rooted devices, there might be versions of Busybox offering that. The latter might also be true for the find command (at least it is on the devices I own).

authors: حشمت الله غریب


text:
Logged in from friend's tablet but the Android device manager shows current device as my cell phone
I logged into my Google account from my friend's tablet. Went to my account info page. Looked at my recent activities and it shows all devices I've logged in from. The top one says My Cell Phones name and says it's my Current Device.
How can that be? I'm across town from my cell phone at the moment and I'm on a friend's tablet for the first time ever! Does this mean these two devices are linked in some weird way? Spy app or? I can even go to Google Play and click on My Apps and it shows the apps that are actually installed on my cell phone!

Apps you install from Google Play are linked to your account. This way, if you've paid for an app, uninstall it, and want to reinstall it again, you can easily do so without paying twice.
If you have logged in to your friend's tablet, this device is now connected to your Google Play account as well. It's a feature meant for when you buy a new tablet. This means you can download all apps you have bought or installed on your previous (own) cell phone. Being able to see your installed apps is actually what's supposed to happen when logging into your Google account.
It's very strange that Google thinks you're currently on your cell phone while you're actually using a different device. Your friend's tablet might have received the login token from your phone if you use the synchronisation features in Google Chrome, confusing their website.
It could also be possible that your device was doing something with your Google account (like updating apps) while you signed in.
Google can only really guess the exact device you're using when you log in to Google. Their current device indicator works most of the time but I wouldn't rely on it.
Try clearing the history, cookies, and login sessions from your friend's tablet, or go incognito in Chrome and see if the website still says you're on your phone. There isn't any spy app active and the indicator probably took a wrong guess on what device you were using.

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


text:
Can I set up Lync account on built-in mail client?
Is it possible to setup Lync into built-in mail client application?
How?

Not sure about in-built email client. But, have you tried using the Microsoft's Lync 2013 app for android? Also Please add you device details and Android version info by editing your question.

@Lucky: Yes, I've tried  Microsoft's Lync 2013 app for android. It consumes too much battery power, that is why I want to configure it in my built-in e-mail client. There is no need to add device details and Android version info as this can be useful to any user who is using Microsoft's Lync 2013 app for Android.

Information about your device is actually useful here because not all devices have the same "built-in" email application. It varies from one manufacturer to another, as do the supported features. In this case, I think the answer is "no" for all of them (but I could be wrong).


text:
WiFi not working on Samsung Galaxy S3: "WifiStateMachine( 2240): Failed to load driver"
Problem description:
I have a WLAN problem with my Samsung Galaxy S3 (GT-I930). I cannot activate WiFi. Logcat shows me that the driver could not be loaded (detailed WiFi logging has been activated via the developer options):
D/WifiService( 2240): setWifiEnabled: true pid=3142, uid=1000

E/WifiService( 2240): Invoking mWifiStateMachine.setWifiEnabled

E/WifiStateMachine( 2240):  InitialState !CMD_START_SUPPLICANT 0 0

E/WifiStateMachine( 2240): Failed to load driver

The netcfg command does not list any wlan0 interface:
lo       UP     127.0.0.1/8   0x00000049 00:00:00:00:00:00
sit0     DOWN     0.0.0.0/0   0x00000080 00:00:00:00:00:00
ip6tnl0  DOWN       0.0.0/0   0x00000080 00:00:00:00:00:00
rmnet0   DOWN       0.0.0/0   0x00001090 00:00:00:00:00:00
rmnet1   DOWN       0.0.0/0   0x00001090 00:00:00:00:00:00
rmnet2   DOWN       0.0.0/0   0x00001090 00:00:00:00:00:00

In the WLAN advanced settings, there is no MAC address available.
The WiFistatus that can be reached via the **#*#*4636#*#*** service code on the phone number pad lists the following information:
Wi-Fi state: Disabled
Network state:
Supplicant state: UNINITIALIZED
RSSI: -127
BSSID:
SSID:
Hidden SSID: false
IPaddr: 0.0.0.0
MAC addr:
Network ID: -1
Link speed: -1 Mbps
Scan results:
Android version:
The phone is rooted, ClockworkMod Recovery (CWM) is installed. I tried different custom ROMs (see next point "history"). The current Android version is 5.0.2 (ROM: Liquid Smooth Lollipop, Kernel-Version: 3.0.31-CM-gdd7ad6a)
History
At first, I rooted my phone and flashed Cyanogenmod 10.2 cm-10.2.0-i9300 (Stable Version, Android 4.3)). Everything worked fine (including WiFi) and I was pleased with the smoothness and beauty of the Cyanogenmod.
Out of curiosity, I tried a Cyanogenmod cm-11-20150614-NIGHTLY-i9300 (Android 4.4) and faced the problem the first time. After returning from airplane mode, the WiFi was broken. I assumed the nightly build to be still buggy and reflashed the Cyanogenmod 10.2. However, I was not able to get the WiFi back.
After that, I returned to a stock ROM but no luck. The WiFi was still dead.
I started to consider that it might be a hardware issue and got a new WLAN antenna as well as a new WLAN-speaker-thingy. I changed the parts and tried again with Cyanogenmod 10.2. Guess what, the WiFi was working again. But unfortunately not very long. I am not quite sure but I assume the WiFi went away again after returning from airplane mode.
Well, I then tried two other custom ROMs:  SlimKat 4.4. Slim-i9300-4.4.4.build.9.0-OFFICIAL-8312 and Liquid Smooth Lollipop (5.0.2) which is still on the phone.
On Liquid Smooth, I was able to get the WiFi back a couple of times (meaning I could see local networks in range and even connect to one of them) but never really long and in the end, it died again forever.
I am really confused about the question: Is it a software or a hardware issue? I sent the WLAN speaker module back to the merchant and tried another one but was not able to revive the WLAN since then.
Other things I tried
I tried some WLAN fixer apps (without success):

Wifi Fixer
Blade Wifi Fix
FXR WiFi fix and rescue 1.5.0

I tried some useless stuff with the wpa_supplicant.conf file that I have read about in another forum.
In addition to that, I also did googling and I think I got through the whole first page of search results for a lot of search terms.
Logcats
I pasted the detailed logcats in Pastebin:

Liquid Smooth boot on the day WLAN was working for a short period of time: https://pastebin.com/dT9Ucbs5
Liquid Smooth successful WLAN activating (search for "banana" that is the SSID I connected with): https://pastebin.com/yQsgkQiV
Liquid Smooth boot and failed WLAN activation (freshest log): https://pastebin.com/ikDr9vJi
The dmesg output: https://pastebin.com/0caXAPAd. There is a message: "failed to power up DHD generic adapter"

I would really appreciate any kind of help or advice. What can I still try? What could be the cause of the problem? Anything I have overlooked?

+1 for doing your due diligence! It's not a hardware challenge I think, it's rare for a flash to murder a single part in your phone. Could it be a kernel challenge? Do you know if it was modified during your CM11.2 flash?

Ramona, hi, please post the output of
mount | grep efs
Also link me to the rom you flashed when this started?

@ZeroPaladn Unfortunately, I don't know if the kernel was modified during the flash.
@moonbutt74 Output of mount | grep efs is /dev/block/mmcblk0p3 /efs ext4 rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,journal_async_commit,data=ordered 0 0. I got CM 10.2 from here, CM 11 from here. Thx to both of you for your comments.

Ramona, okay i'm getting both now, iwant to compare the boot.img's , quick question, if you can , backup current rom and do a clean flash of cm-10.2.0-i9300, meaning factory reset and/or clean to install new rom.

I dug up a forum post that goes through a similar challenge, it also mentions a botched kernel. You could try replicating the steps from post #8 and #12 (read them both first).

After looking at your dmesg, if I am understanding it right, your WiFi device is identified as mmc2 and an external card
<6>[   18.525295] c1 mmc2: card inserted.
<4>[   18.525962] c1 wifi_platform_set_power = 1
<4>[   18.525970] c1 ------------------------------------------------------------------------------------------------
<4>[   18.525978] c1 brcm_wlan_power Enter: power on
<6>[   18.525983] c1 111brcm_wlan_power Enter: power on
<4>[   18.525988] c1 gpio_table = [2]

<7>[   18.526198] c1 WLAN: GPIO_WLAN_EN = 1
<4>[   18.730036] c1 wifi_platform_bus_enumerate device present 1
<4>[   18.730044] c1 gpio_table = [6]

And is cycling on and off because it is having the wrong/excessive voltage being pumped into it.
<6>[   16.407671] c1 mmc2: card inserted.
<3>[   16.635241] c0 mmc2: cmd 52 command index error error
<3>[   16.636109] c0 mmc2: cmd 52 command index error error
<3>[   16.641166] c0 mmc2: cmd 8 command crc error
<3>[   16.641729] c0 mmc2: cmd 5 command end bit error
<3>[   16.642015] c0 mmc2: cmd 5 command end bit error
<4>[   16.642068] c0 mmc2: host doesn't support card's voltages
<3>[   16.642080] c0 mmc2: error -22 whilst initialising SDIO card
<3>[   16.643112] c0 mmc2: cmd 55 command end bit error

With new hardware, you require a new kernel build with correct device support compiled into the kernel. Whether or not this "cycling" is damaging your new hardware I can't be sure. It wasn't really clear in your question but I am assuming these were internal changes to your phone's hardware? You will likely need to get the specifics of that new hardware and find the driver/kernel-source/support and port it into your current source and compile a new build, modules, and all.
Basically, any room you flash on this "new" device is likely going to fail in the WiFi department, and flashing even back to stock via the/an official firmware release is not likely to fix it.

Yes, OP's hardware has changed - they replaced the WiFi "antenna and speaker-thingy" after the stock ROM flash didn't remedy the challenge. If the hardware isn't exactly the same as the original then yes, a kernel recompile with the proper driver would be required.

thx for the insights! Fortunately, I did not throw away the original hardware. I now put it back into the phone and flashed the Android Revolution HD 53.0 ROM which is based on stock kernel. The flash should be clean, I did wipe data (factory reset), wipe cache and wipe dalvik cache. At least I now do not see any wifi related messages in the dmesg anymore and I got my mac address back. However, logcat now tells me Wi-Fi driver is unstable. Haha, this is really driving me crazy....

Renaming the data\misc\wifi\wap_supplication.conf file has fixed the problem for some people.
The Android system by default will recreate the wap_supplication.conf file after renaming or removing it. In my case, either way, it did work but for a short amount of time. Finally, I just relapsed the wireless adapter, so it's likely a hardware problem.

Rename data/misc/wifi/wpa_supplicant.conf to what? I have seen solutions to remove this completely but not rename it.


text:
How to install larger memory sd card
I have a samsung galaxy prime and have just bought a 64 g memory card as the 8 g was not big enough. According to the youtube video i must insert the new card on top of my sim card. It slots in fine, is recognised on the settings as more memory, but still saying storage space running out. What else must i do please.

but still saying storage space running out

this probably refers to the internal memory of your device. Apps are by default stored on the internal memory. What you can do to increase the available space on your internal memory is the following:

Move all media files (your photos/ music / videos) to your external SD-Card. You can use a file explorer to do so (cut and paste).
-If available- move app data to your SD card - to do this go into your settings, search "applications / application manager" and look for each app if you can move it to the SD card

The usual basic solutions: clear your cache (and do it frequently), Uninstall unnecessary apps, moving apps to sd card (if available).
Apart from these, what I do is manually move some of the App's data folders in internal storage (Android/data and Android/obb), to external SD card (usually huge games that are taking lot of space), and move them internal storage only when I want to play them. Move them back later.


text:
Android Tethering - Shell To Python Code (SL4A API)
I know I can convert how I call an activity from within a shell to python code. So given the correct code can someone help me in that conversion? I know I can use pyjinus so that should be another valid option. I can send keystrokes from shell and pyjinus. I'm root as well.
Shell
am start -a android.intent.action.MAIN -n com.android.settings/.TetherSettings

Python
Android.startActivity(String action, String uri[optional], String type[optional]: MIME type/subtype of the URI, JSONObject extras[optional]: a Map of extras to add to the Intent, Boolean wait[optional]: block until the user exits the started activity, String packagename[optional]: name of package. If used, requires classname to be useful, String classname[optional]: name of class. If used, requires packagename to be useful)

Here is a code to start SL4A that should serve as reference:
am start -a com.googlecode.android_scripting.action.LAUNCH_SERVER -n com.googlecode.android_scripting/.activity.ScriptingLayerServiceLauncher --ei com.googlecode.android_scripting.extra.USE_SERVICE_PORT 45001

I've tried with no luck:
Android.startActivity('android.intent.action.MAIN',None,None,None,'False','com.android.settings','com.android.settings/.TetherSettings')

Well I guess I was a little bit impatient... I came with the solution by removing some content on the python code:
So I'm posting what I changed:
Android.startActivity('android.intent.action.MAIN',None,None,None,False,'com.android.settings','com.android.settings.TetherSettings')

I only removed de '/' character. I'll post a working code later on.


text:
How to hard brick an android phone (Galaxy Nexus)?
I'm trying to figure out whether or not I managed to brick my android phone, a Galaxy Nexus*.
Using ClockworkMod Recovery, I pretty much erased everything I could find (/data, /cache, /factory, /system, /boot, /sbl, /xloader). If I reboot now, will I still be able to boot into ClockworkMod? Specifically, /recovery is not on said list.
I am trying to find information on how the boot process works, but it is very hard to discover around the web among all the end-user specific noise. As far as I understand it, there is a stage-one bootloader in an actual ROM (emphasis on read-only), but I do not know whether the fastboot-functionality is contained in it.
Hypothetically speaking, if I were (able) to zero every block of the internal SD-card sans the read-only ROM, would that brick the device?
To my knowledge, as long as I can still get into fastboot, the device is not bricked? If all this fails, can I use special hardware to restore it?
*: I should note it is currently powered on and has loaded the ClockworkMod Recovery. I believe I could get it back to working order, but I really want to find the minimum amount of software I can get away with.

....... Why? Alright, you said why, but still..... I have never heard of intentional bricking. If you can't restore it, what are you going to do?

As it says in the text, I'm not intentionally bricking it; I just erased a bunch of things and am now wondering whether or not that did actually brick it. -- The whole "can I brick it?" question is just me trying to figure out things from the other end.

Ok, but (assuming you do brick it) this is an intentional brick. Have you tried rebooting it?

@DanB I have not rebooted it yet, since I am still inside the RecoveryMod, where it should be fairly easy to fix things. If it does turn out to be a brick, rebooting would close my door back in, so to speak.

Fair point, but it would be the only way to check :( I just looked at my recovery, and found I had stopped the wipe of anything :)

Hello , "hard bricking" describes a completly unfunctional phone. If you can still power it on then it is not hard bricked. Hardbricking a phone is rare these days but when android modding was started it was a real fear. Like you said, if you can access the fastboot, the device is not bricked. Users often use the term "hard bricked" when their device is not booting up to android anymore. But as long as they can access the recovery or the fastboot option the correct term to use is softbrick. I Don't think that these partitions you have erased will brick your device, but I never had a nexus.

Hi, i was just curious about what you're working on. If your block/patition layout is like my device then dd if=/dev/zero of=/dev/block/mmcblk0 will brick your device hard in a few minutes.

"all the end-user specific noise": Uh-oh. I hope you are aware that this here is a site dedicated to those "noisy end-users" :) Taking a look into our boot tag-wiki will lead you to Can somebody explain the boot process of an Android device?. Isn't that what you are looking for? It should be pretty obvious that by wiping /boot the device no longer "boots" (not even to recovery). The fastboot mode might still work (fail-safe for re-flashing), though.

As far as I know, your device is not that hard bricked, that you can't boot into the bootloader (fastboot mode). so at every time you should be able to install a custom recovery via fastboot flash recovery recovery.img. if you are in recovery mode with a working recovery, you can do a factory reset (reflash the system, root,... partitions from a protected image) and reboot your device. alternatively you can do a factory reset in fastboot mode.
note: if you erased everything, your recovery will freeze like if you pull off the hard drive from a running Linux. also there are partitions, you are never able to flash, as example the RADIO partition, fastboot or the one, containing the factory reset data. (RADIO partitions contains fine tuned configuration and management of the gprs, lte,... modem)

What's most interesting to me now is, if I powered off now without loading another image, would I still be able to boot into ClockworkMod? From how I understand your answer that should be possible. Also, is it impossible to ruin fastboot?

as I said, it should not be possible to ruin fastboot (if you unlocked the device via the proprietary way, the way, the hardware provider expected from you).

Alright, I rebooted and had to take out the battery afterwards (stuck with the Google Logo). Holding down VolUp+VolDown while powering on got me into the menu to select Recovery and my ClockwordMod is working.


text:
How do I route traffic from WiFi Hotspot to USB?

Note:- I've found out that to achieve what I want, there is a simpler,
  more flexible way than reverse tethering. If you are ever in my
  situation, read the answer below.

I reverse tether internet from laptop via USB, and wan't to share it further by creating an Hotspot on my rooted android phone.
I get internet not just on my browser, but everywhere including Play Store and Whatsapp, when I reverse thether it from my laptop via USB.
The only issue is that when I start a WiFi hotspot on my phone so that other devices can share this internet, they don't get internet. How do I fix this?
Here is the commands I used to set up my phone to accept internet from my laptop:
ifconfig rndis0 10.42.0.2 netmask 255.255.255.0
route add default gw 10.42.0.1 dev rndis0
ifconfig ccmni0 0.0.0.0

Where ccmni0 is my Mobile Data interface and rndis0 is the interface from which I get internet.
Why I want to do this is irrelevant to the question, but read on if you want to.
The reason for doing all this is that me and my room mate has to share a single LAN cable. Both of us run linux and have Broadcom WiFi cards, whose linux drivers don't allow you to create an AP from the laptop. I have linux only, while my friend uses linux only at times. When he is on Windows he creates a WiFi AP from his laptop using connectify. But when he is on linux, I want to temporarily create a hotspot via by mobile to share the internet.

You can use Connectify software to use your Laptop to create wifi-hotspot so that other devices including your mobile phone can access internet.

@Lucky, if you read the question again, I am using Linux for which connectify is not available. But that is not the problem. You don't even need an external software to create a hotspot in linux. The problem with that is that is that, as I said, my driver does not support creating APs.

Although this does not specifically answer my question, I solved my problem. What I wanted to do is to share my internet with my friend via WiFi using my android mobile because my Linux powered laptop doesn't have driver support for creating WiFi APs. Broadcom sucks!
I use my mobile phone to create a WiFi network(via hotspot), connect my laptop (source of internet) and other devices that require internet to the network. Now I configure my laptop to be a gateway and configure other devices to use my laptop as gateway.
Here is the guide I followed. Lucky for me, I run Arch Linux. But this should work even if you are on some other linux distro like Ubuntu. So here it goes:

Start hotspot on your mobile and connect the laptop which has internet and the device which needs internet connection.
Create a script named start-gateway.sh with the following content.

#!/bin/bash
sysctl net.ipv4.ip_forward=1
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT

The script assumes that the interface which has internet is eth0 and you need to forward packets from wlan0 (your WiFi interface) to your Ethernet connection. So please confirm if these are the names of the interfaces from ifconfig output.

Make the script executable and you are done:
chmod u+x start-gateway.sh

Whenever you need to start the gateway, execute the script with root privileges when connected to the WiFi:
sudo ./start-gateway.sh
Now all you have to do to get internet on other devices connected to the WiFi is to set the manually set IP configuration on those devices, giving the gateway as the IP address of your new gateway. Remember that by default the gateway will be the phone which is hosting the WiFi network(which has no internet), and you need to change the gateway to the one you have created.

How can I give "the gateway as the IP address of your new gateway"? Please explain maybe how to do it on Windows.

@brijs In you windows machine the "Default Gateway" should be set to the IP of the machine which has internet. (The machine on which you ran the script)

Posting as an answer to @daltonfury42 as I do not have enough reputation to do that under his answer.
I also have the following adapter:
:~$ lspci -nn -d 14e4:
08:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
I was trying to create access point (AP) from my laptop but as the author states: "Broadcom sucks!"

My 2 cents of worth in this comment is what it took me a lot of time to do - set the correct DNS and gateway settings.
My setup:

Laptop (connected to internet via LAN cable) [Dell Vostro 3560, Ubuntu 16.04 LTS)
Tablet (serving as an access point / hotspot. Both the laptop and the smartphone should be connected to this hotspot) [Samsung Galaxy Note 10.1 GT-N8000, Android 4.4.2]
Smartphone (which should receive the internet access) [Lenovo Vibe P1a42, Android 6.0.1]

Now to elaborate on:
"Now all you have to do to get internet on other devices connected to the WiFi is to set the manually set IP configuration on those devices, giving the gateway as the IP address of your new gateway. Remember that by default the gateway will be the phone which is hosting the WiFi network(which has no internet), and you need to change the gateway to the one you have created."
On my smartphone I connected to the hotspot / Tablet via wi-fi. After you have connected to the hotspot, initially you have no internet. You need to edit the newly created connection's details on the smartphone as following:

"IP Settings" - change from the dropdown from "DHCP" to "Static".
Leave the "IP Address" untouched (we will reuse it)
Change the gateway to the IP address of the laptop's (server) WLAN interface IP. You can find it after you run "ifconfig" in the terminal on the laptop.
For DNS you can use any of the following addresses: "8.8.8.8", "8.8.4.4", "185.121.177.177", "185.121.177.53" (more info on: https://wiki.archlinux.org/index.php/Resolv.conf)

Just tap on OK and your smartphone now should be using the correct gateway and DNS settings and you should have internet.
I hope this will save other people some time :)

Android phones are designed to manage one WiFi connection at a time. If you have connected your phone to the laptop and want the phone to serve as a hotspot, it would have to manage two WiFi connections (one to the laptop, one as hotspot). This is not possible out-of-the-box. There is, however, an app called FQRouter2 for rooted Android devices which claims to be able to do just that.
More information can be found here, for example.
Update: I have seen your comment.
The problem seems to be that the mobile is not able to route the traffic properly from its WiFi connection to the USB connection.
This raises the question why you do not use the laptop directly as a hotspot. This feature is available in Ubuntu's network settings. However, problems have been reported with Android mobile devices. They do not recognize Ubuntu's built-in hotspot.
Here is how to solve that:
At first, install ap-hotspot:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install ap-hotspot

Once ap-hotspot is installed, the further steps should be rather easy.
ap-hotspot is controlled via command-line.
To start the hotspot (there will be a configuration procedure at very first start)
sudo ap-hotspot start

To (re-)configure the hotspot:
sudo ap-hotspot configure

To stop the hotspot:
sudo ap-hotspot stop

A detailed description of ap-hotspot can be found here. It is also very interesting to read through the comments on that page.
Kind regards.

Sorry for not being clear in the question, but I reverse tether internet from laptop via USB, and wan't to share it via WiFi. So this issue does not affect me.

Again this answer is completely useless as it does not answer the question(if you want to suggest an alternative, leave a comment). I've mentioned that I don't have driver support for creating APs from linux.

authors: محمد منير ابراهيم


text:
Mouse for Sony Xperia Z4 Tablet
I just bought a Sony Xperia Z4 Tablet. (Amazing BTW)  It has a keyboard and touchpad.
Can I add a wireless mouse to it?  What kind can I purchase that would work with Android/Sony's system?
I imagine it would be a bluetooth mouse, but I want to know even if I could connect the bluetooth device whether it would correctly drive the cursor on the tablet.
Example vendors/products would be appreciated.

Could you please define "correctly drive"? What kind of functionality are you expecting from a Bluetooth mouse connected to your tablet?

Hi. I expect it to do the same as the Z4's keyboard touchpad.

Simply use USB mouse.
It worked both for my Xperia Z4 tablet and my Xperia XZ phone. Tablet has to be turned off before mouse is connected (by pressing volume up + power button) while XZ phone seems to pick up external mouse without reboot.


text:
Whatsapp chat history Transfer to android phone
Presently, I am using WhatsApp on my Nokia Xpressmisic 5530. Earlier, I had used it in Xiaomi. I need to transfer chats from Nokia to my android phone.
Inside Nokia, it only have two options:

Via Bluetooth
Upload.

My upload function failed. Then, next option is to send through Bluetooth. How can it be send and load inside android device? Is this possible?

Rahul, What is the file format of the Whatsapp backup file in your Nokia mobile. ?

Its a text file with extension .txt

You can't restore chat history from one platform to a different platform.
Eg:- Window to Android or vice-versa as in your case. Read the below Whatsapp faq,
http://www.whatsapp.com/faq/en/wp/28060005
It tells,

You cannot restore chat history from any other phone type to Windows
  Phone, or from Windows Phone to another phone type.

The Whatsapp for Symbian S60 OS creates backup file as .bak files and Whatsapp on Android OS  creates backup files as .crypt files(encrypted). So based on this article from Whatsapp on How to save and restore chat history backups. The instructions are given only for

transferring backups from S60 to S60 phone
Backup files are saved in a folder called ‘wa’ and are called MsgStore.bak which will not be recognized by the Whatsapp application in your Android phone.
Backup files are saved in a format to be opened with WhatsApp. If you want to read your conversations on your computer you can send them as .txt file from WhatsApp to your email.

What you are trying to do is export the chat history. And from this Whatsapp article on How do I export my chat history?,
You can't use this .txt file for importing into another phone. So What you do is only for exporting the chat and you can only be able to read it using a text editor.

it is not possible to restore your chat history from this exported
  .txt file.

There is no use in copying it: I think it won't work, Nokia xpressmusic is a Symbian  phone and XiaoMi is not Symbian.
The WhatsApp database will be different for both the phones. So, they may not be compatible.

authors: Леван Бартаиа


text:
MX OTT TV Box PIN Problem
My box boots directly into the pin entry screen, Clock on left and keypad on the right.
I enter the pin correctly and the home screen comes up for one second and then goes back to the pin entry screen. I can't get it to do anything else.
The PIN is correct, If I leave it for a few seconds it just goes into the default screensaver.
Any suggestions please?

I also had this problem today. I typed in 1234 for the PIN and it worked, but I don't know why or how.

mine is doing this too, tried 1234 but its not working

1234 Worked for me ;)


text:
"Add a field" to CONTACTS
I want to add ADDRESS to one of my contacts.  I can "add a field" and it works fine.  Then I choose another contact, and I can't get that option.  Why is that?

What is your device name and mention its Android version?

It sounds like the 2 contacts come from different providers.

Check, where your contact is stored. If it is stored on your SIM, then you can't add any field. To add a field, you must export this contact to your phone first.

how do I "export" the contact back to the phone, I cannot find that option.

Check where these both contacts are coming from. Some services might support a set of features, some not. For example, in our feature phones, the contacts stored in SIM card could only save one phone number per contact, while the ones stored in phone could store multiple phone numbers along with other details as well.


text:
Backup tablet before repair
My son received an asus tablet for his birthday last year and has now told me the screen does not work completely (some areas are dead to the touch). I have told him we will send it for repair but he is worried that when it comes back they will have reset it and he will have lost all his apps, videos, photos, programs etc. Can anyone tell me how I back it up so that when it comes back I can just put all the information back on so that it is exactly as it is now. Please can any answers be as easy to understand as possible

@DanB probably not – which is why bmdixon pointed that out :) Forgive him for the phrasing, that was the system (auto-comment). // Paul: You can find additional details in our backup tag-wiki. Many of our tags have a wiki page associated where you can find first-aid and useful links on their topic. Good luck with backup, repair and restore!

@Izzy alright then.

In terms of non app data, just plug it in to a computer, and move it over. Just go to your device in an file manager/explorer, and copy the pictures, DCIM, Download and Music folders to your pc. Then, if needs be, you can copy them back.
App data will be different. Assuming you have a Google account, just sign in to it again when you get it back(if it has been reset), and it will re-download the apps automatically. If they have cloud save (most games do) it will re-download his progress.

1.It is possible to take backup of your Full Tablet, But For that you need to root your tablet.
2.Because if your rooted your tablet it is possible to take every app+data with that backup.
3.But make sure your are not void the warranty, Because rooting will void your warranty.


text:
set pr_set_dumpable value to any apk on android device
I am trying to debug sigsegv errors in different apk files and found that many apps disable dumping the logs by setting prctl(pr_set_dumpable,0). Is there any way to get around this and get the complete log data?
PS: I dont have source code for any of the applications


text:
Fruit Ninja Wi-Fi permissions
I see Fruit Ninja recently added "Wi-Fi connection information" to its ever-growing list of required permissions. I read the little description, but what does it actually mean? Does that mean the name and password to my router are being sent back to their Mothership?

Is it just me, or is this the final straw for others to uninstall this app? Sure, it's a fun game, but the required permissions never end...

It's not just you. If I need an app, I always compare what similar apps request, and what seems really needed. If it gets too extensive, I tend to pick a more permission-friendly app even if it has a lower rating. It's good to be sceptical in this context: better safe than sorry, and especially in the "ad-supported app market" abuse risk is not low.

The password is unlikely to be touched by this. For a few additional details, see e.g. ACCESS_WIFI_STATE:

This could be requested by any application that uses internet access. The application may check the state of your connection before trying to access the internet. It's comparable to ACCESS_NETWORK_STATE, just for WiFi.

Following up the reference:

Allows applications to access information about networks, including if a network is available (or just connecting), what type of network the device is connected to, if any (WiFi, 3G, LTE), if it's in Roaming, and also reasons for a failed connection attempt (if any).Good use: The application may check the state of your connection before trying to access the internet, and e.g. restrict itself to WiFi for some actions.Bad use: Only in combination with other permissions (e.g. data collection for profiling).

So summed up, this would see things like

whether WiFi is active (if inactive, nothing else)
which network is connected (SSID, MAC)
which networks are available (SSID, MAC)

This permission alone cannot send anything anywhere. But the mentioned data collected may be "sent to the mothership" if the app also requested the INTERNET permission, or can make use of another app that has access to the network (e.g. send a mail, SMS, or use the browser).
Next to above two links to my site (other permissions are explained there as well), you might also wish to see What do the permissions that applications require mean? on this site here.

@Lucky svc wifi enable|disable. Done! Also, in my Android 4.2.1 and 5.0.2 the file /data/misc/wifi/wpa_supplicant.conf has SSID and password in plain text. :) Not to mention Play Services has access to all of it.

@Lucky & Firelord: You go far beyond the question now. Please discuss that in chat :) For an app to enable/disable WiFi requires the CHANGE_WIFI_STATE permission (yes, you can do that via ADB because ADB has elevated privileges). But discussing the topic at this level only might confuse the OP (unless asked for in another question).


text:
What is GlanceViewMk
I found an app called "GlanceViewMk" within my notification and sounds settings menu. If I allow it, "GlanceViewMk will be able to read all the notifications you receive, which may include personal information such as contact names and messages sent to yo. It will also be able to dismiss these notifications or select actions related to them."
What to I gain by allowing this?

What is your device? It seems this is exclusive to Samsung device with Quick Glance feature.

Since Samsung Galaxy S4 GT-I9500 was upgraded to Android Lollipop, got that bug called GlanceViewMk. The only solution I found was to root the device and remove the GlanceViewMk with the app you like better (I used Titanium Backup pro).
The battery stop draining and all apps are now visible on the sound notification settings.

What is it responsible of doing though?

Seems like you own a Samsung device.
Go to your Settings where you can control the gesture settings and look for (I think it's called) "Quick Check" - the gesture where you wave your hand over the turned-off screen to see notifications and the clock.
May be useful but I didn't use it that much.

I found it in the sound and notifications in settings, then open Notification access and turn off glanceviewmk access.

Give us the screenshot, Also try explaining the steps in brief.

On my Samsung S4 Android 5.0.1 select: Settings → My device → Motions and gesture → Air gestures → enable Quick glance.
If you have enabled it, when the screen is off you can wave your hand over the sensor at top of screen and it will show you a status screen. See "Try it" button in  Quick glance settings.
The checkbox under menu "sounds and notification"; "notification access" when selected allows the second row of 9 icons to be displayed (in this example pic), i.e. those normally shown at top of S4 android notification shade.


text:
Sync contacts with Facebook Lite
I've just installed Facebook Lite on my Galaxy A3 with Lollipop and no root. It satisfies all my necessities except for one: the contacts sync, which is present in the full version of Facebook.
I've thought of not uninstalling the full version, but instead using greenify to prevent it from running in the background, so that I can open it sometimes and get contacts to sync, but I wish there was a better solution.
I could not find any specific app to sync contacts because of the restrictions of the new Facebook APIs (in order for them to work properly I should ask all my friends to manually grant permission).
How could I sync my Facebook contacts having just the Lite version of the app running in the background?

The idea behind using Facebook Lite is that, it is designed for the barebones facebook experience. Its for people with really low data speeds. So I think that's the reason why it doesn't have all the features that the normal app has. As you noted. Facebook changed their API's in May of 2015. So it seems if you want your facebook contacts synced with your phone contacts, You have to use the main facebook app or get all your friends to download one of the other apps and give it permission to share their info.

Also since you are using a Samsung device. Check under Settings > Accounts. I think there is a facebook option. Unless that changed with the changes as well to the api. But I remember seeing that when I owned the Note 4. That might pull down your facebook contacts and sync them for ya.

@jer3my thanks, the option is present into settings>account and is already checked

I have solved my problem with Social Contact Photo Sync.