Can't mount disc image file, "The Disc Image File is Corrupted"


Question

Recently, I tried rooting my phone, a Huawei Honor 6x.
I had troubles when trying to flash the TWRP file, however.



I downloaded the disc image file directly from TWRP's website, here.
What I was supposed to do next was use Command Prompt to flash this TWRP disc file. It produced the following error:
cannot open 'twrp.img'



Intuitively, I then opened the disc file directly, and it gave the error, "Couldn't Mount File, The Disc Image File is Corrupted"



I think this may be the problem, but on the directions I received, it said that I should download the "platform tools from the Android SDK", and "From the SDK Manager, download only the platform-tools to get adb and fastboot binaries." Now, I have already downloaded adb and fastboot, and once I finished downloading, it opened a program called Android Studio, with no information about platform tools.



I read about a similar question here, but the answer was unclear to me. If anyone could explain his answer, or figure out my problem, that would be awesome.


Answer

It's simple - you chose the wrong recovery -the one you linked to is for Huawei P9 lite



Your device doesn't have an official TWRP but has a unofficial TWRP linked here



TWRP meant for one device model cannot be used for another. Period



That's exactly what the other answer was saying.



Please take the trouble of reading the relevant forums in XDA to be aware of the device specific techniques.



Next, TWRP cannot be opened at C:/ of your computer



You need to set up (press on that to read the wiki. You don't need Android studio for this - it's meant for developers and occupies memory unnecessarily. Uninstall that and read the next paragraph carefully to install what is required for this purpose



To set up adb see instructions here Is there a minimal installation of ADB? and How to install adb



It is strongly recommended that you read and understand what you are doing with a rooted device (as you say you have rooted it). Consequences can be very very unpleasant and you could end up holding a paper weight instead of a phone


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes