{"id":965,"date":"2020-05-25T14:30:41","date_gmt":"2020-05-25T14:30:41","guid":{"rendered":"http:\/\/www.tech-g.com\/?p=965"},"modified":"2022-07-04T16:57:14","modified_gmt":"2022-07-04T16:57:14","slug":"reverting-tp-link-tl-mr3220-v2-to-stock-firmware-the-easy-way","status":"publish","type":"post","link":"https:\/\/www.voodoo.business\/blog\/2020\/05\/25\/reverting-tp-link-tl-mr3220-v2-to-stock-firmware-the-easy-way\/","title":{"rendered":"reverting tp-link tl-mr3220 V2 to stock firmware the easy way"},"content":{"rendered":"\n<p>If you are on openwrt and want to revert back to factory firmware, you need to do the following easy steps<\/p>\n\n\n\n<p>Download the file from the tp-link website, this should be straight forward, you go to the website, search for your router by model, on the firmware download page, select the version of your router and download the file<\/p>\n\n\n\n<p>If it is a zip file, extract it, we are looking for a bin file that should be inside the zip file (Make sure it has up_boot in the file name)<\/p>\n\n\n\n<p>Use an application such as putty to connect to the router as root, and an application such as winSCP to connect to the router (Also as root) to upload the file<\/p>\n\n\n\n<p>upload the file to the \/tmp folder, this folder is in RAM not on the flash of the router, so it has more space that can accommodate the procedure<\/p>\n\n\n\n<p>Using Putty, execute the following commands<\/p>\n\n\n\n<p>cd \/tmp<\/p>\n\n\n\n<p>On this command here, you will need to replace the name of the file with the name of the file you have uploaded to the router<br>This command (That starts with DD), trims the first 257*512 = 131,584 bytes from the file which are the boot loader<br>dd if=yourfilename.bin of=flash.bin skip=257 bs=512<\/p>\n\n\n\n<p>Now you would want to remove the old file after we have trimmed it with DD<br>rm yourfilename.bin<\/p>\n\n\n\n<p>Now, to the final step, which is actually writing the trimmed firmware to the router<br>mtd -r write \/tmp\/flash.bin firmware<\/p>\n\n\n\n<p>Now all you need to do is wait for the router to write the firmware, right after it will reboot and you are done<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are on openwrt and want to revert back to factory firmware, you need to do the following easy steps Download the file from the tp-link website, this should be straight forward, you go to the website, search for your router by model, on the firmware download page, select the version of your router [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[135,87],"tags":[],"class_list":["post-965","post","type-post","status-publish","format-standard","hentry","category-openwrt","category-routers"],"_links":{"self":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/comments?post=965"}],"version-history":[{"count":2,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/965\/revisions"}],"predecessor-version":[{"id":975,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/965\/revisions\/975"}],"wp:attachment":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/media?parent=965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/categories?post=965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/tags?post=965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}