{"id":9776,"date":"2019-01-25T07:50:03","date_gmt":"2019-01-25T07:50:03","guid":{"rendered":"https:\/\/journal.hovatek.com\/?p=5919"},"modified":"2022-08-15T22:11:30","modified_gmt":"2022-08-15T22:11:30","slug":"can-i-root-secure-boot-mediatek-android-without-a-da-file","status":"publish","type":"post","link":"https:\/\/www.hovatek.com\/blog\/can-i-root-secure-boot-mediatek-android-without-a-da-file\/","title":{"rendered":"Can I root Secure Boot Mediatek Android without a DA file?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A few weeks back, one of my mentors in Tech. sent me a <a href=\"https:\/\/hovatek.com\/order.php?brand=bluboo&amp;model=s1a\">Bluboo S1a<\/a> to be rooted. It was a Mediatek MT6757 device running on  Android 7 so one-click root apps were definitely off the table.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The plan was to <a href=\"https:\/\/www.hovatek.com\/forum\/thread-22584.html\">backup the firmware using NCK Pro box<\/a> then <a href=\"https:\/\/www.hovatek.com\/forum\/thread-21427.html\">root using the boot.img + Magisk<\/a>. Its always a good idea to backup the firmware before attempting to root because you:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Know the <a href=\"https:\/\/www.hovatek.com\/blog\/your-phone-model-is-nothing-build-number-is-everything\/\">build number<\/a> and rom the device was running on before modification<\/li><li>Have a safety net to flash back should the rooting attempt go sideways<\/li><li>Don&#8217;t have to waste data on downloading even if the firmware is available online (this one wasn&#8217;t)<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">&#8230;then I hit a brick wall.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I got the dreaded Boot Error in NCK Box and ERROR: STATUS_BROM_CMD_SEND_DA_FAIL (0XC0060003) while attempting to <a href=\"https:\/\/www.hovatek.com\/forum\/thread-21970.html\">backup using wwr<\/a>. This was a<a href=\"https:\/\/www.hovatek.com\/blog\/so-whats-all-this-talk-about-meditek-secure-boot-and-da-files\/\"> Secure Boot Mediatek<\/a> device and I would need a <a href=\"https:\/\/www.hovatek.com\/forum\/forum-112.html\">DA file<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This left me with two choices:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li> Find a working DA file<\/li><li>Use the fastboot approach<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Option 1 wasn&#8217;t much of an option<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The problem with option 1 was that there wasn&#8217;t even a firmware for this model online, let alone a secure boot da file. I found only one post talking about the Bluboo S1a, and the OP was asking for help. Many views, zero response &#8211; go figure!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Based on online comments, the other variant of the phone (Bluboo S1) didn&#8217;t seem to have secure boot. I was on my own.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Option 2 was very risky<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">I normally avoid option 2 for several reasons. This was a device whose firmware I couldn&#8217;t even find, let alone its DA file. With nothing and no way to flash, I would be doomed should the device get bricked.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There was also  the Orange State Your devices has been unlocked and can&#8217;t be trusted error to contend with after unlocking the bootloader &#8211; if it was even unlockable. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I din&#8217;t have any file for the Bluboo S1a so I would be using a file from the Bluboo S1&#8217;s firmware I&#8217;d downloaded. What if they weren&#8217;t compatible?<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Option 2 it was, but with calculated risks <\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">After unsuccessfully trying a few random DA files from the <a href=\"https:\/\/www.hovatek.com\/forum\/\">Hovatek Forum<\/a>, it was clear that option 2 was the way to go but I needed to be smart about it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First off, I would go with a TWRP + Magisk flashable zip instead of the Magisk patched boot method. The logic behind this was simple.  Bluboo S1 and S1a ought to be somewhat related but it doesn&#8217;t mean one could inter-flash their firmware without problems.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If I flashed an incompatible boot.img then I would end up with a bootloop; end of the road. If I flashed an incompatible recover.img, I would lose access to the stock recovery but still be able to boot up.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That wasn&#8217;t all. I also decided it would be best to boot the TWRP instead of flashing. This way, my stock recovery would still be intact even if the TWRP recovery was incompatible. I also had to ensure I had copied Magisk zip to both phone and SD card because booting TWRP without rooting with either Magisk or SuperSU could result in a brick&#8230;yup!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Good To Go<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The first task was to <a href=\"https:\/\/www.hovatek.com\/forum\/thread-19578.html\">unlock the bootloader<\/a>, but then I hit another brick wall; the phone wasn&#8217;t getting detected in fastboot. I fixed that as explained in the  video below:<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to fix fastboot devices not detected (waiting for any device) 2023\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/1dYn31wdw-s?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>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next up, I copied magisk zip to both phone storage and SD card after which I ported TWRP using our <a href=\"https:\/\/www.hovatek.com\/forum\/thread-21839.html\">TWRP Porter<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once I had detection in fastboot, magisk copied to the phone and the TWRP recovery.img in the fastboot folder, I ran:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>fastboot boot recover.img<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Voila! I was in TWRP recovery and <a href=\"https:\/\/www.hovatek.com\/forum\/thread-24209.html\">touch was working<\/a>. I went ahead to backup first then root by flashing the magisk zip.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first reboot took quite a while but once booted up, <strong>I had root access<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Have you had any experience rooting an MTK Secure Boot device without a DA file?<\/h4>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks back, one of my mentors in Tech. sent me a Bluboo S1a to be rooted. It was a Mediatek MT6757 device running on Android 7 so one-click root apps were definitely off the table. The plan was to backup the firmware using NCK Pro box then root using the boot.img + Magisk. [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":9643,"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":[818],"tags":[20,279,315,54,178,104,585],"class_list":["post-9776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-android","tag-bootloader-unlock","tag-da-file","tag-fastboot","tag-mediatek-mtk","tag-root","tag-secure-boot"],"_links":{"self":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/9776","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=9776"}],"version-history":[{"count":0,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/9776\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media\/9643"}],"wp:attachment":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media?parent=9776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/categories?post=9776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/tags?post=9776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}