[Nexus 5 General] samersh72:
:cowboy:

Backup and Restore your applications and their data + your sdcard

​

Backing up your apps and their data and sdcard is an essential process to keep them safe in case something goes wrong with your phone and need to be wiped.

In addition you need to make the backup when flashing new custom roms that need a factory reset before flashing.

There is a lot of apps available on play store that can do the job (Titanium, MyBackup, Helium,....).

But here i would like to show you how to backup and restore your N5 with a well known method (familiar to many users), using "adb" commands. This method is safe, easy, reliable and works on stock and rooted devices.

First you need to have Android SDK installed in your pc, or download the zip attached in first post.

Backup & Restore Apps and Data

​

Backup:

Go to Settings>>>>Developer options and enable "usb debugging".

Connect your device to pc.

Open a cmd (shift + mouse right click) in "sdk platform" or in the folder downloaded from OP, and type (ENTER after each command):

adb devices

You must see your device serial number.

adb backup -apk -noshared -all -nosystem

Now look at your device and accept backup process.

Wait until finishing.

This will backup your apps and their data to the pc (a

"backup.ab"

file will be created).

Restore:

Go to Settings>>>>Developer options and enable "usb debugging".

Connect your device to pc.

Open a cmd (shift + mouse right click) in "sdk platform" or in the folder downloaded from OP (the

backup.ab

file must be there), and type (ENTER after each command):

adb devices

You must see your device serial number.

adb restore backup.ab

Now look at your device and accept restore process.

Wait until finishing.

This will restore your apps and their data to device.

Backup & Restore sdcard

​

The following processes will backup and restore your whole sdcard, including obb folder, music, pictures, videos,......

Backup:

Go to Settings>>>>Developer options and enable "usb debugging".

Connect your device to pc.

Open a cmd (shift + mouse right click) in "sdk platform" or in the folder downloaded from OP, and type (ENTER after each command):

adb devices

You must see your device serial number.

adb pull /sdcard/ /sdcard/

This command will pull your sdcard (not move or cut) to "c" directory under "sdcard" folder.

This process will take time depending on the size of the sdcard, so be patient.

Restore:

Go to Settings>>>>Developer options and enable "usb debugging".

Connect your device to pc.

Open a cmd (shift + mouse right click) where the "sdcard" folder is located in your pc , and type (ENTER after each command):

adb devices

You must see your device serial number.

adb push sdcard /sdcard/

This command will push the "sdcard" to your device.

This process will take time depending on the size of the sdcard, so be patient.​

​

Battery Conservation Tips​

-Enable Auto Brightness:

Brightness can lure a lot of battery if not changed intelligently with time to match the surroundings, KitKat in this case brought the “Auto Brightness” function which uses the light sensor within the device to detect the amount of light in the surroundings and then act upon the brightness level according to it. To enable, go to Settings > Device > Display > Brightness, and tick “Automatic Brightness“. And if you want to save more battery drain, set brightness manually at low level depending on the external amount of light.

-Remove Live Wallpapers:

Using a live wallpaper is another battery sucking feature. If you turn out to be truly saving battery, make sure not to use any live wallpaper. A wallpaper with a black background uses less power than a wallpaper with a light-colored background.

-Disable Location and GPS services:

Keeping GPS ON at all times, decreases your battery life, so its better to disable it while not in use. To disable, go to Settings > Personal > Location access > and switch it off - note that a nice new feature in the Settings menu can save a bit of battery life without sacrificing much at all. Go into the Location option in Settings, then choose ‘Battery Saving’ as your mode instead of ‘High Accuracy’-.

-Disable Wi-Fi or Mobile Data when not in use:

Try to avoid situations when you keep your Wifi or Mobile Data ON even when the phone is set in standby.

-Manage Sync carefully:

Keeping the Sync ON all the time is another reason for decreased battery life. Enable it anytime you want, manage your emails or services and again turn it off. For those who are on work and want real-time push notifications are advised not to follow this tip.

-Turn OFF Haptic Feedback and screen sounds:

To save a little more on battery, its better to switch off the screen touch sounds and vibrations. To do so, go to Settings > Device > Sound and untick Dial pad touch tones, Touch sounds. Screen lock sound and Vibrate on touch.

-Turn OFF bluetooth and NFC:

Disabling bluetooth and NFC when you are not using it, is another way to save battery juice.

-Follow the method of full charge and full discharge (almost):

Don’t put your phone on charging when there is the battery remaining it for another few hours unless it’s very important. Charge it when your battery is about to get discharged and when you put it for charging, let it get charged totally.

-Set sleep time:

Check the Sleep setting (under Display) and make sure it is set to 1 minute or less.

Keep calls short:

This is obvious, but how many times have you heard people on their mobile phone say, "I think my battery’s dying," and then continue their conversation for several minutes? Sometimes, the dying battery is just an excuse to get off the phone (and a good one, at that), but if you really need to conserve the battery, limit your talk time.

-Turn OFF mobile network when not in range:

Its very often that you lose the mobile network when you are travelling, so its advisable to turn OFF the mobile network by switching ON Airplane mode. Go to Settings > Wireless & Networks, tick Airplane Mode.

-Turn off unnecessary scanning of wifi services by going to Settings - > Wifi - > Bottom right three dots (menu) - > Advanced - > Uncheck scanning always available.

-Turn off unwanted background data by going to Settings - > Data usage - > and restrict background data for unwanted app.

-You should not have to turn off your phone to charge it. Most battery chargers deliver more than enough current to power your phone and charge it at the same time. Doing so will not lengthen the charge time, and leaving a phone on allows the user to be aware of its fuel gauge, so that you can remove it when the battery is full.

-When using a car charger, do not charge the battery when the inside temperature of your car is hot. Wait until the car has cooled before you plug in the phone.​