{"id":2389,"date":"2021-01-05T22:25:35","date_gmt":"2021-01-05T21:25:35","guid":{"rendered":"https:\/\/stls.eu\/blog\/?p=2389"},"modified":"2021-01-05T22:25:35","modified_gmt":"2021-01-05T21:25:35","slug":"install-lineageos-on-davinci-xiaomi-mi-9t","status":"publish","type":"post","link":"https:\/\/stls.eu\/blog\/2021\/01\/05\/install-lineageos-on-davinci-xiaomi-mi-9t\/","title":{"rendered":"Install LineageOS on davinci (Xiaomi Mi 9t)"},"content":{"rendered":"\n<p>Source: https:\/\/wiki.lineageos.org\/devices\/davinci\/install<\/p>\n\n\n\n<p><strong>Unlocking the bootloader:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Create a Mi account on\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/global.account.xiaomi.com\/pass\/register\" target=\"_blank\">Xiaomi\u2019s website<\/a>.<\/li><li>Add a phone number to your Mi account.<\/li><li>Insert a SIM into your phone.<\/li><li>Enable developer options in\u00a0<code>Settings<\/code>\u00a0>\u00a0<code>About Phone<\/code>\u00a0by repeatedly tapping\u00a0<code>MIUI Version<\/code>.<\/li><li>Link the device to your Mi account in\u00a0<code>Settings<\/code>\u00a0>\u00a0<code>Additional settings<\/code>\u00a0>\u00a0<code>Developer options<\/code>\u00a0>\u00a0<code>Mi Unlock status<\/code>.<\/li><li>Download the\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/en.miui.com\/unlock\/download_en.html\" target=\"_blank\">Mi Unlock app<\/a>\u00a0(Windows is required to run the app).<\/li><li>Run the Mi Unlock app and follow the instructions provided by the app.<\/li><li>After device and Mi account are successfully verified, the bootloader should be unlocked.<\/li><li>Since the device resets completely, you will need to re-enable USB debugging to continue.<\/li><\/ol>\n\n\n\n<p><strong>Installing a custom recovery using\u00a0<code>fastboot<\/code><\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Download a custom recovery ( https:\/\/eu.dl.twrp.me\/davinci\/ )<\/li><\/ol>\n\n\n\n<p>c6ffbe106db581c0d26cf65c1b3c7a2f726e23ebc8b629205afae0c6b1380fb0 twrp-3.5.0_9-0-davinci.img<br>64428565b5d2e365da7e012bf1f1a1cbcb31a325e3c254a339eb79fef56db5e6 twrp-3.5.0_9-0-davinci.img.asc<br>078362f72f87a2ed496e24014a738bdeb5f77eebdd147cf500c6cd20b345abca twrp_public.asc<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Connect your device to your PC via USB.<\/li><li>On the computer, open a terminal and type: <code>adb reboot bootloader <\/code>You can also boot into fastboot mode via a key combination:<ul><li>With the device powered off, hold\u00a0<kbd>Volume Down<\/kbd>\u00a0+\u00a0<kbd>Power<\/kbd>. Keep holding both buttons until the word \u201cFASTBOOT\u201d appears on the screen, then release.<\/li><\/ul><\/li><li>Once the device is in fastboot mode, verify your PC finds it by typing: <code>fastboot devices <\/code><\/li><li>Flash recovery onto your device: <code>fastboot flash recovery twrp-3.5.0_9-0-davinci.img<\/code><\/li><li>Now reboot into recovery to verify the installation:<ul><li>With the device powered off, hold\u00a0<kbd>Volume Up<\/kbd>\u00a0+\u00a0<kbd>Power<\/kbd>. Keep holding both buttons until the \u201cMI\u201d logo appears on the screen, then release.<\/li><\/ul><\/li><\/ol>\n\n\n\n<p><strong>Installing LineageOS from recovery<\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Download the\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/download.lineageos.org\/davinci\" target=\"_blank\">LineageOS installation package<\/a>\u00a0that you would like to install or\u00a0<a href=\"https:\/\/wiki.lineageos.org\/devices\/davinci\/build\">build<\/a>\u00a0the package yourself.<ul><li>Optionally, download additional application packages such as\u00a0<a href=\"https:\/\/wiki.lineageos.org\/gapps.html\">Google Apps<\/a>\u00a0(use the\u00a0<code>arm64<\/code>\u00a0architecture).<\/li><\/ul><\/li><\/ol>\n\n\n\n<p>1c6127415f8b3e47a3aca909c15f06246fe33ddb3b341b3f1e3be20f69f089e3 lineage-17.1-20201230-nightly-davinci-signed.zip<br>d48b1248ff990c0bdf28ef0ddca76610253ff4764f3c39630b9a2526a9b30fa0 lineage-17.1-20201230-nightly-davinci-signed.zip.sha256<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>If you are not in recovery, reboot into recovery:<ul><li>With the device powered off, hold\u00a0<kbd>Volume Up<\/kbd>\u00a0+\u00a0<kbd>Power<\/kbd>. Keep holding both buttons until the \u201cMI\u201d logo appears on the screen, then release.<\/li><\/ul><\/li><li>Now tap\u00a0<strong>Factory Reset<\/strong>, then\u00a0<strong>Format data \/ factory reset<\/strong>\u00a0and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).<\/li><li>Return to the main menu.<\/li><li>Sideload the LineageOS\u00a0<code>.zip<\/code>\u00a0package:<ul><li>On the device, select \u201cApply Update\u201d, then \u201cApply from ADB\u201d to begin sideload.<\/li><li>On the host machine, sideload the package using:\u00a0<code>adb sideload filename.zip<\/code>.<em> Info<\/em><strong>:<\/strong>\u00a0If the process succeeds the output will stop at 47% and report\u00a0<code>adb: failed to read command: Success<\/code>.<\/li><\/ul><\/li><li><em>(Optionally)<\/em>: If you want to install any additional add-ons, repeat the sideload steps above for those packages in sequence.<\/li><li>Once you have installed everything successfully, click the back arrow in the top left of the screen, then \u201cReboot system now\u201d.<\/li><\/ol>\n\n\n\n<p><strong>Install App Store<\/strong><\/p>\n\n\n\n<p>download F-Droid from <strong>https:\/\/f-droid.org\/<\/strong><\/p>\n\n\n\n<p>8476d8951d764de3b732fb41d080c95b1fcdf140ccff5675364b797d272f92f2 F-Droid.apk<br>29202f1f85641b156be93d1022d54f42757c7ebeedce4e6e524fc43c360af9c1 F-Droid.apk.asc<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/wiki.lineageos.org\/devices\/davinci\/install Unlocking the bootloader: Create a Mi account on\u00a0Xiaomi\u2019s website. Add a phone number to your Mi account. Insert a SIM into your phone. Enable developer options in\u00a0Settings\u00a0>\u00a0About Phone\u00a0by repeatedly tapping\u00a0MIUI Version. Link the device to your Mi account &hellip; <a href=\"https:\/\/stls.eu\/blog\/2021\/01\/05\/install-lineageos-on-davinci-xiaomi-mi-9t\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[80,94],"tags":[],"class_list":["post-2389","post","type-post","status-publish","format-standard","hentry","category-android","category-lineageos"],"_links":{"self":[{"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/posts\/2389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/comments?post=2389"}],"version-history":[{"count":7,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/posts\/2389\/revisions"}],"predecessor-version":[{"id":2396,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/posts\/2389\/revisions\/2396"}],"wp:attachment":[{"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/media?parent=2389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/categories?post=2389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stls.eu\/blog\/wp-json\/wp\/v2\/tags?post=2389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}