[Nexus 4 Android Development] kthejoker20:
This is my first tool for contribution to this community. PLEASE HIT MY THANKS BUTTON.

I do not take any responsibility if you break your phone with this tool.

You will also VOID your warranty by following this guide.

This is not for beginners.

This is version 1.1 of this tool. Please feel free to update it, just post the changes here so that I can add them to the tool so that everyone can benefit from them.

CURRENTLY, THIS TOOL ONLY WORKS WITH WINDOWS.

Version 2.0 might support linux, if I get around to it.

The purpose of this tool is for power users that want to back up their current rom directly to their computer OR for existing devs OR newer developers to try and cook their own roms or work directly with the images of their phone. This will pull the rom images from your current phone and put them to your desktop. Currently, it will not pull data, I have disabled it, until I can work out a bug.

Are there apps that do this? Maybe… but this is free.

I have include a restore option after you run the tool, but that is still in “alpha” status and may not work correctly.

Hook up the phone to your computer with the USB cable.

1.	You must have a rooted phone. If your phone is not rooted, follow this guide. http://xdaforums.com/showthread.php?t=1993331&highlight=recovery You must also have the windows drivers installed from that guide. When finished with that guide, go to step 2.

2.	Enable android debugging. Go to settings, then about phone, then keep pressing the “build number” until a little message appears saying that you are in developer mode.

3.	Go into settings again, this time you will have a developer menu. Go to the developer menu, and check the “Android Debugging Box” or "USB Debugging".

4.	You need to have the actual super user app installed on your phone. http://download.clockworkmod.com/superuser/superuser.zip

Open super user app on your phone, go to settings and make sure “superuser access” is set to “Apps and ADB”. Also make sure that automatic response is set to “prompt”. You can change that to “allow” if you want to make this process easier for yourself, just remember to change it back when you are done.

5.	Download the tool below, and unzip it to your desktop or somewhere you can easily find it.

http://www.mediafire.com/file/2z0y6sdbwe6bwuz/Tool_v1.1.zip

6.	Double click the file named “TOOL”. Watch your phone, you may or may not get a pop up asking to allow a computer or device to connect. Click ok or allow, that is just your computer trying to talk to the phone. It’s ok.

7.	Close the black command line screen that just popped up on your computer. - You may not need to do this.

IF you keep getting permission denied, you have to go into your superuser app, and keep enabling and disabling "Apps and Adb" under superuser access. For some reason, it's glitchy. Then reboot the phone with them both enabled.

8.	Double click the “TOOL” file again. (Due to the new security in android, is why we have to do this again to make sure everything was allowed security clearance).

9.	Sit back and relax. This will pull the system, recovery, kernel and modem, and put them into a folder on your desktop.

THIS WILL TAKE AWHILE. COULD TAKE UP TO 1hr, but usually around 10-20mins depending on how big your current rom is.

10.	Now, you can use the images as a PC backup. OR you can go straight to the android kitchen and start hacking those images apart and make your own android rom. http://xdaforums.com/showthread.php?t=1272270

11.

RESTORE IS IN ALPHA and may not work for you. It has a possibility to erase all your data and may not restore your back up, use caution and test it first.

To restore your backup OR after you are finished messing with them (make sure you know what you are doing if you take them apart) open the backup folder on your desktop.

12.	Make sure your phone is on, then click the restore file.

If you have completely screwed up your phone, follow this thread to restore the phone to full stock. http://xdaforums.com/showthread.php?t=2010312 You will lose all your data.

Download v1.1 : http://www.mediafire.com/file/2z0y6sdbwe6bwuz/Tool_v1.1.zip

File size:	1135742 bytes

Filetype:	Zip archive

MD5:	a818a6e985d77403303e2324832e565c

SHA1:	5dfe9d3daa87074b0d3fcb4b46690d861e66d9e0