This guide is intended to make a full backup of your android phone (the entire memory block with all partitions) or a single partition (including sdcards, etc) directly to your computer, in either
- Block level (with dd): for single partitions or whole memory block (all partitions in one piece). The backup always has the same size which is the size of the partition.
- File level (with tar): only for individual partitions. This only includes files and folders, so occupies much less space, depending on how much filled is the partition.
REQUIREMENTS
- Rooted Android Phone
- Busybox installed on your phone
- If you are using Linux / OS X you have native tools, for Windows download Cygwin, and install with it netcat, pv and util-linux. Get them from Cygwin's setup.exe
- ADB installed.
- Make sure adb.exe is in your windows' path. See here and here, or use Path Manager.
- Android phone with USB Debugging enabled, and the proper drivers installed on Windows so the phone is recognized. Typing 'adb devices' on a terminal should show your device.
PARTITION IDENTIFICATION
You now have to identify the partition or block device that you want to backup. For a single partition you can use either tar or dd, while for the entire memory block you can only use dd.
For example, on Galaxy Nexus you have the list of partitions here and for Galaxy S2 here.
Usually on android, the entire block containing all partitions is located at /dev/block/mmcblk0 and the data partitions is a subpartition of it. You can push parted with GPT support to your device and see all information on a partition or block.
Whole phone memory -> /dev/block/mmcblk0 (may vary, in some phones this is the sdcard)
Subpartitions -> depends on each device. Usually at /dev/block/platform/dw_mmc/by-name/ there are listed by name linking to the real device.
Back up of the whole memory block (via adb)
Connect the phone in ADB mode and unlock the screen.
Open one Cygwin Terminal and enter (replace mmcblk0 if needed):
Code:
adb forward tcp:5555 tcp:5555
adb shell
su
/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0
Open another Cygwin terminal and type:
Code:
adb forward tcp:5555 tcp:5555
cd /path/to/store/the/backup
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0.raw
With further linux tools you could edit or extract single partitions from the whole block.
You can use adb via wifi as well with applications like WiFi ADB.
Back up of the whole memory block (via wifi)
Original post: [Q] Nandroid directly to computer w/o sdcard
We need to install a FTP server on the computer or the other device, configure a user with a password if we want to, and set some port. It uses by default 21 but this example uses 40. We must set a home dir for the user with write permissions.
Usually is a good idea to put myfifo in /cache not in /data because we may overwrite sensitive data in case we want to use that raw image for data recovery.
Open one Cygwin terminal
Code:
adb shell
su
mkfifo /cache/myfifo
ftpput -v -u user -p pass -P 40 COMPUTER_IP block.raw /cache/myfifo
Code:
adb shell
su
dd if=/dev/block/mmcblk0p12 of=/cache/myfifo
- Fifos only can be made on linux native filesystems, for example on a FAT partition is not possible.
- Reading from a partition does not modify it.
Now check on Filezilla Server the speed
Back up of the whole memory block (USB tethering, Wifi tethering)
To use tethering you have to disconnect the computer from all networks and connect it only to the phone with the type of connection you want.
Once you connect it, you can view the IP of the computer and the IP of the phone from connection properties. The ip is the computer ip and the gateway is the phone's ip.
- Wifi Tethering: Computer <---Wifi---> Phone <---3G---> Internet
- USB Tethering:
- Computer <---USB---> Phone <---Wifi---> Internet
- Conputer <---USB---> Phone <---3G---> Internet
Back up of a single partition (raw = every bit of the partition)
It is exactly the same as the the previous but replacing mmcblk0 by the corresponding partition. You can use in this particular case several software to read the partition from windows, depending on partition filesystem: DiskInternals Linux Reader, Ext2Read, Ext2 File System Driver for Windows, Ext4Explore, plugin for Total Commander and ImDisk Virtual Disk Driver. You can also use recovery software on individual partitions like Recuva in combination with VHD Tool or command line tools included with operating systems.
Back up of a single partition (tar = only files and folders)
In this case, you need the partition mounted. To see the list of mounted partitions type on Cygwin Terminal
Code:
adb shell mount
In this case you will have to open three terminals, because of android limitations:
Open one Cygwin terminal and create a fifo, in /cache, for example, and redirect the tar there
Code:
adb forward tcp:5555 tcp:5555
adb shell
su
/system/xbin/busybox mkfifo /cache/myfifo
/system/xbin/busybox tar -cvf /cache/myfifo /system
Open a second Cygwin terminal and type:
Code:
adb forward tcp:5555 tcp:5555
adb shell
su
/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox cat /cache/myfifo
Code:
adb forward tcp:5555 tcp:5555
cd /path/to/store/the/backup
nc 127.0.0.1 5555 | pv -i 0.5 > system.tar
LINKS
This is some remarkable explanation you have given here. I was adhered to your point. What's more in case anyone having issue with Their Printer, Antivirus or Laptop, they can connect with me at ;- norton.com/setup | norton.com/setup | norton.com/setup | office.com/setup
ReplyDeleteI Love your article. You cant visit my website : assassin's creed all games
ReplyDeleteNorton Antivirus is the best antivirus for overall security of your PC and smartphone. You can secure your device
ReplyDeletefrom viruses, malware, spyware and other online threats by using norton subscription package. You just need to
install and activate your norton by entering 25 character aphanumerical key.
Norton.com/setup
Recuva Pro 2020 at newserialkeys is a small free program that you can use to recover your hard drive, memory cards, floppy disks, iPod or MP3 player or USB sticks, images, music, documents, videos or other types of files. Usually, when you or Windows delete a file, most of the file remains, even if you can't see it in Windows Explorer. Recuva digs into your media (except CDs, DVDs, and other optical media) and puts the pieces together to be able to recover the files you need.
ReplyDeleteQuickBooks Error 80070057 usually comes to the screen when you attempt to access a company file directly by double-clicking instead of using the QuickBooks. Error Code 80070057 | QuickBooks Error 80070057 | QuickBooks Error Code 80070057
ReplyDeleteI truly appreciate this post. I’ve been looking all over for this! Thank goodness I found it. You’ve made my day! Thx again
ReplyDeleteking99 ฟรีเครดิต
ReplyDeleteI was recommended this blog by my cousin. I’m not sure whether this post is
written by him as nobody else know such detailed about my trouble.
king99
Hello! I could have sworn I’ve visited this web site before but after looking at
ReplyDeletemany of the articles I realized it’s new to me. Anyhow, I’m definitely pleased
I found it and I’ll be bookmarking it and checking back often!
jack88
ReplyDeleteThanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
jack88 ทางเข้า
สล็อต ออนไลน์
ReplyDeleteข่าว ดี
Top 10 way to get more followers on Instagram. It will help you to develop your business, brand, personal account online.
ReplyDeleteBuy Instagram Likes UK service help you to build your presence online and take your business at the top level.
ReplyDeleteCCleaner Professional Crack is a utility for cleaning floating debris and jetsam in the framework. In the course of his work, CCleaner (Crap Cleaner) is searching for and disposing of unused documents.
ReplyDeletesexygame66
ReplyDeleteBAOver
ufa191
ทางเข้า gclub มือถือ
sclub
mega888
ReplyDeleteace333
918kiss สมัคร
slotciti
168lottothai
sagame
sexygame
ReplyDeletelsm99
league88
jack88
sclub
ace333
slotciti
joker slot
slotxo
mega888
We understand that all of you have your own busy schedules. Therefore, we don’t want to make you spend a lot of time for waiting for our work to be done completely. Because of this reason, we are happy to offer our fast residential locksmith services that are good for your residential areas, including home and apartment. In most cases, we only need to complete our locksmith projects in a few hours. Our technicians have a lot of experience and knowledge in this industry, so they know how to solve any lock problems quickly and efficiently. locksmith service company in Nassau
ReplyDeleteI really enjoyed your blog Thanks for sharing such an informative post.
ReplyDeletequickbooks error 6000 832
quickbooks error code 6000 832
CCleaner Key removes unused documents from your system. This will allow Windows to access your valuable disk space faster and for free. There will also be traces of your online activities, for example: your internet history. This includes a full note cleaner. But the best part is that it’s fast (usually takes less than a second) and there’s no spyware or adware!
ReplyDeleteCCleaner Key with Crack
I am really very happy to visit your blog. Now I am found which I actually want. Thanks a lot for sharing a piece of wonderful information which I am looking for a longer period of time.
ReplyDeletewebroot.com/safe
webroot.com/safe
really very nice post I am very happy to be here and read this post is make my day thanks
ReplyDeleteCyberflix tv Apk
titanium tv for pc
download viva tv apk
viva tv apk
Movies
Great with detailed information. It is really very helpful for us.
ReplyDeleteVillage Talkies a top-quality professional corporate video production company in Bangalore and also best explainer video company in Bangalore & animation video makers in Bangalore, Chennai, India & Maryland, Baltimore, USA provides Corporate & Brand films, Promotional, Marketing videos & Training videos, Product demo videos, Employee videos, Product video explainers, eLearning videos, 2d Animation, 3d Animation, Motion Graphics, Whiteboard Explainer videos Client Testimonial Videos, Video Presentation and more for all start-ups, industries, and corporate companies. From scripting to corporate video production services, explainer & 3d, 2d animation video production , our solutions are customized to your budget, timeline, and to meet the company goals and objectives.
As a best video production company in Bangalore, we produce quality and creative videos to our clients.
Amazon is one of the biggest eCommerce websites which spreads its business all over the world under the leadership of the richest man on the richest earth Jeff Bezos. It is one of the top fortune 100 companies as per Forbes magazine.
ReplyDeleteamazon.com/code | www.amazon.com/code |
microsoft365.com/setup
Very Nice info!!! Thank you to share such kind of information
ReplyDeletemcafee.com/activate
, the Norton setup product key will arrive in your email box
ReplyDeleteKeep it safe
Gadget security helps block programmers and Norton Secure VPN encourages you keep your online action hidden.
After reading the license agreement, tap on the download button
Copy and send the download link to your email address if you want to use it on another device
Wait for the download to complete; then, open the file on your device, follow the screen prompt to install.
After the general overview, let’s see how to install the norton.com setup on different devices.Open your browser
Type Norton com setup sign in or the URL
Sign in to your Norton setup account
Hit on the download button
Check the license agreement before clicking the download
Select the option per your browser
Tap on the ‘Run’ icon
Now, the account control window opens
Click on continue
norton.com/setup
www.norton.com/setup
norton setup
ReplyDeletenorton com setup enter productkey
norton com setup sign in
Keep it safeess your most recent Norton products and services
Go through each product description to know what suits your fancy
Select your preferred package
Choose a payment option and enter your details to complete the order
If successful, the Norton setup product key will arrive in your email box
Keep it safe
Gadget security helps block programmers and Norton Secure VPN encourages you keep your online action hidden.
After reading the license agreement, tap on the download button
Copy and send the download link to your email address if you want to use it on another device
norton.com setup
EDIUS Pro Crack is the one of the best universal video editing tool that delivers the efficient choice to the industry leaders. Tally ERP 9 GST Crack
ReplyDelete
ReplyDeleteTally ERP 9 Crack is essential to have for each business. It offers many functions which make companies run better. Tally ERP 9 crack serial. Tally ERP 9 With Crack Full Version Zip Download
Happy Birthday dearest brother. Whilst many of my friends feel bounded with their brothers, I feel more liberate and absolve. Happy Birthday Brother
ReplyDeleteThis is an informative article! It is well-written and contains all the valuable info and very unique. Thank You for posting such a nice article.
ReplyDeleteBookkeeping Services in Denver
bookkeeping services in Houston
bookkeeping services Austin
Online Bookkeeping Services in Philadelphia
ReplyDeleteOnline Bookkeeping Services in Chicago
Online Bookkeeping Services in Baltimore
Online Bookkeeping Services
How to Calculate Owner's Equity?
Retained Earning Formula
You can visit our official website from whom you wish to avail a best LOANS for bad credit payday LOANS. Submit the relevant details. You can then choose the LOANS amount you wish will be suitable for you and the tenure. Details submitted by you, and if they are found to be correct, the LOANS amount will be disbursed to your bank account within 24 hours.
ReplyDeletehttps://instantloanonline.us/
Great share. Thanks for the info.
ReplyDeletehttps://lifestylesimplify.com
is delivering top rated protection from mobile devices and computers
ReplyDeletemcafee.com/activate
mcafee activate
norton.com/setup
norton.com/setup
comcast phone number support
quickbooks phone number support
aol phone number support
hp printer phone number support
Roku Tv number
I really like to thank the blog author for the knowledgeable post and thanks for sharing with us. If you are a user of Netflix and want more information about it.If you are facing problems with your Netflix services then you can easily get the help from an expert team by using Netflix Phone Number 1-800-431-401. We are a third-party service provider in Australia.
ReplyDeleteThis is some great information. I expect additional facts like this was distributed across the web today.
ReplyDeleteทางเข้าเล่น igoal
From some point on, I am preparing to build my site while browsing various sites. It is now somewhat completed. If you are interested, please come to play with
ReplyDelete바카라사이트
I want you to thank for your time of this wonderful read!!! I definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog 토토사이트
ReplyDelete!Nice Blog Post Thankyou For this Helpful Article!
ReplyDeleteadobe illustrator cs6 free download with crack kickass
InSSIDer License Key Mac
InSSIDer Product Key
HDD Sentinel Gigapurbalingga
Avast PC Optimizer Free Download
inpage keyboard
With the increased pollution, prolonged exposure to the sun, and stress, simple skincare products, and home remedies are not enough to achieve clean and glowing skin. This is exactly where the skin booster treatment comes into play.
ReplyDeleteQuickBooks Data Services by us is one of the most renowned services we can help user in various concern such as QuickBooks missing pdf component, This company file needs to be updated QuickBooks 2023
ReplyDeleteThis is a topic ดูหนังออนไลน์ is close to my heart… Many thanks!
ReplyDeleteWhere are your contact details though?
Very tasty, really interesting. ดูซีรีย์ออนไลน์
ReplyDelete