{"id":9766,"date":"2018-09-15T15:15:10","date_gmt":"2018-09-15T15:15:10","guid":{"rendered":"https:\/\/journal.hovatek.com\/?p=5667"},"modified":"2019-10-14T06:54:47","modified_gmt":"2019-10-14T06:54:47","slug":"so-whats-all-this-talk-about-meditek-secure-boot-and-da-files","status":"publish","type":"post","link":"https:\/\/www.hovatek.com\/blog\/so-whats-all-this-talk-about-meditek-secure-boot-and-da-files\/","title":{"rendered":"So what&#8217;s all this talk about Mediatek Secure Boot and DA files?"},"content":{"rendered":"<p>The stone the builders neglected has become the cornerstone. That&#8217;s how best I can summarize the DA file crisis we now face.<\/p>\n<p>You&#8217;d probably not really noticed the Download-Agent section in your favorite Mediatek (MTK) flash tool but with the way things are going, its becoming a critical determinant of whether or not whatever you&#8217;re trying to do halts abruptly or proceeds.<\/p>\n<h3>What&#8217;s this Secure Boot and how does a DA file fit into the equation?<\/h3>\n<p>DA is an abbreviation of Download Agent. The DA is what enables whatever Mediatek tool you&#8217;re using read or write to the device in Flash Mode (powered off and sometimes holding volume buttons).<\/p>\n<p>A Mediatek device which has Secure Boot won&#8217;t allow any tool read from or write to it without a custom DA file loaded to the tool. In other words, no backup, flash, FRP, IMEI write etc without a custom DA. A DA file is thus like a key and the Scatter file like a map.<\/p>\n<p>The Secure Boot issue has been around for a while (my earliest encounters were with Tecno M3S &amp; Acer B1-770; both Lollipop devices) and has increasingly been adopted in Mediatek devices. When trying to interact with a Secure Boot MTK smartphone without the required DA file, you might encounter errors like:<\/p>\n<ul>\n<li>Boot Error!<\/li>\n<li>S_INVALID_DA_FILE<\/li>\n<li>S_FT_DOWNLOAD_FAIL (2004)<\/li>\n<li>S_BROM_DOWNLOAD_DA_FAIL<\/li>\n<li>S_SECURITY_SECURE_USB_DL_DA_RETURN_INVALID_TYPE (6104), MSP ERROR CODE : 0X00<\/li>\n<li>S_AUTH_HANDLE_IS_NOT_READY (5000)<\/li>\n<li>STATUS_SEC_AUTH_FILE_NEEDED (0xC0030012)<\/li>\n<\/ul>\n<p>&#8230;and the list goes on. For such devices, you&#8217;ll need a DA file.<\/p>\n<h4>Important things to note when dealing with a Secure Boot MTK device<\/h4>\n<p>When handling a Secure Boot MTK device, these are some things you should have at the back of your mind:<\/p>\n<ol>\n<li><strong>DA files are device-specific<\/strong>: Just because you got a DA file for one model doesn&#8217;t mean you have the answer for all Secure Boot devices (for now at least). Each model tends to require a specific DA file.<\/li>\n<li><strong>One DA file can work on different devices<\/strong>: Its possible for multiple models of the same or different brands to use the same DA file. You&#8217;ll just have to test to find out.<\/li>\n<li><strong>Do not format a Secure Boot MTK device<\/strong>: If you&#8217;re lucky enough to get a DA file for your model then the last thing you&#8217;ll want to do is Format. Once you do, the DA file that once worked will stop working, causing tools to request for an Authentication file.<\/li>\n<li><strong>Some DA files are tool-specific<\/strong>: You might bump into a DA file for your model but it doesn&#8217;t work for you. There&#8217;s a good chance that the DA file is encrypted and will only work on a specific Mediatek tool \/ box. You&#8217;ll have to try it on as many tools as you have.<\/li>\n<\/ol>\n<h4>Where can I get a Secure Boot DA file for my device \/ model<\/h4>\n<p>Team Hovatek started a <a href=\"https:\/\/www.hovatek.com\/forum\/forum-112.html\">Mediatek (MTK) Secure Boot DA file collection<\/a>. We&#8217;ll keep updating the list. Its a community effort so please don&#8217;t leave all the work to us. Send us any confirmed DA file not on our list and it could help someone.<\/p>\n<h4>How do I use the DA file after downloading it?<\/h4>\n<p>We&#8217;d dropped a video explaining how to load the DA file in <a href=\"https:\/\/www.hovatek.com\/forum\/thread-159.html\">SP Flash tool<\/a>, <a href=\"https:\/\/www.hovatek.com\/forum\/thread-22354.html\">NCK box<\/a> and <a href=\"https:\/\/www.hovatek.com\/forum\/thread-21773.html\">Infinity CM2 box<\/a>.<\/p>\n<div class=\"ast-oembed-container \" style=\"height: 100%;\"><iframe loading=\"lazy\" title=\"How to use MTK custom Secure Boot Download Agent (DA) file\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/k0b2RDh7U-M?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<p>The idea is just to locate the Download Agent section in the tool and load your custom DA. If you have trouble loading it in other tools then drop a comment and I&#8217;ll be happy to guide you.<\/p>\n<p>Aside from Secure Boot, there&#8217;s much Google Wizardry to talk about, like Dm Verity, -sign.img, -verified.img, encrypted boot.img, device&#8217;s rejecting modified images&#8230; but these are talk for another day.<\/p>\n<p>Transsion (Tecno, Infinix and Itel) device users can use <a href=\"https:\/\/www.hovatek.com\/forum\/thread-23709.html\">Software Download (Transsion Aftersale tool)<\/a> on Secure Boot devices because they wouldn&#8217;t need to load a DA or Auth file for flashing.<\/p>\n<h5>Have you encountered any Secure Boot MTK device? How did you get the DA file?<\/h5>\n","protected":false},"excerpt":{"rendered":"<p>The stone the builders neglected has become the cornerstone. That&#8217;s how best I can summarize the DA file crisis we now face. You&#8217;d probably not really noticed the Download-Agent section in your favorite Mediatek (MTK) flash tool but with the way things are going, its becoming a critical determinant of whether or not whatever you&#8217;re [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":9634,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[212],"tags":[315,324,178,585,586],"class_list":["post-9766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-tips","tag-da-file","tag-download-agent","tag-mediatek-mtk","tag-secure-boot","tag-secure-bootloader"],"_links":{"self":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/9766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/comments?post=9766"}],"version-history":[{"count":0,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/9766\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media\/9634"}],"wp:attachment":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media?parent=9766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/categories?post=9766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/tags?post=9766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}