{"id":977,"date":"2013-01-01T04:37:37","date_gmt":"2013-01-01T02:37:37","guid":{"rendered":"http:\/\/blog.copcea.ro\/?p=977"},"modified":"2016-06-30T00:27:44","modified_gmt":"2016-06-29T22:27:44","slug":"how-to-copy-sd-card-with-in-for-htc-hd2-roms","status":"publish","type":"post","link":"http:\/\/blog.copcea.ro\/?p=977","title":{"rendered":"How to copy SD-card with in for HTC HD2 ROMs"},"content":{"rendered":"<div class=\"02a7dab7e6fe5a0fbf433999ff85f046\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-2343103762362018\";\r\n\/* 336x280 *\/\r\ngoogle_ad_slot = \"8815738048\";\r\ngoogle_ad_width = 336;\r\ngoogle_ad_height = 280;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>I found myself in a dire situation where, after flashing an Energy ROM with Android onto my HTC HD2, there was no place left for videos and other stuff I wanted to put on the SD-card and take it away with me.<\/p>\n<p>The system was installed onto a 4GB SD-card and I wondered how to replace it with a 32GB SD-card, without having to install the system and make all the customisations that took me hours.<\/p>\n<p>A brief search on the Internet showed that was quasi-impossible on Windows without an ext4 file system driver, which was defective while writing.<\/p>\n<p>The following is a comprehensive step-by-step procedure on how to copy those partitions and files from one SD card to another.<\/p>\n<p>1. install a Linux virtual machine on top of your Windows (VMWare will do just fine) and mount an external card reader.<\/p>\n<p>2. put the original SD card into the reader and mount the card into the virtual machine.<\/p>\n<p>3. open a terminal and you should also install midnight commander as a handy tool.<\/p>\n<p>4.\u00a0 compress everything on \/media\/sd-ext (the Linux ext4 partition on the card) with<\/p>\n<pre><span style=\"color: #00ccff;\">tar czvf \/files\/sd-ext.tar.gz \/media\/sd-ext<\/span><\/pre>\n<p>5. copy all other files from the FAT32 partition (showed as \/media\/NO_NAME or \/media\/disk1) into an other folder.<\/p>\n<p>6. insert the new sd-card into the phone and start Magldr by keeping the power key pressed, navigat with the volume buttons to &#8220;8. AD Recovery&#8221; then to &#8220;advanced&#8221;, &#8220;Partition SD Card&#8221;, create a 2GB ext4 partition and a 256MB swap partition, and turn off the phone after the card partitioning is done.<\/p>\n<p>7.\u00a0 reinsert the new SD-card into the reader, mount the card into the virtual Linux machine and copy with mc (it keeps all users\/permissions on folders) back to the \/media\/sd-ext partition (mount), after decompressing them locally with<\/p>\n<pre><span style=\"color: #00ccff;\">tar zxvf \/files\/sd-ext.tar.gz<\/span><\/pre>\n<p>8. copy back all the other files back to \/media\/NO_NAME partition (mount).<\/p>\n<p>9. Take the new SD card out of the reader, insert it into the phone, and&#8230;voil\u00e0! You get the same Android OS with all customizations in place, applications etc without too much fuss.<\/p>\n<p>Hope it helps!<\/p>\n<p>&nbsp;<\/p>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>I found myself in a dire situation where, after flashing an Energy ROM with Android onto my HTC HD2, there was no place left for videos and other stuff I wanted to put on the SD-card and take it away with me. The system was installed onto a 4GB SD-card and I wondered how to <a href='http:\/\/blog.copcea.ro\/?p=977' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[292],"tags":[295,294,296,293],"class_list":["post-977","post","type-post","status-publish","format-standard","hentry","category-android-tweaks","tag-copy-ext4-sd-card","tag-copy-sd-card","tag-ext4-sd-card","tag-sd-card","category-292-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=\/wp\/v2\/posts\/977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=977"}],"version-history":[{"count":5,"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=\/wp\/v2\/posts\/977\/revisions"}],"predecessor-version":[{"id":1599,"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=\/wp\/v2\/posts\/977\/revisions\/1599"}],"wp:attachment":[{"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=977"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.copcea.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}