{"id":1121,"date":"2012-03-21T21:52:20","date_gmt":"2012-03-22T01:52:20","guid":{"rendered":"https:\/\/lowtek.ca\/roo\/?p=1121"},"modified":"2012-03-19T22:32:52","modified_gmt":"2012-03-20T02:32:52","slug":"restore-rogers-galaxy-p1000r-to-stock","status":"publish","type":"post","link":"https:\/\/lowtek.ca\/roo\/2012\/restore-rogers-galaxy-p1000r-to-stock\/","title":{"rendered":"Restore Rogers Galaxy Tab 7 to stock"},"content":{"rendered":"<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2012\/03\/gtab_stock_heimdall.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1122\" title=\"gtab_stock_heimdall\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2012\/03\/gtab_stock_heimdall.png\" alt=\"\" width=\"500\" height=\"351\" \/><\/a><\/p>\n<p>When I got my <a href=\"http:\/\/en.wikipedia.org\/wiki\/Galaxy_Tab\">Galaxy Tab 7&#8243;<\/a> one of the first things I did was to see if I could collect the stock firmware in a format that was useful in case I ever wanted to restore the tablet back to it&#8217;s stock form. It turned out that the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Android_version_history#v2.2.x_Froyo\">2.2<\/a> based firmware was not easily available on the net, and neither was the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Android_version_history#v2.3.x_Gingerbread\">2.3<\/a> version.<\/p>\n<p>The results of my work are captured in <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1365433\">an XDA thread<\/a>, but restoring from those captures was an exercise left to the reader. The 2.2 (froyo) image is captured directly from the device, I first rooted the tablet with <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=803682\">SuperOneClick<\/a> then used <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=850359\">rotobackup<\/a> to capture a <a href=\"http:\/\/www.glassechidna.com.au\/products\/heimdall\/\">heimdall<\/a> friendly set of files for flashing. The original work was tracked in <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1342365\">another XDA thread<\/a> where you can read the blow by blow if you&#8217;re interested. For 2.3 (gingerbread) I was able to grab the intermediate files from <a href=\"http:\/\/en.wikipedia.org\/wiki\/Samsung_Kies\">Kies<\/a> during the normal upgrade process &#8211; the rest of this post will talk about how to use those files to restore the P1000R to a stock 2.3 state.<\/p>\n<p>I&#8217;m using heimdall version\u00a01.3.1 on Linux, but other versions and platforms should work fine. I particularly like using Linux to flash the GalaxyTab as it doesn&#8217;t suffer the same driver madness that Windows seems to have, USB devices just work. I&#8217;ll assume you can find the <a href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=1365433\">download<\/a> and extract the files.<\/p>\n<p>You&#8217;ll want to specify the PIT file &#8211; <code>gt-p1000_mr.pit<\/code>, it&#8217;s safe to select the repartition box as we&#8217;ll be doing the <a href=\"http:\/\/en.wikipedia.org\/wiki\/The_Full_Monty_(phrase)\">full monty<\/a> here [sharp eyed readers will notice that the picture at the top of this post doesn&#8217;t have the box checked, that&#8217;s a mistake on my part &#8211; go ahead and check it]. The files map to the heimdall partition names as follows:<\/p>\n<p><code>MODEM -&gt; modem.bin<br \/>\nCACHE -&gt; cache.rfs<br \/>\nKERNEL -&gt; zImage<br \/>\nFACTORYFS -&gt; factoryfs.rfs<br \/>\nPARAM -&gt; param.lfs<br \/>\nIBL+PBL -&gt; boot.bin<br \/>\nSBL -&gt; sbl.bin<\/code><\/p>\n<p>So click on the Add button and specify the partition type and files from the downloaded and extracted ROM.<\/p>\n<p>Next you need to get your device into download mode. My preferred approach is to hold the power+volume down buttons until the download screen appears (yellow triangle with android digging). Now you can click start on heimdall.<\/p>\n<p>Under Linux at least , this will hit 100% and then fail to reboot. That&#8217;s ok. Wait a minute or two to make sure it&#8217;s really done, then force it to reboot into recovery mode by holding power+volume up until you see the recovery screen.<\/p>\n<p>Assuming the flash has gone well, the stock recovery will start up and automatically try to install some updates. You should see:<\/p>\n<p><code>-- Updating filesystem...<br \/>\n<span style=\"color: #ff0000;\">E:failed to mount \/dbdata (Invalid argument)<\/span><br \/>\n<span style=\"color: #ff0000;\"> E:discard_filesystem_for_rfs:Can't mount \/dbdata<\/span><\/code><\/p>\n<p><code>-- Wiping cache...<br \/>\nFormatting \/cache<br \/>\n<span style=\"color: #ff0000;\">Cache wipe failed.<\/span><\/code><\/p>\n<p>Don&#8217;t panic. Remember that this update was expecting to have come from a properly installed 2.2 stock, we&#8217;re leaping into the middle of the process.<\/p>\n<p><a href=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2012\/03\/gtab_stock_home.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright  wp-image-1124\" title=\"gtab_stock_home\" src=\"https:\/\/lowtek.ca\/roo\/wp-content\/uploads\/2012\/03\/gtab_stock_home.png\" alt=\"\" width=\"122\" height=\"209\" \/><\/a>Using the recovery menus, select &#8216;factory reset + wipe data&#8217; followed by &#8216;wipe cache&#8217;. One hint for those not used to the stock recovery image, the capacitive home button is used to select entries and volume up\/down for navigation.<\/p>\n<p>Now you can reboot. The first boot will take a while as it sorts things out and rebuilds the cache(s). \u00a0All should go well and you&#8217;ll be greeted by the stock home screen.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I got my Galaxy Tab 7&#8243; one of the first things I did was to see if I could collect the stock firmware in a format that was useful in case I ever wanted to restore the tablet back to it&#8217;s stock form. It turned out that the 2.2 based firmware was not easily &hellip; <a href=\"https:\/\/lowtek.ca\/roo\/2012\/restore-rogers-galaxy-p1000r-to-stock\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Restore Rogers Galaxy Tab 7 to stock&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,12],"tags":[],"class_list":["post-1121","post","type-post","status-publish","format-standard","hentry","category-android","category-how-to"],"_links":{"self":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/1121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/comments?post=1121"}],"version-history":[{"count":8,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/1121\/revisions"}],"predecessor-version":[{"id":1238,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/posts\/1121\/revisions\/1238"}],"wp:attachment":[{"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/media?parent=1121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/categories?post=1121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lowtek.ca\/roo\/wp-json\/wp\/v2\/tags?post=1121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}