{"id":10357,"date":"2020-06-11T08:55:52","date_gmt":"2020-06-11T08:55:52","guid":{"rendered":"https:\/\/blog.hovatek.com\/?p=10357"},"modified":"2022-08-15T22:11:29","modified_gmt":"2022-08-15T22:11:29","slug":"how-to-fix-android-booting-to-custom-recovery-after-reset","status":"publish","type":"post","link":"https:\/\/www.hovatek.com\/blog\/how-to-fix-android-booting-to-custom-recovery-after-reset\/","title":{"rendered":"How to fix Android booting to custom recovery after reset"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In our <a rel=\"noreferrer noopener\" href=\"https:\/\/www.hovatek.com\/training\/\" target=\"_blank\">rudiments of Android software repairs course<\/a> , we differentiated between custom and stock recovery. A custom recovery on a device with encrypted userdata is synonymous with some issues. Two of which are <a href=\"https:\/\/www.hovatek.com\/forum\/thread-30160.html\">Internal Storage (0MB)<\/a> and looping into custom recovery mode after doing a factory reset.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is userdata encryption?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Look under Under <strong>Settings > Security &amp; Privacy > Encryption &amp; Credentials > Encrypt phone<\/strong>. You&#8217;ll see Encrypted on a smartphone which supports userdata encryption. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"353\" src=\"https:\/\/www.hovatek.com\/blog\/bpyeki\/uploads\/2020\/06\/userdata_encryption_status.png\" alt=\"\" class=\"wp-image-10360\" srcset=\"https:\/\/www.hovatek.com\/blog\/bpyeki\/uploads\/2020\/06\/userdata_encryption_status.png 720w, https:\/\/www.hovatek.com\/blog\/bpyeki\/uploads\/2020\/06\/userdata_encryption_status-300x147.png 300w, https:\/\/www.hovatek.com\/blog\/bpyeki\/uploads\/2020\/06\/userdata_encryption_status-640x314.png 640w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><figcaption>userdata encryption status<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This encryption is the reason you have 0MB internal storage or mount error in custom recovery.  It hinders pattern \/ pin lock bypass and protects your data from unauthorized access. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I should mention that pattern or pin lock bypass is possible without data loss even on recent Android versions. However, this is talk for another day.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why won&#8217;t the phone boot up to home screen after doing a factory reset?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A factory reset wipes userdata. With data encryption enabled, t<mark>he device storage gets re-encrypted on first<\/mark> <mark>b<\/mark>oot. For the wipe-encryption process to complete, the device needs to enter <strong>stock<\/strong> recovery mode. This means it&#8217;ll keep booting straight to recovery mode, hoping to find stock recovery.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The process fails if the device is running on a custom recovery. This is why the device appears to be stuck in custom recovery mode.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to fix <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You simply need to flash the stock recovery.img from the firmware, no need to flash the entire firmware. After flashing the stock recovery.img, boot up the device normally. The wipe-encryption process will complete and the device should boot to home screen<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To avoid a re-occurrence, <a href=\"https:\/\/www.hovatek.com\/forum\/thread-30160.html\" target=\"_blank\" rel=\"noreferrer noopener\">disable phone encryption<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our rudiments of Android software repairs course , we differentiated between custom and stock recovery. A custom recovery on a device with encrypted userdata is synonymous with some issues. Two of which are Internal Storage (0MB) and looping into custom recovery mode after doing a factory reset. What is userdata encryption? Look under Under [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":10358,"comment_status":"open","ping_status":"closed","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":[34,43,743,127,130,744],"class_list":["post-10357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-brick","tag-custom-recovery","tag-stock-recovery","tag-twrp","tag-unbrick","tag-userdata-encryption"],"_links":{"self":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/10357","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=10357"}],"version-history":[{"count":0,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/posts\/10357\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media\/10358"}],"wp:attachment":[{"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/media?parent=10357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/categories?post=10357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hovatek.com\/blog\/wp-json\/wp\/v2\/tags?post=10357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}